@etherisc/gif-next 0.0.2-f634e5c-828 → 0.0.2-f689687-279

Sign up to get free protection for your applications and to get access to all the features.
Files changed (433) hide show
  1. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1007 -0
  3. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +744 -0
  5. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +791 -0
  7. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +148 -62
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +1 -1
  10. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  11. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +233 -5
  12. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +149 -21
  14. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  16. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +82 -12
  17. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  18. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +68 -13
  19. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  21. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +2 -2
  22. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  23. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +77 -65
  24. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  25. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +152 -33
  26. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  27. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +51 -39
  28. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  29. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +117 -110
  30. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  31. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +46 -48
  32. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  33. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +38 -26
  34. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  35. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +27 -3
  36. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +1 -1
  37. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +1 -1
  38. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +102 -42
  39. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +1 -1
  40. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +127 -40
  41. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +1 -1
  42. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +259 -184
  43. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +1 -1
  44. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +152 -33
  45. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +1 -1
  46. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +1 -1
  47. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +104 -54
  48. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +589 -0
  50. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
  51. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +95 -63
  52. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
  53. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +111 -48
  54. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +589 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
  57. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +288 -147
  58. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  59. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +88 -45
  60. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  61. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +54 -21
  62. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  63. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +53 -3
  64. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  65. package/artifacts/contracts/instance/Instance.sol/Instance.json +80 -40
  66. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  67. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +331 -99
  68. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  69. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +127 -40
  70. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  71. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +294 -196
  72. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  73. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +65 -58
  74. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  75. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +20 -22
  76. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  77. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +403 -353
  78. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +1 -1
  79. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +96 -53
  80. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  81. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  82. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  83. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  84. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  85. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  86. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +2 -2
  87. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  88. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +16 -5
  89. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  90. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  91. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  92. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  93. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  94. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  95. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  96. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  97. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  98. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +68 -56
  99. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  100. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +126 -35
  101. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  102. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  103. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +38 -26
  104. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  105. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +27 -3
  106. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  107. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +52 -40
  108. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  109. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +75 -68
  110. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  111. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +25 -27
  112. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  113. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +51 -39
  114. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  115. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +127 -40
  116. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  117. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +102 -201
  118. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  119. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +33 -55
  120. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  121. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +38 -80
  122. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  123. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +38 -26
  124. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  125. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +120 -175
  126. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  127. package/artifacts/contracts/pool/Pool.sol/Pool.json +51 -39
  128. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  129. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +456 -0
  130. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  131. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +236 -281
  132. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  133. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +61 -47
  134. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  135. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +57 -50
  136. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  137. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +16 -18
  138. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  139. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +157 -130
  140. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  141. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +152 -33
  142. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  143. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +244 -187
  144. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  145. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +55 -65
  146. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  147. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +27 -3
  148. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  149. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +142 -20
  150. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  151. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +27 -50
  152. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  153. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +27 -3
  154. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  155. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +144 -117
  156. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
  157. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +27 -3
  158. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  159. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +105 -137
  160. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  161. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +40 -38
  162. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  163. package/artifacts/contracts/product/PricingService.sol/PricingService.json +85 -78
  164. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  165. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +31 -33
  166. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  167. package/artifacts/contracts/product/Product.sol/Product.json +157 -130
  168. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
  169. package/artifacts/contracts/product/RiskService.sol/RiskService.json +76 -77
  170. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
  171. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +25 -19
  172. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  173. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  174. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +26 -2
  175. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  176. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +31 -7
  177. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  178. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  179. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  180. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  181. package/artifacts/contracts/registry/Registry.sol/Registry.json +64 -40
  182. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  183. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +250 -221
  184. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  185. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +51 -44
  186. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  187. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +11 -13
  188. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  189. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1849 -0
  190. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  191. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +2 -2
  192. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  193. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +315 -49
  194. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  195. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +6 -6
  196. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  197. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +4 -4
  198. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  199. package/artifacts/contracts/shared/Component.sol/Component.json +51 -39
  200. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  201. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +105 -442
  202. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  203. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +40 -70
  204. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  205. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +27 -16
  206. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +1 -1
  207. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +57 -4
  208. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +1 -1
  209. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +1 -1
  210. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  211. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  212. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  213. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +38 -26
  214. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  215. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +27 -291
  216. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  217. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +38 -26
  218. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  219. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  220. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  221. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  222. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  223. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +120 -1
  224. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  225. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  226. package/artifacts/contracts/shared/IService.sol/IService.json +27 -3
  227. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  228. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  229. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +51 -39
  230. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  231. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  232. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  233. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  234. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  235. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +2 -2
  236. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  237. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -2
  238. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  239. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +118 -62
  240. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  241. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  242. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  243. package/artifacts/contracts/shared/Service.sol/Service.json +27 -16
  244. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  245. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +63 -162
  246. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +1 -1
  247. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +118 -29
  248. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
  249. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +32 -32
  250. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  251. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +38 -26
  252. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  253. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +56 -3
  254. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +1 -1
  255. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +32 -32
  256. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  257. package/artifacts/contracts/staking/Staking.sol/Staking.json +90 -57
  258. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  259. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +2 -2
  260. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  261. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +27 -19
  262. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  263. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +4 -4
  264. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  265. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +87 -51
  266. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  267. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +18 -20
  268. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  269. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +128 -128
  270. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  271. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +22 -22
  272. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  273. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  274. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  275. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  276. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +2 -2
  277. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  278. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  279. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  280. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  281. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  282. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +1 -1
  283. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +2 -2
  284. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  285. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +2 -2
  286. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  287. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  288. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  289. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +2 -2
  290. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  291. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +2 -2
  292. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  293. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  294. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  295. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  296. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  297. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +23 -4
  298. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  299. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +79 -15
  300. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  301. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  302. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
  303. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  304. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
  305. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  306. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  307. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  308. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +2 -2
  309. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  310. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  311. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  312. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  313. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +47 -2
  314. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  315. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  316. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +2 -2
  317. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  318. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  319. package/contracts/accounting/AccountingService.sol +262 -0
  320. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  321. package/contracts/accounting/IAccountingService.sol +45 -0
  322. package/contracts/authorization/AccessAdmin.sol +156 -82
  323. package/contracts/authorization/AccessManagerCloneable.sol +136 -3
  324. package/contracts/authorization/Authorization.sol +277 -229
  325. package/contracts/authorization/IAccessAdmin.sol +13 -7
  326. package/contracts/authorization/IAuthorization.sol +15 -1
  327. package/contracts/distribution/BasicDistribution.sol +4 -4
  328. package/contracts/distribution/BasicDistributionAuthorization.sol +21 -8
  329. package/contracts/distribution/Distribution.sol +27 -24
  330. package/contracts/distribution/DistributionService.sol +18 -15
  331. package/contracts/distribution/DistributionServiceManager.sol +1 -1
  332. package/contracts/examples/fire/FirePool.sol +6 -2
  333. package/contracts/examples/fire/FirePoolAuthorization.sol +2 -1
  334. package/contracts/examples/fire/FireProduct.sol +8 -1
  335. package/contracts/examples/fire/FireProductAuthorization.sol +2 -1
  336. package/contracts/examples/unpermissioned/SimpleDistribution.sol +6 -14
  337. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  338. package/contracts/examples/unpermissioned/SimplePool.sol +7 -9
  339. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  340. package/contracts/examples/unpermissioned/SimpleProduct.sol +25 -0
  341. package/contracts/instance/BundleSet.sol +4 -4
  342. package/contracts/instance/IInstance.sol +6 -7
  343. package/contracts/instance/IInstanceService.sol +2 -0
  344. package/contracts/instance/Instance.sol +19 -11
  345. package/contracts/instance/InstanceAdmin.sol +216 -62
  346. package/contracts/instance/InstanceAuthorizationV3.sol +18 -23
  347. package/contracts/instance/InstanceReader.sol +79 -35
  348. package/contracts/instance/InstanceService.sol +43 -31
  349. package/contracts/instance/InstanceServiceManager.sol +1 -1
  350. package/contracts/instance/InstanceStore.sol +13 -2
  351. package/contracts/instance/RiskSet.sol +11 -12
  352. package/contracts/instance/base/ObjectLifecycle.sol +4 -2
  353. package/contracts/instance/base/ObjectSet.sol +7 -8
  354. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  355. package/contracts/instance/module/IComponents.sol +3 -2
  356. package/contracts/instance/module/IRisk.sol +2 -0
  357. package/contracts/oracle/BasicOracleAuthorization.sol +3 -12
  358. package/contracts/oracle/Oracle.sol +1 -1
  359. package/contracts/oracle/OracleService.sol +16 -15
  360. package/contracts/oracle/OracleServiceManager.sol +1 -1
  361. package/contracts/pool/BasicPoolAuthorization.sol +21 -13
  362. package/contracts/pool/BundleService.sol +35 -63
  363. package/contracts/pool/BundleServiceManager.sol +1 -1
  364. package/contracts/pool/IBundleService.sol +13 -20
  365. package/contracts/pool/IPoolService.sol +50 -38
  366. package/contracts/pool/Pool.sol +9 -9
  367. package/contracts/pool/PoolLib.sol +216 -0
  368. package/contracts/pool/PoolService.sol +307 -162
  369. package/contracts/pool/PoolServiceManager.sol +1 -1
  370. package/contracts/product/ApplicationService.sol +3 -3
  371. package/contracts/product/ApplicationServiceManager.sol +1 -1
  372. package/contracts/product/BasicProduct.sol +2 -0
  373. package/contracts/product/BasicProductAuthorization.sol +24 -10
  374. package/contracts/product/ClaimService.sol +157 -139
  375. package/contracts/product/ClaimServiceManager.sol +1 -1
  376. package/contracts/product/IClaimService.sol +14 -2
  377. package/contracts/product/IPolicyService.sol +3 -2
  378. package/contracts/product/IProductComponent.sol +4 -1
  379. package/contracts/product/PolicyService.sol +74 -82
  380. package/contracts/product/PolicyServiceManager.sol +1 -1
  381. package/contracts/product/PricingService.sol +23 -19
  382. package/contracts/product/PricingServiceManager.sol +3 -3
  383. package/contracts/product/Product.sol +36 -0
  384. package/contracts/product/RiskService.sol +61 -23
  385. package/contracts/product/RiskServiceManager.sol +1 -1
  386. package/contracts/registry/IRegistry.sol +8 -15
  387. package/contracts/registry/IRelease.sol +26 -0
  388. package/contracts/registry/Registry.sol +7 -2
  389. package/contracts/registry/RegistryAdmin.sol +129 -226
  390. package/contracts/registry/RegistryService.sol +3 -3
  391. package/contracts/registry/RegistryServiceManager.sol +1 -1
  392. package/contracts/registry/ReleaseAdmin.sol +245 -0
  393. package/contracts/registry/ReleaseLifecycle.sol +2 -0
  394. package/contracts/registry/ReleaseRegistry.sol +124 -99
  395. package/contracts/registry/ServiceAuthorizationV3.sol +85 -14
  396. package/contracts/registry/TokenRegistry.sol +6 -8
  397. package/contracts/shared/Component.sol +32 -27
  398. package/contracts/shared/ComponentService.sol +89 -266
  399. package/contracts/shared/ComponentServiceManager.sol +1 -1
  400. package/contracts/shared/ComponentVerifyingService.sol +1 -1
  401. package/contracts/shared/ContractLib.sol +32 -3
  402. package/contracts/shared/IComponent.sol +3 -9
  403. package/contracts/shared/IComponentService.sol +1 -23
  404. package/contracts/shared/IRegisterable.sol +15 -4
  405. package/contracts/shared/IService.sol +3 -5
  406. package/contracts/shared/InstanceLinkedComponent.sol +3 -3
  407. package/contracts/shared/NftOwnable.sol +4 -4
  408. package/contracts/shared/PolicyHolder.sol +1 -1
  409. package/contracts/shared/Registerable.sol +45 -19
  410. package/contracts/shared/RegistryLinked.sol +1 -1
  411. package/contracts/shared/Service.sol +8 -27
  412. package/contracts/shared/TokenHandler.sol +40 -88
  413. package/contracts/staking/IStaking.sol +0 -8
  414. package/contracts/staking/IStakingService.sol +8 -0
  415. package/contracts/staking/StakeManagerLib.sol +1 -1
  416. package/contracts/staking/Staking.sol +34 -13
  417. package/contracts/staking/StakingReader.sol +1 -1
  418. package/contracts/staking/StakingService.sol +32 -42
  419. package/contracts/staking/StakingServiceManager.sol +5 -4
  420. package/contracts/type/ObjectType.sol +46 -21
  421. package/contracts/type/RiskId.sol +5 -0
  422. package/contracts/type/RoleId.sol +24 -4
  423. package/contracts/type/Selector.sol +5 -0
  424. package/contracts/type/Timestamp.sol +0 -5
  425. package/contracts/type/Version.sol +15 -5
  426. package/contracts/upgradeability/ProxyManager.sol +1 -1
  427. package/package.json +1 -1
  428. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +0 -4
  429. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json +0 -1196
  430. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  431. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  432. package/contracts/authorization/ReleaseAccessManager.sol +0 -38
  433. package/contracts/instance/module/IAccess.sol +0 -46
@@ -22,6 +22,51 @@
22
22
  "stateMutability": "pure",
23
23
  "type": "function"
24
24
  },
25
+ {
26
+ "inputs": [
27
+ {
28
+ "internalType": "VersionPart",
29
+ "name": "release",
30
+ "type": "uint8"
31
+ }
32
+ ],
33
+ "name": "isValidRelease",
34
+ "outputs": [
35
+ {
36
+ "internalType": "bool",
37
+ "name": "",
38
+ "type": "bool"
39
+ }
40
+ ],
41
+ "stateMutability": "pure",
42
+ "type": "function"
43
+ },
44
+ {
45
+ "inputs": [],
46
+ "name": "releaseMax",
47
+ "outputs": [
48
+ {
49
+ "internalType": "VersionPart",
50
+ "name": "",
51
+ "type": "uint8"
52
+ }
53
+ ],
54
+ "stateMutability": "pure",
55
+ "type": "function"
56
+ },
57
+ {
58
+ "inputs": [],
59
+ "name": "releaseMin",
60
+ "outputs": [
61
+ {
62
+ "internalType": "VersionPart",
63
+ "name": "",
64
+ "type": "uint8"
65
+ }
66
+ ],
67
+ "stateMutability": "pure",
68
+ "type": "function"
69
+ },
25
70
  {
26
71
  "inputs": [
27
72
  {
@@ -61,8 +106,8 @@
61
106
  "type": "function"
62
107
  }
63
108
  ],
64
- "bytecode": "0x61011f610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106046575f3560e01c80636f91962014604a5780638e4ad86c146071578063ac43d834146090575b5f80fd5b605c605536600460ae565b60ff161590565b60405190151581526020015b60405180910390f35b607f607c36600460d3565b90565b60405160ff90911681526020016068565b60a1609b36600460ae565b60ff1690565b6040519081526020016068565b5f6020828403121560bd575f80fd5b813560ff8116811460cc575f80fd5b9392505050565b5f6020828403121560e2575f80fd5b503591905056fea2646970667358221220109b2d4519c6e03de0613938014ee99eeb1ac3eda338f45205aa2c8d80684d1464736f6c634300081a0033",
65
- "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106046575f3560e01c80636f91962014604a5780638e4ad86c146071578063ac43d834146090575b5f80fd5b605c605536600460ae565b60ff161590565b60405190151581526020015b60405180910390f35b607f607c36600460d3565b90565b60405160ff90911681526020016068565b60a1609b36600460ae565b60ff1690565b6040519081526020016068565b5f6020828403121560bd575f80fd5b813560ff8116811460cc575f80fd5b9392505050565b5f6020828403121560e2575f80fd5b503591905056fea2646970667358221220109b2d4519c6e03de0613938014ee99eeb1ac3eda338f45205aa2c8d80684d1464736f6c634300081a0033",
109
+ "bytecode": "0x61018a610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040526004361061006b575f3560e01c80636f9196201461006f5780638e4ad86c14610099578063a52ec529146100bc578063ac43d834146100cf578063bb41432a146100f1578063fbcaa8ed146100f8575b5f80fd5b61008461007d36600461011d565b60ff161590565b60405190151581526020015b60405180910390f35b6100aa6100a736600461013d565b90565b60405160ff9091168152602001610090565b6100846100ca36600461011d565b6100ff565b6100e36100dd36600461011d565b60ff1690565b604051908152602001610090565b60036100aa565b60636100aa565b5f60ff821660038110801590610116575060638111155b9392505050565b5f6020828403121561012d575f80fd5b813560ff81168114610116575f80fd5b5f6020828403121561014d575f80fd5b503591905056fea2646970667358221220fb2f0c5549d1691e5c0b4bb5d9b38ec401d8baf35021b7f08452a3f0953b507064736f6c634300081a0033",
110
+ "deployedBytecode": "0x730000000000000000000000000000000000000000301460806040526004361061006b575f3560e01c80636f9196201461006f5780638e4ad86c14610099578063a52ec529146100bc578063ac43d834146100cf578063bb41432a146100f1578063fbcaa8ed146100f8575b5f80fd5b61008461007d36600461011d565b60ff161590565b60405190151581526020015b60405180910390f35b6100aa6100a736600461013d565b90565b60405160ff9091168152602001610090565b6100846100ca36600461011d565b6100ff565b6100e36100dd36600461011d565b60ff1690565b604051908152602001610090565b60036100aa565b60636100aa565b5f60ff821660038110801590610116575060638111155b9392505050565b5f6020828403121561012d575f80fd5b813560ff81168114610116575f80fd5b5f6020828403121561014d575f80fd5b503591905056fea2646970667358221220fb2f0c5549d1691e5c0b4bb5d9b38ec401d8baf35021b7f08452a3f0953b507064736f6c634300081a0033",
66
111
  "linkReferences": {},
67
112
  "deployedLinkReferences": {}
68
113
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/5c81ba27fed1562abd01b1acaeb5ec37.json"
3
+ "buildInfo": "../../../build-info/3f92574d1dc4326e1a01ba0bf3c9466d.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/5c81ba27fed1562abd01b1acaeb5ec37.json"
3
+ "buildInfo": "../../../build-info/3f92574d1dc4326e1a01ba0bf3c9466d.json"
4
4
  }
@@ -521,8 +521,8 @@
521
521
  "type": "function"
522
522
  }
523
523
  ],
524
- "bytecode": "0x6080604052348015600e575f80fd5b506125818061001c5f395ff3fe608060405234801561000f575f80fd5b5060043610610111575f3560e01c8063893d20e81161009e578063ada9652e1161006e578063ada9652e14610369578063b88da7591461037d578063c987336c14610390578063f5c1b5a7146103a3578063fd0c63d9146103b6575f80fd5b8063893d20e81461032b5780638e9afce614610333578063933a9ce814610346578063946dfcfe14610357575f80fd5b80631775564d116100e45780631775564d146101bd5780632db5b86f146101dd5780634d459c90146101f05780635ab1bd53146102fd578063644c45e01461030e575f80fd5b806301ffc9a71461011557806304499582146101565780630d8e6e2c14610181578063138461e01461019d575b5f80fd5b6101416101233660046112ee565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101696101643660046113d2565b6103be565b6040516001600160a01b03909116815260200161014d565b610189610491565b60405162ffffff909116815260200161014d565b6101a5610501565b6040516001600160601b03909116815260200161014d565b6101d06101cb366004611438565b61050b565b60405161014d91906114b3565b6101696101eb3660046114c5565b610563565b6102a06101fe366004611533565b6040805160a0810182525f808252602082018190529181018290526060810182905260808101919091525062ffffff9081165f90815260036020908152604091829020825160a0810184528154948516815263010000009094046001600160a01b03908116928501929092526001015490811691830191909152600160a01b810464ffffffffff166060830152600160c81b900463ffffffff16608082015290565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a00161014d565b6001546001600160a01b0316610169565b5f8051602061252c833981519152546001600160601b03166101a5565b610169610630565b6101d061034136600461154e565b610761565b6002546001600160a01b0316610169565b6004545b60405190815260200161014d565b61035b5f8051602061252c83398151915281565b61018961038b366004611588565b6107b4565b61016961039e366004611438565b6107f2565b6101696103b13660046113d2565b610999565b6101a5610ab4565b5f6103c7610acb565b5f806103d287610b16565b915091508386826103e3858961050b565b6040516103ef906112e1565b6103fb9392919061159f565b8190604051809103905ff5905080158015610418573d5f803e3d5ffd5b50600280546001600160a01b0319166001600160a01b03929092169190911790556104438683610b58565b6040516001600160a01b038881168252919450908416907f78922e3fa1abc96399973cb25528ba892214b57da9d1a573937c460d9f5eb4759060200160405180910390a25050949350505050565b600254604080516303639b8b60e21b815290515f926001600160a01b031691630d8e6e2c9160048083019260209291908290030181865afa1580156104d8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104fc91906115d3565b905090565b5f6104fc30610f61565b60606349bb9e4b60e01b83836040516024016105289291906115ee565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290505b92915050565b5f61056c610acb565b5f8061057786610b16565b915091508481610587848761050b565b604051610593906112e1565b61059f9392919061159f565b604051809103905ff0801580156105b8573d5f803e3d5ffd5b50600280546001600160a01b0319166001600160a01b03929092169190911790556105e38583610b58565b6040516001600160a01b038781168252919450908416907f78922e3fa1abc96399973cb25528ba892214b57da9d1a573937c460d9f5eb4759060200160405180910390a250509392505050565b5f805f8051602061252c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561069c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c09190611611565b1561074b576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610721573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107459190611630565b91505090565b54600160601b90046001600160a01b0316919050565b606063329d6e7460e01b8260405160240161077c91906114b3565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915292915050565b5f600482815481106107c8576107c861164b565b905f5260205f2090600a91828204019190066003029054906101000a900462ffffff169050919050565b5f6107fb610630565b6001600160a01b0316336001600160a01b0316146108335760405163086391f760e31b81523360048201526024015b60405180910390fd5b6004545f036108555760405163366dfd2160e21b815260040160405180910390fd5b5f61085e610630565b90505f6108736002546001600160a01b031690565b6001600160a01b0316638b3240a06040518163ffffffff1660e01b81526004016020604051808303815f875af11580156108af573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108d39190611630565b6002549091506001600160a01b03908116908216639623609d82886108f789610761565b6040518463ffffffff1660e01b81526004016109159392919061159f565b5f604051808303815f87803b15801561092c575f80fd5b505af115801561093e573d5f803e3d5ffd5b5050505061094c8684610b58565b6040516001600160a01b038881168252919550908516907f1356a2c922be684528fa1759d1808395e5c5010181dd333cdb6f03e2d8545b659060200160405180910390a250505092915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0080545f9190600160401b810460ff16159067ffffffffffffffff1683811580156109e15750825b90505f8267ffffffffffffffff1660011480156109fd5750303b155b905081158015610a0b575080155b15610a295760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610a5357845460ff60401b1916600160401b1785555b610a5f8a8a8a8a6103be565b95508315610aa757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050949350505050565b6002545f906104fc906001600160a01b0316610f61565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610b1457604051631afcd79f60e31b815260040160405180910390fd5b565b6004545f90819015610b3b5760405163402b135f60e11b815260040160405180910390fd5b33610b46848261115a565b610b4e610630565b9430945092505050565b600254604080516303639b8b60e21b815290516001600160a01b03909216915f918391630d8e6e2c916004808201926020929091908290030181865afa158015610ba4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bc891906115d3565b9050610c468173__$8eede297b65ed5a56eb3f84d8232ae93f5$__6304b8f6c56040518163ffffffff1660e01b8152600401602060405180830381865af4158015610c15573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c3991906115d3565b62ffffff90811691161490565b15610c64576040516348c618db60e01b815260040160405180910390fd5b60045415610dbc5760048054610c7c9060019061165f565b81548110610c8c57610c8c61164b565b5f9182526020909120600a80830490910154604051635560100760e01b8152919092066003026101000a90910462ffffff16600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af4158015610cfd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d21919061167e565b604051635560100760e01b815262ffffff8316600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af4158015610d73573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d97919061167e565b11610dbc57604051633e614b6d60e11b815262ffffff8216600482015260240161082a565b600480546001810182555f829052600a8082047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01805462ffffff808716600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b038088166020848101919091529087168383015281516356db0c1960e11b815291519293606085019373__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9363adb6183293818401939092918290030181865af4158015610e8c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eb09190611695565b64ffffffffff90811682524363ffffffff90811660209384015262ffffff9485165f90815260038452604090819020855181549587015197166001600160b81b03199095169490941763010000006001600160a01b0397881602178455840151600190930180546060860151608090960151949096166001600160c81b031990961695909517600160a01b94909216939093021763ffffffff60c81b1916600160c81b919092160217905592915050565b5f805f8051602061252c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610fcd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ff19190611611565b1561101d5780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161082a565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561106f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110939190611611565b6110bb5760405163b9304b0d60e01b81526001600160a01b038416600482015260240161082a565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa15801561110d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061113191906116b9565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b611162610acb565b61116b826111d0565b61117361129c565b6001600160a01b03811661119a5760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061252c83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6111d8610acb565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af415801561122e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112529190611611565b61127a5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161082a565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6112a4610acb565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610e4c806116e083390190565b5f602082840312156112fe575f80fd5b81356001600160e01b031981168114611315575f80fd5b9392505050565b6001600160a01b0381168114611330575f80fd5b50565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611356575f80fd5b813567ffffffffffffffff81111561137057611370611333565b604051601f8201601f19908116603f0116810167ffffffffffffffff8111828210171561139f5761139f611333565b6040528181528382016020018510156113b6575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f80608085870312156113e5575f80fd5b84356113f08161131c565b935060208501356114008161131c565b9250604085013567ffffffffffffffff81111561141b575f80fd5b61142787828801611347565b949793965093946060013593505050565b5f8060408385031215611449575f80fd5b82356114548161131c565b9150602083013567ffffffffffffffff81111561146f575f80fd5b61147b85828601611347565b9150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6113156020830184611485565b5f805f606084860312156114d7575f80fd5b83356114e28161131c565b925060208401356114f28161131c565b9150604084013567ffffffffffffffff81111561150d575f80fd5b61151986828701611347565b9150509250925092565b62ffffff81168114611330575f80fd5b5f60208284031215611543575f80fd5b813561131581611523565b5f6020828403121561155e575f80fd5b813567ffffffffffffffff811115611574575f80fd5b61158084828501611347565b949350505050565b5f60208284031215611598575f80fd5b5035919050565b6001600160a01b038481168252831660208201526060604082018190525f906115ca90830184611485565b95945050505050565b5f602082840312156115e3575f80fd5b815161131581611523565b6001600160a01b03831681526040602082018190525f9061158090830184611485565b5f60208284031215611621575f80fd5b81518015158114611315575f80fd5b5f60208284031215611640575f80fd5b81516113158161131c565b634e487b7160e01b5f52603260045260245ffd5b8181038181111561055d57634e487b7160e01b5f52601160045260245ffd5b5f6020828403121561168e575f80fd5b5051919050565b5f602082840312156116a5575f80fd5b815164ffffffffff81168114611315575f80fd5b5f602082840312156116c9575f80fd5b81516001600160601b0381168114611315575f80fdfe60a060405234801561000f575f80fd5b50604051610e4c380380610e4c83398101604081905261002e9161037c565b828282828161003d828261009e565b50508160405161004c90610340565b6001600160a01b039091168152602001604051809103905ff080158015610075573d5f803e3d5ffd5b506001600160a01b031660805261009361008e60805190565b6100fc565b505050505050610463565b6100a782610169565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a28051156100f0576100eb82826101e7565b505050565b6100f861025a565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61013b5f80516020610e2c833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16101668161027b565b50565b806001600160a01b03163b5f036101a357604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b60605f80846001600160a01b031684604051610203919061044d565b5f60405180830381855af49150503d805f811461023b576040519150601f19603f3d011682016040523d82523d5f602084013e610240565b606091505b5090925090506102518583836102b8565b95945050505050565b34156102795760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b0381166102a457604051633173bdd160e11b81525f600482015260240161019a565b805f80516020610e2c8339815191526101c6565b6060826102cd576102c882610317565b610310565b81511580156102e457506001600160a01b0384163b155b1561030d57604051639996b31560e01b81526001600160a01b038516600482015260240161019a565b50805b9392505050565b8051156103275780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6104ef8061093d83390190565b80516001600160a01b0381168114610363575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b5f805f6060848603121561038e575f80fd5b6103978461034d565b92506103a56020850161034d565b60408501519092506001600160401b038111156103c0575f80fd5b8401601f810186136103d0575f80fd5b80516001600160401b038111156103e9576103e9610368565b604051601f8201601f19908116603f011681016001600160401b038111828210171561041757610417610368565b60405281815282820160200188101561042e575f80fd5b8160208401602083015e5f602083830101528093505050509250925092565b5f82518060208501845e5f920191825250919050565b6080516104bd6104805f395f818160350152607201526104bd5ff3fe60806040526004361061001d575f3560e01c80638b3240a014610027575b610025610070565b005b348015610032575f80fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100dc575f356001600160e01b03191663278f794360e11b146100d2576040516334ad5dbb60e21b815260040160405180910390fd5b6100da6100e9565b565b6100da610117565b905090565b5f806100f83660048184610365565b81019061010591906103a0565b915091506101138282610127565b5050565b6100da610122610181565b6101b3565b610130826101d1565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a280511561017957610174828261024c565b505050565b6101136102be565b5f6100e47f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b365f80375f80365f845af43d5f803e8080156101cd573d5ff35b3d5ffd5b806001600160a01b03163b5f0361020b57604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b60605f80846001600160a01b0316846040516102689190610471565b5f60405180830381855af49150503d805f81146102a0576040519150601f19603f3d011682016040523d82523d5f602084013e6102a5565b606091505b50915091506102b58583836102dd565b95945050505050565b34156100da5760405163b398979f60e01b815260040160405180910390fd5b6060826102f2576102ed8261033c565b610335565b815115801561030957506001600160a01b0384163b155b1561033257604051639996b31560e01b81526001600160a01b0385166004820152602401610202565b50805b9392505050565b80511561034c5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b5f8085851115610373575f80fd5b8386111561037f575f80fd5b5050820193919092039150565b634e487b7160e01b5f52604160045260245ffd5b5f80604083850312156103b1575f80fd5b82356001600160a01b03811681146103c7575f80fd5b9150602083013567ffffffffffffffff8111156103e2575f80fd5b8301601f810185136103f2575f80fd5b803567ffffffffffffffff81111561040c5761040c61038c565b604051601f8201601f19908116603f0116810167ffffffffffffffff8111828210171561043b5761043b61038c565b604052818152828201602001871015610452575f80fd5b816020840160208301375f602083830101528093505050509250929050565b5f82518060208501845e5f92019182525091905056fea26469706673582212205f12e4d638be8d591db7c67d942f3e9eeb14e9e44f78ba8cddaca37631bdc49764736f6c634300081a0033608060405234801561000f575f80fd5b506040516104ef3803806104ef83398101604081905261002e916100bb565b806001600160a01b03811661005c57604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b6100658161006c565b50506100e8565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f602082840312156100cb575f80fd5b81516001600160a01b03811681146100e1575f80fd5b9392505050565b6103fa806100f55f395ff3fe608060405260043610610049575f3560e01c8063715018a61461004d5780638da5cb5b146100635780639623609d1461008e578063ad3cb1cc146100a1578063f2fde38b146100de575b5f80fd5b348015610058575f80fd5b506100616100fd565b005b34801561006e575f80fd5b505f546040516001600160a01b0390911681526020015b60405180910390f35b61006161009c366004610260565b610110565b3480156100ac575f80fd5b506100d1604051806040016040528060058152602001640352e302e360dc1b81525081565b6040516100859190610365565b3480156100e9575f80fd5b506100616100f836600461037e565b61017b565b6101056101bd565b61010e5f6101e9565b565b6101186101bd565b60405163278f794360e11b81526001600160a01b03841690634f1ef2869034906101489086908690600401610399565b5f604051808303818588803b15801561015f575f80fd5b505af1158015610171573d5f803e3d5ffd5b5050505050505050565b6101836101bd565b6001600160a01b0381166101b157604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6101ba816101e9565b50565b5f546001600160a01b0316331461010e5760405163118cdaa760e01b81523360048201526024016101a8565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101ba575f80fd5b634e487b7160e01b5f52604160045260245ffd5b5f805f60608486031215610272575f80fd5b833561027d81610238565b9250602084013561028d81610238565b9150604084013567ffffffffffffffff8111156102a8575f80fd5b8401601f810186136102b8575f80fd5b803567ffffffffffffffff8111156102d2576102d261024c565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156103015761030161024c565b604052818152828201602001881015610318575f80fd5b816020840160208301375f602083830101528093505050509250925092565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6103776020830184610337565b9392505050565b5f6020828403121561038e575f80fd5b813561037781610238565b6001600160a01b03831681526040602082018190525f906103bc90830184610337565b94935050505056fea264697066735822122063012ab3c3421087c307802be7295f03bec95db9eea702a4c2db9595befa162464736f6c634300081a0033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a2646970667358221220ea7e1e4f64de3a143a8e0db4023055cf3489d96dea572596b1ac5f74b4b0a35764736f6c634300081a0033",
525
- "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610111575f3560e01c8063893d20e81161009e578063ada9652e1161006e578063ada9652e14610369578063b88da7591461037d578063c987336c14610390578063f5c1b5a7146103a3578063fd0c63d9146103b6575f80fd5b8063893d20e81461032b5780638e9afce614610333578063933a9ce814610346578063946dfcfe14610357575f80fd5b80631775564d116100e45780631775564d146101bd5780632db5b86f146101dd5780634d459c90146101f05780635ab1bd53146102fd578063644c45e01461030e575f80fd5b806301ffc9a71461011557806304499582146101565780630d8e6e2c14610181578063138461e01461019d575b5f80fd5b6101416101233660046112ee565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101696101643660046113d2565b6103be565b6040516001600160a01b03909116815260200161014d565b610189610491565b60405162ffffff909116815260200161014d565b6101a5610501565b6040516001600160601b03909116815260200161014d565b6101d06101cb366004611438565b61050b565b60405161014d91906114b3565b6101696101eb3660046114c5565b610563565b6102a06101fe366004611533565b6040805160a0810182525f808252602082018190529181018290526060810182905260808101919091525062ffffff9081165f90815260036020908152604091829020825160a0810184528154948516815263010000009094046001600160a01b03908116928501929092526001015490811691830191909152600160a01b810464ffffffffff166060830152600160c81b900463ffffffff16608082015290565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a00161014d565b6001546001600160a01b0316610169565b5f8051602061252c833981519152546001600160601b03166101a5565b610169610630565b6101d061034136600461154e565b610761565b6002546001600160a01b0316610169565b6004545b60405190815260200161014d565b61035b5f8051602061252c83398151915281565b61018961038b366004611588565b6107b4565b61016961039e366004611438565b6107f2565b6101696103b13660046113d2565b610999565b6101a5610ab4565b5f6103c7610acb565b5f806103d287610b16565b915091508386826103e3858961050b565b6040516103ef906112e1565b6103fb9392919061159f565b8190604051809103905ff5905080158015610418573d5f803e3d5ffd5b50600280546001600160a01b0319166001600160a01b03929092169190911790556104438683610b58565b6040516001600160a01b038881168252919450908416907f78922e3fa1abc96399973cb25528ba892214b57da9d1a573937c460d9f5eb4759060200160405180910390a25050949350505050565b600254604080516303639b8b60e21b815290515f926001600160a01b031691630d8e6e2c9160048083019260209291908290030181865afa1580156104d8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104fc91906115d3565b905090565b5f6104fc30610f61565b60606349bb9e4b60e01b83836040516024016105289291906115ee565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290505b92915050565b5f61056c610acb565b5f8061057786610b16565b915091508481610587848761050b565b604051610593906112e1565b61059f9392919061159f565b604051809103905ff0801580156105b8573d5f803e3d5ffd5b50600280546001600160a01b0319166001600160a01b03929092169190911790556105e38583610b58565b6040516001600160a01b038781168252919450908416907f78922e3fa1abc96399973cb25528ba892214b57da9d1a573937c460d9f5eb4759060200160405180910390a250509392505050565b5f805f8051602061252c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561069c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c09190611611565b1561074b576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610721573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107459190611630565b91505090565b54600160601b90046001600160a01b0316919050565b606063329d6e7460e01b8260405160240161077c91906114b3565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915292915050565b5f600482815481106107c8576107c861164b565b905f5260205f2090600a91828204019190066003029054906101000a900462ffffff169050919050565b5f6107fb610630565b6001600160a01b0316336001600160a01b0316146108335760405163086391f760e31b81523360048201526024015b60405180910390fd5b6004545f036108555760405163366dfd2160e21b815260040160405180910390fd5b5f61085e610630565b90505f6108736002546001600160a01b031690565b6001600160a01b0316638b3240a06040518163ffffffff1660e01b81526004016020604051808303815f875af11580156108af573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108d39190611630565b6002549091506001600160a01b03908116908216639623609d82886108f789610761565b6040518463ffffffff1660e01b81526004016109159392919061159f565b5f604051808303815f87803b15801561092c575f80fd5b505af115801561093e573d5f803e3d5ffd5b5050505061094c8684610b58565b6040516001600160a01b038881168252919550908516907f1356a2c922be684528fa1759d1808395e5c5010181dd333cdb6f03e2d8545b659060200160405180910390a250505092915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0080545f9190600160401b810460ff16159067ffffffffffffffff1683811580156109e15750825b90505f8267ffffffffffffffff1660011480156109fd5750303b155b905081158015610a0b575080155b15610a295760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610a5357845460ff60401b1916600160401b1785555b610a5f8a8a8a8a6103be565b95508315610aa757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050949350505050565b6002545f906104fc906001600160a01b0316610f61565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610b1457604051631afcd79f60e31b815260040160405180910390fd5b565b6004545f90819015610b3b5760405163402b135f60e11b815260040160405180910390fd5b33610b46848261115a565b610b4e610630565b9430945092505050565b600254604080516303639b8b60e21b815290516001600160a01b03909216915f918391630d8e6e2c916004808201926020929091908290030181865afa158015610ba4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bc891906115d3565b9050610c468173__$8eede297b65ed5a56eb3f84d8232ae93f5$__6304b8f6c56040518163ffffffff1660e01b8152600401602060405180830381865af4158015610c15573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c3991906115d3565b62ffffff90811691161490565b15610c64576040516348c618db60e01b815260040160405180910390fd5b60045415610dbc5760048054610c7c9060019061165f565b81548110610c8c57610c8c61164b565b5f9182526020909120600a80830490910154604051635560100760e01b8152919092066003026101000a90910462ffffff16600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af4158015610cfd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d21919061167e565b604051635560100760e01b815262ffffff8316600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af4158015610d73573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d97919061167e565b11610dbc57604051633e614b6d60e11b815262ffffff8216600482015260240161082a565b600480546001810182555f829052600a8082047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01805462ffffff808716600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b038088166020848101919091529087168383015281516356db0c1960e11b815291519293606085019373__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9363adb6183293818401939092918290030181865af4158015610e8c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eb09190611695565b64ffffffffff90811682524363ffffffff90811660209384015262ffffff9485165f90815260038452604090819020855181549587015197166001600160b81b03199095169490941763010000006001600160a01b0397881602178455840151600190930180546060860151608090960151949096166001600160c81b031990961695909517600160a01b94909216939093021763ffffffff60c81b1916600160c81b919092160217905592915050565b5f805f8051602061252c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610fcd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ff19190611611565b1561101d5780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161082a565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561106f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110939190611611565b6110bb5760405163b9304b0d60e01b81526001600160a01b038416600482015260240161082a565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa15801561110d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061113191906116b9565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b611162610acb565b61116b826111d0565b61117361129c565b6001600160a01b03811661119a5760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061252c83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6111d8610acb565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af415801561122e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112529190611611565b61127a5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161082a565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6112a4610acb565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610e4c806116e083390190565b5f602082840312156112fe575f80fd5b81356001600160e01b031981168114611315575f80fd5b9392505050565b6001600160a01b0381168114611330575f80fd5b50565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611356575f80fd5b813567ffffffffffffffff81111561137057611370611333565b604051601f8201601f19908116603f0116810167ffffffffffffffff8111828210171561139f5761139f611333565b6040528181528382016020018510156113b6575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f80608085870312156113e5575f80fd5b84356113f08161131c565b935060208501356114008161131c565b9250604085013567ffffffffffffffff81111561141b575f80fd5b61142787828801611347565b949793965093946060013593505050565b5f8060408385031215611449575f80fd5b82356114548161131c565b9150602083013567ffffffffffffffff81111561146f575f80fd5b61147b85828601611347565b9150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6113156020830184611485565b5f805f606084860312156114d7575f80fd5b83356114e28161131c565b925060208401356114f28161131c565b9150604084013567ffffffffffffffff81111561150d575f80fd5b61151986828701611347565b9150509250925092565b62ffffff81168114611330575f80fd5b5f60208284031215611543575f80fd5b813561131581611523565b5f6020828403121561155e575f80fd5b813567ffffffffffffffff811115611574575f80fd5b61158084828501611347565b949350505050565b5f60208284031215611598575f80fd5b5035919050565b6001600160a01b038481168252831660208201526060604082018190525f906115ca90830184611485565b95945050505050565b5f602082840312156115e3575f80fd5b815161131581611523565b6001600160a01b03831681526040602082018190525f9061158090830184611485565b5f60208284031215611621575f80fd5b81518015158114611315575f80fd5b5f60208284031215611640575f80fd5b81516113158161131c565b634e487b7160e01b5f52603260045260245ffd5b8181038181111561055d57634e487b7160e01b5f52601160045260245ffd5b5f6020828403121561168e575f80fd5b5051919050565b5f602082840312156116a5575f80fd5b815164ffffffffff81168114611315575f80fd5b5f602082840312156116c9575f80fd5b81516001600160601b0381168114611315575f80fdfe60a060405234801561000f575f80fd5b50604051610e4c380380610e4c83398101604081905261002e9161037c565b828282828161003d828261009e565b50508160405161004c90610340565b6001600160a01b039091168152602001604051809103905ff080158015610075573d5f803e3d5ffd5b506001600160a01b031660805261009361008e60805190565b6100fc565b505050505050610463565b6100a782610169565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a28051156100f0576100eb82826101e7565b505050565b6100f861025a565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61013b5f80516020610e2c833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16101668161027b565b50565b806001600160a01b03163b5f036101a357604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b60605f80846001600160a01b031684604051610203919061044d565b5f60405180830381855af49150503d805f811461023b576040519150601f19603f3d011682016040523d82523d5f602084013e610240565b606091505b5090925090506102518583836102b8565b95945050505050565b34156102795760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b0381166102a457604051633173bdd160e11b81525f600482015260240161019a565b805f80516020610e2c8339815191526101c6565b6060826102cd576102c882610317565b610310565b81511580156102e457506001600160a01b0384163b155b1561030d57604051639996b31560e01b81526001600160a01b038516600482015260240161019a565b50805b9392505050565b8051156103275780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6104ef8061093d83390190565b80516001600160a01b0381168114610363575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b5f805f6060848603121561038e575f80fd5b6103978461034d565b92506103a56020850161034d565b60408501519092506001600160401b038111156103c0575f80fd5b8401601f810186136103d0575f80fd5b80516001600160401b038111156103e9576103e9610368565b604051601f8201601f19908116603f011681016001600160401b038111828210171561041757610417610368565b60405281815282820160200188101561042e575f80fd5b8160208401602083015e5f602083830101528093505050509250925092565b5f82518060208501845e5f920191825250919050565b6080516104bd6104805f395f818160350152607201526104bd5ff3fe60806040526004361061001d575f3560e01c80638b3240a014610027575b610025610070565b005b348015610032575f80fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100dc575f356001600160e01b03191663278f794360e11b146100d2576040516334ad5dbb60e21b815260040160405180910390fd5b6100da6100e9565b565b6100da610117565b905090565b5f806100f83660048184610365565b81019061010591906103a0565b915091506101138282610127565b5050565b6100da610122610181565b6101b3565b610130826101d1565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a280511561017957610174828261024c565b505050565b6101136102be565b5f6100e47f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b365f80375f80365f845af43d5f803e8080156101cd573d5ff35b3d5ffd5b806001600160a01b03163b5f0361020b57604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b60605f80846001600160a01b0316846040516102689190610471565b5f60405180830381855af49150503d805f81146102a0576040519150601f19603f3d011682016040523d82523d5f602084013e6102a5565b606091505b50915091506102b58583836102dd565b95945050505050565b34156100da5760405163b398979f60e01b815260040160405180910390fd5b6060826102f2576102ed8261033c565b610335565b815115801561030957506001600160a01b0384163b155b1561033257604051639996b31560e01b81526001600160a01b0385166004820152602401610202565b50805b9392505050565b80511561034c5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b5f8085851115610373575f80fd5b8386111561037f575f80fd5b5050820193919092039150565b634e487b7160e01b5f52604160045260245ffd5b5f80604083850312156103b1575f80fd5b82356001600160a01b03811681146103c7575f80fd5b9150602083013567ffffffffffffffff8111156103e2575f80fd5b8301601f810185136103f2575f80fd5b803567ffffffffffffffff81111561040c5761040c61038c565b604051601f8201601f19908116603f0116810167ffffffffffffffff8111828210171561043b5761043b61038c565b604052818152828201602001871015610452575f80fd5b816020840160208301375f602083830101528093505050509250929050565b5f82518060208501845e5f92019182525091905056fea26469706673582212205f12e4d638be8d591db7c67d942f3e9eeb14e9e44f78ba8cddaca37631bdc49764736f6c634300081a0033608060405234801561000f575f80fd5b506040516104ef3803806104ef83398101604081905261002e916100bb565b806001600160a01b03811661005c57604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b6100658161006c565b50506100e8565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f602082840312156100cb575f80fd5b81516001600160a01b03811681146100e1575f80fd5b9392505050565b6103fa806100f55f395ff3fe608060405260043610610049575f3560e01c8063715018a61461004d5780638da5cb5b146100635780639623609d1461008e578063ad3cb1cc146100a1578063f2fde38b146100de575b5f80fd5b348015610058575f80fd5b506100616100fd565b005b34801561006e575f80fd5b505f546040516001600160a01b0390911681526020015b60405180910390f35b61006161009c366004610260565b610110565b3480156100ac575f80fd5b506100d1604051806040016040528060058152602001640352e302e360dc1b81525081565b6040516100859190610365565b3480156100e9575f80fd5b506100616100f836600461037e565b61017b565b6101056101bd565b61010e5f6101e9565b565b6101186101bd565b60405163278f794360e11b81526001600160a01b03841690634f1ef2869034906101489086908690600401610399565b5f604051808303818588803b15801561015f575f80fd5b505af1158015610171573d5f803e3d5ffd5b5050505050505050565b6101836101bd565b6001600160a01b0381166101b157604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6101ba816101e9565b50565b5f546001600160a01b0316331461010e5760405163118cdaa760e01b81523360048201526024016101a8565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101ba575f80fd5b634e487b7160e01b5f52604160045260245ffd5b5f805f60608486031215610272575f80fd5b833561027d81610238565b9250602084013561028d81610238565b9150604084013567ffffffffffffffff8111156102a8575f80fd5b8401601f810186136102b8575f80fd5b803567ffffffffffffffff8111156102d2576102d261024c565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156103015761030161024c565b604052818152828201602001881015610318575f80fd5b816020840160208301375f602083830101528093505050509250925092565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6103776020830184610337565b9392505050565b5f6020828403121561038e575f80fd5b813561037781610238565b6001600160a01b03831681526040602082018190525f906103bc90830184610337565b94935050505056fea264697066735822122063012ab3c3421087c307802be7295f03bec95db9eea702a4c2db9595befa162464736f6c634300081a0033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a2646970667358221220ea7e1e4f64de3a143a8e0db4023055cf3489d96dea572596b1ac5f74b4b0a35764736f6c634300081a0033",
524
+ "bytecode": "0x6080604052348015600e575f80fd5b506125818061001c5f395ff3fe608060405234801561000f575f80fd5b5060043610610111575f3560e01c8063893d20e81161009e578063ada9652e1161006e578063ada9652e14610369578063b88da7591461037d578063c987336c14610390578063f5c1b5a7146103a3578063fd0c63d9146103b6575f80fd5b8063893d20e81461032b5780638e9afce614610333578063933a9ce814610346578063946dfcfe14610357575f80fd5b80631775564d116100e45780631775564d146101bd5780632db5b86f146101dd5780634d459c90146101f05780635ab1bd53146102fd578063644c45e01461030e575f80fd5b806301ffc9a71461011557806304499582146101565780630d8e6e2c14610181578063138461e01461019d575b5f80fd5b6101416101233660046112ee565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101696101643660046113d2565b6103be565b6040516001600160a01b03909116815260200161014d565b610189610491565b60405162ffffff909116815260200161014d565b6101a5610501565b6040516001600160601b03909116815260200161014d565b6101d06101cb366004611438565b61050b565b60405161014d91906114b3565b6101696101eb3660046114c5565b610563565b6102a06101fe366004611533565b6040805160a0810182525f808252602082018190529181018290526060810182905260808101919091525062ffffff9081165f90815260036020908152604091829020825160a0810184528154948516815263010000009094046001600160a01b03908116928501929092526001015490811691830191909152600160a01b810464ffffffffff166060830152600160c81b900463ffffffff16608082015290565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a00161014d565b6001546001600160a01b0316610169565b5f8051602061252c833981519152546001600160601b03166101a5565b610169610630565b6101d061034136600461154e565b610761565b6002546001600160a01b0316610169565b6004545b60405190815260200161014d565b61035b5f8051602061252c83398151915281565b61018961038b366004611588565b6107b4565b61016961039e366004611438565b6107f2565b6101696103b13660046113d2565b610999565b6101a5610ab4565b5f6103c7610acb565b5f806103d287610b16565b915091508386826103e3858961050b565b6040516103ef906112e1565b6103fb9392919061159f565b8190604051809103905ff5905080158015610418573d5f803e3d5ffd5b50600280546001600160a01b0319166001600160a01b03929092169190911790556104438683610b58565b6040516001600160a01b038881168252919450908416907f78922e3fa1abc96399973cb25528ba892214b57da9d1a573937c460d9f5eb4759060200160405180910390a25050949350505050565b600254604080516303639b8b60e21b815290515f926001600160a01b031691630d8e6e2c9160048083019260209291908290030181865afa1580156104d8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104fc91906115d3565b905090565b5f6104fc30610f61565b60606349bb9e4b60e01b83836040516024016105289291906115ee565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290505b92915050565b5f61056c610acb565b5f8061057786610b16565b915091508481610587848761050b565b604051610593906112e1565b61059f9392919061159f565b604051809103905ff0801580156105b8573d5f803e3d5ffd5b50600280546001600160a01b0319166001600160a01b03929092169190911790556105e38583610b58565b6040516001600160a01b038781168252919450908416907f78922e3fa1abc96399973cb25528ba892214b57da9d1a573937c460d9f5eb4759060200160405180910390a250509392505050565b5f805f8051602061252c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561069c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c09190611611565b1561074b576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610721573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107459190611630565b91505090565b54600160601b90046001600160a01b0316919050565b606063329d6e7460e01b8260405160240161077c91906114b3565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915292915050565b5f600482815481106107c8576107c861164b565b905f5260205f2090600a91828204019190066003029054906101000a900462ffffff169050919050565b5f6107fb610630565b6001600160a01b0316336001600160a01b0316146108335760405163086391f760e31b81523360048201526024015b60405180910390fd5b6004545f036108555760405163366dfd2160e21b815260040160405180910390fd5b5f61085e610630565b90505f6108736002546001600160a01b031690565b6001600160a01b0316638b3240a06040518163ffffffff1660e01b81526004016020604051808303815f875af11580156108af573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108d39190611630565b6002549091506001600160a01b03908116908216639623609d82886108f789610761565b6040518463ffffffff1660e01b81526004016109159392919061159f565b5f604051808303815f87803b15801561092c575f80fd5b505af115801561093e573d5f803e3d5ffd5b5050505061094c8684610b58565b6040516001600160a01b038881168252919550908516907f1356a2c922be684528fa1759d1808395e5c5010181dd333cdb6f03e2d8545b659060200160405180910390a250505092915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0080545f9190600160401b810460ff16159067ffffffffffffffff1683811580156109e15750825b90505f8267ffffffffffffffff1660011480156109fd5750303b155b905081158015610a0b575080155b15610a295760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610a5357845460ff60401b1916600160401b1785555b610a5f8a8a8a8a6103be565b95508315610aa757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050949350505050565b6002545f906104fc906001600160a01b0316610f61565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610b1457604051631afcd79f60e31b815260040160405180910390fd5b565b6004545f90819015610b3b5760405163402b135f60e11b815260040160405180910390fd5b33610b46848261115a565b610b4e610630565b9430945092505050565b600254604080516303639b8b60e21b815290516001600160a01b03909216915f918391630d8e6e2c916004808201926020929091908290030181865afa158015610ba4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bc891906115d3565b9050610c468173__$8eede297b65ed5a56eb3f84d8232ae93f5$__6304b8f6c56040518163ffffffff1660e01b8152600401602060405180830381865af4158015610c15573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c3991906115d3565b62ffffff90811691161490565b15610c64576040516348c618db60e01b815260040160405180910390fd5b60045415610dbc5760048054610c7c9060019061165f565b81548110610c8c57610c8c61164b565b5f9182526020909120600a80830490910154604051635560100760e01b8152919092066003026101000a90910462ffffff16600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af4158015610cfd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d21919061167e565b604051635560100760e01b815262ffffff8316600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af4158015610d73573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d97919061167e565b11610dbc57604051633e614b6d60e11b815262ffffff8216600482015260240161082a565b600480546001810182555f829052600a8082047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01805462ffffff808716600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b038088166020848101919091529087168383015281516356db0c1960e11b815291519293606085019373__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9363adb6183293818401939092918290030181865af4158015610e8c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eb09190611695565b64ffffffffff90811682524363ffffffff90811660209384015262ffffff9485165f90815260038452604090819020855181549587015197166001600160b81b03199095169490941763010000006001600160a01b0397881602178455840151600190930180546060860151608090960151949096166001600160c81b031990961695909517600160a01b94909216939093021763ffffffff60c81b1916600160c81b919092160217905592915050565b5f805f8051602061252c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610fcd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ff19190611611565b1561101d5780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161082a565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561106f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110939190611611565b6110bb5760405163b9304b0d60e01b81526001600160a01b038416600482015260240161082a565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa15801561110d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061113191906116b9565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b611162610acb565b61116b826111d0565b61117361129c565b6001600160a01b03811661119a5760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061252c83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6111d8610acb565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af415801561122e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112529190611611565b61127a5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161082a565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6112a4610acb565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610e4c806116e083390190565b5f602082840312156112fe575f80fd5b81356001600160e01b031981168114611315575f80fd5b9392505050565b6001600160a01b0381168114611330575f80fd5b50565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611356575f80fd5b813567ffffffffffffffff81111561137057611370611333565b604051601f8201601f19908116603f0116810167ffffffffffffffff8111828210171561139f5761139f611333565b6040528181528382016020018510156113b6575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f80608085870312156113e5575f80fd5b84356113f08161131c565b935060208501356114008161131c565b9250604085013567ffffffffffffffff81111561141b575f80fd5b61142787828801611347565b949793965093946060013593505050565b5f8060408385031215611449575f80fd5b82356114548161131c565b9150602083013567ffffffffffffffff81111561146f575f80fd5b61147b85828601611347565b9150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6113156020830184611485565b5f805f606084860312156114d7575f80fd5b83356114e28161131c565b925060208401356114f28161131c565b9150604084013567ffffffffffffffff81111561150d575f80fd5b61151986828701611347565b9150509250925092565b62ffffff81168114611330575f80fd5b5f60208284031215611543575f80fd5b813561131581611523565b5f6020828403121561155e575f80fd5b813567ffffffffffffffff811115611574575f80fd5b61158084828501611347565b949350505050565b5f60208284031215611598575f80fd5b5035919050565b6001600160a01b038481168252831660208201526060604082018190525f906115ca90830184611485565b95945050505050565b5f602082840312156115e3575f80fd5b815161131581611523565b6001600160a01b03831681526040602082018190525f9061158090830184611485565b5f60208284031215611621575f80fd5b81518015158114611315575f80fd5b5f60208284031215611640575f80fd5b81516113158161131c565b634e487b7160e01b5f52603260045260245ffd5b8181038181111561055d57634e487b7160e01b5f52601160045260245ffd5b5f6020828403121561168e575f80fd5b5051919050565b5f602082840312156116a5575f80fd5b815164ffffffffff81168114611315575f80fd5b5f602082840312156116c9575f80fd5b81516001600160601b0381168114611315575f80fdfe60a060405234801561000f575f80fd5b50604051610e4c380380610e4c83398101604081905261002e9161037c565b828282828161003d828261009e565b50508160405161004c90610340565b6001600160a01b039091168152602001604051809103905ff080158015610075573d5f803e3d5ffd5b506001600160a01b031660805261009361008e60805190565b6100fc565b505050505050610463565b6100a782610169565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a28051156100f0576100eb82826101e7565b505050565b6100f861025a565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61013b5f80516020610e2c833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16101668161027b565b50565b806001600160a01b03163b5f036101a357604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b60605f80846001600160a01b031684604051610203919061044d565b5f60405180830381855af49150503d805f811461023b576040519150601f19603f3d011682016040523d82523d5f602084013e610240565b606091505b5090925090506102518583836102b8565b95945050505050565b34156102795760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b0381166102a457604051633173bdd160e11b81525f600482015260240161019a565b805f80516020610e2c8339815191526101c6565b6060826102cd576102c882610317565b610310565b81511580156102e457506001600160a01b0384163b155b1561030d57604051639996b31560e01b81526001600160a01b038516600482015260240161019a565b50805b9392505050565b8051156103275780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6104ef8061093d83390190565b80516001600160a01b0381168114610363575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b5f805f6060848603121561038e575f80fd5b6103978461034d565b92506103a56020850161034d565b60408501519092506001600160401b038111156103c0575f80fd5b8401601f810186136103d0575f80fd5b80516001600160401b038111156103e9576103e9610368565b604051601f8201601f19908116603f011681016001600160401b038111828210171561041757610417610368565b60405281815282820160200188101561042e575f80fd5b8160208401602083015e5f602083830101528093505050509250925092565b5f82518060208501845e5f920191825250919050565b6080516104bd6104805f395f818160350152607201526104bd5ff3fe60806040526004361061001d575f3560e01c80638b3240a014610027575b610025610070565b005b348015610032575f80fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100dc575f356001600160e01b03191663278f794360e11b146100d2576040516334ad5dbb60e21b815260040160405180910390fd5b6100da6100e9565b565b6100da610117565b905090565b5f806100f83660048184610365565b81019061010591906103a0565b915091506101138282610127565b5050565b6100da610122610181565b6101b3565b610130826101d1565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a280511561017957610174828261024c565b505050565b6101136102be565b5f6100e47f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b365f80375f80365f845af43d5f803e8080156101cd573d5ff35b3d5ffd5b806001600160a01b03163b5f0361020b57604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b60605f80846001600160a01b0316846040516102689190610471565b5f60405180830381855af49150503d805f81146102a0576040519150601f19603f3d011682016040523d82523d5f602084013e6102a5565b606091505b50915091506102b58583836102dd565b95945050505050565b34156100da5760405163b398979f60e01b815260040160405180910390fd5b6060826102f2576102ed8261033c565b610335565b815115801561030957506001600160a01b0384163b155b1561033257604051639996b31560e01b81526001600160a01b0385166004820152602401610202565b50805b9392505050565b80511561034c5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b5f8085851115610373575f80fd5b8386111561037f575f80fd5b5050820193919092039150565b634e487b7160e01b5f52604160045260245ffd5b5f80604083850312156103b1575f80fd5b82356001600160a01b03811681146103c7575f80fd5b9150602083013567ffffffffffffffff8111156103e2575f80fd5b8301601f810185136103f2575f80fd5b803567ffffffffffffffff81111561040c5761040c61038c565b604051601f8201601f19908116603f0116810167ffffffffffffffff8111828210171561043b5761043b61038c565b604052818152828201602001871015610452575f80fd5b816020840160208301375f602083830101528093505050509250929050565b5f82518060208501845e5f92019182525091905056fea26469706673582212205f12e4d638be8d591db7c67d942f3e9eeb14e9e44f78ba8cddaca37631bdc49764736f6c634300081a0033608060405234801561000f575f80fd5b506040516104ef3803806104ef83398101604081905261002e916100bb565b806001600160a01b03811661005c57604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b6100658161006c565b50506100e8565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f602082840312156100cb575f80fd5b81516001600160a01b03811681146100e1575f80fd5b9392505050565b6103fa806100f55f395ff3fe608060405260043610610049575f3560e01c8063715018a61461004d5780638da5cb5b146100635780639623609d1461008e578063ad3cb1cc146100a1578063f2fde38b146100de575b5f80fd5b348015610058575f80fd5b506100616100fd565b005b34801561006e575f80fd5b505f546040516001600160a01b0390911681526020015b60405180910390f35b61006161009c366004610260565b610110565b3480156100ac575f80fd5b506100d1604051806040016040528060058152602001640352e302e360dc1b81525081565b6040516100859190610365565b3480156100e9575f80fd5b506100616100f836600461037e565b61017b565b6101056101bd565b61010e5f6101e9565b565b6101186101bd565b60405163278f794360e11b81526001600160a01b03841690634f1ef2869034906101489086908690600401610399565b5f604051808303818588803b15801561015f575f80fd5b505af1158015610171573d5f803e3d5ffd5b5050505050505050565b6101836101bd565b6001600160a01b0381166101b157604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6101ba816101e9565b50565b5f546001600160a01b0316331461010e5760405163118cdaa760e01b81523360048201526024016101a8565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101ba575f80fd5b634e487b7160e01b5f52604160045260245ffd5b5f805f60608486031215610272575f80fd5b833561027d81610238565b9250602084013561028d81610238565b9150604084013567ffffffffffffffff8111156102a8575f80fd5b8401601f810186136102b8575f80fd5b803567ffffffffffffffff8111156102d2576102d261024c565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156103015761030161024c565b604052818152828201602001881015610318575f80fd5b816020840160208301375f602083830101528093505050509250925092565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6103776020830184610337565b9392505050565b5f6020828403121561038e575f80fd5b813561037781610238565b6001600160a01b03831681526040602082018190525f906103bc90830184610337565b94935050505056fea264697066735822122063012ab3c3421087c307802be7295f03bec95db9eea702a4c2db9595befa162464736f6c634300081a0033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a264697066735822122091b963ddb8317c6082acf42edad1651a99b9406e1708eace5cf00c781893496d64736f6c634300081a0033",
525
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610111575f3560e01c8063893d20e81161009e578063ada9652e1161006e578063ada9652e14610369578063b88da7591461037d578063c987336c14610390578063f5c1b5a7146103a3578063fd0c63d9146103b6575f80fd5b8063893d20e81461032b5780638e9afce614610333578063933a9ce814610346578063946dfcfe14610357575f80fd5b80631775564d116100e45780631775564d146101bd5780632db5b86f146101dd5780634d459c90146101f05780635ab1bd53146102fd578063644c45e01461030e575f80fd5b806301ffc9a71461011557806304499582146101565780630d8e6e2c14610181578063138461e01461019d575b5f80fd5b6101416101233660046112ee565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101696101643660046113d2565b6103be565b6040516001600160a01b03909116815260200161014d565b610189610491565b60405162ffffff909116815260200161014d565b6101a5610501565b6040516001600160601b03909116815260200161014d565b6101d06101cb366004611438565b61050b565b60405161014d91906114b3565b6101696101eb3660046114c5565b610563565b6102a06101fe366004611533565b6040805160a0810182525f808252602082018190529181018290526060810182905260808101919091525062ffffff9081165f90815260036020908152604091829020825160a0810184528154948516815263010000009094046001600160a01b03908116928501929092526001015490811691830191909152600160a01b810464ffffffffff166060830152600160c81b900463ffffffff16608082015290565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a00161014d565b6001546001600160a01b0316610169565b5f8051602061252c833981519152546001600160601b03166101a5565b610169610630565b6101d061034136600461154e565b610761565b6002546001600160a01b0316610169565b6004545b60405190815260200161014d565b61035b5f8051602061252c83398151915281565b61018961038b366004611588565b6107b4565b61016961039e366004611438565b6107f2565b6101696103b13660046113d2565b610999565b6101a5610ab4565b5f6103c7610acb565b5f806103d287610b16565b915091508386826103e3858961050b565b6040516103ef906112e1565b6103fb9392919061159f565b8190604051809103905ff5905080158015610418573d5f803e3d5ffd5b50600280546001600160a01b0319166001600160a01b03929092169190911790556104438683610b58565b6040516001600160a01b038881168252919450908416907f78922e3fa1abc96399973cb25528ba892214b57da9d1a573937c460d9f5eb4759060200160405180910390a25050949350505050565b600254604080516303639b8b60e21b815290515f926001600160a01b031691630d8e6e2c9160048083019260209291908290030181865afa1580156104d8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104fc91906115d3565b905090565b5f6104fc30610f61565b60606349bb9e4b60e01b83836040516024016105289291906115ee565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290505b92915050565b5f61056c610acb565b5f8061057786610b16565b915091508481610587848761050b565b604051610593906112e1565b61059f9392919061159f565b604051809103905ff0801580156105b8573d5f803e3d5ffd5b50600280546001600160a01b0319166001600160a01b03929092169190911790556105e38583610b58565b6040516001600160a01b038781168252919450908416907f78922e3fa1abc96399973cb25528ba892214b57da9d1a573937c460d9f5eb4759060200160405180910390a250509392505050565b5f805f8051602061252c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561069c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c09190611611565b1561074b576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610721573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107459190611630565b91505090565b54600160601b90046001600160a01b0316919050565b606063329d6e7460e01b8260405160240161077c91906114b3565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915292915050565b5f600482815481106107c8576107c861164b565b905f5260205f2090600a91828204019190066003029054906101000a900462ffffff169050919050565b5f6107fb610630565b6001600160a01b0316336001600160a01b0316146108335760405163086391f760e31b81523360048201526024015b60405180910390fd5b6004545f036108555760405163366dfd2160e21b815260040160405180910390fd5b5f61085e610630565b90505f6108736002546001600160a01b031690565b6001600160a01b0316638b3240a06040518163ffffffff1660e01b81526004016020604051808303815f875af11580156108af573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108d39190611630565b6002549091506001600160a01b03908116908216639623609d82886108f789610761565b6040518463ffffffff1660e01b81526004016109159392919061159f565b5f604051808303815f87803b15801561092c575f80fd5b505af115801561093e573d5f803e3d5ffd5b5050505061094c8684610b58565b6040516001600160a01b038881168252919550908516907f1356a2c922be684528fa1759d1808395e5c5010181dd333cdb6f03e2d8545b659060200160405180910390a250505092915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0080545f9190600160401b810460ff16159067ffffffffffffffff1683811580156109e15750825b90505f8267ffffffffffffffff1660011480156109fd5750303b155b905081158015610a0b575080155b15610a295760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610a5357845460ff60401b1916600160401b1785555b610a5f8a8a8a8a6103be565b95508315610aa757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050949350505050565b6002545f906104fc906001600160a01b0316610f61565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610b1457604051631afcd79f60e31b815260040160405180910390fd5b565b6004545f90819015610b3b5760405163402b135f60e11b815260040160405180910390fd5b33610b46848261115a565b610b4e610630565b9430945092505050565b600254604080516303639b8b60e21b815290516001600160a01b03909216915f918391630d8e6e2c916004808201926020929091908290030181865afa158015610ba4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bc891906115d3565b9050610c468173__$8eede297b65ed5a56eb3f84d8232ae93f5$__6304b8f6c56040518163ffffffff1660e01b8152600401602060405180830381865af4158015610c15573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c3991906115d3565b62ffffff90811691161490565b15610c64576040516348c618db60e01b815260040160405180910390fd5b60045415610dbc5760048054610c7c9060019061165f565b81548110610c8c57610c8c61164b565b5f9182526020909120600a80830490910154604051635560100760e01b8152919092066003026101000a90910462ffffff16600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af4158015610cfd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d21919061167e565b604051635560100760e01b815262ffffff8316600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__90635560100790602401602060405180830381865af4158015610d73573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d97919061167e565b11610dbc57604051633e614b6d60e11b815262ffffff8216600482015260240161082a565b600480546001810182555f829052600a8082047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01805462ffffff808716600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b038088166020848101919091529087168383015281516356db0c1960e11b815291519293606085019373__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9363adb6183293818401939092918290030181865af4158015610e8c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eb09190611695565b64ffffffffff90811682524363ffffffff90811660209384015262ffffff9485165f90815260038452604090819020855181549587015197166001600160b81b03199095169490941763010000006001600160a01b0397881602178455840151600190930180546060860151608090960151949096166001600160c81b031990961695909517600160a01b94909216939093021763ffffffff60c81b1916600160c81b919092160217905592915050565b5f805f8051602061252c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610fcd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ff19190611611565b1561101d5780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161082a565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561106f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110939190611611565b6110bb5760405163b9304b0d60e01b81526001600160a01b038416600482015260240161082a565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa15801561110d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061113191906116b9565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b611162610acb565b61116b826111d0565b61117361129c565b6001600160a01b03811661119a5760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061252c83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6111d8610acb565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af415801561122e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112529190611611565b61127a5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161082a565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6112a4610acb565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610e4c806116e083390190565b5f602082840312156112fe575f80fd5b81356001600160e01b031981168114611315575f80fd5b9392505050565b6001600160a01b0381168114611330575f80fd5b50565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611356575f80fd5b813567ffffffffffffffff81111561137057611370611333565b604051601f8201601f19908116603f0116810167ffffffffffffffff8111828210171561139f5761139f611333565b6040528181528382016020018510156113b6575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f80608085870312156113e5575f80fd5b84356113f08161131c565b935060208501356114008161131c565b9250604085013567ffffffffffffffff81111561141b575f80fd5b61142787828801611347565b949793965093946060013593505050565b5f8060408385031215611449575f80fd5b82356114548161131c565b9150602083013567ffffffffffffffff81111561146f575f80fd5b61147b85828601611347565b9150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6113156020830184611485565b5f805f606084860312156114d7575f80fd5b83356114e28161131c565b925060208401356114f28161131c565b9150604084013567ffffffffffffffff81111561150d575f80fd5b61151986828701611347565b9150509250925092565b62ffffff81168114611330575f80fd5b5f60208284031215611543575f80fd5b813561131581611523565b5f6020828403121561155e575f80fd5b813567ffffffffffffffff811115611574575f80fd5b61158084828501611347565b949350505050565b5f60208284031215611598575f80fd5b5035919050565b6001600160a01b038481168252831660208201526060604082018190525f906115ca90830184611485565b95945050505050565b5f602082840312156115e3575f80fd5b815161131581611523565b6001600160a01b03831681526040602082018190525f9061158090830184611485565b5f60208284031215611621575f80fd5b81518015158114611315575f80fd5b5f60208284031215611640575f80fd5b81516113158161131c565b634e487b7160e01b5f52603260045260245ffd5b8181038181111561055d57634e487b7160e01b5f52601160045260245ffd5b5f6020828403121561168e575f80fd5b5051919050565b5f602082840312156116a5575f80fd5b815164ffffffffff81168114611315575f80fd5b5f602082840312156116c9575f80fd5b81516001600160601b0381168114611315575f80fdfe60a060405234801561000f575f80fd5b50604051610e4c380380610e4c83398101604081905261002e9161037c565b828282828161003d828261009e565b50508160405161004c90610340565b6001600160a01b039091168152602001604051809103905ff080158015610075573d5f803e3d5ffd5b506001600160a01b031660805261009361008e60805190565b6100fc565b505050505050610463565b6100a782610169565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a28051156100f0576100eb82826101e7565b505050565b6100f861025a565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61013b5f80516020610e2c833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16101668161027b565b50565b806001600160a01b03163b5f036101a357604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b60605f80846001600160a01b031684604051610203919061044d565b5f60405180830381855af49150503d805f811461023b576040519150601f19603f3d011682016040523d82523d5f602084013e610240565b606091505b5090925090506102518583836102b8565b95945050505050565b34156102795760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b0381166102a457604051633173bdd160e11b81525f600482015260240161019a565b805f80516020610e2c8339815191526101c6565b6060826102cd576102c882610317565b610310565b81511580156102e457506001600160a01b0384163b155b1561030d57604051639996b31560e01b81526001600160a01b038516600482015260240161019a565b50805b9392505050565b8051156103275780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6104ef8061093d83390190565b80516001600160a01b0381168114610363575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b5f805f6060848603121561038e575f80fd5b6103978461034d565b92506103a56020850161034d565b60408501519092506001600160401b038111156103c0575f80fd5b8401601f810186136103d0575f80fd5b80516001600160401b038111156103e9576103e9610368565b604051601f8201601f19908116603f011681016001600160401b038111828210171561041757610417610368565b60405281815282820160200188101561042e575f80fd5b8160208401602083015e5f602083830101528093505050509250925092565b5f82518060208501845e5f920191825250919050565b6080516104bd6104805f395f818160350152607201526104bd5ff3fe60806040526004361061001d575f3560e01c80638b3240a014610027575b610025610070565b005b348015610032575f80fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100dc575f356001600160e01b03191663278f794360e11b146100d2576040516334ad5dbb60e21b815260040160405180910390fd5b6100da6100e9565b565b6100da610117565b905090565b5f806100f83660048184610365565b81019061010591906103a0565b915091506101138282610127565b5050565b6100da610122610181565b6101b3565b610130826101d1565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a280511561017957610174828261024c565b505050565b6101136102be565b5f6100e47f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b365f80375f80365f845af43d5f803e8080156101cd573d5ff35b3d5ffd5b806001600160a01b03163b5f0361020b57604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b60605f80846001600160a01b0316846040516102689190610471565b5f60405180830381855af49150503d805f81146102a0576040519150601f19603f3d011682016040523d82523d5f602084013e6102a5565b606091505b50915091506102b58583836102dd565b95945050505050565b34156100da5760405163b398979f60e01b815260040160405180910390fd5b6060826102f2576102ed8261033c565b610335565b815115801561030957506001600160a01b0384163b155b1561033257604051639996b31560e01b81526001600160a01b0385166004820152602401610202565b50805b9392505050565b80511561034c5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b5f8085851115610373575f80fd5b8386111561037f575f80fd5b5050820193919092039150565b634e487b7160e01b5f52604160045260245ffd5b5f80604083850312156103b1575f80fd5b82356001600160a01b03811681146103c7575f80fd5b9150602083013567ffffffffffffffff8111156103e2575f80fd5b8301601f810185136103f2575f80fd5b803567ffffffffffffffff81111561040c5761040c61038c565b604051601f8201601f19908116603f0116810167ffffffffffffffff8111828210171561043b5761043b61038c565b604052818152828201602001871015610452575f80fd5b816020840160208301375f602083830101528093505050509250929050565b5f82518060208501845e5f92019182525091905056fea26469706673582212205f12e4d638be8d591db7c67d942f3e9eeb14e9e44f78ba8cddaca37631bdc49764736f6c634300081a0033608060405234801561000f575f80fd5b506040516104ef3803806104ef83398101604081905261002e916100bb565b806001600160a01b03811661005c57604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b6100658161006c565b50506100e8565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f602082840312156100cb575f80fd5b81516001600160a01b03811681146100e1575f80fd5b9392505050565b6103fa806100f55f395ff3fe608060405260043610610049575f3560e01c8063715018a61461004d5780638da5cb5b146100635780639623609d1461008e578063ad3cb1cc146100a1578063f2fde38b146100de575b5f80fd5b348015610058575f80fd5b506100616100fd565b005b34801561006e575f80fd5b505f546040516001600160a01b0390911681526020015b60405180910390f35b61006161009c366004610260565b610110565b3480156100ac575f80fd5b506100d1604051806040016040528060058152602001640352e302e360dc1b81525081565b6040516100859190610365565b3480156100e9575f80fd5b506100616100f836600461037e565b61017b565b6101056101bd565b61010e5f6101e9565b565b6101186101bd565b60405163278f794360e11b81526001600160a01b03841690634f1ef2869034906101489086908690600401610399565b5f604051808303818588803b15801561015f575f80fd5b505af1158015610171573d5f803e3d5ffd5b5050505050505050565b6101836101bd565b6001600160a01b0381166101b157604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6101ba816101e9565b50565b5f546001600160a01b0316331461010e5760405163118cdaa760e01b81523360048201526024016101a8565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101ba575f80fd5b634e487b7160e01b5f52604160045260245ffd5b5f805f60608486031215610272575f80fd5b833561027d81610238565b9250602084013561028d81610238565b9150604084013567ffffffffffffffff8111156102a8575f80fd5b8401601f810186136102b8575f80fd5b803567ffffffffffffffff8111156102d2576102d261024c565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156103015761030161024c565b604052818152828201602001881015610318575f80fd5b816020840160208301375f602083830101528093505050509250925092565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6103776020830184610337565b9392505050565b5f6020828403121561038e575f80fd5b813561037781610238565b6001600160a01b03831681526040602082018190525f906103bc90830184610337565b94935050505056fea264697066735822122063012ab3c3421087c307802be7295f03bec95db9eea702a4c2db9595befa162464736f6c634300081a0033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a264697066735822122091b963ddb8317c6082acf42edad1651a99b9406e1708eace5cf00c781893496d64736f6c634300081a0033",
526
526
  "linkReferences": {
527
527
  "contracts/shared/ContractLib.sol": {
528
528
  "ContractLib": [
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/5c81ba27fed1562abd01b1acaeb5ec37.json"
3
+ "buildInfo": "../../../build-info/3f92574d1dc4326e1a01ba0bf3c9466d.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/5c81ba27fed1562abd01b1acaeb5ec37.json"
3
+ "buildInfo": "../../../build-info/3f92574d1dc4326e1a01ba0bf3c9466d.json"
4
4
  }
@@ -0,0 +1,262 @@
1
+ // SPDX-License-Identifier: Apache-2.0
2
+ pragma solidity ^0.8.20;
3
+
4
+ import {Amount, AmountLib} from "../type/Amount.sol";
5
+ import {Fee} from "../type/Fee.sol";
6
+ import {IAccountingService} from "./IAccountingService.sol";
7
+ import {InstanceStore} from "../instance/InstanceStore.sol";
8
+
9
+ import {Amount, AmountLib} from "../type/Amount.sol";
10
+ import {Fee} from "../type/Fee.sol";
11
+ import {NftId} from "../type/NftId.sol";
12
+ import {ObjectType, ACCOUNTING, BUNDLE, DISTRIBUTION, DISTRIBUTOR, POOL, PRODUCT} from "../type/ObjectType.sol";
13
+ import {Service} from "../shared/Service.sol";
14
+
15
+
16
+ contract AccountingService is
17
+ Service,
18
+ IAccountingService
19
+ {
20
+ bool private constant INCREASE = true;
21
+ bool private constant DECREASE = false;
22
+
23
+ function _initialize(
24
+ address owner,
25
+ bytes memory data
26
+ )
27
+ internal
28
+ virtual override
29
+ initializer()
30
+ {
31
+ (
32
+ address authority,
33
+ address registry
34
+ ) = abi.decode(data, (address, address));
35
+
36
+ __Service_init(authority, registry, owner);
37
+ _registerInterface(type(IAccountingService).interfaceId);
38
+ }
39
+
40
+ function decreaseComponentFees(
41
+ InstanceStore instanceStore,
42
+ NftId componentNftId,
43
+ Amount feeAmount
44
+ )
45
+ external
46
+ virtual
47
+ restricted()
48
+ {
49
+ _changeTargetBalance(DECREASE, instanceStore, componentNftId, AmountLib.zero(), feeAmount);
50
+ }
51
+
52
+
53
+ function increaseProductFees(
54
+ InstanceStore instanceStore,
55
+ NftId productNftId,
56
+ Amount feeAmount
57
+ )
58
+ external
59
+ virtual
60
+ restricted()
61
+ {
62
+ _checkNftType(productNftId, PRODUCT());
63
+ _changeTargetBalance(INCREASE, instanceStore, productNftId, AmountLib.zero(), feeAmount);
64
+ }
65
+
66
+
67
+ function decreaseProductFees(InstanceStore instanceStore, NftId productNftId, Amount feeAmount)
68
+ external
69
+ virtual
70
+ restricted()
71
+ {
72
+ _checkNftType(productNftId, PRODUCT());
73
+ _changeTargetBalance(DECREASE, instanceStore, productNftId, AmountLib.zero(), feeAmount);
74
+ }
75
+
76
+ function increaseDistributionBalance(
77
+ InstanceStore instanceStore,
78
+ NftId distributionNftId,
79
+ Amount amount,
80
+ Amount feeAmount
81
+ )
82
+ external
83
+ virtual
84
+ restricted()
85
+ {
86
+ _checkNftType(distributionNftId, DISTRIBUTION());
87
+ _changeTargetBalance(INCREASE, instanceStore, distributionNftId, amount, feeAmount);
88
+ }
89
+
90
+
91
+ function decreaseDistributionBalance(
92
+ InstanceStore instanceStore,
93
+ NftId distributionNftId,
94
+ Amount amount,
95
+ Amount feeAmount
96
+ )
97
+ external
98
+ virtual
99
+ restricted()
100
+ {
101
+ _checkNftType(distributionNftId, DISTRIBUTION());
102
+ _changeTargetBalance(DECREASE, instanceStore, distributionNftId, amount, feeAmount);
103
+ }
104
+
105
+ function increaseDistributorBalance(
106
+ InstanceStore instanceStore,
107
+ NftId distributorNftId,
108
+ Amount amount,
109
+ Amount feeAmount
110
+ )
111
+ external
112
+ virtual
113
+ restricted()
114
+ {
115
+ _checkNftType(distributorNftId, DISTRIBUTOR());
116
+ _changeTargetBalance(INCREASE, instanceStore, distributorNftId, amount, feeAmount);
117
+ }
118
+
119
+ function decreaseDistributorBalance(
120
+ InstanceStore instanceStore,
121
+ NftId distributorNftId,
122
+ Amount amount,
123
+ Amount feeAmount
124
+ )
125
+ external
126
+ virtual
127
+ restricted()
128
+ {
129
+ _checkNftType(distributorNftId, DISTRIBUTOR());
130
+ _changeTargetBalance(DECREASE, instanceStore, distributorNftId, amount, feeAmount);
131
+ }
132
+
133
+ function increasePoolBalance(
134
+ InstanceStore instanceStore,
135
+ NftId poolNftId,
136
+ Amount amount,
137
+ Amount feeAmount
138
+ )
139
+ public
140
+ virtual
141
+ restricted()
142
+ {
143
+ _checkNftType(poolNftId, POOL());
144
+ _changeTargetBalance(INCREASE, instanceStore, poolNftId, amount, feeAmount);
145
+ }
146
+
147
+ function decreasePoolBalance(
148
+ InstanceStore instanceStore,
149
+ NftId poolNftId,
150
+ Amount amount,
151
+ Amount feeAmount
152
+ )
153
+ public
154
+ virtual
155
+ // TODO re-enable once role granting is stable and fixed
156
+ // restricted()
157
+ {
158
+ _checkNftType(poolNftId, POOL());
159
+ _changeTargetBalance(DECREASE, instanceStore, poolNftId, amount, feeAmount);
160
+ }
161
+
162
+ function increaseBundleBalance(
163
+ InstanceStore instanceStore,
164
+ NftId bundleNftId,
165
+ Amount amount,
166
+ Amount feeAmount
167
+ )
168
+ external
169
+ virtual
170
+ restricted()
171
+ {
172
+ _checkNftType(bundleNftId, BUNDLE());
173
+ _changeTargetBalance(INCREASE, instanceStore, bundleNftId, amount, feeAmount);
174
+ }
175
+
176
+ function decreaseBundleBalance(
177
+ InstanceStore instanceStore,
178
+ NftId bundleNftId,
179
+ Amount amount,
180
+ Amount feeAmount
181
+ )
182
+ external
183
+ virtual
184
+ restricted()
185
+ {
186
+ _checkNftType(bundleNftId, BUNDLE());
187
+ _changeTargetBalance(DECREASE, instanceStore, bundleNftId, amount, feeAmount);
188
+ }
189
+
190
+ function increaseBundleBalanceForPool(
191
+ InstanceStore instanceStore,
192
+ NftId bundleNftId,
193
+ Amount amount,
194
+ Amount feeAmount
195
+ )
196
+ external
197
+ virtual
198
+ restricted()
199
+ {
200
+ _checkNftType(bundleNftId, BUNDLE());
201
+ _changeTargetBalance(INCREASE, instanceStore, bundleNftId, amount, feeAmount);
202
+ }
203
+
204
+ function decreaseBundleBalanceForPool(
205
+ InstanceStore instanceStore,
206
+ NftId bundleNftId,
207
+ Amount amount,
208
+ Amount feeAmount
209
+ )
210
+ external
211
+ virtual
212
+ restricted()
213
+ {
214
+ _checkNftType(bundleNftId, BUNDLE());
215
+ _changeTargetBalance(DECREASE, instanceStore, bundleNftId, amount, feeAmount);
216
+ }
217
+
218
+
219
+ //-------- internal functions ------------------------------------------//
220
+
221
+ function _changeTargetBalance(
222
+ bool increase,
223
+ InstanceStore instanceStore,
224
+ NftId targetNftId,
225
+ Amount amount,
226
+ Amount feeAmount
227
+ )
228
+ internal
229
+ virtual
230
+ {
231
+ Amount totalAmount = amount + feeAmount;
232
+
233
+ if(increase) {
234
+ if(totalAmount.gtz()) { instanceStore.increaseBalance(targetNftId, totalAmount); }
235
+ if(feeAmount.gtz()) { instanceStore.increaseFees(targetNftId, feeAmount); }
236
+ } else {
237
+ if(totalAmount.gtz()) { instanceStore.decreaseBalance(targetNftId, totalAmount); }
238
+ if(feeAmount.gtz()) { instanceStore.decreaseFees(targetNftId, feeAmount); }
239
+ }
240
+ }
241
+
242
+
243
+ function _logUpdateFee(NftId productNftId, string memory name, Fee memory feeBefore, Fee memory feeAfter)
244
+ internal
245
+ virtual
246
+ {
247
+ emit LogComponentServiceUpdateFee(
248
+ productNftId,
249
+ name,
250
+ feeBefore.fractionalFee,
251
+ feeBefore.fixedFee,
252
+ feeAfter.fractionalFee,
253
+ feeAfter.fixedFee
254
+ );
255
+ }
256
+
257
+ function _getDomain() internal pure virtual override returns(ObjectType) {
258
+ return ACCOUNTING();
259
+ }
260
+
261
+
262
+ }
@@ -0,0 +1,38 @@
1
+ // SPDX-License-Identifier: Apache-2.0
2
+ pragma solidity ^0.8.20;
3
+
4
+ import {AccountingService} from "./AccountingService.sol";
5
+ import {IVersionable} from "../upgradeability/IVersionable.sol";
6
+ import {ProxyManager} from "../upgradeability/ProxyManager.sol";
7
+
8
+ contract AccountingServiceManager is ProxyManager {
9
+
10
+ AccountingService private _accountingService;
11
+
12
+ /// @dev initializes proxy manager with service implementation
13
+ constructor(
14
+ address authority,
15
+ address registry,
16
+ bytes32 salt
17
+ )
18
+ {
19
+ AccountingService svc = new AccountingService();
20
+ bytes memory data = abi.encode(authority, registry);
21
+ IVersionable versionable = initialize(
22
+ registry,
23
+ address(svc),
24
+ data,
25
+ salt);
26
+
27
+ _accountingService = AccountingService(address(versionable));
28
+ }
29
+
30
+ //--- view functions ----------------------------------------------------//
31
+ function getAccountingService()
32
+ external
33
+ view
34
+ returns (AccountingService)
35
+ {
36
+ return _accountingService;
37
+ }
38
+ }
@@ -0,0 +1,45 @@
1
+ // SPDX-License-Identifier: Apache-2.0
2
+ pragma solidity ^0.8.20;
3
+
4
+
5
+ import {Amount} from "../type/Amount.sol";
6
+ import {InstanceStore} from "../instance/InstanceStore.sol";
7
+ import {IService} from "../shared/IService.sol";
8
+ import {NftId} from "../type/NftId.sol";
9
+ import {UFixed} from "../type/UFixed.sol";
10
+
11
+ /// @dev component base class
12
+ /// component examples are staking, product, distribution, pool and oracle
13
+ interface IAccountingService is
14
+ IService
15
+ {
16
+ event LogComponentServiceUpdateFee(
17
+ NftId nftId,
18
+ string feeName,
19
+ UFixed previousFractionalFee,
20
+ uint256 previousFixedFee,
21
+ UFixed newFractionalFee,
22
+ uint256 newFixedFee
23
+ );
24
+
25
+ function decreaseComponentFees(InstanceStore instanceStore, NftId componentNftId, Amount feeAmount) external;
26
+
27
+ function increaseProductFees(InstanceStore instanceStore, NftId productNftId, Amount feeAmount) external;
28
+ function decreaseProductFees(InstanceStore instanceStore, NftId productNftId, Amount feeAmount) external;
29
+
30
+ function increaseDistributionBalance(InstanceStore instanceStore, NftId distributionNftId, Amount amount, Amount feeAmount) external;
31
+ function decreaseDistributionBalance(InstanceStore instanceStore, NftId distributionNftId, Amount amount, Amount feeAmount) external;
32
+
33
+ function increaseDistributorBalance(InstanceStore instanceStore, NftId distributorNftId, Amount amount, Amount feeAmount) external;
34
+ function decreaseDistributorBalance(InstanceStore instanceStore, NftId distributorNftId, Amount amount, Amount feeAmount) external;
35
+
36
+ function increasePoolBalance(InstanceStore instanceStore, NftId poolNftId, Amount amount, Amount feeAmount) external;
37
+ function decreasePoolBalance(InstanceStore instanceStore, NftId poolNftId, Amount amount, Amount feeAmount) external;
38
+
39
+ function increaseBundleBalance(InstanceStore instanceStore, NftId bundleNftId, Amount amount, Amount feeAmount) external;
40
+ function decreaseBundleBalance(InstanceStore instanceStore, NftId bundleNftId, Amount amount, Amount feeAmount) external;
41
+
42
+ function increaseBundleBalanceForPool(InstanceStore instanceStore, NftId bundleNftId, Amount amount, Amount feeAmount) external;
43
+ function decreaseBundleBalanceForPool(InstanceStore instanceStore, NftId bundleNftId, Amount amount, Amount feeAmount) external;
44
+
45
+ }