@etherisc/gif-next 0.0.2-f7d1200-068 → 0.0.2-f7fa064-035

Sign up to get free protection for your applications and to get access to all the features.
Files changed (448) hide show
  1. package/README.md +5 -2
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +105 -65
  4. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  5. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  6. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +67 -11
  7. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  8. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +60 -32
  10. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  11. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +40 -3
  12. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +19 -0
  14. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json +1196 -0
  16. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  17. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +68 -5
  18. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  19. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +157 -273
  20. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  21. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +82 -22
  22. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  23. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +91 -239
  24. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  25. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +190 -292
  26. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  27. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +107 -123
  28. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  29. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +78 -92
  30. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  31. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +78 -62
  32. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  33. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  34. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  35. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1519 -0
  36. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  37. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +470 -0
  38. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  39. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2072 -0
  40. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +470 -0
  42. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  44. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  45. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1471 -0
  46. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  47. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1231 -0
  48. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  49. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1573 -0
  50. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2095 -0
  52. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  53. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +2 -2
  54. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  55. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +53 -31
  56. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  57. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +31 -86
  58. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  59. package/artifacts/contracts/instance/Instance.sol/Instance.json +56 -123
  60. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  61. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +166 -139
  62. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  63. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +57 -97
  64. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  65. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +446 -81
  66. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  67. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +80 -245
  68. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  69. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +75 -87
  70. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  71. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +335 -126
  72. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  73. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  74. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  75. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  76. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  77. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  78. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +46 -5
  79. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  80. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +2 -2
  81. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  82. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  83. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  84. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  85. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  86. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  87. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  88. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  89. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +131 -247
  90. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  91. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +84 -24
  92. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  93. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  94. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +66 -80
  95. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  96. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +43 -9
  97. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  98. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +79 -227
  99. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  100. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +91 -159
  101. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  102. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +75 -83
  103. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  104. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +102 -254
  105. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  106. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +82 -22
  107. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  108. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +172 -228
  109. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  110. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +114 -110
  111. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  112. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +53 -31
  113. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  114. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +91 -77
  115. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  116. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +221 -151
  117. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  118. package/artifacts/contracts/pool/Pool.sol/Pool.json +102 -241
  119. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  120. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +299 -374
  121. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  122. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +93 -125
  123. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  124. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +76 -168
  125. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  126. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +72 -92
  127. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  128. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +136 -243
  129. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  130. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +82 -22
  131. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  132. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +282 -190
  133. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  134. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +116 -104
  135. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  136. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +34 -0
  137. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  138. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +161 -7
  139. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  140. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +144 -35
  141. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  142. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +114 -85
  143. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  144. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +124 -97
  145. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  146. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +31 -2
  147. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  148. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +231 -264
  149. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  150. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +107 -119
  151. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  152. package/artifacts/contracts/product/PricingService.sol/PricingService.json +199 -309
  153. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  154. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +96 -120
  155. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  156. package/artifacts/contracts/product/Product.sol/Product.json +136 -243
  157. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  158. package/artifacts/contracts/product/RiskService.sol/RiskService.json +622 -0
  159. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  160. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +694 -0
  161. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  162. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  163. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  164. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +286 -34
  165. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  166. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +114 -35
  167. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  168. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  169. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  170. package/artifacts/contracts/registry/Registry.sol/Registry.json +492 -95
  171. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  172. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +283 -143
  173. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  174. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +78 -284
  175. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  176. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +67 -75
  177. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  178. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
  179. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  180. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +129 -221
  181. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  182. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +66 -8
  183. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  184. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +2 -2
  185. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  186. package/artifacts/contracts/shared/Component.sol/Component.json +68 -201
  187. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  188. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +355 -299
  189. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  190. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +122 -128
  191. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  192. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +47 -112
  193. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  194. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +92 -0
  195. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  196. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +55 -54
  197. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  198. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +321 -19
  199. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  200. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +66 -80
  201. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  202. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +36 -0
  203. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  204. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  205. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  206. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +16 -0
  207. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  208. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
  209. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  210. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +29 -0
  211. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  212. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  213. package/artifacts/contracts/shared/IService.sol/IService.json +29 -0
  214. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  215. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -22
  216. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  217. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +79 -227
  218. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  219. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +42 -1
  220. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  221. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
  222. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  223. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  224. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  225. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +22 -57
  226. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  227. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
  228. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  229. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +58 -89
  230. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  231. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  232. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  233. package/artifacts/contracts/shared/Service.sol/Service.json +47 -112
  234. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  235. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +288 -16
  236. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  237. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
  238. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  239. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +82 -55
  240. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  241. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +29 -21
  242. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +1 -1
  243. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +63 -93
  244. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  245. package/artifacts/contracts/staking/Staking.sol/Staking.json +167 -270
  246. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  247. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +46 -5
  248. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  249. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +100 -97
  250. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  251. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +6 -11
  252. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  253. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +71 -165
  254. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  255. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +71 -79
  256. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  257. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +169 -128
  258. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  259. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +54 -23
  260. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  261. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  262. package/artifacts/contracts/type/Amount.sol/AmountLib.json +32 -8
  263. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  264. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  265. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  266. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  267. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  268. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  269. package/artifacts/contracts/type/Fee.sol/FeeLib.json +2 -2
  270. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  271. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  272. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  273. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +2 -2
  274. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  275. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  276. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  277. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +2 -2
  278. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  279. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  280. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  281. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  282. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  283. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  284. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  285. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +60 -4
  286. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  287. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +2 -2
  288. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  289. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +26 -2
  290. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  291. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  292. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  293. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  294. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  295. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  296. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +2 -2
  297. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
  298. package/artifacts/contracts/type/UFixed.sol/MathLib.json +2 -2
  299. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  300. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +15 -2
  301. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  302. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  303. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  304. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  305. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +55 -70
  306. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  307. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  308. package/contracts/authorization/AccessAdmin.sol +64 -59
  309. package/contracts/authorization/Authorization.sol +111 -40
  310. package/contracts/authorization/IAccess.sol +1 -0
  311. package/contracts/authorization/IAccessAdmin.sol +4 -3
  312. package/contracts/authorization/IAuthorization.sol +13 -7
  313. package/contracts/authorization/IServiceAuthorization.sol +3 -1
  314. package/contracts/authorization/ReleaseAccessManager.sol +38 -0
  315. package/contracts/authorization/ServiceAuthorization.sol +26 -10
  316. package/contracts/distribution/BasicDistribution.sol +2 -1
  317. package/contracts/distribution/Distribution.sol +7 -17
  318. package/contracts/distribution/DistributionService.sol +84 -65
  319. package/contracts/distribution/DistributionServiceManager.sol +6 -6
  320. package/contracts/distribution/IDistributionComponent.sol +1 -1
  321. package/contracts/distribution/IDistributionService.sol +9 -5
  322. package/contracts/examples/fire/DamageLevel.sol +59 -0
  323. package/contracts/examples/fire/FirePool.sol +73 -0
  324. package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
  325. package/contracts/examples/fire/FireProduct.sol +415 -0
  326. package/contracts/examples/fire/FireProductAuthorization.sol +44 -0
  327. package/contracts/examples/fire/FireUSD.sol +26 -0
  328. package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
  329. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  330. package/contracts/examples/unpermissioned/SimplePool.sol +76 -0
  331. package/contracts/examples/unpermissioned/SimpleProduct.sol +351 -0
  332. package/contracts/instance/IInstance.sol +10 -30
  333. package/contracts/instance/IInstanceService.sol +2 -23
  334. package/contracts/instance/Instance.sol +29 -51
  335. package/contracts/instance/InstanceAdmin.sol +43 -32
  336. package/contracts/instance/InstanceAuthorizationV3.sol +11 -21
  337. package/contracts/instance/InstanceReader.sol +106 -19
  338. package/contracts/instance/InstanceService.sol +75 -104
  339. package/contracts/instance/InstanceServiceManager.sol +6 -7
  340. package/contracts/instance/InstanceStore.sol +11 -1
  341. package/contracts/instance/base/ObjectLifecycle.sol +8 -1
  342. package/contracts/instance/module/IComponents.sol +10 -5
  343. package/contracts/instance/module/IPolicy.sol +23 -23
  344. package/contracts/oracle/BasicOracle.sol +0 -1
  345. package/contracts/oracle/IOracleService.sol +2 -1
  346. package/contracts/oracle/Oracle.sol +6 -16
  347. package/contracts/oracle/OracleService.sol +47 -34
  348. package/contracts/oracle/OracleServiceManager.sol +6 -6
  349. package/contracts/pool/BasicPool.sol +14 -26
  350. package/contracts/pool/BasicPoolAuthorization.sol +0 -1
  351. package/contracts/pool/BundleService.sol +93 -50
  352. package/contracts/pool/BundleServiceManager.sol +6 -6
  353. package/contracts/pool/IBundleService.sol +11 -3
  354. package/contracts/pool/IPoolComponent.sol +18 -8
  355. package/contracts/pool/IPoolService.sol +49 -31
  356. package/contracts/pool/Pool.sol +53 -51
  357. package/contracts/pool/PoolService.sol +159 -174
  358. package/contracts/pool/PoolServiceManager.sol +4 -4
  359. package/contracts/product/ApplicationService.sol +59 -30
  360. package/contracts/product/ApplicationServiceManager.sol +4 -4
  361. package/contracts/product/BasicProduct.sol +7 -6
  362. package/contracts/product/BasicProductAuthorization.sol +0 -1
  363. package/contracts/product/ClaimService.sol +309 -121
  364. package/contracts/product/ClaimServiceManager.sol +4 -4
  365. package/contracts/product/IApplicationService.sol +1 -0
  366. package/contracts/product/IClaimService.sol +30 -7
  367. package/contracts/product/IPolicyService.sol +21 -26
  368. package/contracts/product/IPricingService.sol +10 -10
  369. package/contracts/product/IProductComponent.sol +23 -4
  370. package/contracts/product/{IProductService.sol → IRiskService.sol} +1 -1
  371. package/contracts/product/PolicyService.sol +309 -174
  372. package/contracts/product/PolicyServiceManager.sol +4 -4
  373. package/contracts/product/PricingService.sol +54 -54
  374. package/contracts/product/PricingServiceManager.sol +3 -3
  375. package/contracts/product/Product.sol +117 -73
  376. package/contracts/product/{ProductService.sol → RiskService.sol} +7 -10
  377. package/contracts/product/RiskServiceManager.sol +39 -0
  378. package/contracts/registry/ChainNft.sol +68 -38
  379. package/contracts/registry/IRegistry.sol +55 -18
  380. package/contracts/registry/IRegistryService.sol +5 -12
  381. package/contracts/registry/ITransferInterceptor.sol +1 -2
  382. package/contracts/registry/Registry.sol +342 -201
  383. package/contracts/registry/RegistryAdmin.sol +134 -51
  384. package/contracts/registry/RegistryService.sol +35 -46
  385. package/contracts/registry/RegistryServiceManager.sol +2 -2
  386. package/contracts/registry/ReleaseLifecycle.sol +6 -3
  387. package/contracts/registry/ReleaseRegistry.sol +204 -188
  388. package/contracts/registry/ServiceAuthorizationV3.sol +16 -22
  389. package/contracts/shared/Component.sol +36 -52
  390. package/contracts/shared/ComponentService.sol +246 -151
  391. package/contracts/shared/ComponentServiceManager.sol +8 -5
  392. package/contracts/shared/ComponentVerifyingService.sol +23 -14
  393. package/contracts/shared/ContractLib.sol +38 -0
  394. package/contracts/shared/IComponent.sol +6 -3
  395. package/contracts/shared/IComponentService.sol +25 -13
  396. package/contracts/shared/IInstanceLinkedComponent.sol +2 -17
  397. package/contracts/shared/ILifecycle.sol +3 -1
  398. package/contracts/shared/INftOwnable.sol +2 -0
  399. package/contracts/shared/IPolicyHolder.sol +12 -22
  400. package/contracts/shared/IRegisterable.sol +11 -0
  401. package/contracts/shared/InitializableERC165.sol +2 -2
  402. package/contracts/shared/InstanceLinkedComponent.sol +72 -31
  403. package/contracts/shared/KeyValueStore.sol +1 -1
  404. package/contracts/shared/Lifecycle.sol +15 -4
  405. package/contracts/shared/NftOwnable.sol +27 -7
  406. package/contracts/shared/PolicyHolder.sol +15 -52
  407. package/contracts/shared/Registerable.sol +19 -9
  408. package/contracts/shared/RegistryLinked.sol +3 -2
  409. package/contracts/shared/Service.sol +20 -18
  410. package/contracts/shared/TokenHandler.sol +99 -22
  411. package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
  412. package/contracts/staking/IStaking.sol +2 -1
  413. package/contracts/staking/IStakingService.sol +0 -3
  414. package/contracts/staking/StakeManagerLib.sol +18 -25
  415. package/contracts/staking/Staking.sol +13 -32
  416. package/contracts/staking/StakingManager.sol +8 -6
  417. package/contracts/staking/StakingReader.sol +12 -5
  418. package/contracts/staking/StakingService.sol +17 -17
  419. package/contracts/staking/StakingServiceManager.sol +2 -2
  420. package/contracts/staking/TargetManagerLib.sol +7 -3
  421. package/contracts/type/Amount.sol +15 -0
  422. package/contracts/type/ClaimId.sol +6 -1
  423. package/contracts/type/NftId.sol +1 -0
  424. package/contracts/type/ObjectType.sol +16 -11
  425. package/contracts/type/PayoutId.sol +10 -10
  426. package/contracts/type/RiskId.sol +15 -1
  427. package/contracts/type/RoleId.sol +0 -12
  428. package/contracts/type/Seconds.sol +8 -0
  429. package/contracts/type/StateId.sol +15 -1
  430. package/contracts/type/UFixed.sol +4 -0
  431. package/contracts/upgradeability/ProxyManager.sol +68 -34
  432. package/contracts/upgradeability/Versionable.sol +2 -2
  433. package/package.json +3 -2
  434. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
  435. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
  436. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
  437. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
  438. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  439. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  440. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
  441. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  442. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
  443. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  444. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  445. package/contracts/authorization/IModuleAuthorization.sol +0 -21
  446. package/contracts/authorization/ModuleAuthorization.sol +0 -78
  447. package/contracts/product/ProductServiceManager.sol +0 -39
  448. package/contracts/shared/InitializableCustom.sol +0 -177
@@ -0,0 +1,1471 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "SimpleDistribution",
4
+ "sourceName": "contracts/examples/unpermissioned/SimpleDistribution.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "registry",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "NftId",
15
+ "name": "productNftId",
16
+ "type": "uint96"
17
+ },
18
+ {
19
+ "internalType": "contract IAuthorization",
20
+ "name": "authorization",
21
+ "type": "address"
22
+ },
23
+ {
24
+ "internalType": "address",
25
+ "name": "initialOwner",
26
+ "type": "address"
27
+ },
28
+ {
29
+ "internalType": "address",
30
+ "name": "token",
31
+ "type": "address"
32
+ }
33
+ ],
34
+ "stateMutability": "nonpayable",
35
+ "type": "constructor"
36
+ },
37
+ {
38
+ "inputs": [
39
+ {
40
+ "internalType": "address",
41
+ "name": "authority",
42
+ "type": "address"
43
+ }
44
+ ],
45
+ "name": "AccessManagedInvalidAuthority",
46
+ "type": "error"
47
+ },
48
+ {
49
+ "inputs": [
50
+ {
51
+ "internalType": "address",
52
+ "name": "caller",
53
+ "type": "address"
54
+ },
55
+ {
56
+ "internalType": "uint32",
57
+ "name": "delay",
58
+ "type": "uint32"
59
+ }
60
+ ],
61
+ "name": "AccessManagedRequiredDelay",
62
+ "type": "error"
63
+ },
64
+ {
65
+ "inputs": [
66
+ {
67
+ "internalType": "address",
68
+ "name": "caller",
69
+ "type": "address"
70
+ }
71
+ ],
72
+ "name": "AccessManagedUnauthorized",
73
+ "type": "error"
74
+ },
75
+ {
76
+ "inputs": [],
77
+ "name": "ErrorComponentNameLengthZero",
78
+ "type": "error"
79
+ },
80
+ {
81
+ "inputs": [
82
+ {
83
+ "internalType": "address",
84
+ "name": "caller",
85
+ "type": "address"
86
+ }
87
+ ],
88
+ "name": "ErrorComponentNotChainNft",
89
+ "type": "error"
90
+ },
91
+ {
92
+ "inputs": [],
93
+ "name": "ErrorComponentProductNftIdNonzero",
94
+ "type": "error"
95
+ },
96
+ {
97
+ "inputs": [],
98
+ "name": "ErrorComponentProductNftIdZero",
99
+ "type": "error"
100
+ },
101
+ {
102
+ "inputs": [],
103
+ "name": "ErrorComponentTokenAddressNonzero",
104
+ "type": "error"
105
+ },
106
+ {
107
+ "inputs": [],
108
+ "name": "ErrorComponentTokenAddressZero",
109
+ "type": "error"
110
+ },
111
+ {
112
+ "inputs": [],
113
+ "name": "ErrorComponentWalletAddressIsSameAsCurrent",
114
+ "type": "error"
115
+ },
116
+ {
117
+ "inputs": [],
118
+ "name": "ErrorComponentWalletAddressZero",
119
+ "type": "error"
120
+ },
121
+ {
122
+ "inputs": [],
123
+ "name": "ErrorComponentWalletNotComponent",
124
+ "type": "error"
125
+ },
126
+ {
127
+ "inputs": [
128
+ {
129
+ "internalType": "address",
130
+ "name": "distributor",
131
+ "type": "address"
132
+ },
133
+ {
134
+ "internalType": "NftId",
135
+ "name": "distributorNftId",
136
+ "type": "uint96"
137
+ }
138
+ ],
139
+ "name": "ErrorDistributionAlreadyDistributor",
140
+ "type": "error"
141
+ },
142
+ {
143
+ "inputs": [
144
+ {
145
+ "internalType": "address",
146
+ "name": "distributor",
147
+ "type": "address"
148
+ }
149
+ ],
150
+ "name": "ErrorDistributionNotDistributor",
151
+ "type": "error"
152
+ },
153
+ {
154
+ "inputs": [
155
+ {
156
+ "internalType": "NftId",
157
+ "name": "nftId",
158
+ "type": "uint96"
159
+ },
160
+ {
161
+ "internalType": "ObjectType",
162
+ "name": "objectType",
163
+ "type": "uint8"
164
+ }
165
+ ],
166
+ "name": "ErrorInstanceLinkedComponentNotProduct",
167
+ "type": "error"
168
+ },
169
+ {
170
+ "inputs": [
171
+ {
172
+ "internalType": "ObjectType",
173
+ "name": "requiredType",
174
+ "type": "uint8"
175
+ },
176
+ {
177
+ "internalType": "ObjectType",
178
+ "name": "objectType",
179
+ "type": "uint8"
180
+ }
181
+ ],
182
+ "name": "ErrorInstanceLinkedComponentTypeMismatch",
183
+ "type": "error"
184
+ },
185
+ {
186
+ "inputs": [
187
+ {
188
+ "internalType": "NftId",
189
+ "name": "nftId",
190
+ "type": "uint96"
191
+ }
192
+ ],
193
+ "name": "ErrorNftOwnableAlreadyLinked",
194
+ "type": "error"
195
+ },
196
+ {
197
+ "inputs": [
198
+ {
199
+ "internalType": "address",
200
+ "name": "contractAddress",
201
+ "type": "address"
202
+ }
203
+ ],
204
+ "name": "ErrorNftOwnableContractNotRegistered",
205
+ "type": "error"
206
+ },
207
+ {
208
+ "inputs": [],
209
+ "name": "ErrorNftOwnableInitialOwnerZero",
210
+ "type": "error"
211
+ },
212
+ {
213
+ "inputs": [
214
+ {
215
+ "internalType": "NftId",
216
+ "name": "nftId",
217
+ "type": "uint96"
218
+ },
219
+ {
220
+ "internalType": "ObjectType",
221
+ "name": "expectedObjectType",
222
+ "type": "uint8"
223
+ }
224
+ ],
225
+ "name": "ErrorNftOwnableInvalidType",
226
+ "type": "error"
227
+ },
228
+ {
229
+ "inputs": [
230
+ {
231
+ "internalType": "address",
232
+ "name": "account",
233
+ "type": "address"
234
+ }
235
+ ],
236
+ "name": "ErrorNftOwnableNotOwner",
237
+ "type": "error"
238
+ },
239
+ {
240
+ "inputs": [
241
+ {
242
+ "internalType": "address",
243
+ "name": "registryAddress",
244
+ "type": "address"
245
+ }
246
+ ],
247
+ "name": "ErrorNotRegistry",
248
+ "type": "error"
249
+ },
250
+ {
251
+ "inputs": [],
252
+ "name": "InvalidInitialization",
253
+ "type": "error"
254
+ },
255
+ {
256
+ "inputs": [],
257
+ "name": "NotInitializing",
258
+ "type": "error"
259
+ },
260
+ {
261
+ "anonymous": false,
262
+ "inputs": [
263
+ {
264
+ "indexed": false,
265
+ "internalType": "address",
266
+ "name": "authority",
267
+ "type": "address"
268
+ }
269
+ ],
270
+ "name": "AuthorityUpdated",
271
+ "type": "event"
272
+ },
273
+ {
274
+ "anonymous": false,
275
+ "inputs": [
276
+ {
277
+ "indexed": false,
278
+ "internalType": "uint64",
279
+ "name": "version",
280
+ "type": "uint64"
281
+ }
282
+ ],
283
+ "name": "Initialized",
284
+ "type": "event"
285
+ },
286
+ {
287
+ "anonymous": false,
288
+ "inputs": [
289
+ {
290
+ "indexed": false,
291
+ "internalType": "address",
292
+ "name": "token",
293
+ "type": "address"
294
+ },
295
+ {
296
+ "indexed": false,
297
+ "internalType": "Amount",
298
+ "name": "limit",
299
+ "type": "uint96"
300
+ },
301
+ {
302
+ "indexed": false,
303
+ "internalType": "bool",
304
+ "name": "isMaxAmount",
305
+ "type": "bool"
306
+ }
307
+ ],
308
+ "name": "LogComponentTokenHandlerApproved",
309
+ "type": "event"
310
+ },
311
+ {
312
+ "anonymous": false,
313
+ "inputs": [
314
+ {
315
+ "indexed": false,
316
+ "internalType": "address",
317
+ "name": "oldWallet",
318
+ "type": "address"
319
+ },
320
+ {
321
+ "indexed": false,
322
+ "internalType": "address",
323
+ "name": "newWallet",
324
+ "type": "address"
325
+ }
326
+ ],
327
+ "name": "LogComponentWalletAddressChanged",
328
+ "type": "event"
329
+ },
330
+ {
331
+ "anonymous": false,
332
+ "inputs": [
333
+ {
334
+ "indexed": false,
335
+ "internalType": "address",
336
+ "name": "from",
337
+ "type": "address"
338
+ },
339
+ {
340
+ "indexed": false,
341
+ "internalType": "address",
342
+ "name": "to",
343
+ "type": "address"
344
+ },
345
+ {
346
+ "indexed": false,
347
+ "internalType": "uint256",
348
+ "name": "amount",
349
+ "type": "uint256"
350
+ }
351
+ ],
352
+ "name": "LogComponentWalletTokensTransferred",
353
+ "type": "event"
354
+ },
355
+ {
356
+ "anonymous": false,
357
+ "inputs": [
358
+ {
359
+ "indexed": false,
360
+ "internalType": "address",
361
+ "name": "to",
362
+ "type": "address"
363
+ },
364
+ {
365
+ "indexed": false,
366
+ "internalType": "address",
367
+ "name": "operator",
368
+ "type": "address"
369
+ }
370
+ ],
371
+ "name": "LogDistributorUpdated",
372
+ "type": "event"
373
+ },
374
+ {
375
+ "inputs": [],
376
+ "name": "COMPONENT_LOCATION_V1",
377
+ "outputs": [
378
+ {
379
+ "internalType": "bytes32",
380
+ "name": "",
381
+ "type": "bytes32"
382
+ }
383
+ ],
384
+ "stateMutability": "view",
385
+ "type": "function"
386
+ },
387
+ {
388
+ "inputs": [],
389
+ "name": "DISTRIBUTION_STORAGE_LOCATION_V1",
390
+ "outputs": [
391
+ {
392
+ "internalType": "bytes32",
393
+ "name": "",
394
+ "type": "bytes32"
395
+ }
396
+ ],
397
+ "stateMutability": "view",
398
+ "type": "function"
399
+ },
400
+ {
401
+ "inputs": [],
402
+ "name": "GIF_RELEASE",
403
+ "outputs": [
404
+ {
405
+ "internalType": "uint256",
406
+ "name": "",
407
+ "type": "uint256"
408
+ }
409
+ ],
410
+ "stateMutability": "view",
411
+ "type": "function"
412
+ },
413
+ {
414
+ "inputs": [],
415
+ "name": "INSTANCE_LINKED_COMPONENT_LOCATION_V1",
416
+ "outputs": [
417
+ {
418
+ "internalType": "bytes32",
419
+ "name": "",
420
+ "type": "bytes32"
421
+ }
422
+ ],
423
+ "stateMutability": "view",
424
+ "type": "function"
425
+ },
426
+ {
427
+ "inputs": [],
428
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
429
+ "outputs": [
430
+ {
431
+ "internalType": "bytes32",
432
+ "name": "",
433
+ "type": "bytes32"
434
+ }
435
+ ],
436
+ "stateMutability": "view",
437
+ "type": "function"
438
+ },
439
+ {
440
+ "inputs": [],
441
+ "name": "REGISTERABLE_LOCATION_V1",
442
+ "outputs": [
443
+ {
444
+ "internalType": "bytes32",
445
+ "name": "",
446
+ "type": "bytes32"
447
+ }
448
+ ],
449
+ "stateMutability": "view",
450
+ "type": "function"
451
+ },
452
+ {
453
+ "inputs": [
454
+ {
455
+ "internalType": "address",
456
+ "name": "token",
457
+ "type": "address"
458
+ },
459
+ {
460
+ "internalType": "Amount",
461
+ "name": "spendingLimitAmount",
462
+ "type": "uint96"
463
+ }
464
+ ],
465
+ "name": "approveTokenHandler",
466
+ "outputs": [],
467
+ "stateMutability": "nonpayable",
468
+ "type": "function"
469
+ },
470
+ {
471
+ "inputs": [
472
+ {
473
+ "internalType": "Amount",
474
+ "name": "spendingLimitAmount",
475
+ "type": "uint96"
476
+ }
477
+ ],
478
+ "name": "approveTokenHandler",
479
+ "outputs": [],
480
+ "stateMutability": "nonpayable",
481
+ "type": "function"
482
+ },
483
+ {
484
+ "inputs": [],
485
+ "name": "authority",
486
+ "outputs": [
487
+ {
488
+ "internalType": "address",
489
+ "name": "",
490
+ "type": "address"
491
+ }
492
+ ],
493
+ "stateMutability": "view",
494
+ "type": "function"
495
+ },
496
+ {
497
+ "inputs": [
498
+ {
499
+ "internalType": "ReferralId",
500
+ "name": "referralId",
501
+ "type": "bytes8"
502
+ },
503
+ {
504
+ "internalType": "uint256",
505
+ "name": "netPremiumAmount",
506
+ "type": "uint256"
507
+ }
508
+ ],
509
+ "name": "calculateRenewalFeeAmount",
510
+ "outputs": [
511
+ {
512
+ "internalType": "uint256",
513
+ "name": "feeAmount",
514
+ "type": "uint256"
515
+ }
516
+ ],
517
+ "stateMutability": "view",
518
+ "type": "function"
519
+ },
520
+ {
521
+ "inputs": [
522
+ {
523
+ "internalType": "address",
524
+ "name": "distributor",
525
+ "type": "address"
526
+ },
527
+ {
528
+ "internalType": "DistributorType",
529
+ "name": "distributorType",
530
+ "type": "bytes8"
531
+ },
532
+ {
533
+ "internalType": "bytes",
534
+ "name": "data",
535
+ "type": "bytes"
536
+ }
537
+ ],
538
+ "name": "createDistributor",
539
+ "outputs": [
540
+ {
541
+ "internalType": "NftId",
542
+ "name": "distributorNftId",
543
+ "type": "uint96"
544
+ }
545
+ ],
546
+ "stateMutability": "nonpayable",
547
+ "type": "function"
548
+ },
549
+ {
550
+ "inputs": [
551
+ {
552
+ "internalType": "string",
553
+ "name": "name",
554
+ "type": "string"
555
+ },
556
+ {
557
+ "internalType": "UFixed",
558
+ "name": "minDiscountPercentage",
559
+ "type": "uint256"
560
+ },
561
+ {
562
+ "internalType": "UFixed",
563
+ "name": "maxDiscountPercentage",
564
+ "type": "uint256"
565
+ },
566
+ {
567
+ "internalType": "UFixed",
568
+ "name": "commissionPercentage",
569
+ "type": "uint256"
570
+ },
571
+ {
572
+ "internalType": "uint32",
573
+ "name": "maxReferralCount",
574
+ "type": "uint32"
575
+ },
576
+ {
577
+ "internalType": "uint32",
578
+ "name": "maxReferralLifetime",
579
+ "type": "uint32"
580
+ },
581
+ {
582
+ "internalType": "bool",
583
+ "name": "allowSelfReferrals",
584
+ "type": "bool"
585
+ },
586
+ {
587
+ "internalType": "bool",
588
+ "name": "allowRenewals",
589
+ "type": "bool"
590
+ },
591
+ {
592
+ "internalType": "bytes",
593
+ "name": "data",
594
+ "type": "bytes"
595
+ }
596
+ ],
597
+ "name": "createDistributorType",
598
+ "outputs": [
599
+ {
600
+ "internalType": "DistributorType",
601
+ "name": "distributorType",
602
+ "type": "bytes8"
603
+ }
604
+ ],
605
+ "stateMutability": "nonpayable",
606
+ "type": "function"
607
+ },
608
+ {
609
+ "inputs": [
610
+ {
611
+ "internalType": "string",
612
+ "name": "code",
613
+ "type": "string"
614
+ },
615
+ {
616
+ "internalType": "UFixed",
617
+ "name": "discountPercentage",
618
+ "type": "uint256"
619
+ },
620
+ {
621
+ "internalType": "uint32",
622
+ "name": "maxReferrals",
623
+ "type": "uint32"
624
+ },
625
+ {
626
+ "internalType": "Timestamp",
627
+ "name": "expiryAt",
628
+ "type": "uint40"
629
+ },
630
+ {
631
+ "internalType": "bytes",
632
+ "name": "data",
633
+ "type": "bytes"
634
+ }
635
+ ],
636
+ "name": "createReferral",
637
+ "outputs": [
638
+ {
639
+ "internalType": "ReferralId",
640
+ "name": "referralId",
641
+ "type": "bytes8"
642
+ }
643
+ ],
644
+ "stateMutability": "nonpayable",
645
+ "type": "function"
646
+ },
647
+ {
648
+ "inputs": [],
649
+ "name": "getAuthorization",
650
+ "outputs": [
651
+ {
652
+ "internalType": "contract IAuthorization",
653
+ "name": "authorization",
654
+ "type": "address"
655
+ }
656
+ ],
657
+ "stateMutability": "view",
658
+ "type": "function"
659
+ },
660
+ {
661
+ "inputs": [],
662
+ "name": "getComponentInfo",
663
+ "outputs": [
664
+ {
665
+ "components": [
666
+ {
667
+ "internalType": "string",
668
+ "name": "name",
669
+ "type": "string"
670
+ },
671
+ {
672
+ "internalType": "contract IERC20Metadata",
673
+ "name": "token",
674
+ "type": "address"
675
+ },
676
+ {
677
+ "internalType": "contract TokenHandler",
678
+ "name": "tokenHandler",
679
+ "type": "address"
680
+ },
681
+ {
682
+ "internalType": "address",
683
+ "name": "wallet",
684
+ "type": "address"
685
+ },
686
+ {
687
+ "internalType": "bytes",
688
+ "name": "data",
689
+ "type": "bytes"
690
+ }
691
+ ],
692
+ "internalType": "struct IComponents.ComponentInfo",
693
+ "name": "info",
694
+ "type": "tuple"
695
+ }
696
+ ],
697
+ "stateMutability": "view",
698
+ "type": "function"
699
+ },
700
+ {
701
+ "inputs": [
702
+ {
703
+ "internalType": "string",
704
+ "name": "referralCode",
705
+ "type": "string"
706
+ }
707
+ ],
708
+ "name": "getDiscountPercentage",
709
+ "outputs": [
710
+ {
711
+ "internalType": "UFixed",
712
+ "name": "discountPercentage",
713
+ "type": "uint256"
714
+ },
715
+ {
716
+ "internalType": "ReferralStatus",
717
+ "name": "status",
718
+ "type": "uint8"
719
+ }
720
+ ],
721
+ "stateMutability": "view",
722
+ "type": "function"
723
+ },
724
+ {
725
+ "inputs": [
726
+ {
727
+ "internalType": "address",
728
+ "name": "distributor",
729
+ "type": "address"
730
+ }
731
+ ],
732
+ "name": "getDistributorNftId",
733
+ "outputs": [
734
+ {
735
+ "internalType": "NftId",
736
+ "name": "distributorNftId",
737
+ "type": "uint96"
738
+ }
739
+ ],
740
+ "stateMutability": "view",
741
+ "type": "function"
742
+ },
743
+ {
744
+ "inputs": [],
745
+ "name": "getInitialComponentInfo",
746
+ "outputs": [
747
+ {
748
+ "components": [
749
+ {
750
+ "internalType": "string",
751
+ "name": "name",
752
+ "type": "string"
753
+ },
754
+ {
755
+ "internalType": "contract IERC20Metadata",
756
+ "name": "token",
757
+ "type": "address"
758
+ },
759
+ {
760
+ "internalType": "contract TokenHandler",
761
+ "name": "tokenHandler",
762
+ "type": "address"
763
+ },
764
+ {
765
+ "internalType": "address",
766
+ "name": "wallet",
767
+ "type": "address"
768
+ },
769
+ {
770
+ "internalType": "bytes",
771
+ "name": "data",
772
+ "type": "bytes"
773
+ }
774
+ ],
775
+ "internalType": "struct IComponents.ComponentInfo",
776
+ "name": "info",
777
+ "type": "tuple"
778
+ }
779
+ ],
780
+ "stateMutability": "view",
781
+ "type": "function"
782
+ },
783
+ {
784
+ "inputs": [],
785
+ "name": "getInitialInfo",
786
+ "outputs": [
787
+ {
788
+ "components": [
789
+ {
790
+ "internalType": "NftId",
791
+ "name": "nftId",
792
+ "type": "uint96"
793
+ },
794
+ {
795
+ "internalType": "NftId",
796
+ "name": "parentNftId",
797
+ "type": "uint96"
798
+ },
799
+ {
800
+ "internalType": "ObjectType",
801
+ "name": "objectType",
802
+ "type": "uint8"
803
+ },
804
+ {
805
+ "internalType": "bool",
806
+ "name": "isInterceptor",
807
+ "type": "bool"
808
+ },
809
+ {
810
+ "internalType": "address",
811
+ "name": "objectAddress",
812
+ "type": "address"
813
+ },
814
+ {
815
+ "internalType": "address",
816
+ "name": "initialOwner",
817
+ "type": "address"
818
+ },
819
+ {
820
+ "internalType": "bytes",
821
+ "name": "data",
822
+ "type": "bytes"
823
+ }
824
+ ],
825
+ "internalType": "struct IRegistry.ObjectInfo",
826
+ "name": "info",
827
+ "type": "tuple"
828
+ }
829
+ ],
830
+ "stateMutability": "view",
831
+ "type": "function"
832
+ },
833
+ {
834
+ "inputs": [],
835
+ "name": "getInstance",
836
+ "outputs": [
837
+ {
838
+ "internalType": "contract IInstance",
839
+ "name": "instance",
840
+ "type": "address"
841
+ }
842
+ ],
843
+ "stateMutability": "view",
844
+ "type": "function"
845
+ },
846
+ {
847
+ "inputs": [],
848
+ "name": "getName",
849
+ "outputs": [
850
+ {
851
+ "internalType": "string",
852
+ "name": "name",
853
+ "type": "string"
854
+ }
855
+ ],
856
+ "stateMutability": "view",
857
+ "type": "function"
858
+ },
859
+ {
860
+ "inputs": [],
861
+ "name": "getNftId",
862
+ "outputs": [
863
+ {
864
+ "internalType": "NftId",
865
+ "name": "",
866
+ "type": "uint96"
867
+ }
868
+ ],
869
+ "stateMutability": "view",
870
+ "type": "function"
871
+ },
872
+ {
873
+ "inputs": [],
874
+ "name": "getOwner",
875
+ "outputs": [
876
+ {
877
+ "internalType": "address",
878
+ "name": "",
879
+ "type": "address"
880
+ }
881
+ ],
882
+ "stateMutability": "view",
883
+ "type": "function"
884
+ },
885
+ {
886
+ "inputs": [
887
+ {
888
+ "internalType": "string",
889
+ "name": "referralCode",
890
+ "type": "string"
891
+ }
892
+ ],
893
+ "name": "getReferralId",
894
+ "outputs": [
895
+ {
896
+ "internalType": "ReferralId",
897
+ "name": "referralId",
898
+ "type": "bytes8"
899
+ }
900
+ ],
901
+ "stateMutability": "view",
902
+ "type": "function"
903
+ },
904
+ {
905
+ "inputs": [],
906
+ "name": "getRegistry",
907
+ "outputs": [
908
+ {
909
+ "internalType": "contract IRegistry",
910
+ "name": "",
911
+ "type": "address"
912
+ }
913
+ ],
914
+ "stateMutability": "view",
915
+ "type": "function"
916
+ },
917
+ {
918
+ "inputs": [],
919
+ "name": "getRelease",
920
+ "outputs": [
921
+ {
922
+ "internalType": "VersionPart",
923
+ "name": "release",
924
+ "type": "uint8"
925
+ }
926
+ ],
927
+ "stateMutability": "pure",
928
+ "type": "function"
929
+ },
930
+ {
931
+ "inputs": [],
932
+ "name": "getToken",
933
+ "outputs": [
934
+ {
935
+ "internalType": "contract IERC20Metadata",
936
+ "name": "token",
937
+ "type": "address"
938
+ }
939
+ ],
940
+ "stateMutability": "view",
941
+ "type": "function"
942
+ },
943
+ {
944
+ "inputs": [],
945
+ "name": "getTokenHandler",
946
+ "outputs": [
947
+ {
948
+ "internalType": "contract TokenHandler",
949
+ "name": "tokenHandler",
950
+ "type": "address"
951
+ }
952
+ ],
953
+ "stateMutability": "view",
954
+ "type": "function"
955
+ },
956
+ {
957
+ "inputs": [],
958
+ "name": "getWallet",
959
+ "outputs": [
960
+ {
961
+ "internalType": "address",
962
+ "name": "walletAddress",
963
+ "type": "address"
964
+ }
965
+ ],
966
+ "stateMutability": "view",
967
+ "type": "function"
968
+ },
969
+ {
970
+ "inputs": [
971
+ {
972
+ "internalType": "address",
973
+ "name": "registry",
974
+ "type": "address"
975
+ },
976
+ {
977
+ "internalType": "NftId",
978
+ "name": "productNftId",
979
+ "type": "uint96"
980
+ },
981
+ {
982
+ "internalType": "contract IAuthorization",
983
+ "name": "authorization",
984
+ "type": "address"
985
+ },
986
+ {
987
+ "internalType": "address",
988
+ "name": "initialOwner",
989
+ "type": "address"
990
+ },
991
+ {
992
+ "internalType": "string",
993
+ "name": "name",
994
+ "type": "string"
995
+ },
996
+ {
997
+ "internalType": "address",
998
+ "name": "token",
999
+ "type": "address"
1000
+ }
1001
+ ],
1002
+ "name": "initialize",
1003
+ "outputs": [],
1004
+ "stateMutability": "nonpayable",
1005
+ "type": "function"
1006
+ },
1007
+ {
1008
+ "inputs": [],
1009
+ "name": "isConsumingScheduledOp",
1010
+ "outputs": [
1011
+ {
1012
+ "internalType": "bytes4",
1013
+ "name": "",
1014
+ "type": "bytes4"
1015
+ }
1016
+ ],
1017
+ "stateMutability": "view",
1018
+ "type": "function"
1019
+ },
1020
+ {
1021
+ "inputs": [
1022
+ {
1023
+ "internalType": "address",
1024
+ "name": "candidate",
1025
+ "type": "address"
1026
+ }
1027
+ ],
1028
+ "name": "isDistributor",
1029
+ "outputs": [
1030
+ {
1031
+ "internalType": "bool",
1032
+ "name": "",
1033
+ "type": "bool"
1034
+ }
1035
+ ],
1036
+ "stateMutability": "view",
1037
+ "type": "function"
1038
+ },
1039
+ {
1040
+ "inputs": [],
1041
+ "name": "isNftInterceptor",
1042
+ "outputs": [
1043
+ {
1044
+ "internalType": "bool",
1045
+ "name": "isInterceptor",
1046
+ "type": "bool"
1047
+ }
1048
+ ],
1049
+ "stateMutability": "view",
1050
+ "type": "function"
1051
+ },
1052
+ {
1053
+ "inputs": [],
1054
+ "name": "isRegistered",
1055
+ "outputs": [
1056
+ {
1057
+ "internalType": "bool",
1058
+ "name": "",
1059
+ "type": "bool"
1060
+ }
1061
+ ],
1062
+ "stateMutability": "view",
1063
+ "type": "function"
1064
+ },
1065
+ {
1066
+ "inputs": [],
1067
+ "name": "isVerifying",
1068
+ "outputs": [
1069
+ {
1070
+ "internalType": "bool",
1071
+ "name": "verifying",
1072
+ "type": "bool"
1073
+ }
1074
+ ],
1075
+ "stateMutability": "pure",
1076
+ "type": "function"
1077
+ },
1078
+ {
1079
+ "inputs": [],
1080
+ "name": "linkToRegisteredNftId",
1081
+ "outputs": [
1082
+ {
1083
+ "internalType": "NftId",
1084
+ "name": "nftId",
1085
+ "type": "uint96"
1086
+ }
1087
+ ],
1088
+ "stateMutability": "nonpayable",
1089
+ "type": "function"
1090
+ },
1091
+ {
1092
+ "inputs": [],
1093
+ "name": "lock",
1094
+ "outputs": [],
1095
+ "stateMutability": "nonpayable",
1096
+ "type": "function"
1097
+ },
1098
+ {
1099
+ "inputs": [
1100
+ {
1101
+ "internalType": "address",
1102
+ "name": "from",
1103
+ "type": "address"
1104
+ },
1105
+ {
1106
+ "internalType": "address",
1107
+ "name": "to",
1108
+ "type": "address"
1109
+ },
1110
+ {
1111
+ "internalType": "uint256",
1112
+ "name": "tokenId",
1113
+ "type": "uint256"
1114
+ },
1115
+ {
1116
+ "internalType": "address",
1117
+ "name": "operator",
1118
+ "type": "address"
1119
+ }
1120
+ ],
1121
+ "name": "nftTransferFrom",
1122
+ "outputs": [],
1123
+ "stateMutability": "nonpayable",
1124
+ "type": "function"
1125
+ },
1126
+ {
1127
+ "inputs": [
1128
+ {
1129
+ "internalType": "ReferralId",
1130
+ "name": "referralId",
1131
+ "type": "bytes8"
1132
+ },
1133
+ {
1134
+ "internalType": "uint256",
1135
+ "name": "feeAmount",
1136
+ "type": "uint256"
1137
+ }
1138
+ ],
1139
+ "name": "processRenewal",
1140
+ "outputs": [],
1141
+ "stateMutability": "nonpayable",
1142
+ "type": "function"
1143
+ },
1144
+ {
1145
+ "inputs": [
1146
+ {
1147
+ "internalType": "address",
1148
+ "name": "newAuthority",
1149
+ "type": "address"
1150
+ }
1151
+ ],
1152
+ "name": "setAuthority",
1153
+ "outputs": [],
1154
+ "stateMutability": "nonpayable",
1155
+ "type": "function"
1156
+ },
1157
+ {
1158
+ "inputs": [
1159
+ {
1160
+ "components": [
1161
+ {
1162
+ "internalType": "UFixed",
1163
+ "name": "fractionalFee",
1164
+ "type": "uint256"
1165
+ },
1166
+ {
1167
+ "internalType": "uint256",
1168
+ "name": "fixedFee",
1169
+ "type": "uint256"
1170
+ }
1171
+ ],
1172
+ "internalType": "struct Fee",
1173
+ "name": "distributionFee",
1174
+ "type": "tuple"
1175
+ },
1176
+ {
1177
+ "components": [
1178
+ {
1179
+ "internalType": "UFixed",
1180
+ "name": "fractionalFee",
1181
+ "type": "uint256"
1182
+ },
1183
+ {
1184
+ "internalType": "uint256",
1185
+ "name": "fixedFee",
1186
+ "type": "uint256"
1187
+ }
1188
+ ],
1189
+ "internalType": "struct Fee",
1190
+ "name": "minDistributionOwnerFee",
1191
+ "type": "tuple"
1192
+ }
1193
+ ],
1194
+ "name": "setFees",
1195
+ "outputs": [],
1196
+ "stateMutability": "nonpayable",
1197
+ "type": "function"
1198
+ },
1199
+ {
1200
+ "inputs": [
1201
+ {
1202
+ "internalType": "address",
1203
+ "name": "newWallet",
1204
+ "type": "address"
1205
+ }
1206
+ ],
1207
+ "name": "setWallet",
1208
+ "outputs": [],
1209
+ "stateMutability": "nonpayable",
1210
+ "type": "function"
1211
+ },
1212
+ {
1213
+ "inputs": [
1214
+ {
1215
+ "internalType": "bytes4",
1216
+ "name": "interfaceId",
1217
+ "type": "bytes4"
1218
+ }
1219
+ ],
1220
+ "name": "supportsInterface",
1221
+ "outputs": [
1222
+ {
1223
+ "internalType": "bool",
1224
+ "name": "",
1225
+ "type": "bool"
1226
+ }
1227
+ ],
1228
+ "stateMutability": "view",
1229
+ "type": "function"
1230
+ },
1231
+ {
1232
+ "inputs": [],
1233
+ "name": "unlock",
1234
+ "outputs": [],
1235
+ "stateMutability": "nonpayable",
1236
+ "type": "function"
1237
+ },
1238
+ {
1239
+ "inputs": [
1240
+ {
1241
+ "internalType": "NftId",
1242
+ "name": "distributorNftId",
1243
+ "type": "uint96"
1244
+ },
1245
+ {
1246
+ "internalType": "DistributorType",
1247
+ "name": "distributorType",
1248
+ "type": "bytes8"
1249
+ },
1250
+ {
1251
+ "internalType": "bytes",
1252
+ "name": "data",
1253
+ "type": "bytes"
1254
+ }
1255
+ ],
1256
+ "name": "updateDistributorType",
1257
+ "outputs": [],
1258
+ "stateMutability": "nonpayable",
1259
+ "type": "function"
1260
+ },
1261
+ {
1262
+ "inputs": [
1263
+ {
1264
+ "internalType": "NftId",
1265
+ "name": "distributorNftId",
1266
+ "type": "uint96"
1267
+ },
1268
+ {
1269
+ "internalType": "Amount",
1270
+ "name": "amount",
1271
+ "type": "uint96"
1272
+ }
1273
+ ],
1274
+ "name": "withdrawCommission",
1275
+ "outputs": [
1276
+ {
1277
+ "internalType": "Amount",
1278
+ "name": "withdrawnAmount",
1279
+ "type": "uint96"
1280
+ }
1281
+ ],
1282
+ "stateMutability": "nonpayable",
1283
+ "type": "function"
1284
+ },
1285
+ {
1286
+ "inputs": [
1287
+ {
1288
+ "internalType": "Amount",
1289
+ "name": "amount",
1290
+ "type": "uint96"
1291
+ }
1292
+ ],
1293
+ "name": "withdrawFees",
1294
+ "outputs": [
1295
+ {
1296
+ "internalType": "Amount",
1297
+ "name": "withdrawnAmount",
1298
+ "type": "uint96"
1299
+ }
1300
+ ],
1301
+ "stateMutability": "nonpayable",
1302
+ "type": "function"
1303
+ }
1304
+ ],
1305
+ "bytecode": "0x608060405234801561000f575f80fd5b5060405161516838038061516883398101604081905261002e91610c1c565b61006c858585856040518060400160405280601281526020017129b4b6b83632a234b9ba3934b13aba34b7b760711b8152508661007660201b60201c565b5050505050610fd3565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff1615906001600160401b03165f811580156100bf5750825b90505f826001600160401b031660011480156100da5750303b155b9050811580156100e8575080155b156101065760405163f92ee8a960e01b815260040160405180910390fd5b84546001600160401b0319166001178555831561013457845460ff60401b1916680100000000000000001785555b6101428b8b8b8b8b8b610195565b831561018857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b61019d6101c8565b6101c086868686868660405180602001604052805f81525061021860201b60201c565b505050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661021657604051631afcd79f60e31b815260040160405180910390fd5b565b6102206101c8565b61023387878585600e8a60018b896102c5565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900610263600e6104fa565b6104fa565b6001820180546001600160a01b0319166001600160a01b039290921691909117905561029061025e600b90565b81546001600160a01b0319166001600160a01b03919091161781556102bb6301a39f4760e01b610615565b5050505050505050565b6102cd6101c8565b5f6102d98a8a88610641565b90505f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0060405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038c169063bf8e179790602401602060405180830381865afa15801561034b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061036f9190610c89565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b8152905161040f929163bf7e214f9160048083019260209291908290030181865afa1580156103c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103ed9190610c89565b8c8c8c8c8c8b8b60405180602001604052805f8152508c6106f060201b60201c565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa158015610456573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061047a9190610c89565b6001820180546001600160a01b03199081166001600160a01b03938416179091556002830180549091169188169190911790556104b861025e600b90565b6003820180546001600160a01b0319166001600160a01b03929092169190911790556104ea634a531f3360e01b610615565b6101886307bb0a0360e51b610615565b5f807fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0054604080516376b707b760e01b815290516001600160a01b03909216916376b707b7916004808201926020929091908290030181865afa158015610563573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105879190610cbd565b905061059b6001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa1580156105ea573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060e9190610c89565b9392505050565b61061d6101c8565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f60ff8216600c03610662576106598484600a6107f5565b5082905061060e565b5f61066f8585600c6107f5565b6040516305247a1760e51b81526001600160601b03861660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa1580156106bc573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526106e39190810190610dac565b6020015195945050505050565b6106f86101c8565b6001600160a01b03861661071f576040516327eab2e360e11b815260040160405180910390fd5b86515f036107405760405163591eebf360e11b815260040160405180910390fd5b61074e8989878787876108bf565b6107578a610967565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00806107838982610f00565b506001810180546001600160a01b0319166001600160a01b0389161790556002810180546001600160a81b0319163060ff60a01b191617600160a01b87151502179055600381016107d48382610f00565b506107e5634a531f3360e01b610615565b610188632986755f60e11b610615565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa158015610843573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261086a9190810190610dac565b905061088181604001518460ff9081169116141590565b156108b757604080820151905163b0c1f6eb60e01b815260ff808616600483015290911660248201526044015b60405180910390fd5b509392505050565b6108c76101c8565b6108d1868361097b565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166001600160681b0319909116176c0100000000000000000000000060ff8716021760ff60681b19166d0100000000000000000000000000851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016102bb8382610f00565b61096f6101c8565b61097881610a0d565b50565b6109836101c8565b61098c82610a1e565b610994610b2a565b6001600160a01b0381166109bb5760405163f17ef42d60e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b039093169290920291909117905550565b610a156101c8565b61097881610b6f565b610a266101c8565b806001600160a01b03163b5f03610a5b5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108ae565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526325713e4b60e21b60048201526301ffc9a790602401602060405180830381865afa925050508015610ad5575060408051601f3d908101601f19168201909252610ad291810190610fba565b60015b610afd5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108ae565b80610b265760405163fdeac91f60e01b81526001600160a01b03831660048201526024016108ae565b5050565b610b326101c8565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6001600160a01b0381168114610978575f80fd5b8051610c0181610be2565b919050565b80516001600160601b0381168114610c01575f80fd5b5f805f805f60a08688031215610c30575f80fd5b8551610c3b81610be2565b9450610c4960208701610c06565b93506040860151610c5981610be2565b6060870151909350610c6a81610be2565b6080870151909250610c7b81610be2565b809150509295509295909350565b5f60208284031215610c99575f80fd5b815161060e81610be2565b60ff81168114610978575f80fd5b8051610c0181610ca4565b5f60208284031215610ccd575f80fd5b815161060e81610ca4565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715610d0e57610d0e610cd8565b60405290565b80518015158114610c01575f80fd5b5f82601f830112610d32575f80fd5b81516001600160401b03811115610d4b57610d4b610cd8565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610d7957610d79610cd8565b604052818152838201602001851015610d90575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215610dbc575f80fd5b81516001600160401b03811115610dd1575f80fd5b820160e08185031215610de2575f80fd5b610dea610cec565b610df382610c06565b8152610e0160208301610c06565b6020820152610e1260408301610cb2565b6040820152610e2360608301610d14565b6060820152610e3460808301610bf6565b6080820152610e4560a08301610bf6565b60a082015260c08201516001600160401b03811115610e62575f80fd5b610e6e86828501610d23565b60c083015250949350505050565b600181811c90821680610e9057607f821691505b602082108103610eae57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610efb57805f5260205f20601f840160051c81016020851015610ed95750805b601f840160051c820191505b81811015610ef8575f8155600101610ee5565b50505b505050565b81516001600160401b03811115610f1957610f19610cd8565b610f2d81610f278454610e7c565b84610eb4565b6020601f821160018114610f5f575f8315610f485750848201515b5f19600385901b1c1916600184901b178455610ef8565b5f84815260208120601f198516915b82811015610f8e5787850151825560209485019460019092019101610f6e565b5084821015610fab57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215610fca575f80fd5b61060e82610d14565b61418880610fe05f395ff3fe608060405234801561000f575f80fd5b506004361061028c575f3560e01c80637a9e5e4b11610161578063b6b412ba116100ca578063e145d46c11610084578063e145d46c146105e8578063ea15869f14610612578063f5860e1a14610639578063f80e20721461064d578063f83d08ba14610660578063f86664d214610668575f80fd5b8063b6b412ba14610577578063bae99c991461058a578063bf7e214f1461059d578063d16d0fe8146105a5578063de7b5d14146105b8578063deaa59df146105d5575f80fd5b806390edbd351161011b57806390edbd3514610518578063a69df4b51461052d578063ad12ad6014610535578063ada9652e14610548578063b2a6b42d1461055c578063b423086c1461056f575f80fd5b80637a9e5e4b146104ba57806387ef9ba0146104cd5780638899278a146104d4578063893d20e8146104dc5780638f0c86fa146104e45780638fb36037146104f7575f80fd5b80632eb3e6f4116102035780635ab1bd53116101bd5780635ab1bd53146104315780635dcb3bae14610442578063644c45e0146104555780636bd1c0eb1461045d5780637427d7a81461048d57806376b707b7146104a0575f80fd5b80632eb3e6f4146103d25780633d683fd9146103e6578063419197fe146103fb57806343d752d31461040e5780635741e5e91461041657806359660bea1461041e575f80fd5b806317d7de7c1161025457806317d7de7c146103395780631c6b21901461034e5780631eff4b221461036157806321df0da714610396578063223668441461039e5780632b5198b1146103a6575f80fd5b806301ffc9a71461029057806307e71a6e146102d15780630fec111c146102fc5780631329960414610311578063138461e014610331575b5f80fd5b6102bc61029e366004613350565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102e46102df36600461338b565b61067b565b6040516001600160601b0390911681526020016102c8565b61030461077f565b6040516102c891906133f0565b61031961093d565b6040516001600160a01b0390911681526020016102c8565b6102e461094f565b61034161095e565b6040516102c89190613484565b6102e461035c366004613496565b61096e565b6103887f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016102c8565b6103196109c4565b6102bc6109d6565b6103b96103b43660046135ed565b610acc565b6040516001600160c01b031990911681526020016102c8565b6103885f8051602061413383398151915281565b6103f96103f43660046136c3565b610b30565b005b6103f9610409366004613734565b610b93565b610319610dde565b6102bc610df0565b6103b961042c366004613750565b610ea4565b6001546001600160a01b0316610319565b6102e46104503660046137e9565b610efb565b6102e4610f55565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b0316610319565b6103b961049b366004613806565b610f70565b6104a8610ff0565b60405160ff90911681526020016102c8565b6103f96104c8366004613837565b611064565b60016102bc565b610388600381565b6103196110ea565b6102bc6104f2366004613837565b61121b565b6104ff6112e0565b6040516001600160e01b031990911681526020016102c8565b610520611315565b6040516102c89190613852565b6103f961133a565b6103f96105433660046138c6565b6113d8565b6103885f805160206140d383398151915281565b6102e461056a366004613837565b611481565b6105206114c3565b6103f9610585366004613962565b6114d3565b6103f9610598366004613496565b611521565b610319611570565b6103886105b3366004613995565b61158b565b5f80516020614133833981519152546001600160a01b0316610319565b6103f96105e3366004613837565b61159f565b6105fb6105f6366004613806565b61181a565b6040805192835260ff9091166020830152016102c8565b6103887fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b6103885f8051602061411383398151915281565b6103f961065b366004613995565b6118d4565b6103f96118dd565b6103f96106763660046139bf565b611951565b5f610688335b5f36611a67565b6106913361121b565b6106b55760405163637c41bb60e01b81523360048201526024015b60405180910390fd5b82601d6106c28282611b65565b846106d56001546001600160a01b031690565b604051631660755f60e31b81526001600160601b03831660048201523360248201526001600160a01b03919091169063b303aaf890604401602060405180830381865afa158015610728573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074c9190613a5f565b61076b5760405163086391f760e31b81523360048201526024016106ac565b6107758686611c1c565b9695505050505050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561082f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108539190613a85565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161089b6110ea565b6001600160a01b031681526020018260010180546108b890613aa0565b80601f01602080910402602001604051908101604052809291908181526020018280546108e490613aa0565b801561092f5780601f106109065761010080835404028352916020019161092f565b820191905f5260205f20905b81548152906001019060200180831161091257829003601f168201915b505050505081525091505090565b5f610946611315565b60600151905090565b5f61095930611ca8565b905090565b6060610968611315565b51919050565b5f6109776110ea565b6001600160a01b0316336001600160a01b0316146109aa5760405163086391f760e31b81523360048201526024016106ac565b6109b333610681565b6109bc82611e9c565b90505b919050565b5f6109cd611315565b60200151905090565b5f6109e96001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610a2d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a519190613a85565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610aa8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109599190613a5f565b5f610ad56110ea565b6001600160a01b0316336001600160a01b031614610b085760405163086391f760e31b81523360048201526024016106ac565b610b1133610681565b610b228a8a8a8a8a8a8a8a8a611f20565b9a9950505050505050505050565b610b386110ea565b6001600160a01b0316336001600160a01b031614610b6b5760405163086391f760e31b81523360048201526024016106ac565b82601d610b788282611b65565b610b8133610681565b610b8c858585611fdf565b5050505050565b610b9b6110ea565b6001600160a01b0316336001600160a01b031614610bce5760405163086391f760e31b81523360048201526024016106ac565b30610bd761093d565b6001600160a01b031614610bfe5760405163b6d7537f60e01b815260040160405180910390fd5b60405163046e44af60e11b81526001600160601b03821660048201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610c56573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c7a9190613ad8565b90505f610cf18373__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015610cc8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cec9190613a85565b611ff3565b15610cfe57505f19905060015b7f99d7b1d3869e469ab19cd2c6e66718a63bca93dc1a2d27d375cb4bebbf5348ce610d27610dde565b604080516001600160a01b0390921682526001600160601b03861660208301528315159082015260600160405180910390a1836001600160a01b031663095ea7b3610d70610dde565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018590526044016020604051808303815f875af1158015610dba573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b8c9190613a5f565b5f610de7611315565b60400151905090565b5f610df96109d6565b15610e74576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610e4d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526109469190810190613b67565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0254600160a01b900460ff1690565b5f610eae3361121b565b610ecd5760405163637c41bb60e01b81523360048201526024016106ac565b610ed633610681565b5f610ee033611481565b9050610ef0818888888888612077565b979650505050505050565b5f610f046110ea565b6001600160a01b0316336001600160a01b031614610f375760405163086391f760e31b81523360048201526024016106ac565b610f4033610681565b610f4b84848461212d565b90505b9392505050565b5f805160206140d3833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610f93610f55565b846040518363ffffffff1660e01b8152600401610fb1929190613c37565b602060405180830381865af4158015610fcc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109bc9190613c58565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611040573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109599190613c73565b3361106d611570565b6001600160a01b0316816001600160a01b0316146110a85760405162d1953b60e31b81526001600160a01b03821660048201526024016106ac565b816001600160a01b03163b5f036110dd576040516361798f2f60e11b81526001600160a01b03831660048201526024016106ac565b6110e6826122f1565b5050565b5f805f805160206140d383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611156573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061117a9190613a5f565b15611205576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156111db573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111ff9190613c8e565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206141138339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af41580156112bc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f4e9190613a5f565b5f805160206140f383398151915280545f9190600160a01b900460ff16611307575f6111ff565b638fb3603760e01b91505090565b61131d613309565b6113256109d6565b1561133257610959612351565b6109596114c3565b6113426110ea565b6001600160a01b0316336001600160a01b0316146113755760405163086391f760e31b81523360048201526024016106ac565b61137f600a612518565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b1580156113c0575f80fd5b505af11580156113d2573d5f803e3d5ffd5b50505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa15801561141f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114439190613c8e565b6001600160a01b0316336001600160a01b0316146114755760405162f0630960e01b81523360048201526024016106ac565b6113d284848484612619565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b6114cb613309565b610959612351565b6114db6110ea565b6001600160a01b0316336001600160a01b03161461150e5760405163086391f760e31b81523360048201526024016106ac565b61151733610681565b6110e682826127c2565b6115296110ea565b6001600160a01b0316336001600160a01b03161461155c5760405163086391f760e31b81523360048201526024016106ac565b61156d6115676109c4565b82610b93565b50565b5f805160206140f3833981519152546001600160a01b031690565b5f6115968282613ca9565b90505b92915050565b6115a76110ea565b6001600160a01b0316336001600160a01b0316146115da5760405163086391f760e31b81523360048201526024016106ac565b5f6115e361093d565b90505f6115ee6109c4565b6040516370a0823160e01b81526001600160a01b03848116600483015291909116906370a0823190602401602060405180830381865afa158015611634573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116589190613ad8565b905061166383612829565b801561181557604080516001600160a01b038085168252851660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a1306001600160a01b038316036117c4576116cc610dde565b6001600160a01b03166354f0d84c838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b815260040161171591815260200190565b602060405180830381865af4158015611730573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117549190613a85565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526001600160601b031660448201526064015f604051808303815f87803b1580156117a9575f80fd5b505af11580156117bb573d5f803e3d5ffd5b50505050505050565b6117cc610dde565b6001600160a01b031663c7d63d57838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b815260040161171591815260200190565b505050565b5f805f61182684610f70565b90506118597fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa1580156118a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118ca9190613ccc565b9250925050915091565b6110e633610681565b6118e56110ea565b6001600160a01b0316336001600160a01b0316146119185760405163086391f760e31b81523360048201526024016106ac565b611922600a612518565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e906024016113a9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156119955750825b90505f826001600160401b031660011480156119b05750303b155b9050811580156119be575080155b156119dc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611a0657845460ff60401b1916600160401b1785555b611a148b8b8b8b8b8b6128c2565b8315611a5a57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b5f805160206140f38339815191525f80611a9f611a82611570565b8730611a9160045f8a8c613cf0565b611a9a91613d17565b6128e7565b9150915081611b5d5763ffffffff811615611b3a57825460ff60a01b1916600160a01b178355611acd611570565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611afc93929190613d4f565b5f604051808303815f87803b158015611b13575f80fd5b505af1158015611b25573d5f803e3d5ffd5b5050845460ff60a01b1916855550611b5d9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106ac565b505050505050565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015611bc7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611beb9190613a5f565b6110e65760405163d711af7560e01b81526001600160601b038316600482015260ff821660248201526044016106ac565b5f5f80516020614113833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611c84573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115969190613a85565b5f805f805160206140d383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611d14573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d389190613a5f565b15611d645780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016106ac565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611db6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dda9190613a5f565b611e025760405163b9304b0d60e01b81526001600160a01b03841660048201526024016106ac565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611e54573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e789190613a85565b81546001600160601b0319166001600160601b039190911690811790915592915050565b5f5f80516020614133833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af1158015611efc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109bc9190613a85565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051632b5198b160e01b81525f915f80516020614113833981519152916001600160a01b0390911690632b5198b190611f90908e908e908e908e908e908e908e908e908e90600401613d8e565b6020604051808303815f875af1158015611fac573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fd09190613c58565b9b9a5050505050505050505050565b5f5f80516020614113833981519152610b8c565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015612053573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115969190613a5f565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f80516020614113833981519152916001600160a01b0390911690638dd2b781906120e1908b908b908b908b908b908b90600401613dff565b6020604051808303815f875af11580156120fd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121219190613c58565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206141138339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af41580156121ce573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121f29190613a5f565b1561223d576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b031660248201526044016106ac565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae9061227390889088908890600401613e5e565b6020604051808303815f875af115801561228f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122b39190613a85565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f805160206140f383398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612359613309565b5f61236c6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156123b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123d49190613a85565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561242d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124519190613a5f565b15612510577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c361248e610f55565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa1580156124cf573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526124f69190810190613e91565b60608101519092506001600160a01b031615612510575090565b6111ff6129ef565b5f805f8051602061413383398151915254604080516376b707b760e01b815290516001600160a01b03909216916376b707b7916004808201926020929091908290030181865afa15801561256e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125929190613c73565b90506125a66001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa1580156125f5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f4e9190613c8e565b604080516001600160a01b038086168252831660208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f80516020614113833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156126b4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126d89190613a85565b6001600160a01b0386165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810184905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af415801561275e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127829190613a85565b6001600160a01b03949094165f9081526002919091016020526040902080546001600160601b0319166001600160601b0390941693909317909255505050565b5f8051602061411383398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee906128009085908590600401613f6b565b5f604051808303815f87803b158015612817575f80fd5b505af1158015611b5d573d5f803e3d5ffd5b6128316110ea565b6001600160a01b0316336001600160a01b0316146128645760405163086391f760e31b81523360048201526024016106ac565b61286e600b612518565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df906024015f604051808303815f87803b1580156128b0575f80fd5b505af1158015610b8c573d5f803e3d5ffd5b6128ca612aee565b611b5d86868686868660405180602001604052805f815250612b39565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516129559190613f91565b5f60405180830381855afa9150503d805f811461298d576040519150601f19603f3d011682016040523d82523d5f602084013e612992565b606091505b509150915081156129e45760408151106129c457808060200190518101906129ba9190613fa7565b90945092506129e4565b60208151106129e457808060200190518101906129e19190613a5f565b93505b505094509492505050565b6129f7613309565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060a00160405280825f018054612a3490613aa0565b80601f0160208091040260200160405190810160405280929190818152602001828054612a6090613aa0565b8015612aab5780601f10612a8257610100808354040283529160200191612aab565b820191905f5260205f20905b815481529060010190602001808311612a8e57829003601f168201915b505050918352505060018301546001600160a01b0390811660208301525f604083015260028401541660608201526003830180546080909201916108b890613aa0565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16612b3757604051631afcd79f60e31b815260040160405180910390fd5b565b612b41612aee565b612b5487878585600e8a60018b89612bcd565b5f80516020614113833981519152612b6c600e612518565b6001820180546001600160a01b0319166001600160a01b0392909216919091179055612b98600b612518565b81546001600160a01b0319166001600160a01b0391909116178155612bc36301a39f4760e01b612de4565b5050505050505050565b612bd5612aee565b5f612be18a8a88612e10565b90505f5f8051602061413383398151915260405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038c169063bf8e179790602401602060405180830381865afa158015612c40573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c649190613c8e565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b81529051612cfe929163bf7e214f9160048083019260209291908290030181865afa158015612cbe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ce29190613c8e565b8c8c8c8c8c8b8b60405180602001604052805f8152508c612ebf565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa158015612d45573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d699190613c8e565b6001820180546001600160a01b03199081166001600160a01b0393841617909155600283018054909116918816919091179055612da6600b612518565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055612dd8634a531f3360e01b612de4565b611a5a6307bb0a0360e51b5b612dec612aee565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f60ff8216600c03612e3157612e288484600a612fc4565b50829050610f4e565b5f612e3e8585600c612fc4565b6040516305247a1760e51b81526001600160601b03861660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa158015612e8b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612eb29190810190613b67565b6020015195945050505050565b612ec7612aee565b6001600160a01b038616612eee576040516327eab2e360e11b815260040160405180910390fd5b86515f03612f0f5760405163591eebf360e11b815260040160405180910390fd5b612f1d898987878787613089565b612f268a613124565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0080612f528982614018565b506001810180546001600160a01b0319166001600160a01b0389161790556002810180546001600160a81b0319163060ff60a01b191617600160a01b8715150217905560038101612fa38382614018565b50612fb4634a531f3360e01b612de4565b611a5a632986755f60e11b612de4565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa158015613012573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526130399190810190613b67565b905061305081604001518460ff9081169116141590565b1561308157604080820151905163b0c1f6eb60e01b815260ff808616600483015290911660248201526044016106ac565b509392505050565b613091612aee565b61309b8683613135565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301612bc38382614018565b61312c612aee565b61156d816131ab565b61313d612aee565b613146826131bc565b61314e6132c4565b6001600160a01b0381166131755760405163f17ef42d60e01b815260040160405180910390fd5b5f805160206140d383398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6131b3612aee565b61156d816122f1565b6131c4612aee565b806001600160a01b03163b5f036131f95760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106ac565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526325713e4b60e21b60048201526301ffc9a790602401602060405180830381865afa925050508015613273575060408051601f3d908101601f1916820190925261327091810190613a5f565b60015b61329b5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106ac565b806110e65760405163fdeac91f60e01b81526001600160a01b03831660048201526024016106ac565b6132cc612aee565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040518060a00160405280606081526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215613360575f80fd5b81356001600160e01b031981168114610f4e575f80fd5b6001600160601b038116811461156d575f80fd5b5f806040838503121561339c575f80fd5b82356133a781613377565b915060208301356133b781613377565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151613438608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261347c6101008401826133c2565b949350505050565b602081525f61159660208301846133c2565b5f602082840312156134a6575f80fd5b8135610f4e81613377565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156134e7576134e76134b1565b60405290565b60405160a081016001600160401b03811182821017156134e7576134e76134b1565b604051601f8201601f191681016001600160401b0381118282101715613537576135376134b1565b604052919050565b5f6001600160401b03821115613557576135576134b1565b50601f01601f191660200190565b5f82601f830112613574575f80fd5b8135602083015f61358c6135878461353f565b61350f565b905082815285838301111561359f575f80fd5b828260208301375f92810160200192909252509392505050565b63ffffffff8116811461156d575f80fd5b80356109bf816135b9565b801515811461156d575f80fd5b80356109bf816135d5565b5f805f805f805f805f6101208a8c031215613606575f80fd5b89356001600160401b0381111561361b575f80fd5b6136278c828d01613565565b99505060208a0135975060408a0135965060608a0135955060808a013561364d816135b9565b945061365b60a08b016135ca565b935061366960c08b016135e2565b925061367760e08b016135e2565b91506101008a01356001600160401b03811115613692575f80fd5b61369e8c828d01613565565b9150509295985092959850929598565b6001600160c01b03198116811461156d575f80fd5b5f805f606084860312156136d5575f80fd5b83356136e081613377565b925060208401356136f0816136ae565b915060408401356001600160401b0381111561370a575f80fd5b61371686828701613565565b9150509250925092565b6001600160a01b038116811461156d575f80fd5b5f8060408385031215613745575f80fd5b82356133a781613720565b5f805f805f60a08688031215613764575f80fd5b85356001600160401b03811115613779575f80fd5b61378588828901613565565b95505060208601359350604086013561379d816135b9565b9250606086013564ffffffffff811681146137b6575f80fd5b915060808601356001600160401b038111156137d0575f80fd5b6137dc88828901613565565b9150509295509295909350565b5f805f606084860312156137fb575f80fd5b83356136e081613720565b5f60208284031215613816575f80fd5b81356001600160401b0381111561382b575f80fd5b61347c84828501613565565b5f60208284031215613847575f80fd5b8135610f4e81613720565b602081525f825160a0602084015261386d60c08401826133c2565b60208501516001600160a01b03908116604086810191909152860151811660608087019190915286015116608080860191909152850151848203601f190160a08601529091506138bd82826133c2565b95945050505050565b5f805f80608085870312156138d9575f80fd5b84356138e481613720565b935060208501356138f481613720565b925060408501359150606085013561390b81613720565b939692955090935050565b5f60408284031215613926575f80fd5b604080519081016001600160401b0381118282101715613948576139486134b1565b604052823581526020928301359281019290925250919050565b5f8060808385031215613973575f80fd5b61397d8484613916565b915061398c8460408501613916565b90509250929050565b5f80604083850312156139a6575f80fd5b82356139b1816136ae565b946020939093013593505050565b5f805f805f8060c087890312156139d4575f80fd5b86356139df81613720565b955060208701356139ef81613377565b945060408701356139ff81613720565b93506060870135613a0f81613720565b925060808701356001600160401b03811115613a29575f80fd5b613a3589828a01613565565b92505060a0870135613a4681613720565b809150509295509295509295565b80516109bf816135d5565b5f60208284031215613a6f575f80fd5b8151610f4e816135d5565b80516109bf81613377565b5f60208284031215613a95575f80fd5b8151610f4e81613377565b600181811c90821680613ab457607f821691505b602082108103613ad257634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215613ae8575f80fd5b5051919050565b60ff8116811461156d575f80fd5b80516109bf81613aef565b80516109bf81613720565b5f613b206135878461353f565b9050828152838383011115613b33575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112613b58575f80fd5b61159683835160208501613b13565b5f60208284031215613b77575f80fd5b81516001600160401b03811115613b8c575f80fd5b820160e08185031215613b9d575f80fd5b613ba56134c5565b613bae82613a7a565b8152613bbc60208301613a7a565b6020820152613bcd60408301613afd565b6040820152613bde60608301613a54565b6060820152613bef60808301613b08565b6080820152613c0060a08301613b08565b60a082015260c08201516001600160401b03811115613c1d575f80fd5b613c2986828501613b49565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610f4b60408301846133c2565b5f60208284031215613c68575f80fd5b8151610f4e816136ae565b5f60208284031215613c83575f80fd5b8151610f4e81613aef565b5f60208284031215613c9e575f80fd5b8151610f4e81613720565b808202811582820484141761159957634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215613cdd575f80fd5b825160208401519092506133b781613aef565b5f8085851115613cfe575f80fd5b83861115613d0a575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015613d48576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f613da261012083018c6133c2565b8a602084015289604084015288606084015263ffffffff8816608084015263ffffffff871660a084015285151560c084015284151560e0840152828103610100840152613def81856133c2565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f613e2060c08301886133c2565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a0840152613e5181856133c2565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f906138bd908301846133c2565b5f60208284031215613ea1575f80fd5b81516001600160401b03811115613eb6575f80fd5b820160a08185031215613ec7575f80fd5b613ecf6134ed565b81516001600160401b03811115613ee4575f80fd5b8201601f81018613613ef4575f80fd5b613f0386825160208401613b13565b825250613f1260208301613b08565b6020820152613f2360408301613b08565b6040820152613f3460608301613b08565b606082015260808201516001600160401b03811115613f51575f80fd5b613f5d86828501613b49565b608083015250949350505050565b825181526020808401518183015282516040830152820151606082015260808101610f4e565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613fb8575f80fd5b8251613fc3816135d5565b60208401519092506133b7816135b9565b601f82111561181557805f5260205f20601f840160051c81016020851015613ff95750805b601f840160051c820191505b81811015610b8c575f8155600101614005565b81516001600160401b03811115614031576140316134b1565b6140458161403f8454613aa0565b84613fd4565b6020601f821160018114614077575f83156140605750848201515b5f19600385901b1c1916600184901b178455610b8c565b5f84815260208120601f198516915b828110156140a65787850151825560209485019460019092019101614086565b50848210156140c357868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a2646970667358221220a13c2918016c122998f34ce56b0033da4a5d1668aafd8e61f82081d4913c87ab64736f6c634300081a0033",
1306
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061028c575f3560e01c80637a9e5e4b11610161578063b6b412ba116100ca578063e145d46c11610084578063e145d46c146105e8578063ea15869f14610612578063f5860e1a14610639578063f80e20721461064d578063f83d08ba14610660578063f86664d214610668575f80fd5b8063b6b412ba14610577578063bae99c991461058a578063bf7e214f1461059d578063d16d0fe8146105a5578063de7b5d14146105b8578063deaa59df146105d5575f80fd5b806390edbd351161011b57806390edbd3514610518578063a69df4b51461052d578063ad12ad6014610535578063ada9652e14610548578063b2a6b42d1461055c578063b423086c1461056f575f80fd5b80637a9e5e4b146104ba57806387ef9ba0146104cd5780638899278a146104d4578063893d20e8146104dc5780638f0c86fa146104e45780638fb36037146104f7575f80fd5b80632eb3e6f4116102035780635ab1bd53116101bd5780635ab1bd53146104315780635dcb3bae14610442578063644c45e0146104555780636bd1c0eb1461045d5780637427d7a81461048d57806376b707b7146104a0575f80fd5b80632eb3e6f4146103d25780633d683fd9146103e6578063419197fe146103fb57806343d752d31461040e5780635741e5e91461041657806359660bea1461041e575f80fd5b806317d7de7c1161025457806317d7de7c146103395780631c6b21901461034e5780631eff4b221461036157806321df0da714610396578063223668441461039e5780632b5198b1146103a6575f80fd5b806301ffc9a71461029057806307e71a6e146102d15780630fec111c146102fc5780631329960414610311578063138461e014610331575b5f80fd5b6102bc61029e366004613350565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102e46102df36600461338b565b61067b565b6040516001600160601b0390911681526020016102c8565b61030461077f565b6040516102c891906133f0565b61031961093d565b6040516001600160a01b0390911681526020016102c8565b6102e461094f565b61034161095e565b6040516102c89190613484565b6102e461035c366004613496565b61096e565b6103887f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016102c8565b6103196109c4565b6102bc6109d6565b6103b96103b43660046135ed565b610acc565b6040516001600160c01b031990911681526020016102c8565b6103885f8051602061413383398151915281565b6103f96103f43660046136c3565b610b30565b005b6103f9610409366004613734565b610b93565b610319610dde565b6102bc610df0565b6103b961042c366004613750565b610ea4565b6001546001600160a01b0316610319565b6102e46104503660046137e9565b610efb565b6102e4610f55565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b0316610319565b6103b961049b366004613806565b610f70565b6104a8610ff0565b60405160ff90911681526020016102c8565b6103f96104c8366004613837565b611064565b60016102bc565b610388600381565b6103196110ea565b6102bc6104f2366004613837565b61121b565b6104ff6112e0565b6040516001600160e01b031990911681526020016102c8565b610520611315565b6040516102c89190613852565b6103f961133a565b6103f96105433660046138c6565b6113d8565b6103885f805160206140d383398151915281565b6102e461056a366004613837565b611481565b6105206114c3565b6103f9610585366004613962565b6114d3565b6103f9610598366004613496565b611521565b610319611570565b6103886105b3366004613995565b61158b565b5f80516020614133833981519152546001600160a01b0316610319565b6103f96105e3366004613837565b61159f565b6105fb6105f6366004613806565b61181a565b6040805192835260ff9091166020830152016102c8565b6103887fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b6103885f8051602061411383398151915281565b6103f961065b366004613995565b6118d4565b6103f96118dd565b6103f96106763660046139bf565b611951565b5f610688335b5f36611a67565b6106913361121b565b6106b55760405163637c41bb60e01b81523360048201526024015b60405180910390fd5b82601d6106c28282611b65565b846106d56001546001600160a01b031690565b604051631660755f60e31b81526001600160601b03831660048201523360248201526001600160a01b03919091169063b303aaf890604401602060405180830381865afa158015610728573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074c9190613a5f565b61076b5760405163086391f760e31b81523360048201526024016106ac565b6107758686611c1c565b9695505050505050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561082f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108539190613a85565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161089b6110ea565b6001600160a01b031681526020018260010180546108b890613aa0565b80601f01602080910402602001604051908101604052809291908181526020018280546108e490613aa0565b801561092f5780601f106109065761010080835404028352916020019161092f565b820191905f5260205f20905b81548152906001019060200180831161091257829003601f168201915b505050505081525091505090565b5f610946611315565b60600151905090565b5f61095930611ca8565b905090565b6060610968611315565b51919050565b5f6109776110ea565b6001600160a01b0316336001600160a01b0316146109aa5760405163086391f760e31b81523360048201526024016106ac565b6109b333610681565b6109bc82611e9c565b90505b919050565b5f6109cd611315565b60200151905090565b5f6109e96001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610a2d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a519190613a85565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610aa8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109599190613a5f565b5f610ad56110ea565b6001600160a01b0316336001600160a01b031614610b085760405163086391f760e31b81523360048201526024016106ac565b610b1133610681565b610b228a8a8a8a8a8a8a8a8a611f20565b9a9950505050505050505050565b610b386110ea565b6001600160a01b0316336001600160a01b031614610b6b5760405163086391f760e31b81523360048201526024016106ac565b82601d610b788282611b65565b610b8133610681565b610b8c858585611fdf565b5050505050565b610b9b6110ea565b6001600160a01b0316336001600160a01b031614610bce5760405163086391f760e31b81523360048201526024016106ac565b30610bd761093d565b6001600160a01b031614610bfe5760405163b6d7537f60e01b815260040160405180910390fd5b60405163046e44af60e11b81526001600160601b03821660048201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610c56573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c7a9190613ad8565b90505f610cf18373__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015610cc8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cec9190613a85565b611ff3565b15610cfe57505f19905060015b7f99d7b1d3869e469ab19cd2c6e66718a63bca93dc1a2d27d375cb4bebbf5348ce610d27610dde565b604080516001600160a01b0390921682526001600160601b03861660208301528315159082015260600160405180910390a1836001600160a01b031663095ea7b3610d70610dde565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018590526044016020604051808303815f875af1158015610dba573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b8c9190613a5f565b5f610de7611315565b60400151905090565b5f610df96109d6565b15610e74576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610e4d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526109469190810190613b67565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0254600160a01b900460ff1690565b5f610eae3361121b565b610ecd5760405163637c41bb60e01b81523360048201526024016106ac565b610ed633610681565b5f610ee033611481565b9050610ef0818888888888612077565b979650505050505050565b5f610f046110ea565b6001600160a01b0316336001600160a01b031614610f375760405163086391f760e31b81523360048201526024016106ac565b610f4033610681565b610f4b84848461212d565b90505b9392505050565b5f805160206140d3833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610f93610f55565b846040518363ffffffff1660e01b8152600401610fb1929190613c37565b602060405180830381865af4158015610fcc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109bc9190613c58565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611040573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109599190613c73565b3361106d611570565b6001600160a01b0316816001600160a01b0316146110a85760405162d1953b60e31b81526001600160a01b03821660048201526024016106ac565b816001600160a01b03163b5f036110dd576040516361798f2f60e11b81526001600160a01b03831660048201526024016106ac565b6110e6826122f1565b5050565b5f805f805160206140d383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611156573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061117a9190613a5f565b15611205576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156111db573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111ff9190613c8e565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206141138339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af41580156112bc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f4e9190613a5f565b5f805160206140f383398151915280545f9190600160a01b900460ff16611307575f6111ff565b638fb3603760e01b91505090565b61131d613309565b6113256109d6565b1561133257610959612351565b6109596114c3565b6113426110ea565b6001600160a01b0316336001600160a01b0316146113755760405163086391f760e31b81523360048201526024016106ac565b61137f600a612518565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b1580156113c0575f80fd5b505af11580156113d2573d5f803e3d5ffd5b50505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa15801561141f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114439190613c8e565b6001600160a01b0316336001600160a01b0316146114755760405162f0630960e01b81523360048201526024016106ac565b6113d284848484612619565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b6114cb613309565b610959612351565b6114db6110ea565b6001600160a01b0316336001600160a01b03161461150e5760405163086391f760e31b81523360048201526024016106ac565b61151733610681565b6110e682826127c2565b6115296110ea565b6001600160a01b0316336001600160a01b03161461155c5760405163086391f760e31b81523360048201526024016106ac565b61156d6115676109c4565b82610b93565b50565b5f805160206140f3833981519152546001600160a01b031690565b5f6115968282613ca9565b90505b92915050565b6115a76110ea565b6001600160a01b0316336001600160a01b0316146115da5760405163086391f760e31b81523360048201526024016106ac565b5f6115e361093d565b90505f6115ee6109c4565b6040516370a0823160e01b81526001600160a01b03848116600483015291909116906370a0823190602401602060405180830381865afa158015611634573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116589190613ad8565b905061166383612829565b801561181557604080516001600160a01b038085168252851660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a1306001600160a01b038316036117c4576116cc610dde565b6001600160a01b03166354f0d84c838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b815260040161171591815260200190565b602060405180830381865af4158015611730573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117549190613a85565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526001600160601b031660448201526064015f604051808303815f87803b1580156117a9575f80fd5b505af11580156117bb573d5f803e3d5ffd5b50505050505050565b6117cc610dde565b6001600160a01b031663c7d63d57838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b815260040161171591815260200190565b505050565b5f805f61182684610f70565b90506118597fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa1580156118a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118ca9190613ccc565b9250925050915091565b6110e633610681565b6118e56110ea565b6001600160a01b0316336001600160a01b0316146119185760405163086391f760e31b81523360048201526024016106ac565b611922600a612518565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e906024016113a9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156119955750825b90505f826001600160401b031660011480156119b05750303b155b9050811580156119be575080155b156119dc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611a0657845460ff60401b1916600160401b1785555b611a148b8b8b8b8b8b6128c2565b8315611a5a57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b5f805160206140f38339815191525f80611a9f611a82611570565b8730611a9160045f8a8c613cf0565b611a9a91613d17565b6128e7565b9150915081611b5d5763ffffffff811615611b3a57825460ff60a01b1916600160a01b178355611acd611570565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611afc93929190613d4f565b5f604051808303815f87803b158015611b13575f80fd5b505af1158015611b25573d5f803e3d5ffd5b5050845460ff60a01b1916855550611b5d9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106ac565b505050505050565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015611bc7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611beb9190613a5f565b6110e65760405163d711af7560e01b81526001600160601b038316600482015260ff821660248201526044016106ac565b5f5f80516020614113833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611c84573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115969190613a85565b5f805f805160206140d383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611d14573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d389190613a5f565b15611d645780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016106ac565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611db6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dda9190613a5f565b611e025760405163b9304b0d60e01b81526001600160a01b03841660048201526024016106ac565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611e54573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e789190613a85565b81546001600160601b0319166001600160601b039190911690811790915592915050565b5f5f80516020614133833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af1158015611efc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109bc9190613a85565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051632b5198b160e01b81525f915f80516020614113833981519152916001600160a01b0390911690632b5198b190611f90908e908e908e908e908e908e908e908e908e90600401613d8e565b6020604051808303815f875af1158015611fac573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fd09190613c58565b9b9a5050505050505050505050565b5f5f80516020614113833981519152610b8c565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015612053573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115969190613a5f565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f80516020614113833981519152916001600160a01b0390911690638dd2b781906120e1908b908b908b908b908b908b90600401613dff565b6020604051808303815f875af11580156120fd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121219190613c58565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206141138339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af41580156121ce573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121f29190613a5f565b1561223d576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b031660248201526044016106ac565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae9061227390889088908890600401613e5e565b6020604051808303815f875af115801561228f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122b39190613a85565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f805160206140f383398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612359613309565b5f61236c6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156123b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123d49190613a85565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561242d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124519190613a5f565b15612510577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c361248e610f55565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa1580156124cf573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526124f69190810190613e91565b60608101519092506001600160a01b031615612510575090565b6111ff6129ef565b5f805f8051602061413383398151915254604080516376b707b760e01b815290516001600160a01b03909216916376b707b7916004808201926020929091908290030181865afa15801561256e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125929190613c73565b90506125a66001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa1580156125f5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f4e9190613c8e565b604080516001600160a01b038086168252831660208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f80516020614113833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156126b4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126d89190613a85565b6001600160a01b0386165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810184905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af415801561275e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127829190613a85565b6001600160a01b03949094165f9081526002919091016020526040902080546001600160601b0319166001600160601b0390941693909317909255505050565b5f8051602061411383398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee906128009085908590600401613f6b565b5f604051808303815f87803b158015612817575f80fd5b505af1158015611b5d573d5f803e3d5ffd5b6128316110ea565b6001600160a01b0316336001600160a01b0316146128645760405163086391f760e31b81523360048201526024016106ac565b61286e600b612518565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df906024015f604051808303815f87803b1580156128b0575f80fd5b505af1158015610b8c573d5f803e3d5ffd5b6128ca612aee565b611b5d86868686868660405180602001604052805f815250612b39565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516129559190613f91565b5f60405180830381855afa9150503d805f811461298d576040519150601f19603f3d011682016040523d82523d5f602084013e612992565b606091505b509150915081156129e45760408151106129c457808060200190518101906129ba9190613fa7565b90945092506129e4565b60208151106129e457808060200190518101906129e19190613a5f565b93505b505094509492505050565b6129f7613309565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060a00160405280825f018054612a3490613aa0565b80601f0160208091040260200160405190810160405280929190818152602001828054612a6090613aa0565b8015612aab5780601f10612a8257610100808354040283529160200191612aab565b820191905f5260205f20905b815481529060010190602001808311612a8e57829003601f168201915b505050918352505060018301546001600160a01b0390811660208301525f604083015260028401541660608201526003830180546080909201916108b890613aa0565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16612b3757604051631afcd79f60e31b815260040160405180910390fd5b565b612b41612aee565b612b5487878585600e8a60018b89612bcd565b5f80516020614113833981519152612b6c600e612518565b6001820180546001600160a01b0319166001600160a01b0392909216919091179055612b98600b612518565b81546001600160a01b0319166001600160a01b0391909116178155612bc36301a39f4760e01b612de4565b5050505050505050565b612bd5612aee565b5f612be18a8a88612e10565b90505f5f8051602061413383398151915260405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038c169063bf8e179790602401602060405180830381865afa158015612c40573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c649190613c8e565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b81529051612cfe929163bf7e214f9160048083019260209291908290030181865afa158015612cbe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ce29190613c8e565b8c8c8c8c8c8b8b60405180602001604052805f8152508c612ebf565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa158015612d45573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d699190613c8e565b6001820180546001600160a01b03199081166001600160a01b0393841617909155600283018054909116918816919091179055612da6600b612518565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055612dd8634a531f3360e01b612de4565b611a5a6307bb0a0360e51b5b612dec612aee565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f60ff8216600c03612e3157612e288484600a612fc4565b50829050610f4e565b5f612e3e8585600c612fc4565b6040516305247a1760e51b81526001600160601b03861660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa158015612e8b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612eb29190810190613b67565b6020015195945050505050565b612ec7612aee565b6001600160a01b038616612eee576040516327eab2e360e11b815260040160405180910390fd5b86515f03612f0f5760405163591eebf360e11b815260040160405180910390fd5b612f1d898987878787613089565b612f268a613124565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0080612f528982614018565b506001810180546001600160a01b0319166001600160a01b0389161790556002810180546001600160a81b0319163060ff60a01b191617600160a01b8715150217905560038101612fa38382614018565b50612fb4634a531f3360e01b612de4565b611a5a632986755f60e11b612de4565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa158015613012573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526130399190810190613b67565b905061305081604001518460ff9081169116141590565b1561308157604080820151905163b0c1f6eb60e01b815260ff808616600483015290911660248201526044016106ac565b509392505050565b613091612aee565b61309b8683613135565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301612bc38382614018565b61312c612aee565b61156d816131ab565b61313d612aee565b613146826131bc565b61314e6132c4565b6001600160a01b0381166131755760405163f17ef42d60e01b815260040160405180910390fd5b5f805160206140d383398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6131b3612aee565b61156d816122f1565b6131c4612aee565b806001600160a01b03163b5f036131f95760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106ac565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526325713e4b60e21b60048201526301ffc9a790602401602060405180830381865afa925050508015613273575060408051601f3d908101601f1916820190925261327091810190613a5f565b60015b61329b5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106ac565b806110e65760405163fdeac91f60e01b81526001600160a01b03831660048201526024016106ac565b6132cc612aee565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040518060a00160405280606081526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215613360575f80fd5b81356001600160e01b031981168114610f4e575f80fd5b6001600160601b038116811461156d575f80fd5b5f806040838503121561339c575f80fd5b82356133a781613377565b915060208301356133b781613377565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151613438608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261347c6101008401826133c2565b949350505050565b602081525f61159660208301846133c2565b5f602082840312156134a6575f80fd5b8135610f4e81613377565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156134e7576134e76134b1565b60405290565b60405160a081016001600160401b03811182821017156134e7576134e76134b1565b604051601f8201601f191681016001600160401b0381118282101715613537576135376134b1565b604052919050565b5f6001600160401b03821115613557576135576134b1565b50601f01601f191660200190565b5f82601f830112613574575f80fd5b8135602083015f61358c6135878461353f565b61350f565b905082815285838301111561359f575f80fd5b828260208301375f92810160200192909252509392505050565b63ffffffff8116811461156d575f80fd5b80356109bf816135b9565b801515811461156d575f80fd5b80356109bf816135d5565b5f805f805f805f805f6101208a8c031215613606575f80fd5b89356001600160401b0381111561361b575f80fd5b6136278c828d01613565565b99505060208a0135975060408a0135965060608a0135955060808a013561364d816135b9565b945061365b60a08b016135ca565b935061366960c08b016135e2565b925061367760e08b016135e2565b91506101008a01356001600160401b03811115613692575f80fd5b61369e8c828d01613565565b9150509295985092959850929598565b6001600160c01b03198116811461156d575f80fd5b5f805f606084860312156136d5575f80fd5b83356136e081613377565b925060208401356136f0816136ae565b915060408401356001600160401b0381111561370a575f80fd5b61371686828701613565565b9150509250925092565b6001600160a01b038116811461156d575f80fd5b5f8060408385031215613745575f80fd5b82356133a781613720565b5f805f805f60a08688031215613764575f80fd5b85356001600160401b03811115613779575f80fd5b61378588828901613565565b95505060208601359350604086013561379d816135b9565b9250606086013564ffffffffff811681146137b6575f80fd5b915060808601356001600160401b038111156137d0575f80fd5b6137dc88828901613565565b9150509295509295909350565b5f805f606084860312156137fb575f80fd5b83356136e081613720565b5f60208284031215613816575f80fd5b81356001600160401b0381111561382b575f80fd5b61347c84828501613565565b5f60208284031215613847575f80fd5b8135610f4e81613720565b602081525f825160a0602084015261386d60c08401826133c2565b60208501516001600160a01b03908116604086810191909152860151811660608087019190915286015116608080860191909152850151848203601f190160a08601529091506138bd82826133c2565b95945050505050565b5f805f80608085870312156138d9575f80fd5b84356138e481613720565b935060208501356138f481613720565b925060408501359150606085013561390b81613720565b939692955090935050565b5f60408284031215613926575f80fd5b604080519081016001600160401b0381118282101715613948576139486134b1565b604052823581526020928301359281019290925250919050565b5f8060808385031215613973575f80fd5b61397d8484613916565b915061398c8460408501613916565b90509250929050565b5f80604083850312156139a6575f80fd5b82356139b1816136ae565b946020939093013593505050565b5f805f805f8060c087890312156139d4575f80fd5b86356139df81613720565b955060208701356139ef81613377565b945060408701356139ff81613720565b93506060870135613a0f81613720565b925060808701356001600160401b03811115613a29575f80fd5b613a3589828a01613565565b92505060a0870135613a4681613720565b809150509295509295509295565b80516109bf816135d5565b5f60208284031215613a6f575f80fd5b8151610f4e816135d5565b80516109bf81613377565b5f60208284031215613a95575f80fd5b8151610f4e81613377565b600181811c90821680613ab457607f821691505b602082108103613ad257634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215613ae8575f80fd5b5051919050565b60ff8116811461156d575f80fd5b80516109bf81613aef565b80516109bf81613720565b5f613b206135878461353f565b9050828152838383011115613b33575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112613b58575f80fd5b61159683835160208501613b13565b5f60208284031215613b77575f80fd5b81516001600160401b03811115613b8c575f80fd5b820160e08185031215613b9d575f80fd5b613ba56134c5565b613bae82613a7a565b8152613bbc60208301613a7a565b6020820152613bcd60408301613afd565b6040820152613bde60608301613a54565b6060820152613bef60808301613b08565b6080820152613c0060a08301613b08565b60a082015260c08201516001600160401b03811115613c1d575f80fd5b613c2986828501613b49565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610f4b60408301846133c2565b5f60208284031215613c68575f80fd5b8151610f4e816136ae565b5f60208284031215613c83575f80fd5b8151610f4e81613aef565b5f60208284031215613c9e575f80fd5b8151610f4e81613720565b808202811582820484141761159957634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215613cdd575f80fd5b825160208401519092506133b781613aef565b5f8085851115613cfe575f80fd5b83861115613d0a575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015613d48576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f613da261012083018c6133c2565b8a602084015289604084015288606084015263ffffffff8816608084015263ffffffff871660a084015285151560c084015284151560e0840152828103610100840152613def81856133c2565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f613e2060c08301886133c2565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a0840152613e5181856133c2565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f906138bd908301846133c2565b5f60208284031215613ea1575f80fd5b81516001600160401b03811115613eb6575f80fd5b820160a08185031215613ec7575f80fd5b613ecf6134ed565b81516001600160401b03811115613ee4575f80fd5b8201601f81018613613ef4575f80fd5b613f0386825160208401613b13565b825250613f1260208301613b08565b6020820152613f2360408301613b08565b6040820152613f3460608301613b08565b606082015260808201516001600160401b03811115613f51575f80fd5b613f5d86828501613b49565b608083015250949350505050565b825181526020808401518183015282516040830152820151606082015260808101610f4e565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613fb8575f80fd5b8251613fc3816135d5565b60208401519092506133b7816135b9565b601f82111561181557805f5260205f20601f840160051c81016020851015613ff95750805b601f840160051c820191505b81811015610b8c575f8155600101614005565b81516001600160401b03811115614031576140316134b1565b6140458161403f8454613aa0565b84613fd4565b6020601f821160018114614077575f83156140605750848201515b5f19600385901b1c1916600184901b178455610b8c565b5f84815260208120601f198516915b828110156140a65787850151825560209485019460019092019101614086565b50848210156140c357868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a2646970667358221220a13c2918016c122998f34ce56b0033da4a5d1668aafd8e61f82081d4913c87ab64736f6c634300081a0033",
1307
+ "linkReferences": {
1308
+ "contracts/type/Amount.sol": {
1309
+ "AmountLib": [
1310
+ {
1311
+ "length": 20,
1312
+ "start": 7166
1313
+ },
1314
+ {
1315
+ "length": 20,
1316
+ "start": 7267
1317
+ },
1318
+ {
1319
+ "length": 20,
1320
+ "start": 9918
1321
+ },
1322
+ {
1323
+ "length": 20,
1324
+ "start": 10174
1325
+ },
1326
+ {
1327
+ "length": 20,
1328
+ "start": 12283
1329
+ }
1330
+ ]
1331
+ },
1332
+ "contracts/type/NftId.sol": {
1333
+ "NftIdLib": [
1334
+ {
1335
+ "length": 20,
1336
+ "start": 6090
1337
+ },
1338
+ {
1339
+ "length": 20,
1340
+ "start": 6736
1341
+ },
1342
+ {
1343
+ "length": 20,
1344
+ "start": 8446
1345
+ },
1346
+ {
1347
+ "length": 20,
1348
+ "start": 8804
1349
+ },
1350
+ {
1351
+ "length": 20,
1352
+ "start": 11452
1353
+ },
1354
+ {
1355
+ "length": 20,
1356
+ "start": 12662
1357
+ },
1358
+ {
1359
+ "length": 20,
1360
+ "start": 13269
1361
+ },
1362
+ {
1363
+ "length": 20,
1364
+ "start": 13903
1365
+ },
1366
+ {
1367
+ "length": 20,
1368
+ "start": 14086
1369
+ }
1370
+ ]
1371
+ },
1372
+ "contracts/type/Referral.sol": {
1373
+ "ReferralLib": [
1374
+ {
1375
+ "length": 20,
1376
+ "start": 8019
1377
+ }
1378
+ ]
1379
+ },
1380
+ "contracts/type/Version.sol": {
1381
+ "VersionPartLib": [
1382
+ {
1383
+ "length": 20,
1384
+ "start": 8168
1385
+ }
1386
+ ]
1387
+ }
1388
+ },
1389
+ "deployedLinkReferences": {
1390
+ "contracts/type/Amount.sol": {
1391
+ "AmountLib": [
1392
+ {
1393
+ "length": 20,
1394
+ "start": 3102
1395
+ },
1396
+ {
1397
+ "length": 20,
1398
+ "start": 3203
1399
+ },
1400
+ {
1401
+ "length": 20,
1402
+ "start": 5854
1403
+ },
1404
+ {
1405
+ "length": 20,
1406
+ "start": 6110
1407
+ },
1408
+ {
1409
+ "length": 20,
1410
+ "start": 8219
1411
+ }
1412
+ ]
1413
+ },
1414
+ "contracts/type/NftId.sol": {
1415
+ "NftIdLib": [
1416
+ {
1417
+ "length": 20,
1418
+ "start": 2026
1419
+ },
1420
+ {
1421
+ "length": 20,
1422
+ "start": 2672
1423
+ },
1424
+ {
1425
+ "length": 20,
1426
+ "start": 4382
1427
+ },
1428
+ {
1429
+ "length": 20,
1430
+ "start": 4740
1431
+ },
1432
+ {
1433
+ "length": 20,
1434
+ "start": 7388
1435
+ },
1436
+ {
1437
+ "length": 20,
1438
+ "start": 8598
1439
+ },
1440
+ {
1441
+ "length": 20,
1442
+ "start": 9205
1443
+ },
1444
+ {
1445
+ "length": 20,
1446
+ "start": 9839
1447
+ },
1448
+ {
1449
+ "length": 20,
1450
+ "start": 10022
1451
+ }
1452
+ ]
1453
+ },
1454
+ "contracts/type/Referral.sol": {
1455
+ "ReferralLib": [
1456
+ {
1457
+ "length": 20,
1458
+ "start": 3955
1459
+ }
1460
+ ]
1461
+ },
1462
+ "contracts/type/Version.sol": {
1463
+ "VersionPartLib": [
1464
+ {
1465
+ "length": 20,
1466
+ "start": 4104
1467
+ }
1468
+ ]
1469
+ }
1470
+ }
1471
+ }