@etherisc/gif-next 0.0.2-cc253b3 → 0.0.2-cd89a0b-062

Sign up to get free protection for your applications and to get access to all the features.
Files changed (390) hide show
  1. package/README.md +193 -6
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +4 -0
  3. package/artifacts/contracts/components/{IProduct.sol/IProductComponent.json → BaseComponent.sol/BaseComponent.json} +88 -67
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +445 -0
  6. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/{IPool.sol/IPoolComponent.json → IBaseComponent.sol/IBaseComponent.json} +69 -71
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +343 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +474 -0
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +373 -0
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +445 -56
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +324 -53
  18. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  19. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +2 -2
  20. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  21. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +2 -2
  22. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  23. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +2 -2
  24. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +2 -2
  26. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +4 -0
  33. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +59 -0
  34. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +4 -0
  35. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +124 -0
  36. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +4 -0
  37. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +74 -0
  38. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +4 -0
  39. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +124 -0
  40. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +4 -0
  41. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +207 -0
  42. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  43. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +2 -2
  44. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  45. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +2 -2
  46. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  47. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1575 -295
  48. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +4 -0
  49. package/artifacts/contracts/instance/{component/IComponent.sol → IInstanceLinked.sol}/IInstanceLinked.json +1 -1
  50. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  51. package/artifacts/contracts/instance/Instance.sol/Instance.json +1894 -374
  52. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +4 -0
  53. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +393 -0
  54. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +4 -0
  55. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +113 -0
  56. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  57. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +560 -0
  58. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  59. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.json +115 -0
  60. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +4 -0
  61. package/artifacts/contracts/instance/{component/ComponentModule.sol/ComponentModule.json → base/IService.sol/IService.json} +171 -154
  62. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +4 -0
  63. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +456 -0
  64. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  65. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +710 -0
  66. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  67. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +169 -0
  68. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +4 -0
  69. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.json +10 -0
  70. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +4 -0
  71. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +380 -0
  72. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +4 -0
  73. package/artifacts/contracts/instance/{access → module/access}/Access.sol/AccessModule.json +85 -152
  74. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +4 -0
  75. package/artifacts/contracts/instance/{access → module/access}/IAccess.sol/IAccess.json +1 -1
  76. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +4 -0
  77. package/artifacts/contracts/instance/{access → module/access}/IAccess.sol/IAccessModule.json +96 -99
  78. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +4 -0
  79. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +297 -0
  80. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +4 -0
  81. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.json +10 -0
  82. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +4 -0
  83. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +297 -0
  84. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +4 -0
  85. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +117 -0
  86. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +4 -0
  87. package/artifacts/contracts/instance/{component → module/component}/IComponent.sol/IComponent.json +1 -1
  88. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +4 -0
  89. package/artifacts/contracts/instance/{product/IProductService.sol/IProductService.json → module/component/IComponent.sol/IComponentModule.json} +56 -53
  90. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +4 -0
  91. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +10 -0
  92. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +4 -0
  93. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.json +10 -0
  94. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +4 -0
  95. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +10 -0
  96. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +4 -0
  97. package/artifacts/contracts/instance/{policy → module/policy}/IPolicy.sol/IPolicy.json +1 -1
  98. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +4 -0
  99. package/artifacts/contracts/instance/{policy → module/policy}/IPolicy.sol/IPolicyModule.json +159 -106
  100. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +4 -0
  101. package/artifacts/contracts/instance/{policy → module/policy}/PolicyModule.sol/PolicyModule.json +159 -106
  102. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +4 -0
  103. package/artifacts/contracts/instance/{pool → module/pool}/IPoolModule.sol/IPool.json +1 -1
  104. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +4 -0
  105. package/artifacts/contracts/instance/{pool → module/pool}/IPoolModule.sol/IPoolModule.json +74 -59
  106. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +4 -0
  107. package/artifacts/contracts/instance/{pool → module/pool}/PoolModule.sol/PoolModule.json +64 -62
  108. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +4 -0
  109. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.json +10 -0
  110. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +4 -0
  111. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +113 -0
  112. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +4 -0
  113. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +131 -0
  114. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +4 -0
  115. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.json +10 -0
  116. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +4 -0
  117. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +638 -0
  118. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  119. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +76 -0
  120. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +4 -0
  121. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +638 -0
  122. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +4 -0
  123. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +690 -0
  124. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  125. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +526 -0
  126. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +4 -0
  127. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +389 -0
  128. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  129. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +369 -0
  130. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
  131. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +484 -0
  132. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
  133. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +674 -0
  134. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  135. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +649 -0
  136. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  137. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +964 -0
  138. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  139. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +194 -2
  140. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +1 -1
  141. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +5 -0
  142. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  143. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +351 -72
  144. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  145. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +668 -0
  146. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  147. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  148. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  149. package/artifacts/contracts/registry/Registry.sol/Registry.json +567 -79
  150. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  151. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +885 -0
  152. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  153. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +460 -0
  154. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  155. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  156. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
  157. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +35 -0
  158. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +4 -0
  159. package/artifacts/contracts/{registry/IRegistry.sol → shared/IOwnable.sol}/IOwnable.json +1 -1
  160. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
  161. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +124 -0
  162. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
  163. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +205 -0
  164. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  165. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +132 -0
  166. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  167. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +344 -0
  168. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
  169. package/artifacts/contracts/{registry/Registry.sol → shared/Registerable.sol}/Registerable.json +71 -77
  170. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  171. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  172. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
  173. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +228 -0
  174. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +4 -0
  175. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +445 -0
  176. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +4 -0
  177. package/artifacts/contracts/test/TestFee.sol/TestFee.json +119 -0
  178. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +4 -0
  179. package/artifacts/contracts/test/TestPool.sol/TestPool.json +602 -0
  180. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +4 -0
  181. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +632 -0
  182. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
  183. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +191 -0
  184. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +4 -0
  185. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +116 -0
  186. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +4 -0
  187. package/artifacts/contracts/test/TestService.sol/TestService.json +472 -0
  188. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +4 -0
  189. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +338 -0
  190. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +4 -0
  191. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +218 -0
  192. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +4 -0
  193. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +270 -0
  194. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
  195. package/artifacts/contracts/test/Usdc.sol/USDC.json +338 -0
  196. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  197. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +10 -0
  198. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  199. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +174 -0
  200. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
  202. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
  203. package/artifacts/contracts/types/Fee.sol/FeeLib.json +257 -0
  204. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
  205. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +111 -0
  206. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  207. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +91 -6
  208. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  209. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +10 -0
  210. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  211. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +92 -0
  212. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +4 -0
  213. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +99 -0
  214. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  215. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  216. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
  217. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +30 -0
  218. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +4 -0
  219. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +92 -0
  220. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +4 -0
  221. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +236 -0
  222. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +4 -0
  223. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +479 -0
  224. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
  225. package/artifacts/contracts/types/Version.sol/VersionLib.json +177 -0
  226. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
  227. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +30 -0
  228. package/contracts/components/BaseComponent.sol +79 -0
  229. package/contracts/components/Distribution.sol +155 -0
  230. package/contracts/components/IBaseComponent.sol +19 -0
  231. package/contracts/components/IDistributionComponent.sol +47 -0
  232. package/contracts/components/IPoolComponent.sol +65 -0
  233. package/contracts/components/IProductComponent.sol +39 -0
  234. package/contracts/components/Pool.sol +235 -18
  235. package/contracts/components/Product.sol +268 -35
  236. package/contracts/experiment/errors/Require.sol +10 -5
  237. package/contracts/experiment/errors/Revert.sol +13 -8
  238. package/contracts/experiment/inheritance/A.sol +8 -11
  239. package/contracts/experiment/inheritance/B.sol +10 -5
  240. package/contracts/experiment/inheritance/C.sol +11 -5
  241. package/contracts/experiment/inheritance/IA.sol +2 -7
  242. package/contracts/experiment/inheritance/IB.sol +3 -2
  243. package/contracts/experiment/inheritance/IC.sol +4 -3
  244. package/contracts/experiment/statemachine/Dummy.sol +27 -0
  245. package/contracts/experiment/statemachine/ISM.sol +25 -0
  246. package/contracts/experiment/statemachine/SM.sol +57 -0
  247. package/contracts/experiment/statemachine/SimpleStateMachine.sol +31 -0
  248. package/contracts/experiment/types/TypeA.sol +14 -9
  249. package/contracts/experiment/types/TypeB.sol +14 -9
  250. package/contracts/instance/IInstance.sol +42 -8
  251. package/contracts/instance/IInstanceLinked.sol +8 -0
  252. package/contracts/instance/Instance.sol +62 -41
  253. package/contracts/instance/base/ComponentServiceBase.sol +49 -0
  254. package/contracts/instance/base/IInstanceBase.sol +23 -0
  255. package/contracts/instance/base/IKeyValueStore.sol +50 -0
  256. package/contracts/instance/base/ILifecycle.sol +30 -0
  257. package/contracts/instance/base/IService.sol +15 -0
  258. package/contracts/instance/base/InstanceBase.sol +89 -0
  259. package/contracts/instance/base/KeyValueStore.sol +161 -0
  260. package/contracts/instance/base/Lifecycle.sol +100 -0
  261. package/contracts/instance/base/ModuleBase.sol +57 -0
  262. package/contracts/instance/base/ServiceBase.sol +43 -0
  263. package/contracts/instance/module/access/Access.sol +149 -0
  264. package/contracts/instance/module/access/IAccess.sol +53 -0
  265. package/contracts/instance/module/bundle/BundleModule.sol +134 -0
  266. package/contracts/instance/module/bundle/IBundle.sol +53 -0
  267. package/contracts/instance/module/component/ComponentModule.sol +71 -0
  268. package/contracts/instance/module/component/IComponent.sol +28 -0
  269. package/contracts/instance/module/distribution/DistributionModule.sol +17 -0
  270. package/contracts/instance/module/distribution/IDistribution.sol +10 -0
  271. package/contracts/instance/module/policy/IPolicy.sol +63 -0
  272. package/contracts/instance/module/policy/PolicyModule.sol +91 -0
  273. package/contracts/instance/module/pool/IPoolModule.sol +41 -0
  274. package/contracts/instance/module/pool/PoolModule.sol +95 -0
  275. package/contracts/instance/module/risk/IRisk.sol +26 -0
  276. package/contracts/instance/module/risk/RiskModule.sol +62 -0
  277. package/contracts/instance/module/treasury/ITreasury.sol +84 -0
  278. package/contracts/instance/module/treasury/TokenHandler.sol +48 -0
  279. package/contracts/instance/module/treasury/TreasuryModule.sol +131 -0
  280. package/contracts/instance/service/ComponentOwnerService.sol +272 -0
  281. package/contracts/instance/service/DistributionService.sol +54 -0
  282. package/contracts/instance/service/IComponentOwnerService.sol +20 -0
  283. package/contracts/instance/service/IDistributionService.sol +12 -0
  284. package/contracts/instance/service/IPoolService.sol +37 -0
  285. package/contracts/instance/service/IProductService.sol +107 -0
  286. package/contracts/instance/service/PoolService.sol +149 -0
  287. package/contracts/instance/service/ProductService.sol +509 -0
  288. package/contracts/registry/ChainNft.sol +111 -97
  289. package/contracts/registry/IChainNft.sol +13 -9
  290. package/contracts/registry/IRegistry.sol +59 -56
  291. package/contracts/registry/IRegistryService.sol +29 -0
  292. package/contracts/registry/ITransferInterceptor.sol +6 -0
  293. package/contracts/registry/Registry.sol +429 -121
  294. package/contracts/registry/RegistryService.sol +375 -0
  295. package/contracts/registry/RegistryServiceManager.sol +52 -0
  296. package/contracts/shared/ContractDeployerLib.sol +72 -0
  297. package/contracts/shared/ERC165.sol +21 -0
  298. package/contracts/shared/IOwnable.sol +6 -0
  299. package/contracts/shared/IRegisterable.sol +22 -0
  300. package/contracts/shared/IVersionable.sol +96 -0
  301. package/contracts/shared/NftOwnable.sol +87 -0
  302. package/contracts/shared/ProxyManager.sol +103 -0
  303. package/contracts/shared/Registerable.sol +117 -0
  304. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  305. package/contracts/shared/Versionable.sol +147 -0
  306. package/contracts/test/TestDistribution.sol +22 -0
  307. package/contracts/test/TestFee.sol +25 -0
  308. package/contracts/test/TestPool.sol +27 -0
  309. package/contracts/test/TestProduct.sol +74 -0
  310. package/contracts/test/TestRegisterable.sol +18 -0
  311. package/contracts/test/TestRoleId.sol +14 -0
  312. package/contracts/test/TestService.sol +26 -0
  313. package/contracts/test/TestToken.sol +26 -0
  314. package/contracts/test/TestVersion.sol +44 -0
  315. package/contracts/test/TestVersionable.sol +17 -0
  316. package/contracts/test/Usdc.sol +26 -0
  317. package/contracts/types/AddressSet.sol +58 -0
  318. package/contracts/types/Blocknumber.sol +118 -0
  319. package/contracts/types/ChainId.sol +24 -10
  320. package/contracts/types/Fee.sol +56 -0
  321. package/contracts/types/Key32.sol +45 -0
  322. package/contracts/types/NftId.sol +55 -9
  323. package/contracts/types/NftIdSet.sol +60 -0
  324. package/contracts/types/ObjectType.sol +131 -0
  325. package/contracts/types/ReferralId.sol +48 -0
  326. package/contracts/types/RiskId.sol +43 -0
  327. package/contracts/types/RoleId.sol +38 -0
  328. package/contracts/types/StateId.sol +101 -0
  329. package/contracts/types/Timestamp.sol +123 -0
  330. package/contracts/types/UFixed.sol +209 -0
  331. package/contracts/types/Version.sol +104 -0
  332. package/package.json +19 -5
  333. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  334. package/artifacts/contracts/components/Component.sol/Component.json +0 -179
  335. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
  336. package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
  337. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
  338. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
  339. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
  340. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
  341. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
  342. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.json +0 -35
  343. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
  344. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
  345. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  346. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  347. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
  348. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -147
  349. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
  350. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
  351. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +0 -179
  352. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  353. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -245
  354. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
  355. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -94
  356. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
  357. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  358. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  359. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  360. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  361. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  362. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  363. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
  364. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
  365. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
  366. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
  367. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
  368. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
  369. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -167
  370. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
  371. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
  372. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +0 -166
  373. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
  374. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.json +0 -49
  375. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
  376. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
  377. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
  378. package/contracts/components/Component.sol +0 -62
  379. package/contracts/components/IPool.sol +0 -9
  380. package/contracts/components/IProduct.sol +0 -12
  381. package/contracts/instance/access/Access.sol +0 -218
  382. package/contracts/instance/access/IAccess.sol +0 -83
  383. package/contracts/instance/component/ComponentModule.sol +0 -248
  384. package/contracts/instance/component/IComponent.sol +0 -95
  385. package/contracts/instance/policy/IPolicy.sol +0 -66
  386. package/contracts/instance/policy/PolicyModule.sol +0 -107
  387. package/contracts/instance/pool/IPoolModule.sol +0 -41
  388. package/contracts/instance/pool/PoolModule.sol +0 -86
  389. package/contracts/instance/product/IProductService.sol +0 -46
  390. package/contracts/instance/product/ProductService.sol +0 -108
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/323ad046525267eb5d4403a668e0a584.json"
3
+ "buildInfo": "../../../build-info/fb3a98c31eed59ef653e03c45b04f993.json"
4
4
  }
@@ -10,53 +10,183 @@
10
10
  "name": "registry",
11
11
  "type": "address"
12
12
  },
13
+ {
14
+ "internalType": "NftId",
15
+ "name": "instanceNftid",
16
+ "type": "uint96"
17
+ },
13
18
  {
14
19
  "internalType": "address",
15
- "name": "instance",
20
+ "name": "token",
16
21
  "type": "address"
17
22
  },
23
+ {
24
+ "internalType": "bool",
25
+ "name": "isInterceptor",
26
+ "type": "bool"
27
+ },
18
28
  {
19
29
  "internalType": "address",
20
30
  "name": "pool",
21
31
  "type": "address"
32
+ },
33
+ {
34
+ "internalType": "address",
35
+ "name": "distribution",
36
+ "type": "address"
37
+ },
38
+ {
39
+ "components": [
40
+ {
41
+ "internalType": "UFixed",
42
+ "name": "fractionalFee",
43
+ "type": "uint256"
44
+ },
45
+ {
46
+ "internalType": "uint256",
47
+ "name": "fixedFee",
48
+ "type": "uint256"
49
+ }
50
+ ],
51
+ "internalType": "struct Fee",
52
+ "name": "productFee",
53
+ "type": "tuple"
54
+ },
55
+ {
56
+ "components": [
57
+ {
58
+ "internalType": "UFixed",
59
+ "name": "fractionalFee",
60
+ "type": "uint256"
61
+ },
62
+ {
63
+ "internalType": "uint256",
64
+ "name": "fixedFee",
65
+ "type": "uint256"
66
+ }
67
+ ],
68
+ "internalType": "struct Fee",
69
+ "name": "processingFee",
70
+ "type": "tuple"
71
+ },
72
+ {
73
+ "internalType": "address",
74
+ "name": "initialOwner",
75
+ "type": "address"
22
76
  }
23
77
  ],
24
78
  "stateMutability": "nonpayable",
25
79
  "type": "constructor"
26
80
  },
81
+ {
82
+ "inputs": [],
83
+ "name": "InvalidInitialization",
84
+ "type": "error"
85
+ },
86
+ {
87
+ "inputs": [],
88
+ "name": "NotInitializing",
89
+ "type": "error"
90
+ },
27
91
  {
28
92
  "anonymous": false,
29
93
  "inputs": [
30
94
  {
31
95
  "indexed": false,
96
+ "internalType": "uint64",
97
+ "name": "version",
98
+ "type": "uint64"
99
+ }
100
+ ],
101
+ "name": "Initialized",
102
+ "type": "event"
103
+ },
104
+ {
105
+ "inputs": [],
106
+ "name": "REGISTERABLE_LOCATION_V1",
107
+ "outputs": [
108
+ {
109
+ "internalType": "bytes32",
110
+ "name": "",
111
+ "type": "bytes32"
112
+ }
113
+ ],
114
+ "stateMutability": "view",
115
+ "type": "function"
116
+ },
117
+ {
118
+ "inputs": [
119
+ {
32
120
  "internalType": "uint256",
33
- "name": "idx",
121
+ "name": "sumInsuredAmount",
34
122
  "type": "uint256"
35
123
  },
36
124
  {
37
- "indexed": false,
38
- "internalType": "address",
39
- "name": "module",
40
- "type": "address"
125
+ "internalType": "RiskId",
126
+ "name": "riskId",
127
+ "type": "bytes8"
41
128
  },
42
129
  {
43
- "indexed": false,
44
- "internalType": "string",
45
- "name": "comment",
46
- "type": "string"
130
+ "internalType": "uint256",
131
+ "name": "lifetime",
132
+ "type": "uint256"
133
+ },
134
+ {
135
+ "internalType": "bytes",
136
+ "name": "applicationData",
137
+ "type": "bytes"
47
138
  }
48
139
  ],
49
- "name": "LogDebug",
50
- "type": "event"
140
+ "name": "calculateNetPremium",
141
+ "outputs": [
142
+ {
143
+ "internalType": "uint256",
144
+ "name": "netPremiumAmount",
145
+ "type": "uint256"
146
+ }
147
+ ],
148
+ "stateMutability": "view",
149
+ "type": "function"
51
150
  },
52
151
  {
53
- "inputs": [],
54
- "name": "getData",
55
- "outputs": [
152
+ "inputs": [
153
+ {
154
+ "internalType": "uint256",
155
+ "name": "sumInsuredAmount",
156
+ "type": "uint256"
157
+ },
158
+ {
159
+ "internalType": "RiskId",
160
+ "name": "riskId",
161
+ "type": "bytes8"
162
+ },
163
+ {
164
+ "internalType": "uint256",
165
+ "name": "lifetime",
166
+ "type": "uint256"
167
+ },
56
168
  {
57
169
  "internalType": "bytes",
58
- "name": "data",
170
+ "name": "applicationData",
59
171
  "type": "bytes"
172
+ },
173
+ {
174
+ "internalType": "ReferralId",
175
+ "name": "referralId",
176
+ "type": "bytes8"
177
+ },
178
+ {
179
+ "internalType": "NftId",
180
+ "name": "bundleNftId",
181
+ "type": "uint96"
182
+ }
183
+ ],
184
+ "name": "calculatePremium",
185
+ "outputs": [
186
+ {
187
+ "internalType": "uint256",
188
+ "name": "premiumAmount",
189
+ "type": "uint256"
60
190
  }
61
191
  ],
62
192
  "stateMutability": "view",
@@ -64,12 +194,67 @@
64
194
  },
65
195
  {
66
196
  "inputs": [],
67
- "name": "getInitialOwner",
197
+ "name": "getDistributionNftId",
68
198
  "outputs": [
69
199
  {
70
- "internalType": "address",
71
- "name": "deployer",
72
- "type": "address"
200
+ "internalType": "NftId",
201
+ "name": "distributionNftId",
202
+ "type": "uint96"
203
+ }
204
+ ],
205
+ "stateMutability": "view",
206
+ "type": "function"
207
+ },
208
+ {
209
+ "inputs": [],
210
+ "name": "getInitialInfo",
211
+ "outputs": [
212
+ {
213
+ "components": [
214
+ {
215
+ "internalType": "NftId",
216
+ "name": "nftId",
217
+ "type": "uint96"
218
+ },
219
+ {
220
+ "internalType": "NftId",
221
+ "name": "parentNftId",
222
+ "type": "uint96"
223
+ },
224
+ {
225
+ "internalType": "ObjectType",
226
+ "name": "objectType",
227
+ "type": "uint8"
228
+ },
229
+ {
230
+ "internalType": "bool",
231
+ "name": "isInterceptor",
232
+ "type": "bool"
233
+ },
234
+ {
235
+ "internalType": "address",
236
+ "name": "objectAddress",
237
+ "type": "address"
238
+ },
239
+ {
240
+ "internalType": "address",
241
+ "name": "initialOwner",
242
+ "type": "address"
243
+ },
244
+ {
245
+ "internalType": "bytes",
246
+ "name": "data",
247
+ "type": "bytes"
248
+ }
249
+ ],
250
+ "internalType": "struct IRegistry.ObjectInfo",
251
+ "name": "",
252
+ "type": "tuple"
253
+ },
254
+ {
255
+ "internalType": "bytes",
256
+ "name": "",
257
+ "type": "bytes"
73
258
  }
74
259
  ],
75
260
  "stateMutability": "view",
@@ -107,7 +292,7 @@
107
292
  "outputs": [
108
293
  {
109
294
  "internalType": "address",
110
- "name": "owner",
295
+ "name": "",
111
296
  "type": "address"
112
297
  }
113
298
  ],
@@ -116,11 +301,11 @@
116
301
  },
117
302
  {
118
303
  "inputs": [],
119
- "name": "getParentNftId",
304
+ "name": "getPoolNftId",
120
305
  "outputs": [
121
306
  {
122
307
  "internalType": "NftId",
123
- "name": "",
308
+ "name": "poolNftId",
124
309
  "type": "uint96"
125
310
  }
126
311
  ],
@@ -129,12 +314,49 @@
129
314
  },
130
315
  {
131
316
  "inputs": [],
132
- "name": "getPoolNftId",
317
+ "name": "getProcessingFee",
133
318
  "outputs": [
134
319
  {
135
- "internalType": "NftId",
136
- "name": "poolNftId",
137
- "type": "uint96"
320
+ "components": [
321
+ {
322
+ "internalType": "UFixed",
323
+ "name": "fractionalFee",
324
+ "type": "uint256"
325
+ },
326
+ {
327
+ "internalType": "uint256",
328
+ "name": "fixedFee",
329
+ "type": "uint256"
330
+ }
331
+ ],
332
+ "internalType": "struct Fee",
333
+ "name": "processingFee",
334
+ "type": "tuple"
335
+ }
336
+ ],
337
+ "stateMutability": "view",
338
+ "type": "function"
339
+ },
340
+ {
341
+ "inputs": [],
342
+ "name": "getProductFee",
343
+ "outputs": [
344
+ {
345
+ "components": [
346
+ {
347
+ "internalType": "UFixed",
348
+ "name": "fractionalFee",
349
+ "type": "uint256"
350
+ },
351
+ {
352
+ "internalType": "uint256",
353
+ "name": "fixedFee",
354
+ "type": "uint256"
355
+ }
356
+ ],
357
+ "internalType": "struct Fee",
358
+ "name": "productFee",
359
+ "type": "tuple"
138
360
  }
139
361
  ],
140
362
  "stateMutability": "view",
@@ -155,12 +377,12 @@
155
377
  },
156
378
  {
157
379
  "inputs": [],
158
- "name": "getType",
380
+ "name": "getToken",
159
381
  "outputs": [
160
382
  {
161
- "internalType": "uint256",
162
- "name": "",
163
- "type": "uint256"
383
+ "internalType": "contract IERC20Metadata",
384
+ "name": "token",
385
+ "type": "address"
164
386
  }
165
387
  ],
166
388
  "stateMutability": "view",
@@ -168,20 +390,75 @@
168
390
  },
169
391
  {
170
392
  "inputs": [],
171
- "name": "isRegisterable",
393
+ "name": "getWallet",
172
394
  "outputs": [
173
395
  {
174
- "internalType": "bool",
175
- "name": "",
176
- "type": "bool"
396
+ "internalType": "address",
397
+ "name": "walletAddress",
398
+ "type": "address"
177
399
  }
178
400
  ],
179
- "stateMutability": "pure",
401
+ "stateMutability": "view",
180
402
  "type": "function"
181
403
  },
182
404
  {
183
405
  "inputs": [],
184
- "name": "isRegistered",
406
+ "name": "lock",
407
+ "outputs": [],
408
+ "stateMutability": "nonpayable",
409
+ "type": "function"
410
+ },
411
+ {
412
+ "inputs": [
413
+ {
414
+ "components": [
415
+ {
416
+ "internalType": "UFixed",
417
+ "name": "fractionalFee",
418
+ "type": "uint256"
419
+ },
420
+ {
421
+ "internalType": "uint256",
422
+ "name": "fixedFee",
423
+ "type": "uint256"
424
+ }
425
+ ],
426
+ "internalType": "struct Fee",
427
+ "name": "productFee",
428
+ "type": "tuple"
429
+ },
430
+ {
431
+ "components": [
432
+ {
433
+ "internalType": "UFixed",
434
+ "name": "fractionalFee",
435
+ "type": "uint256"
436
+ },
437
+ {
438
+ "internalType": "uint256",
439
+ "name": "fixedFee",
440
+ "type": "uint256"
441
+ }
442
+ ],
443
+ "internalType": "struct Fee",
444
+ "name": "processingFee",
445
+ "type": "tuple"
446
+ }
447
+ ],
448
+ "name": "setFees",
449
+ "outputs": [],
450
+ "stateMutability": "nonpayable",
451
+ "type": "function"
452
+ },
453
+ {
454
+ "inputs": [
455
+ {
456
+ "internalType": "bytes4",
457
+ "name": "interfaceId",
458
+ "type": "bytes4"
459
+ }
460
+ ],
461
+ "name": "supportsInterface",
185
462
  "outputs": [
186
463
  {
187
464
  "internalType": "bool",
@@ -194,36 +471,30 @@
194
471
  },
195
472
  {
196
473
  "inputs": [],
197
- "name": "register",
198
- "outputs": [
199
- {
200
- "internalType": "NftId",
201
- "name": "componentId",
202
- "type": "uint96"
203
- }
204
- ],
474
+ "name": "unlock",
475
+ "outputs": [],
205
476
  "stateMutability": "nonpayable",
206
477
  "type": "function"
207
478
  }
208
479
  ],
209
- "bytecode": "0x60806040523480156200001157600080fd5b50604051620015663803806200156683398181016040528101906200003791906200028b565b8282808280806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505033600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505080600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634288121d6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000171573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200019791906200032c565b600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050506200035e565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620002538262000226565b9050919050565b620002658162000246565b81146200027157600080fd5b50565b60008151905062000285816200025a565b92915050565b600080600060608486031215620002a757620002a662000221565b5b6000620002b78682870162000274565b9350506020620002ca8682870162000274565b9250506040620002dd8682870162000274565b9150509250925092565b6000620002f48262000246565b9050919050565b6200030681620002e7565b81146200031257600080fd5b50565b6000815190506200032681620002fb565b92915050565b60006020828403121562000345576200034462000221565b5b6000620003558482850162000315565b91505092915050565b6111f8806200036e6000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c80635ab1bd53116100715780635ab1bd531461016d578063644c45e01461018b57806379e829d0146101a9578063893d20e8146101c7578063de7b5d14146101e5578063fb2cb10114610203576100b4565b806315dae03e146100b95780631aa3a008146100d75780631bdd6b76146100f5578063223668441461011357806331b62a3b146101315780633bc5de301461014f575b600080fd5b6100c1610221565b6040516100ce9190610bba565b60405180910390f35b6100df6102b8565b6040516100ec9190610c28565b60405180910390f35b6100fd6105d0565b60405161010a9190610c28565b60405180910390f35b61011b610694565b6040516101289190610c5e565b60405180910390f35b6101396107c1565b6040516101469190610c28565b60405180910390f35b61015761083e565b6040516101649190610d09565b60405180910390f35b6101756108da565b6040516101829190610da0565b60405180910390f35b610193610903565b6040516101a09190610c28565b60405180910390f35b6101b16109a5565b6040516101be9190610c5e565b60405180910390f35b6101cf6109ae565b6040516101dc9190610ddc565b60405180910390f35b6101ed610b4d565b6040516101fa9190610e18565b60405180910390f35b61020b610b77565b6040516102189190610ddc565b60405180910390f35b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166325425a916040518163ffffffff1660e01b8152600401602060405180830381865afa15801561028f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102b39190610e64565b905090565b60006102c2610b77565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461032f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161032690610ec8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036103be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103b590610f34565b60405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c3c5a547600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b81526004016104399190610ddc565b602060405180830381865afa158015610456573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061047a9190610f80565b6104b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104b09061101f565b60405180910390fd5b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa158015610528573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054c919061107d565b90508073ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b815260040161058791906110cb565b6020604051808303816000875af11580156105a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ca9190611112565b91505090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d272ac1e600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b815260040161064e9190610ddc565b602060405180830381865afa15801561066b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061068f9190611112565b905090565b60008060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b81526004016106f09190610ddc565b602060405180830381865afa15801561070d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107319190611112565b9050806bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6330b8415f90916040518263ffffffff1660e01b815260040161077a919061114e565b602060405180830381865af4158015610797573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107bb9190610f80565b91505090565b60006107cb610b4d565b73ffffffffffffffffffffffffffffffffffffffff1663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610815573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108399190611112565b905090565b6060610848610b4d565b73ffffffffffffffffffffffffffffffffffffffff1663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610892573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b69190611112565b6040516020016108c69190610c28565b604051602081830303815290604052905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b815260040161095f9190610ddc565b602060405180830381865afa15801561097c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a09190611112565b905090565b60006001905090565b60008060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b8152600401610a0a9190610ddc565b602060405180830381865afa158015610a27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4b9190611112565b905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663df33330b826040518263ffffffff1660e01b8152600401610aa69190610c28565b602060405180830381865afa158015610ac3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae79190611195565b9150600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610b4557600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610b47565b815b91505090565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000819050919050565b610bb481610ba1565b82525050565b6000602082019050610bcf6000830184610bab565b92915050565b60006bffffffffffffffffffffffff82169050919050565b6000819050919050565b6000610c12610c0d610c0884610bd5565b610bed565b610bd5565b9050919050565b610c2281610bf7565b82525050565b6000602082019050610c3d6000830184610c19565b92915050565b60008115159050919050565b610c5881610c43565b82525050565b6000602082019050610c736000830184610c4f565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610cb3578082015181840152602081019050610c98565b60008484015250505050565b6000601f19601f8301169050919050565b6000610cdb82610c79565b610ce58185610c84565b9350610cf5818560208601610c95565b610cfe81610cbf565b840191505092915050565b60006020820190508181036000830152610d238184610cd0565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610d66610d61610d5c84610d2b565b610bed565b610d2b565b9050919050565b6000610d7882610d4b565b9050919050565b6000610d8a82610d6d565b9050919050565b610d9a81610d7f565b82525050565b6000602082019050610db56000830184610d91565b92915050565b6000610dc682610d2b565b9050919050565b610dd681610dbb565b82525050565b6000602082019050610df16000830184610dcd565b92915050565b6000610e0282610d6d565b9050919050565b610e1281610df7565b82525050565b6000602082019050610e2d6000830184610e09565b92915050565b600080fd5b610e4181610ba1565b8114610e4c57600080fd5b50565b600081519050610e5e81610e38565b92915050565b600060208284031215610e7a57610e79610e33565b5b6000610e8884828501610e4f565b91505092915050565b600082825260208201905092915050565b50565b6000610eb2600083610e91565b9150610ebd82610ea2565b600082019050919050565b60006020820190508181036000830152610ee181610ea5565b9050919050565b7f4552524f523a5052442d3030313a52454749535452595f5a45524f0000000000600082015250565b6000610f1e601b83610e91565b9150610f2982610ee8565b602082019050919050565b60006020820190508181036000830152610f4d81610f11565b9050919050565b610f5d81610c43565b8114610f6857600080fd5b50565b600081519050610f7a81610f54565b92915050565b600060208284031215610f9657610f95610e33565b5b6000610fa484828501610f6b565b91505092915050565b7f4552524f523a5052442d3030323a494e5354414e43455f4e4f545f524547495360008201527f5445524544000000000000000000000000000000000000000000000000000000602082015250565b6000611009602583610e91565b915061101482610fad565b604082019050919050565b6000602082019050818103600083015261103881610ffc565b9050919050565b600061104a82610dbb565b9050919050565b61105a8161103f565b811461106557600080fd5b50565b60008151905061107781611051565b92915050565b60006020828403121561109357611092610e33565b5b60006110a184828501611068565b91505092915050565b60006110b582610d6d565b9050919050565b6110c5816110aa565b82525050565b60006020820190506110e060008301846110bc565b92915050565b6110ef81610bd5565b81146110fa57600080fd5b50565b60008151905061110c816110e6565b92915050565b60006020828403121561112857611127610e33565b5b6000611136848285016110fd565b91505092915050565b61114881610bf7565b82525050565b6000602082019050611163600083018461113f565b92915050565b61117281610dbb565b811461117d57600080fd5b50565b60008151905061118f81611169565b92915050565b6000602082840312156111ab576111aa610e33565b5b60006111b984828501611180565b9150509291505056fea264697066735822122002e9ec6c75a61944ce7005409cf8c543ebcdea19600760a843e4dbacfcea381364736f6c63430008140033",
210
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100b45760003560e01c80635ab1bd53116100715780635ab1bd531461016d578063644c45e01461018b57806379e829d0146101a9578063893d20e8146101c7578063de7b5d14146101e5578063fb2cb10114610203576100b4565b806315dae03e146100b95780631aa3a008146100d75780631bdd6b76146100f5578063223668441461011357806331b62a3b146101315780633bc5de301461014f575b600080fd5b6100c1610221565b6040516100ce9190610bba565b60405180910390f35b6100df6102b8565b6040516100ec9190610c28565b60405180910390f35b6100fd6105d0565b60405161010a9190610c28565b60405180910390f35b61011b610694565b6040516101289190610c5e565b60405180910390f35b6101396107c1565b6040516101469190610c28565b60405180910390f35b61015761083e565b6040516101649190610d09565b60405180910390f35b6101756108da565b6040516101829190610da0565b60405180910390f35b610193610903565b6040516101a09190610c28565b60405180910390f35b6101b16109a5565b6040516101be9190610c5e565b60405180910390f35b6101cf6109ae565b6040516101dc9190610ddc565b60405180910390f35b6101ed610b4d565b6040516101fa9190610e18565b60405180910390f35b61020b610b77565b6040516102189190610ddc565b60405180910390f35b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166325425a916040518163ffffffff1660e01b8152600401602060405180830381865afa15801561028f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102b39190610e64565b905090565b60006102c2610b77565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461032f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161032690610ec8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036103be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103b590610f34565b60405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c3c5a547600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b81526004016104399190610ddc565b602060405180830381865afa158015610456573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061047a9190610f80565b6104b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104b09061101f565b60405180910390fd5b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa158015610528573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054c919061107d565b90508073ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b815260040161058791906110cb565b6020604051808303816000875af11580156105a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ca9190611112565b91505090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d272ac1e600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b815260040161064e9190610ddc565b602060405180830381865afa15801561066b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061068f9190611112565b905090565b60008060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b81526004016106f09190610ddc565b602060405180830381865afa15801561070d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107319190611112565b9050806bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6330b8415f90916040518263ffffffff1660e01b815260040161077a919061114e565b602060405180830381865af4158015610797573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107bb9190610f80565b91505090565b60006107cb610b4d565b73ffffffffffffffffffffffffffffffffffffffff1663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610815573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108399190611112565b905090565b6060610848610b4d565b73ffffffffffffffffffffffffffffffffffffffff1663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610892573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b69190611112565b6040516020016108c69190610c28565b604051602081830303815290604052905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b815260040161095f9190610ddc565b602060405180830381865afa15801561097c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a09190611112565b905090565b60006001905090565b60008060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b8152600401610a0a9190610ddc565b602060405180830381865afa158015610a27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4b9190611112565b905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663df33330b826040518263ffffffff1660e01b8152600401610aa69190610c28565b602060405180830381865afa158015610ac3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae79190611195565b9150600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610b4557600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610b47565b815b91505090565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000819050919050565b610bb481610ba1565b82525050565b6000602082019050610bcf6000830184610bab565b92915050565b60006bffffffffffffffffffffffff82169050919050565b6000819050919050565b6000610c12610c0d610c0884610bd5565b610bed565b610bd5565b9050919050565b610c2281610bf7565b82525050565b6000602082019050610c3d6000830184610c19565b92915050565b60008115159050919050565b610c5881610c43565b82525050565b6000602082019050610c736000830184610c4f565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610cb3578082015181840152602081019050610c98565b60008484015250505050565b6000601f19601f8301169050919050565b6000610cdb82610c79565b610ce58185610c84565b9350610cf5818560208601610c95565b610cfe81610cbf565b840191505092915050565b60006020820190508181036000830152610d238184610cd0565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610d66610d61610d5c84610d2b565b610bed565b610d2b565b9050919050565b6000610d7882610d4b565b9050919050565b6000610d8a82610d6d565b9050919050565b610d9a81610d7f565b82525050565b6000602082019050610db56000830184610d91565b92915050565b6000610dc682610d2b565b9050919050565b610dd681610dbb565b82525050565b6000602082019050610df16000830184610dcd565b92915050565b6000610e0282610d6d565b9050919050565b610e1281610df7565b82525050565b6000602082019050610e2d6000830184610e09565b92915050565b600080fd5b610e4181610ba1565b8114610e4c57600080fd5b50565b600081519050610e5e81610e38565b92915050565b600060208284031215610e7a57610e79610e33565b5b6000610e8884828501610e4f565b91505092915050565b600082825260208201905092915050565b50565b6000610eb2600083610e91565b9150610ebd82610ea2565b600082019050919050565b60006020820190508181036000830152610ee181610ea5565b9050919050565b7f4552524f523a5052442d3030313a52454749535452595f5a45524f0000000000600082015250565b6000610f1e601b83610e91565b9150610f2982610ee8565b602082019050919050565b60006020820190508181036000830152610f4d81610f11565b9050919050565b610f5d81610c43565b8114610f6857600080fd5b50565b600081519050610f7a81610f54565b92915050565b600060208284031215610f9657610f95610e33565b5b6000610fa484828501610f6b565b91505092915050565b7f4552524f523a5052442d3030323a494e5354414e43455f4e4f545f524547495360008201527f5445524544000000000000000000000000000000000000000000000000000000602082015250565b6000611009602583610e91565b915061101482610fad565b604082019050919050565b6000602082019050818103600083015261103881610ffc565b9050919050565b600061104a82610dbb565b9050919050565b61105a8161103f565b811461106557600080fd5b50565b60008151905061107781611051565b92915050565b60006020828403121561109357611092610e33565b5b60006110a184828501611068565b91505092915050565b60006110b582610d6d565b9050919050565b6110c5816110aa565b82525050565b60006020820190506110e060008301846110bc565b92915050565b6110ef81610bd5565b81146110fa57600080fd5b50565b60008151905061110c816110e6565b92915050565b60006020828403121561112857611127610e33565b5b6000611136848285016110fd565b91505092915050565b61114881610bf7565b82525050565b6000602082019050611163600083018461113f565b92915050565b61117281610dbb565b811461117d57600080fd5b50565b60008151905061118f81611169565b92915050565b6000602082840312156111ab576111aa610e33565b5b60006111b984828501611180565b9150509291505056fea264697066735822122002e9ec6c75a61944ce7005409cf8c543ebcdea19600760a843e4dbacfcea381364736f6c63430008140033",
480
+ "bytecode": "0x60806040523480156200001157600080fd5b506040516200234a3803806200234a83398101604081905262000034916200089c565b888888606e6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff1916600117905589856040805160208101909152600081526200009687878686868662000562565b6000620000b96000805160206200232a833981519152546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000109573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000133919081019062000a06565b6080810151600580546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b8152630de7806f60e41b6004820152919250906301ffc9a790602401602060405180830381865afa1580156200019b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001c1919062000aec565b620001ed5760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b600560009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000241573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000267919062000b11565b600180546001600160a01b03199081166001600160a01b0393841617825560038054309083161790556004805490911692891692909217909155631b1599eb60e21b60009081526020527f82dc1aafdf8e16d475718790c9464a2912866acb395e292abd1ea37be80f5b28805460ff191690911790555050505050505050600560009054906101000a90046001600160a01b03166001600160a01b0316634288121d6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000339573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200035f919062000b11565b600680546001600160a01b03199081166001600160a01b0393841617909155600780548216888416179055600880549091168683161790558351600955602080850151600a558351600b55830151600c556000805160206200232a8339815191525416600754604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e90602401602060405180830381865afa1580156200040c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000432919062000b31565b600d80546001600160601b0319166001600160601b0392909216919091179055620004736000805160206200232a833981519152546001600160a01b031690565b600854604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e90602401602060405180830381865afa158015620004bd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004e3919062000b31565b600d80546001600160601b03929092166c0100000000000000000000000002600160601b600160c01b03199092169190911790556379fc0e7160e11b60009081526020527fae37458bb8945ae7571d1722238fea83f3c5619cf829a972c67f136a0bac29d2805460ff1916600117905550505050505050505062000caa565b6001600160a01b038616620005ba5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f00000000006044820152606401620001e4565b6040516301ffc9a760e01b8152636882e63f60e11b600482015286906001600160a01b038216906301ffc9a790602401602060405180830381865afa15801562000608573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200062e919062000aec565b6200067c5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f52454749535452590000000000006044820152606401620001e4565b6001600160a01b03818116600160a01b6001600160601b0389168102919091176000805160206200232a8339815191529081557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30180546001600160a01b031961ffff60a01b1990911660ff8b1690940260ff60a81b191693909317600160a81b8915150217929092169286169290921790557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3026200073b848262000bde565b5063a6d3826560e01b60009081526020527f164a5a3a3a16df858f794c5fc01b962add2c2151ae53ddb31581eabdf1156730805460ff191660011790555050505050505050565b6001600160a01b03811681146200079857600080fd5b50565b8051620007a88162000782565b919050565b80516001600160601b0381168114620007a857600080fd5b80518015158114620007a857600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715620008115762000811620007d6565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620008425762000842620007d6565b604052919050565b6000604082840312156200085d57600080fd5b604080519081016001600160401b0381118282101715620008825762000882620007d6565b604052825181526020928301519281019290925250919050565b60008060008060008060008060006101608a8c031215620008bc57600080fd5b8951620008c98162000782565b9850620008d960208b01620007ad565b975060408a0151620008eb8162000782565b9650620008fb60608b01620007c5565b955060808a01516200090d8162000782565b60a08b0151909550620009208162000782565b9350620009318b60c08c016200084a565b9250620009438b6101008c016200084a565b91506101408a0151620009568162000782565b809150509295985092959850929598565b805160ff81168114620007a857600080fd5b600082601f8301126200098b57600080fd5b81516001600160401b03811115620009a757620009a7620007d6565b6020620009bd601f8301601f1916820162000817565b8281528582848701011115620009d257600080fd5b60005b83811015620009f2578581018301518282018401528201620009d5565b506000928101909101919091529392505050565b60006020828403121562000a1957600080fd5b81516001600160401b038082111562000a3157600080fd5b9083019060e0828603121562000a4657600080fd5b62000a50620007ec565b62000a5b83620007ad565b815262000a6b60208401620007ad565b602082015262000a7e6040840162000967565b604082015262000a9160608401620007c5565b606082015262000aa4608084016200079b565b608082015262000ab760a084016200079b565b60a082015260c08301518281111562000acf57600080fd5b62000add8782860162000979565b60c08301525095945050505050565b60006020828403121562000aff57600080fd5b62000b0a82620007c5565b9392505050565b60006020828403121562000b2457600080fd5b815162000b0a8162000782565b60006020828403121562000b4457600080fd5b62000b0a82620007ad565b600181811c9082168062000b6457607f821691505b60208210810362000b8557634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000bd957600081815260208120601f850160051c8101602086101562000bb45750805b601f850160051c820191505b8181101562000bd55782815560010162000bc0565b5050505b505050565b81516001600160401b0381111562000bfa5762000bfa620007d6565b62000c128162000c0b845462000b4f565b8462000b8b565b602080601f83116001811462000c4a576000841562000c315750858301515b600019600386901b1c1916600185901b17855562000bd5565b600085815260208120601f198616915b8281101562000c7b5788860151825594840194600190910190840162000c5a565b508582101562000c9a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6116708062000cba6000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c80635e78426b116100a2578063b6b412ba11610071578063b6b412ba14610257578063daafed401461026a578063db6dcc9514610272578063de7b5d141461027a578063f83d08ba1461028b57600080fd5b80635e78426b1461022a578063644c45e01461023d578063893d20e814610245578063a69df4b51461024d57600080fd5b80631380bf23116100e95780631380bf23146101b95780631bdd6b76146101dc5780631eff4b22146101fc57806321df0da7146102115780635ab1bd531461022257600080fd5b806301ffc9a71461011b5780630fec111c1461015d57806312abb9b3146101735780631329960414610194575b600080fd5b610148610129366004610c66565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610165610293565b604051610154929190610ce7565b610186610181366004610ee8565b6104bd565b604051908152602001610154565b6003546001600160a01b03165b6040516001600160a01b039091168152602001610154565b6101c1610549565b60408051825181526020928301519281019290925201610154565b6101e461067e565b6040516001600160601b039091168152602001610154565b61018660008051602061161b83398151915281565b6004546001600160a01b03166101a1565b6101a16106fb565b610186610238366004610f71565b610717565b6101e461072d565b6101a161076b565b6102556107e6565b005b610255610265366004611004565b610887565b6101c1610927565b6101e4610a5c565b6005546001600160a01b03166101a1565b610255610a97565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082018190529091806102d7610aff565b91509150600080600760009054906101000a90046001600160a01b03166001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610331573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261035991908101906110d7565b915091506000806000838060200190518101906103769190611200565b6040805161012081018252600d546001600160601b038082168352600160601b90910416602080830191909152600480546001600160a01b031683850152835180850185526009548152600a5481840152606084015283518085018552600b548152600c5492810192909252608083019190915260a0820186905260c0820185905260e082018490528251632bd182d360e01b81528351969c50949a509298508e975095506101008601945073__$a23651848365a6a5ca15f07b4331037f48$__93632bd182d39380840193908290030181865af415801561045c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061048091906112a4565b905260035460405161049f92916001600160a01b0316906020016112c0565b60405160208183030381529060405298509850505050505050509091565b600654604051639cdaa7f960e01b81526000916001600160a01b031690639cdaa7f9906104f89089908b908a908a9089908b906004016113b6565b60a060405180830381865afa158015610515573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610539919061140d565b50929a9950505050505050505050565b6040805180820190915260008082526020820152600061056761072d565b60055460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa1580156105b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105dd919061144d565b156106625760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610634573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106589190611468565b6060015191505090565b5050604080518082019091526009548152600a54602082015290565b60006106886106fb565b600754604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024015b602060405180830381865afa1580156106d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f69190611527565b905090565b60008051602061161b833981519152546001600160a01b031690565b6000610724600a86611544565b95945050505050565b60008051602061161b83398151915254604051636939560f60e11b81523060048201526000916001600160a01b03169063d272ac1e906024016106b5565b600060008051602061161b83398151915254604051630a57ebcf60e11b81523060048201526001600160a01b03909116906314afd79e90602401602060405180830381865afa1580156107c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f69190611566565b6107ee61076b565b6001600160a01b0316336001600160a01b0316146108275760405162461bcd60e51b815260040161081e90611583565b60405180910390fd5b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b15801561086d57600080fd5b505af1158015610881573d6000803e3d6000fd5b50505050565b61088f61076b565b6001600160a01b0316336001600160a01b0316146108bf5760405162461bcd60e51b815260040161081e90611583565b600654604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba906108f190859085906004016115ba565b600060405180830381600087803b15801561090b57600080fd5b505af115801561091f573d6000803e3d6000fd5b505050505050565b6040805180820190915260008082526020820152600061094561072d565b60055460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610997573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109bb919061144d565b15610a405760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610a12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a369190611468565b6080015191505090565b505060408051808201909152600b548152600c54602082015290565b6000610a666106fb565b600854604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024016106b5565b610a9f61076b565b6001600160a01b0316336001600160a01b031614610acf5760405162461bcd60e51b815260040161081e90611583565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610853565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526060600060008051602061161b83398151915290506040518060e00160405280610b62600090565b6001600160601b0390811682528354600160a01b908190049091166020830152600184015490810460ff9081166040840152600160a81b820416151560608301523060808301526001600160a01b031660a082015260028301805460c090920191610bcc906115e0565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf8906115e0565b8015610c455780601f10610c1a57610100808354040283529160200191610c45565b820191906000526020600020905b815481529060010190602001808311610c2857829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b600060208284031215610c7857600080fd5b81356001600160e01b031981168114610c9057600080fd5b9392505050565b60005b83811015610cb2578181015183820152602001610c9a565b50506000910152565b60008151808452610cd3816020860160208601610c97565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151610d2b60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152610d71610120840182610cbb565b905082810360208401526107248185610cbb565b6001600160c01b031981168114610d9b57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715610dd757610dd7610d9e565b60405290565b60405160e0810167ffffffffffffffff81118282101715610dd757610dd7610d9e565b604051610120810167ffffffffffffffff81118282101715610dd757610dd7610d9e565b604051601f8201601f1916810167ffffffffffffffff81118282101715610e4d57610e4d610d9e565b604052919050565b600067ffffffffffffffff821115610e6f57610e6f610d9e565b50601f01601f191660200190565b600082601f830112610e8e57600080fd5b8135610ea1610e9c82610e55565b610e24565b818152846020838601011115610eb657600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160601b0381168114610d9b57600080fd5b60008060008060008060c08789031215610f0157600080fd5b863595506020870135610f1381610d85565b945060408701359350606087013567ffffffffffffffff811115610f3657600080fd5b610f4289828a01610e7d565b9350506080870135610f5381610d85565b915060a0870135610f6381610ed3565b809150509295509295509295565b60008060008060808587031215610f8757600080fd5b843593506020850135610f9981610d85565b925060408501359150606085013567ffffffffffffffff811115610fbc57600080fd5b610fc887828801610e7d565b91505092959194509250565b600060408284031215610fe657600080fd5b610fee610db4565b9050813581526020820135602082015292915050565b6000806080838503121561101757600080fd5b6110218484610fd4565b91506110308460408501610fd4565b90509250929050565b805161104481610ed3565b919050565b805160ff8116811461104457600080fd5b8051801515811461104457600080fd5b6001600160a01b0381168114610d9b57600080fd5b80516110448161106a565b600082601f83011261109b57600080fd5b81516110a9610e9c82610e55565b8181528460208386010111156110be57600080fd5b6110cf826020830160208701610c97565b949350505050565b600080604083850312156110ea57600080fd5b825167ffffffffffffffff8082111561110257600080fd5b9084019060e0828703121561111657600080fd5b61111e610ddd565b61112783611039565b815261113560208401611039565b602082015261114660408401611049565b60408201526111576060840161105a565b60608201526111686080840161107f565b608082015261117960a0840161107f565b60a082015260c08301518281111561119057600080fd5b61119c8882860161108a565b60c08301525060208601519094509150808211156111b957600080fd5b506111c68582860161108a565b9150509250929050565b6000604082840312156111e257600080fd5b6111ea610db4565b9050815181526020820151602082015292915050565b60008060008060008086880361014081121561121b57600080fd5b604081121561122957600080fd5b50611232610db4565b61123b8861105a565b8152602088015160208201528096505060408701516112598161106a565b606088015190955061126a8161106a565b935061127988608089016111d0565b92506112888860c089016111d0565b91506112988861010089016111d0565b90509295509295509295565b6000604082840312156112b657600080fd5b610c9083836111d0565b82516001600160601b031681526020808401516102008301916112ed908401826001600160601b03169052565b50604084015161130860408401826001600160a01b03169052565b506060840151611325606084018280518252602090810151910152565b506080840151805160a0840152602081015160c08401525060a0840151805160e084015260208101516101008401525060c0840151805161012084015260208101516101408401525060e0840151805161016084015260208101516101808401525061010084015180516101a084015260208101516101c0840152506001600160a01b0383166101e0830152610c90565b600067ffffffffffffffff60c01b808916835287602084015286604084015260c060608401526113e960c0840187610cbb565b6001600160601b039590951660808401529290921660a09091015250949350505050565b600080600080600060a0868803121561142557600080fd5b5050835160208501516040860151606087015160809097015192989197509594509092509050565b60006020828403121561145f57600080fd5b610c908261105a565b60006101e0828403121561147b57600080fd5b611483610e00565b61148c83611039565b815261149a60208401611039565b60208201526114ab6040840161107f565b60408201526114bd84606085016111d0565b60608201526114cf8460a085016111d0565b60808201526114e18460e085016111d0565b60a08201526114f48461012085016111d0565b60c08201526115078461016085016111d0565b60e082015261151a846101a085016111d0565b6101008201529392505050565b60006020828403121561153957600080fd5b8151610c9081610ed3565b60008261156157634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561157857600080fd5b8151610c908161106a565b60208082526017908201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b825181526020808401518183015282516040830152820151606082015260808101610c90565b600181811c908216806115f457607f821691505b60208210810361161457634e487b7160e01b600052602260045260246000fd5b5091905056fe6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300a264697066735822122072c3a56db42a616c78151f648dc707ba4d8ebb86bedd007454695d5e62340c5864736f6c634300081400336548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300",
481
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101165760003560e01c80635e78426b116100a2578063b6b412ba11610071578063b6b412ba14610257578063daafed401461026a578063db6dcc9514610272578063de7b5d141461027a578063f83d08ba1461028b57600080fd5b80635e78426b1461022a578063644c45e01461023d578063893d20e814610245578063a69df4b51461024d57600080fd5b80631380bf23116100e95780631380bf23146101b95780631bdd6b76146101dc5780631eff4b22146101fc57806321df0da7146102115780635ab1bd531461022257600080fd5b806301ffc9a71461011b5780630fec111c1461015d57806312abb9b3146101735780631329960414610194575b600080fd5b610148610129366004610c66565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610165610293565b604051610154929190610ce7565b610186610181366004610ee8565b6104bd565b604051908152602001610154565b6003546001600160a01b03165b6040516001600160a01b039091168152602001610154565b6101c1610549565b60408051825181526020928301519281019290925201610154565b6101e461067e565b6040516001600160601b039091168152602001610154565b61018660008051602061161b83398151915281565b6004546001600160a01b03166101a1565b6101a16106fb565b610186610238366004610f71565b610717565b6101e461072d565b6101a161076b565b6102556107e6565b005b610255610265366004611004565b610887565b6101c1610927565b6101e4610a5c565b6005546001600160a01b03166101a1565b610255610a97565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082018190529091806102d7610aff565b91509150600080600760009054906101000a90046001600160a01b03166001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610331573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261035991908101906110d7565b915091506000806000838060200190518101906103769190611200565b6040805161012081018252600d546001600160601b038082168352600160601b90910416602080830191909152600480546001600160a01b031683850152835180850185526009548152600a5481840152606084015283518085018552600b548152600c5492810192909252608083019190915260a0820186905260c0820185905260e082018490528251632bd182d360e01b81528351969c50949a509298508e975095506101008601945073__$a23651848365a6a5ca15f07b4331037f48$__93632bd182d39380840193908290030181865af415801561045c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061048091906112a4565b905260035460405161049f92916001600160a01b0316906020016112c0565b60405160208183030381529060405298509850505050505050509091565b600654604051639cdaa7f960e01b81526000916001600160a01b031690639cdaa7f9906104f89089908b908a908a9089908b906004016113b6565b60a060405180830381865afa158015610515573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610539919061140d565b50929a9950505050505050505050565b6040805180820190915260008082526020820152600061056761072d565b60055460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa1580156105b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105dd919061144d565b156106625760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610634573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106589190611468565b6060015191505090565b5050604080518082019091526009548152600a54602082015290565b60006106886106fb565b600754604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024015b602060405180830381865afa1580156106d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f69190611527565b905090565b60008051602061161b833981519152546001600160a01b031690565b6000610724600a86611544565b95945050505050565b60008051602061161b83398151915254604051636939560f60e11b81523060048201526000916001600160a01b03169063d272ac1e906024016106b5565b600060008051602061161b83398151915254604051630a57ebcf60e11b81523060048201526001600160a01b03909116906314afd79e90602401602060405180830381865afa1580156107c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f69190611566565b6107ee61076b565b6001600160a01b0316336001600160a01b0316146108275760405162461bcd60e51b815260040161081e90611583565b60405180910390fd5b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b15801561086d57600080fd5b505af1158015610881573d6000803e3d6000fd5b50505050565b61088f61076b565b6001600160a01b0316336001600160a01b0316146108bf5760405162461bcd60e51b815260040161081e90611583565b600654604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba906108f190859085906004016115ba565b600060405180830381600087803b15801561090b57600080fd5b505af115801561091f573d6000803e3d6000fd5b505050505050565b6040805180820190915260008082526020820152600061094561072d565b60055460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610997573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109bb919061144d565b15610a405760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610a12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a369190611468565b6080015191505090565b505060408051808201909152600b548152600c54602082015290565b6000610a666106fb565b600854604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024016106b5565b610a9f61076b565b6001600160a01b0316336001600160a01b031614610acf5760405162461bcd60e51b815260040161081e90611583565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610853565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526060600060008051602061161b83398151915290506040518060e00160405280610b62600090565b6001600160601b0390811682528354600160a01b908190049091166020830152600184015490810460ff9081166040840152600160a81b820416151560608301523060808301526001600160a01b031660a082015260028301805460c090920191610bcc906115e0565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf8906115e0565b8015610c455780601f10610c1a57610100808354040283529160200191610c45565b820191906000526020600020905b815481529060010190602001808311610c2857829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b600060208284031215610c7857600080fd5b81356001600160e01b031981168114610c9057600080fd5b9392505050565b60005b83811015610cb2578181015183820152602001610c9a565b50506000910152565b60008151808452610cd3816020860160208601610c97565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151610d2b60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152610d71610120840182610cbb565b905082810360208401526107248185610cbb565b6001600160c01b031981168114610d9b57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715610dd757610dd7610d9e565b60405290565b60405160e0810167ffffffffffffffff81118282101715610dd757610dd7610d9e565b604051610120810167ffffffffffffffff81118282101715610dd757610dd7610d9e565b604051601f8201601f1916810167ffffffffffffffff81118282101715610e4d57610e4d610d9e565b604052919050565b600067ffffffffffffffff821115610e6f57610e6f610d9e565b50601f01601f191660200190565b600082601f830112610e8e57600080fd5b8135610ea1610e9c82610e55565b610e24565b818152846020838601011115610eb657600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160601b0381168114610d9b57600080fd5b60008060008060008060c08789031215610f0157600080fd5b863595506020870135610f1381610d85565b945060408701359350606087013567ffffffffffffffff811115610f3657600080fd5b610f4289828a01610e7d565b9350506080870135610f5381610d85565b915060a0870135610f6381610ed3565b809150509295509295509295565b60008060008060808587031215610f8757600080fd5b843593506020850135610f9981610d85565b925060408501359150606085013567ffffffffffffffff811115610fbc57600080fd5b610fc887828801610e7d565b91505092959194509250565b600060408284031215610fe657600080fd5b610fee610db4565b9050813581526020820135602082015292915050565b6000806080838503121561101757600080fd5b6110218484610fd4565b91506110308460408501610fd4565b90509250929050565b805161104481610ed3565b919050565b805160ff8116811461104457600080fd5b8051801515811461104457600080fd5b6001600160a01b0381168114610d9b57600080fd5b80516110448161106a565b600082601f83011261109b57600080fd5b81516110a9610e9c82610e55565b8181528460208386010111156110be57600080fd5b6110cf826020830160208701610c97565b949350505050565b600080604083850312156110ea57600080fd5b825167ffffffffffffffff8082111561110257600080fd5b9084019060e0828703121561111657600080fd5b61111e610ddd565b61112783611039565b815261113560208401611039565b602082015261114660408401611049565b60408201526111576060840161105a565b60608201526111686080840161107f565b608082015261117960a0840161107f565b60a082015260c08301518281111561119057600080fd5b61119c8882860161108a565b60c08301525060208601519094509150808211156111b957600080fd5b506111c68582860161108a565b9150509250929050565b6000604082840312156111e257600080fd5b6111ea610db4565b9050815181526020820151602082015292915050565b60008060008060008086880361014081121561121b57600080fd5b604081121561122957600080fd5b50611232610db4565b61123b8861105a565b8152602088015160208201528096505060408701516112598161106a565b606088015190955061126a8161106a565b935061127988608089016111d0565b92506112888860c089016111d0565b91506112988861010089016111d0565b90509295509295509295565b6000604082840312156112b657600080fd5b610c9083836111d0565b82516001600160601b031681526020808401516102008301916112ed908401826001600160601b03169052565b50604084015161130860408401826001600160a01b03169052565b506060840151611325606084018280518252602090810151910152565b506080840151805160a0840152602081015160c08401525060a0840151805160e084015260208101516101008401525060c0840151805161012084015260208101516101408401525060e0840151805161016084015260208101516101808401525061010084015180516101a084015260208101516101c0840152506001600160a01b0383166101e0830152610c90565b600067ffffffffffffffff60c01b808916835287602084015286604084015260c060608401526113e960c0840187610cbb565b6001600160601b039590951660808401529290921660a09091015250949350505050565b600080600080600060a0868803121561142557600080fd5b5050835160208501516040860151606087015160809097015192989197509594509092509050565b60006020828403121561145f57600080fd5b610c908261105a565b60006101e0828403121561147b57600080fd5b611483610e00565b61148c83611039565b815261149a60208401611039565b60208201526114ab6040840161107f565b60408201526114bd84606085016111d0565b60608201526114cf8460a085016111d0565b60808201526114e18460e085016111d0565b60a08201526114f48461012085016111d0565b60c08201526115078461016085016111d0565b60e082015261151a846101a085016111d0565b6101008201529392505050565b60006020828403121561153957600080fd5b8151610c9081610ed3565b60008261156157634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561157857600080fd5b8151610c908161106a565b60208082526017908201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b825181526020808401518183015282516040830152820151606082015260808101610c90565b600181811c908216806115f457607f821691505b60208210810361161457634e487b7160e01b600052602260045260246000fd5b5091905056fe6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300a264697066735822122072c3a56db42a616c78151f648dc707ba4d8ebb86bedd007454695d5e62340c5864736f6c63430008140033",
211
482
  "linkReferences": {
212
- "contracts/types/NftId.sol": {
213
- "NftIdLib": [
483
+ "contracts/types/Fee.sol": {
484
+ "FeeLib": [
214
485
  {
215
486
  "length": 20,
216
- "start": 2738
487
+ "start": 4318
217
488
  }
218
489
  ]
219
490
  }
220
491
  },
221
492
  "deployedLinkReferences": {
222
- "contracts/types/NftId.sol": {
223
- "NftIdLib": [
493
+ "contracts/types/Fee.sol": {
494
+ "FeeLib": [
224
495
  {
225
496
  "length": 20,
226
- "start": 1860
497
+ "start": 1060
227
498
  }
228
499
  ]
229
500
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/323ad046525267eb5d4403a668e0a584.json"
3
+ "buildInfo": "../../../../build-info/fb3a98c31eed59ef653e03c45b04f993.json"
4
4
  }
@@ -98,8 +98,8 @@
98
98
  "type": "function"
99
99
  }
100
100
  ],
101
- "bytecode": "0x608060405234801561001057600080fd5b50602a60008190555061040f806100286000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806342bf62e0146100465780638db581aa1461007657806394977ddd146100a6575b600080fd5b610060600480360381019061005b91906101fb565b6100d6565b60405161006d9190610243565b60405180910390f35b610090600480360381019061008b91906101fb565b610124565b60405161009d9190610243565b60405180910390f35b6100c060048036038101906100bb91906101fb565b610172565b6040516100cd9190610243565b60405180910390f35b60008054821161011b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610112906102bb565b60405180910390fd5b60019050919050565b600080548211610169576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016090610327565b60405180910390fd5b60019050919050565b6000805482116101b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101ae906103b9565b60405180910390fd5b60019050919050565b600080fd5b6000819050919050565b6101d8816101c5565b81146101e357600080fd5b50565b6000813590506101f5816101cf565b92915050565b600060208284031215610211576102106101c0565b5b600061021f848285016101e6565b91505092915050565b60008115159050919050565b61023d81610228565b82525050565b60006020820190506102586000830184610234565b92915050565b600082825260208201905092915050565b7f4552524f523a4142432d3030323a415f49535f534d414c4c4552000000000000600082015250565b60006102a5601a8361025e565b91506102b08261026f565b602082019050919050565b600060208201905081810360008301526102d481610298565b9050919050565b7f4552524f523a4142432d30303100000000000000000000000000000000000000600082015250565b6000610311600d8361025e565b915061031c826102db565b602082019050919050565b6000602082019050818103600083015261034081610304565b9050919050565b7f4552524f523a4142432d3030333a415f49535f534d414c4c45525f5448414e5f60008201527f4200000000000000000000000000000000000000000000000000000000000000602082015250565b60006103a360218361025e565b91506103ae82610347565b604082019050919050565b600060208201905081810360008301526103d281610396565b905091905056fea264697066735822122037166611a511d9af82b0dcac3b2c507813c1b7734dec8459f1d27545891eeeba64736f6c63430008140033",
102
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100415760003560e01c806342bf62e0146100465780638db581aa1461007657806394977ddd146100a6575b600080fd5b610060600480360381019061005b91906101fb565b6100d6565b60405161006d9190610243565b60405180910390f35b610090600480360381019061008b91906101fb565b610124565b60405161009d9190610243565b60405180910390f35b6100c060048036038101906100bb91906101fb565b610172565b6040516100cd9190610243565b60405180910390f35b60008054821161011b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610112906102bb565b60405180910390fd5b60019050919050565b600080548211610169576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016090610327565b60405180910390fd5b60019050919050565b6000805482116101b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101ae906103b9565b60405180910390fd5b60019050919050565b600080fd5b6000819050919050565b6101d8816101c5565b81146101e357600080fd5b50565b6000813590506101f5816101cf565b92915050565b600060208284031215610211576102106101c0565b5b600061021f848285016101e6565b91505092915050565b60008115159050919050565b61023d81610228565b82525050565b60006020820190506102586000830184610234565b92915050565b600082825260208201905092915050565b7f4552524f523a4142432d3030323a415f49535f534d414c4c4552000000000000600082015250565b60006102a5601a8361025e565b91506102b08261026f565b602082019050919050565b600060208201905081810360008301526102d481610298565b9050919050565b7f4552524f523a4142432d30303100000000000000000000000000000000000000600082015250565b6000610311600d8361025e565b915061031c826102db565b602082019050919050565b6000602082019050818103600083015261034081610304565b9050919050565b7f4552524f523a4142432d3030333a415f49535f534d414c4c45525f5448414e5f60008201527f4200000000000000000000000000000000000000000000000000000000000000602082015250565b60006103a360218361025e565b91506103ae82610347565b604082019050919050565b600060208201905081810360008301526103d281610396565b905091905056fea264697066735822122037166611a511d9af82b0dcac3b2c507813c1b7734dec8459f1d27545891eeeba64736f6c63430008140033",
101
+ "bytecode": "0x608060405234801561001057600080fd5b50602a6000556101df806100256000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806342bf62e0146100465780638db581aa1461006d57806394977ddd14610080575b600080fd5b610059610054366004610190565b610093565b604051901515815260200160405180910390f35b61005961007b366004610190565b6100f2565b61005961008e366004610190565b610134565b6000805482116100ea5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4142432d3030323a415f49535f534d414c4c455200000000000060448201526064015b60405180910390fd5b506001919050565b6000805482116100ea5760405162461bcd60e51b815260206004820152600d60248201526c4552524f523a4142432d30303160981b60448201526064016100e1565b6000805482116100ea5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4142432d3030333a415f49535f534d414c4c45525f5448414e5f6044820152602160f91b60648201526084016100e1565b6000602082840312156101a257600080fd5b503591905056fea2646970667358221220572bbc4b1e30046ddb065771b03fa96e34255214cd346e350172d87d56991ba064736f6c63430008140033",
102
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100415760003560e01c806342bf62e0146100465780638db581aa1461006d57806394977ddd14610080575b600080fd5b610059610054366004610190565b610093565b604051901515815260200160405180910390f35b61005961007b366004610190565b6100f2565b61005961008e366004610190565b610134565b6000805482116100ea5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4142432d3030323a415f49535f534d414c4c455200000000000060448201526064015b60405180910390fd5b506001919050565b6000805482116100ea5760405162461bcd60e51b815260206004820152600d60248201526c4552524f523a4142432d30303160981b60448201526064016100e1565b6000805482116100ea5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4142432d3030333a415f49535f534d414c4c45525f5448414e5f6044820152602160f91b60648201526084016100e1565b6000602082840312156101a257600080fd5b503591905056fea2646970667358221220572bbc4b1e30046ddb065771b03fa96e34255214cd346e350172d87d56991ba064736f6c63430008140033",
103
103
  "linkReferences": {},
104
104
  "deployedLinkReferences": {}
105
105
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/323ad046525267eb5d4403a668e0a584.json"
3
+ "buildInfo": "../../../../build-info/fb3a98c31eed59ef653e03c45b04f993.json"
4
4
  }