@etherisc/gif-next 0.0.2-ce87da3-250 → 0.0.2-cf22d7b-845

Sign up to get free protection for your applications and to get access to all the features.
Files changed (525) hide show
  1. package/README.md +8 -84
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  3. package/artifacts/contracts/{components → distribution}/Distribution.sol/Distribution.json +322 -252
  4. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  5. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1349 -0
  6. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  7. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +818 -0
  8. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/{components → distribution}/IDistributionComponent.sol/IDistributionComponent.json +249 -174
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +266 -91
  12. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  13. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +68 -54
  14. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  15. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +315 -2127
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +219 -78
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +456 -2872
  20. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  21. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +708 -0
  22. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  23. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +204 -0
  24. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  25. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +601 -422
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +287 -280
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +119 -78
  30. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3458 -0
  32. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  33. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  34. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  35. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +6 -1
  36. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +256 -0
  38. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  39. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +25 -150
  40. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  41. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  42. package/artifacts/contracts/instance/module/{ISetup.sol/ISetup.json → IComponents.sol/IComponents.json} +2 -2
  43. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  44. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  45. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  46. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  47. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  48. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  49. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1105 -0
  50. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  51. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +746 -0
  52. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  53. package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +278 -221
  54. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  55. package/artifacts/contracts/{components → pool}/IPoolComponent.sol/IPoolComponent.json +480 -213
  56. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  57. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1065 -0
  58. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  59. package/artifacts/contracts/{components → pool}/Pool.sol/Pool.json +527 -284
  60. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  61. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1432 -0
  62. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  63. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +738 -0
  64. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  65. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +834 -0
  66. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  67. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +722 -0
  68. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  69. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1278 -0
  70. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  71. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +810 -0
  72. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  73. package/artifacts/contracts/{instance/service → product}/IApplicationService.sol/IApplicationService.json +124 -98
  74. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  75. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +759 -0
  76. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  77. package/artifacts/contracts/{instance/service → product}/IPolicyService.sol/IPolicyService.json +266 -142
  78. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  79. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +536 -0
  80. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  81. package/artifacts/contracts/{components → product}/IProductComponent.sol/IProductComponent.json +408 -219
  82. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  83. package/artifacts/contracts/{instance/service → product}/IProductService.sol/IProductService.json +75 -72
  84. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  85. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1146 -0
  86. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  87. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +754 -0
  88. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  89. package/artifacts/contracts/product/PricingService.sol/PricingService.json +983 -0
  90. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  91. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +778 -0
  92. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  93. package/artifacts/contracts/{components → product}/Product.sol/Product.json +433 -282
  94. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  95. package/artifacts/contracts/product/ProductService.sol/ProductService.json +679 -0
  96. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  97. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +694 -0
  98. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  99. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  100. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  101. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +188 -19
  102. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +305 -85
  104. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  105. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  106. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  107. package/artifacts/contracts/registry/Registry.sol/Registry.json +425 -34
  108. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  109. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +407 -0
  110. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  111. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +344 -106
  112. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  113. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +93 -54
  114. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  115. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +834 -89
  116. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.dbg.json +4 -0
  117. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.json +137 -0
  118. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +316 -153
  120. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +4 -0
  121. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.json +1193 -0
  122. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +4 -0
  123. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +1715 -0
  124. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +4 -0
  125. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +1728 -0
  126. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +4 -0
  127. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +1806 -0
  128. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +4 -0
  129. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +1824 -0
  130. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  131. package/artifacts/contracts/{components → shared}/Component.sol/Component.json +209 -166
  132. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  133. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1475 -0
  134. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  135. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +788 -0
  136. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  137. package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +96 -122
  138. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  139. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  140. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +4 -0
  141. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +1562 -0
  142. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +4 -0
  143. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +1600 -0
  144. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  145. package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +222 -104
  146. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  147. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +860 -0
  148. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  149. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +705 -0
  150. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  151. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +50 -11
  152. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  153. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -1
  154. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  155. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +3 -10
  156. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  157. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +87 -9
  158. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  159. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +3 -10
  160. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  161. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
  162. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  163. package/artifacts/contracts/shared/IService.sol/IService.json +91 -27
  164. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  165. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  166. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  167. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  168. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +1036 -0
  169. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  170. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +571 -0
  171. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  172. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +194 -0
  173. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +4 -0
  174. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +306 -0
  175. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  176. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +15 -22
  177. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  178. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +98 -26
  179. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  180. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +70 -35
  181. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  182. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +24 -23
  183. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  184. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  185. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  186. package/artifacts/contracts/shared/Service.sol/Service.json +99 -30
  187. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  188. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +60 -6
  189. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  190. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  191. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  192. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  193. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1438 -0
  194. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  195. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +993 -0
  196. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  197. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +444 -0
  198. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  199. package/artifacts/contracts/staking/Staking.sol/Staking.json +2045 -0
  200. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  201. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +777 -0
  202. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  203. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
  204. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  205. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1324 -0
  206. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  207. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +726 -0
  208. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  209. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2189 -0
  210. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  211. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +571 -0
  212. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  213. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  214. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  215. package/artifacts/contracts/type/Amount.sol/AmountLib.json +345 -0
  216. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  217. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  218. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  219. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  220. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  221. package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
  222. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  223. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  224. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  225. package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
  226. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  227. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
  228. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  229. package/artifacts/contracts/{types → type}/NftIdSet.sol/LibNftIdSet.json +3 -3
  230. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  231. package/artifacts/contracts/{types → type}/ObjectType.sol/ObjectTypeLib.json +3 -3
  232. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  233. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  234. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  235. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  236. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  237. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  238. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  239. package/artifacts/contracts/{types → type}/RoleId.sol/RoleIdLib.json +5 -5
  240. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  241. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +198 -0
  242. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  243. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  244. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  245. package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +39 -8
  246. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  247. package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
  248. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  249. package/artifacts/contracts/{types → type}/UFixed.sol/UFixedLib.json +3 -3
  250. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  251. package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
  252. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  253. package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
  254. package/contracts/{components → distribution}/Distribution.sol +49 -75
  255. package/contracts/distribution/DistributionService.sol +298 -0
  256. package/contracts/distribution/DistributionServiceManager.sol +42 -0
  257. package/contracts/{components → distribution}/IDistributionComponent.sol +11 -37
  258. package/contracts/{instance/service → distribution}/IDistributionService.sol +25 -25
  259. package/contracts/instance/BundleManager.sol +15 -14
  260. package/contracts/instance/IInstance.sol +53 -66
  261. package/contracts/instance/IInstanceService.sol +40 -18
  262. package/contracts/instance/Instance.sol +139 -195
  263. package/contracts/instance/InstanceAdmin.sol +331 -0
  264. package/contracts/instance/InstanceAuthorizationsLib.sol +349 -0
  265. package/contracts/instance/InstanceReader.sol +135 -63
  266. package/contracts/instance/InstanceService.sol +226 -340
  267. package/contracts/instance/InstanceServiceManager.sol +11 -21
  268. package/contracts/instance/InstanceStore.sol +260 -0
  269. package/contracts/instance/base/BalanceStore.sol +118 -0
  270. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +8 -3
  271. package/contracts/instance/{ObjectManager.sol → base/ObjectManager.sol} +12 -14
  272. package/contracts/instance/module/IAccess.sol +19 -20
  273. package/contracts/instance/module/IBundle.sol +8 -8
  274. package/contracts/instance/module/{ISetup.sol → IComponents.sol} +24 -20
  275. package/contracts/instance/module/IDistribution.sol +7 -5
  276. package/contracts/instance/module/IPolicy.sol +53 -16
  277. package/contracts/instance/module/IRisk.sol +1 -1
  278. package/contracts/{test/TestToken.sol → mock/Dip.sol} +5 -5
  279. package/contracts/pool/BundleService.sol +296 -0
  280. package/contracts/pool/BundleServiceManager.sol +42 -0
  281. package/contracts/pool/IBundleService.sol +106 -0
  282. package/contracts/pool/IPoolComponent.sol +112 -0
  283. package/contracts/pool/IPoolService.sol +150 -0
  284. package/contracts/pool/Pool.sol +299 -0
  285. package/contracts/pool/PoolService.sol +453 -0
  286. package/contracts/pool/PoolServiceManager.sol +42 -0
  287. package/contracts/product/ApplicationService.sol +254 -0
  288. package/contracts/{instance/service → product}/ApplicationServiceManager.sol +11 -8
  289. package/contracts/product/ClaimService.sol +442 -0
  290. package/contracts/{instance/service → product}/ClaimServiceManager.sol +11 -8
  291. package/contracts/{instance/service → product}/IApplicationService.sol +16 -36
  292. package/contracts/product/IClaimService.sol +93 -0
  293. package/contracts/{instance/service → product}/IPolicyService.sol +37 -48
  294. package/contracts/product/IPricingService.sol +39 -0
  295. package/contracts/product/IProductComponent.sol +42 -0
  296. package/contracts/product/IProductService.sol +33 -0
  297. package/contracts/product/PolicyService.sol +475 -0
  298. package/contracts/product/PolicyServiceManager.sol +42 -0
  299. package/contracts/product/PricingService.sol +301 -0
  300. package/contracts/product/PricingServiceManager.sol +42 -0
  301. package/contracts/product/Product.sol +377 -0
  302. package/contracts/product/ProductService.sol +124 -0
  303. package/contracts/product/ProductServiceManager.sol +42 -0
  304. package/contracts/registry/ChainNft.sol +16 -1
  305. package/contracts/registry/IRegistry.sol +46 -21
  306. package/contracts/registry/IRegistryService.sol +39 -37
  307. package/contracts/registry/ITransferInterceptor.sol +1 -0
  308. package/contracts/registry/Registry.sol +208 -96
  309. package/contracts/registry/RegistryAdmin.sol +237 -0
  310. package/contracts/registry/RegistryService.sol +69 -86
  311. package/contracts/registry/RegistryServiceManager.sol +21 -25
  312. package/contracts/registry/ReleaseManager.sol +458 -181
  313. package/contracts/registry/ServiceAuthorizationsLib.sol +173 -0
  314. package/contracts/registry/TokenRegistry.sol +261 -62
  315. package/contracts/shared/AccessManagerCustom.sol +736 -0
  316. package/contracts/shared/AccessManagerExtended.sol +470 -0
  317. package/contracts/shared/AccessManagerExtendedInitializeable.sol +13 -0
  318. package/contracts/shared/AccessManagerExtendedWithDisable.sol +137 -0
  319. package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +14 -0
  320. package/contracts/shared/Component.sol +278 -0
  321. package/contracts/shared/ComponentService.sol +596 -0
  322. package/contracts/shared/ComponentServiceManager.sol +35 -0
  323. package/contracts/shared/ComponentVerifyingService.sol +111 -0
  324. package/contracts/shared/ERC165.sol +1 -1
  325. package/contracts/shared/IAccessManagerExtended.sol +74 -0
  326. package/contracts/shared/IAccessManagerExtendedWithDisable.sol +18 -0
  327. package/contracts/shared/IComponent.sol +70 -0
  328. package/contracts/shared/IComponentService.sol +91 -0
  329. package/contracts/shared/IInstanceLinkedComponent.sol +46 -0
  330. package/contracts/{instance/base → shared}/IKeyValueStore.sol +15 -11
  331. package/contracts/{instance/base → shared}/ILifecycle.sol +3 -3
  332. package/contracts/shared/INftOwnable.sol +2 -2
  333. package/contracts/shared/IPolicyHolder.sol +29 -10
  334. package/contracts/shared/IRegistryLinked.sol +0 -1
  335. package/contracts/shared/IService.sol +7 -7
  336. package/contracts/shared/IVersionable.sol +1 -1
  337. package/contracts/shared/InitializableCustom.sol +177 -0
  338. package/contracts/shared/InstanceLinkedComponent.sol +144 -0
  339. package/contracts/shared/KeyValueStore.sol +127 -0
  340. package/contracts/{instance/base → shared}/Lifecycle.sol +28 -7
  341. package/contracts/shared/NftIdSetManager.sol +65 -0
  342. package/contracts/shared/NftOwnable.sol +3 -16
  343. package/contracts/shared/PolicyHolder.sol +40 -19
  344. package/contracts/shared/ProxyManager.sol +34 -4
  345. package/contracts/shared/Registerable.sol +15 -14
  346. package/contracts/shared/RegistryLinked.sol +0 -5
  347. package/contracts/shared/Service.sol +29 -10
  348. package/contracts/shared/TokenHandler.sol +37 -6
  349. package/contracts/shared/Versionable.sol +1 -1
  350. package/contracts/staking/IStaking.sol +168 -0
  351. package/contracts/staking/IStakingService.sol +149 -0
  352. package/contracts/staking/StakeManagerLib.sol +179 -0
  353. package/contracts/staking/Staking.sol +551 -0
  354. package/contracts/staking/StakingManager.sol +54 -0
  355. package/contracts/staking/StakingReader.sol +187 -0
  356. package/contracts/staking/StakingService.sol +406 -0
  357. package/contracts/staking/StakingServiceManager.sol +45 -0
  358. package/contracts/staking/StakingStore.sol +572 -0
  359. package/contracts/staking/TargetManagerLib.sol +207 -0
  360. package/contracts/{types → type}/AddressSet.sol +1 -1
  361. package/contracts/type/Amount.sol +128 -0
  362. package/contracts/{types → type}/Blocknumber.sol +21 -3
  363. package/contracts/{types → type}/ClaimId.sol +25 -2
  364. package/contracts/{types → type}/Fee.sol +33 -23
  365. package/contracts/{types → type}/NftId.sol +21 -15
  366. package/contracts/{types → type}/NftIdSet.sol +2 -2
  367. package/contracts/{types → type}/ObjectType.sol +20 -7
  368. package/contracts/{types → type}/PayoutId.sol +33 -5
  369. package/contracts/{types → type}/Referral.sol +5 -1
  370. package/contracts/{types → type}/RiskId.sol +1 -1
  371. package/contracts/{types → type}/RoleId.sol +66 -13
  372. package/contracts/type/Seconds.sol +81 -0
  373. package/contracts/{types → type}/StateId.sol +24 -6
  374. package/contracts/{types → type}/Timestamp.sol +18 -13
  375. package/contracts/{types → type}/UFixed.sol +1 -0
  376. package/contracts/{types → type}/Version.sol +2 -1
  377. package/package.json +3 -3
  378. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  379. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  380. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  381. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  382. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  383. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  384. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  385. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  386. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  387. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  388. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -984
  389. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  390. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -261
  391. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  392. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  393. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  394. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  395. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  396. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  397. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  398. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  399. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  400. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  401. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
  402. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -869
  403. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
  404. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -657
  405. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  406. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1096
  407. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  408. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -661
  409. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
  410. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -754
  411. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
  412. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -637
  413. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  414. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1254
  415. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  416. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -753
  417. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
  418. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  419. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
  420. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +0 -409
  421. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  422. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  423. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  424. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +0 -347
  425. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  426. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  427. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1120
  428. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  429. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -717
  430. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  431. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -727
  432. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  433. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -649
  434. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  435. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -777
  436. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  437. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -649
  438. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  439. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  440. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  441. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  442. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  443. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  444. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  445. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
  446. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  447. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  448. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  449. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -521
  450. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  451. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  452. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  453. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  454. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  455. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
  456. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  457. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  458. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  459. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  460. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  461. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  462. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  463. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
  464. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -100
  465. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  466. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  467. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  468. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  469. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  470. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  471. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  472. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  473. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  474. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  475. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
  476. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -100
  477. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  478. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  479. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  480. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  481. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  482. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  483. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  484. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  485. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  486. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  487. package/contracts/components/Component.sol +0 -241
  488. package/contracts/components/IComponent.sol +0 -54
  489. package/contracts/components/IPoolComponent.sol +0 -87
  490. package/contracts/components/IProductComponent.sol +0 -39
  491. package/contracts/components/Pool.sol +0 -254
  492. package/contracts/components/Product.sol +0 -285
  493. package/contracts/instance/InstanceAccessManager.sol +0 -297
  494. package/contracts/instance/base/ComponentService.sol +0 -134
  495. package/contracts/instance/base/KeyValueStore.sol +0 -172
  496. package/contracts/instance/module/ITreasury.sol +0 -23
  497. package/contracts/instance/service/ApplicationService.sol +0 -268
  498. package/contracts/instance/service/BundleService.sol +0 -298
  499. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  500. package/contracts/instance/service/ClaimService.sol +0 -151
  501. package/contracts/instance/service/DistributionService.sol +0 -366
  502. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  503. package/contracts/instance/service/IBundleService.sol +0 -54
  504. package/contracts/instance/service/IClaimService.sol +0 -61
  505. package/contracts/instance/service/IPoolService.sol +0 -20
  506. package/contracts/instance/service/IProductService.sol +0 -40
  507. package/contracts/instance/service/PolicyService.sol +0 -476
  508. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  509. package/contracts/instance/service/PoolService.sol +0 -109
  510. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  511. package/contracts/instance/service/ProductService.sol +0 -233
  512. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  513. package/contracts/registry/RegistryAccessManager.sol +0 -216
  514. package/contracts/shared/ContractDeployerLib.sol +0 -72
  515. package/contracts/test/TestFee.sol +0 -25
  516. package/contracts/test/TestRegisterable.sol +0 -18
  517. package/contracts/test/TestRoleId.sol +0 -14
  518. package/contracts/test/TestService.sol +0 -25
  519. package/contracts/test/TestVersion.sol +0 -44
  520. package/contracts/test/TestVersionable.sol +0 -17
  521. package/contracts/test/Usdc.sol +0 -26
  522. package/contracts/types/ChainId.sol +0 -38
  523. package/contracts/types/NumberId.sol +0 -52
  524. /package/contracts/{types → type}/DistributorType.sol +0 -0
  525. /package/contracts/{types → type}/Key32.sol +0 -0
@@ -44,203 +44,166 @@
44
44
  {
45
45
  "inputs": [
46
46
  {
47
- "internalType": "ObjectType",
48
- "name": "objectType",
49
- "type": "uint8"
50
- },
51
- {
52
- "internalType": "StateId",
53
- "name": "fromStateId",
54
- "type": "uint8"
55
- },
56
- {
57
- "internalType": "StateId",
58
- "name": "toStateId",
59
- "type": "uint8"
47
+ "internalType": "address",
48
+ "name": "instanceBundleManager",
49
+ "type": "address"
60
50
  }
61
51
  ],
62
- "name": "ErrorInvalidStateTransition",
52
+ "name": "ErrorInstanceBundleManagerAlreadySet",
63
53
  "type": "error"
64
54
  },
65
55
  {
66
56
  "inputs": [
67
57
  {
68
- "internalType": "NftId",
69
- "name": "nftId",
70
- "type": "uint96"
58
+ "internalType": "address",
59
+ "name": "instanceAuthority",
60
+ "type": "address"
71
61
  }
72
62
  ],
73
- "name": "ErrorNftOwnableAlreadyLinked",
63
+ "name": "ErrorInstanceBundleManagerAuthorityMismatch",
74
64
  "type": "error"
75
65
  },
76
66
  {
77
67
  "inputs": [
78
68
  {
79
69
  "internalType": "address",
80
- "name": "contractAddress",
70
+ "name": "instance",
81
71
  "type": "address"
82
72
  }
83
73
  ],
84
- "name": "ErrorNftOwnableContractNotRegistered",
74
+ "name": "ErrorInstanceBundleManagerInstanceMismatch",
85
75
  "type": "error"
86
76
  },
87
77
  {
88
- "inputs": [],
89
- "name": "ErrorNftOwnableInitialOwnerZero",
78
+ "inputs": [
79
+ {
80
+ "internalType": "address",
81
+ "name": "InstanceAdmin",
82
+ "type": "address"
83
+ }
84
+ ],
85
+ "name": "ErrorInstanceInstanceAdminAlreadySet",
90
86
  "type": "error"
91
87
  },
92
88
  {
93
89
  "inputs": [
94
90
  {
95
91
  "internalType": "address",
96
- "name": "account",
92
+ "name": "instanceAuthority",
97
93
  "type": "address"
98
94
  }
99
95
  ],
100
- "name": "ErrorNftOwnableNotOwner",
96
+ "name": "ErrorInstanceInstanceAdminAuthorityMismatch",
97
+ "type": "error"
98
+ },
99
+ {
100
+ "inputs": [],
101
+ "name": "ErrorInstanceInstanceAdminZero",
101
102
  "type": "error"
102
103
  },
103
104
  {
104
105
  "inputs": [
105
106
  {
106
- "internalType": "NftId",
107
- "name": "nftId",
108
- "type": "uint96"
109
- },
110
- {
111
- "internalType": "ObjectType",
112
- "name": "objectType",
113
- "type": "uint8"
107
+ "internalType": "address",
108
+ "name": "instanceAuthority",
109
+ "type": "address"
114
110
  }
115
111
  ],
116
- "name": "ErrorNoLifecycle",
112
+ "name": "ErrorInstanceInstanceReaderInstanceMismatch",
117
113
  "type": "error"
118
114
  },
119
115
  {
120
116
  "inputs": [
121
117
  {
122
118
  "internalType": "address",
123
- "name": "registryAddress",
119
+ "name": "instanceStore",
124
120
  "type": "address"
125
121
  }
126
122
  ],
127
- "name": "ErrorNotRegistry",
123
+ "name": "ErrorInstanceInstanceStoreAlreadySet",
128
124
  "type": "error"
129
125
  },
130
126
  {
131
- "inputs": [],
132
- "name": "InvalidInitialization",
127
+ "inputs": [
128
+ {
129
+ "internalType": "address",
130
+ "name": "instanceAuthority",
131
+ "type": "address"
132
+ }
133
+ ],
134
+ "name": "ErrorInstanceInstanceStoreAuthorityMismatch",
133
135
  "type": "error"
134
136
  },
135
137
  {
136
- "inputs": [],
137
- "name": "NotInitializing",
138
+ "inputs": [
139
+ {
140
+ "internalType": "NftId",
141
+ "name": "nftId",
142
+ "type": "uint96"
143
+ }
144
+ ],
145
+ "name": "ErrorNftOwnableAlreadyLinked",
138
146
  "type": "error"
139
147
  },
140
148
  {
141
- "anonymous": false,
142
149
  "inputs": [
143
150
  {
144
- "indexed": false,
145
151
  "internalType": "address",
146
- "name": "authority",
152
+ "name": "contractAddress",
147
153
  "type": "address"
148
154
  }
149
155
  ],
150
- "name": "AuthorityUpdated",
151
- "type": "event"
156
+ "name": "ErrorNftOwnableContractNotRegistered",
157
+ "type": "error"
158
+ },
159
+ {
160
+ "inputs": [],
161
+ "name": "ErrorNftOwnableInitialOwnerZero",
162
+ "type": "error"
152
163
  },
153
164
  {
154
- "anonymous": false,
155
165
  "inputs": [
156
166
  {
157
- "indexed": false,
158
- "internalType": "uint64",
159
- "name": "version",
160
- "type": "uint64"
167
+ "internalType": "address",
168
+ "name": "account",
169
+ "type": "address"
161
170
  }
162
171
  ],
163
- "name": "Initialized",
164
- "type": "event"
172
+ "name": "ErrorNftOwnableNotOwner",
173
+ "type": "error"
165
174
  },
166
175
  {
167
- "anonymous": false,
168
176
  "inputs": [
169
177
  {
170
- "indexed": false,
171
- "internalType": "ObjectType",
172
- "name": "objectType",
173
- "type": "uint8"
174
- },
175
- {
176
- "indexed": false,
177
- "internalType": "KeyId",
178
- "name": "keyId",
179
- "type": "bytes31"
180
- },
181
- {
182
- "indexed": false,
183
- "internalType": "StateId",
184
- "name": "state",
185
- "type": "uint8"
186
- },
187
- {
188
- "indexed": false,
189
- "internalType": "address",
190
- "name": "createdBy",
191
- "type": "address"
192
- },
193
- {
194
- "indexed": false,
195
178
  "internalType": "address",
196
- "name": "txOrigin",
179
+ "name": "registryAddress",
197
180
  "type": "address"
198
181
  }
199
182
  ],
200
- "name": "LogInfoCreated",
201
- "type": "event"
183
+ "name": "ErrorNotRegistry",
184
+ "type": "error"
185
+ },
186
+ {
187
+ "inputs": [],
188
+ "name": "InvalidInitialization",
189
+ "type": "error"
190
+ },
191
+ {
192
+ "inputs": [],
193
+ "name": "NotInitializing",
194
+ "type": "error"
202
195
  },
203
196
  {
204
197
  "anonymous": false,
205
198
  "inputs": [
206
- {
207
- "indexed": false,
208
- "internalType": "ObjectType",
209
- "name": "objectType",
210
- "type": "uint8"
211
- },
212
- {
213
- "indexed": false,
214
- "internalType": "KeyId",
215
- "name": "keyId",
216
- "type": "bytes31"
217
- },
218
- {
219
- "indexed": false,
220
- "internalType": "StateId",
221
- "name": "state",
222
- "type": "uint8"
223
- },
224
- {
225
- "indexed": false,
226
- "internalType": "address",
227
- "name": "updatedBy",
228
- "type": "address"
229
- },
230
199
  {
231
200
  "indexed": false,
232
201
  "internalType": "address",
233
- "name": "txOrigin",
202
+ "name": "authority",
234
203
  "type": "address"
235
- },
236
- {
237
- "indexed": false,
238
- "internalType": "Blocknumber",
239
- "name": "lastUpdatedIn",
240
- "type": "uint32"
241
204
  }
242
205
  ],
243
- "name": "LogInfoUpdated",
206
+ "name": "AuthorityUpdated",
244
207
  "type": "event"
245
208
  },
246
209
  {
@@ -248,58 +211,22 @@
248
211
  "inputs": [
249
212
  {
250
213
  "indexed": false,
251
- "internalType": "ObjectType",
252
- "name": "objectType",
253
- "type": "uint8"
254
- },
255
- {
256
- "indexed": false,
257
- "internalType": "KeyId",
258
- "name": "keyId",
259
- "type": "bytes31"
260
- },
261
- {
262
- "indexed": false,
263
- "internalType": "StateId",
264
- "name": "stateOld",
265
- "type": "uint8"
266
- },
267
- {
268
- "indexed": false,
269
- "internalType": "StateId",
270
- "name": "stateNew",
271
- "type": "uint8"
272
- },
273
- {
274
- "indexed": false,
275
- "internalType": "address",
276
- "name": "updatedBy",
277
- "type": "address"
278
- },
279
- {
280
- "indexed": false,
281
- "internalType": "address",
282
- "name": "txOrigin",
283
- "type": "address"
284
- },
285
- {
286
- "indexed": false,
287
- "internalType": "Blocknumber",
288
- "name": "lastUpdatedIn",
289
- "type": "uint32"
214
+ "internalType": "uint64",
215
+ "name": "version",
216
+ "type": "uint64"
290
217
  }
291
218
  ],
292
- "name": "LogStateUpdated",
219
+ "name": "Initialized",
293
220
  "type": "event"
294
221
  },
295
222
  {
296
223
  "inputs": [],
297
- "name": "ADMIN_ROLE",
224
+ "name": "GIF_MAJOR_VERSION",
298
225
  "outputs": [
299
226
  {
300
- "internalType": "uint64",
227
+ "internalType": "uint256",
301
228
  "name": "",
302
- "type": "uint64"
229
+ "type": "uint256"
303
230
  }
304
231
  ],
305
232
  "stateMutability": "view",
@@ -307,12 +234,12 @@
307
234
  },
308
235
  {
309
236
  "inputs": [],
310
- "name": "CUSTOM_ROLE_ID_MIN",
237
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
311
238
  "outputs": [
312
239
  {
313
- "internalType": "uint64",
240
+ "internalType": "bytes32",
314
241
  "name": "",
315
- "type": "uint64"
242
+ "type": "bytes32"
316
243
  }
317
244
  ],
318
245
  "stateMutability": "view",
@@ -320,12 +247,12 @@
320
247
  },
321
248
  {
322
249
  "inputs": [],
323
- "name": "EXECUTION_DELAY",
250
+ "name": "REGISTERABLE_LOCATION_V1",
324
251
  "outputs": [
325
252
  {
326
- "internalType": "uint32",
253
+ "internalType": "bytes32",
327
254
  "name": "",
328
- "type": "uint32"
255
+ "type": "bytes32"
329
256
  }
330
257
  ],
331
258
  "stateMutability": "view",
@@ -333,51 +260,72 @@
333
260
  },
334
261
  {
335
262
  "inputs": [],
336
- "name": "GIF_MAJOR_VERSION",
263
+ "name": "authority",
337
264
  "outputs": [
338
265
  {
339
- "internalType": "uint256",
266
+ "internalType": "address",
340
267
  "name": "",
341
- "type": "uint256"
268
+ "type": "address"
342
269
  }
343
270
  ],
344
271
  "stateMutability": "view",
345
272
  "type": "function"
346
273
  },
347
274
  {
348
- "inputs": [],
349
- "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
275
+ "inputs": [
276
+ {
277
+ "internalType": "string",
278
+ "name": "roleName",
279
+ "type": "string"
280
+ },
281
+ {
282
+ "internalType": "string",
283
+ "name": "adminName",
284
+ "type": "string"
285
+ }
286
+ ],
287
+ "name": "createRole",
350
288
  "outputs": [
351
289
  {
352
- "internalType": "bytes32",
353
- "name": "",
354
- "type": "bytes32"
290
+ "internalType": "RoleId",
291
+ "name": "roleId",
292
+ "type": "uint64"
293
+ },
294
+ {
295
+ "internalType": "RoleId",
296
+ "name": "admin",
297
+ "type": "uint64"
355
298
  }
356
299
  ],
357
- "stateMutability": "view",
300
+ "stateMutability": "nonpayable",
358
301
  "type": "function"
359
302
  },
360
303
  {
361
- "inputs": [],
362
- "name": "PUBLIC_ROLE",
363
- "outputs": [
304
+ "inputs": [
364
305
  {
365
- "internalType": "uint64",
366
- "name": "",
367
- "type": "uint64"
306
+ "internalType": "address",
307
+ "name": "target",
308
+ "type": "address"
309
+ },
310
+ {
311
+ "internalType": "string",
312
+ "name": "name",
313
+ "type": "string"
368
314
  }
369
315
  ],
370
- "stateMutability": "view",
316
+ "name": "createTarget",
317
+ "outputs": [],
318
+ "stateMutability": "nonpayable",
371
319
  "type": "function"
372
320
  },
373
321
  {
374
322
  "inputs": [],
375
- "name": "REGISTERABLE_LOCATION_V1",
323
+ "name": "getBundleManager",
376
324
  "outputs": [
377
325
  {
378
- "internalType": "bytes32",
326
+ "internalType": "contract BundleManager",
379
327
  "name": "",
380
- "type": "bytes32"
328
+ "type": "address"
381
329
  }
382
330
  ],
383
331
  "stateMutability": "view",
@@ -385,10 +333,10 @@
385
333
  },
386
334
  {
387
335
  "inputs": [],
388
- "name": "authority",
336
+ "name": "getBundleService",
389
337
  "outputs": [
390
338
  {
391
- "internalType": "address",
339
+ "internalType": "contract IBundleService",
392
340
  "name": "",
393
341
  "type": "address"
394
342
  }
@@ -397,2038 +345,255 @@
397
345
  "type": "function"
398
346
  },
399
347
  {
400
- "inputs": [
401
- {
402
- "internalType": "ObjectType",
403
- "name": "objectType",
404
- "type": "uint8"
405
- },
406
- {
407
- "internalType": "StateId",
408
- "name": "fromId",
409
- "type": "uint8"
410
- },
348
+ "inputs": [],
349
+ "name": "getDistributionService",
350
+ "outputs": [
411
351
  {
412
- "internalType": "StateId",
413
- "name": "toId",
414
- "type": "uint8"
352
+ "internalType": "contract IDistributionService",
353
+ "name": "",
354
+ "type": "address"
415
355
  }
416
356
  ],
417
- "name": "checkTransition",
418
- "outputs": [],
419
357
  "stateMutability": "view",
420
358
  "type": "function"
421
359
  },
422
360
  {
423
- "inputs": [
424
- {
425
- "internalType": "NftId",
426
- "name": "applicationNftId",
427
- "type": "uint96"
428
- },
429
- {
430
- "components": [
431
- {
432
- "internalType": "NftId",
433
- "name": "productNftId",
434
- "type": "uint96"
435
- },
436
- {
437
- "internalType": "NftId",
438
- "name": "bundleNftId",
439
- "type": "uint96"
440
- },
441
- {
442
- "internalType": "ReferralId",
443
- "name": "referralId",
444
- "type": "bytes8"
445
- },
446
- {
447
- "internalType": "RiskId",
448
- "name": "riskId",
449
- "type": "bytes8"
450
- },
451
- {
452
- "internalType": "uint256",
453
- "name": "sumInsuredAmount",
454
- "type": "uint256"
455
- },
456
- {
457
- "internalType": "uint256",
458
- "name": "premiumAmount",
459
- "type": "uint256"
460
- },
461
- {
462
- "internalType": "uint256",
463
- "name": "premiumPaidAmount",
464
- "type": "uint256"
465
- },
466
- {
467
- "internalType": "uint256",
468
- "name": "lifetime",
469
- "type": "uint256"
470
- },
471
- {
472
- "internalType": "bytes",
473
- "name": "applicationData",
474
- "type": "bytes"
475
- },
476
- {
477
- "internalType": "bytes",
478
- "name": "policyData",
479
- "type": "bytes"
480
- },
481
- {
482
- "internalType": "uint16",
483
- "name": "claimsCount",
484
- "type": "uint16"
485
- },
486
- {
487
- "internalType": "uint16",
488
- "name": "openClaimsCount",
489
- "type": "uint16"
490
- },
491
- {
492
- "internalType": "uint256",
493
- "name": "payoutAmount",
494
- "type": "uint256"
495
- },
496
- {
497
- "internalType": "Timestamp",
498
- "name": "activatedAt",
499
- "type": "uint40"
500
- },
501
- {
502
- "internalType": "Timestamp",
503
- "name": "expiredAt",
504
- "type": "uint40"
505
- },
506
- {
507
- "internalType": "Timestamp",
508
- "name": "closedAt",
509
- "type": "uint40"
510
- }
511
- ],
512
- "internalType": "struct IPolicy.PolicyInfo",
513
- "name": "policy",
514
- "type": "tuple"
515
- }
516
- ],
517
- "name": "createApplication",
518
- "outputs": [],
519
- "stateMutability": "nonpayable",
520
- "type": "function"
521
- },
522
- {
523
- "inputs": [
524
- {
525
- "internalType": "NftId",
526
- "name": "bundleNftId",
527
- "type": "uint96"
528
- },
529
- {
530
- "components": [
531
- {
532
- "internalType": "NftId",
533
- "name": "poolNftId",
534
- "type": "uint96"
535
- },
536
- {
537
- "components": [
538
- {
539
- "internalType": "UFixed",
540
- "name": "fractionalFee",
541
- "type": "uint256"
542
- },
543
- {
544
- "internalType": "uint256",
545
- "name": "fixedFee",
546
- "type": "uint256"
547
- }
548
- ],
549
- "internalType": "struct Fee",
550
- "name": "fee",
551
- "type": "tuple"
552
- },
553
- {
554
- "internalType": "bytes",
555
- "name": "filter",
556
- "type": "bytes"
557
- },
558
- {
559
- "internalType": "uint256",
560
- "name": "capitalAmount",
561
- "type": "uint256"
562
- },
563
- {
564
- "internalType": "uint256",
565
- "name": "lockedAmount",
566
- "type": "uint256"
567
- },
568
- {
569
- "internalType": "uint256",
570
- "name": "balanceAmount",
571
- "type": "uint256"
572
- },
573
- {
574
- "internalType": "uint256",
575
- "name": "lifetime",
576
- "type": "uint256"
577
- },
578
- {
579
- "internalType": "Timestamp",
580
- "name": "expiredAt",
581
- "type": "uint40"
582
- },
583
- {
584
- "internalType": "Timestamp",
585
- "name": "closedAt",
586
- "type": "uint40"
587
- }
588
- ],
589
- "internalType": "struct IBundle.BundleInfo",
590
- "name": "bundle",
591
- "type": "tuple"
592
- }
593
- ],
594
- "name": "createBundle",
595
- "outputs": [],
596
- "stateMutability": "nonpayable",
597
- "type": "function"
598
- },
599
- {
600
- "inputs": [
601
- {
602
- "internalType": "NftId",
603
- "name": "policyNftId",
604
- "type": "uint96"
605
- },
606
- {
607
- "internalType": "ClaimId",
608
- "name": "claimId",
609
- "type": "uint16"
610
- },
611
- {
612
- "components": [
613
- {
614
- "internalType": "uint256",
615
- "name": "claimAmount",
616
- "type": "uint256"
617
- },
618
- {
619
- "internalType": "uint256",
620
- "name": "paidAmount",
621
- "type": "uint256"
622
- },
623
- {
624
- "internalType": "bytes",
625
- "name": "data",
626
- "type": "bytes"
627
- },
628
- {
629
- "internalType": "Timestamp",
630
- "name": "closedAt",
631
- "type": "uint40"
632
- }
633
- ],
634
- "internalType": "struct IPolicy.ClaimInfo",
635
- "name": "claim",
636
- "type": "tuple"
637
- }
638
- ],
639
- "name": "createClaim",
640
- "outputs": [],
641
- "stateMutability": "nonpayable",
642
- "type": "function"
643
- },
644
- {
645
- "inputs": [
646
- {
647
- "internalType": "NftId",
648
- "name": "distributionNftId",
649
- "type": "uint96"
650
- },
651
- {
652
- "components": [
653
- {
654
- "internalType": "NftId",
655
- "name": "productNftId",
656
- "type": "uint96"
657
- },
658
- {
659
- "internalType": "contract TokenHandler",
660
- "name": "tokenHandler",
661
- "type": "address"
662
- },
663
- {
664
- "components": [
665
- {
666
- "internalType": "UFixed",
667
- "name": "fractionalFee",
668
- "type": "uint256"
669
- },
670
- {
671
- "internalType": "uint256",
672
- "name": "fixedFee",
673
- "type": "uint256"
674
- }
675
- ],
676
- "internalType": "struct Fee",
677
- "name": "distributionFee",
678
- "type": "tuple"
679
- },
680
- {
681
- "internalType": "address",
682
- "name": "wallet",
683
- "type": "address"
684
- }
685
- ],
686
- "internalType": "struct ISetup.DistributionSetupInfo",
687
- "name": "setup",
688
- "type": "tuple"
689
- }
690
- ],
691
- "name": "createDistributionSetup",
692
- "outputs": [],
693
- "stateMutability": "nonpayable",
694
- "type": "function"
695
- },
696
- {
697
- "inputs": [
698
- {
699
- "internalType": "NftId",
700
- "name": "nftId",
701
- "type": "uint96"
702
- },
703
- {
704
- "components": [
705
- {
706
- "internalType": "DistributorType",
707
- "name": "distributorType",
708
- "type": "bytes8"
709
- },
710
- {
711
- "internalType": "bool",
712
- "name": "active",
713
- "type": "bool"
714
- },
715
- {
716
- "internalType": "bytes",
717
- "name": "data",
718
- "type": "bytes"
719
- }
720
- ],
721
- "internalType": "struct IDistribution.DistributorInfo",
722
- "name": "info",
723
- "type": "tuple"
724
- }
725
- ],
726
- "name": "createDistributor",
727
- "outputs": [],
728
- "stateMutability": "nonpayable",
729
- "type": "function"
730
- },
731
- {
732
- "inputs": [
733
- {
734
- "internalType": "Key32",
735
- "name": "distributorKey",
736
- "type": "bytes32"
737
- },
738
- {
739
- "components": [
740
- {
741
- "internalType": "string",
742
- "name": "name",
743
- "type": "string"
744
- },
745
- {
746
- "internalType": "UFixed",
747
- "name": "minDiscountPercentage",
748
- "type": "uint256"
749
- },
750
- {
751
- "internalType": "UFixed",
752
- "name": "maxDiscountPercentage",
753
- "type": "uint256"
754
- },
755
- {
756
- "internalType": "UFixed",
757
- "name": "commissionPercentage",
758
- "type": "uint256"
759
- },
760
- {
761
- "internalType": "uint32",
762
- "name": "maxReferralCount",
763
- "type": "uint32"
764
- },
765
- {
766
- "internalType": "uint32",
767
- "name": "maxReferralLifetime",
768
- "type": "uint32"
769
- },
770
- {
771
- "internalType": "bool",
772
- "name": "allowSelfReferrals",
773
- "type": "bool"
774
- },
775
- {
776
- "internalType": "bool",
777
- "name": "allowRenewals",
778
- "type": "bool"
779
- },
780
- {
781
- "internalType": "bytes",
782
- "name": "data",
783
- "type": "bytes"
784
- }
785
- ],
786
- "internalType": "struct IDistribution.DistributorTypeInfo",
787
- "name": "info",
788
- "type": "tuple"
789
- }
790
- ],
791
- "name": "createDistributorType",
792
- "outputs": [],
793
- "stateMutability": "nonpayable",
794
- "type": "function"
795
- },
796
- {
797
- "inputs": [
798
- {
799
- "internalType": "NftId",
800
- "name": "policyNftId",
801
- "type": "uint96"
802
- },
803
- {
804
- "internalType": "NumberId",
805
- "name": "payoutId",
806
- "type": "uint32"
807
- },
808
- {
809
- "components": [
810
- {
811
- "internalType": "ClaimId",
812
- "name": "claimId",
813
- "type": "uint16"
814
- },
815
- {
816
- "internalType": "uint256",
817
- "name": "amount",
818
- "type": "uint256"
819
- },
820
- {
821
- "internalType": "bytes",
822
- "name": "data",
823
- "type": "bytes"
824
- },
825
- {
826
- "internalType": "Timestamp",
827
- "name": "paidAt",
828
- "type": "uint40"
829
- }
830
- ],
831
- "internalType": "struct IPolicy.PayoutInfo",
832
- "name": "payout",
833
- "type": "tuple"
834
- }
835
- ],
836
- "name": "createPayout",
837
- "outputs": [],
838
- "stateMutability": "nonpayable",
839
- "type": "function"
840
- },
841
- {
842
- "inputs": [
843
- {
844
- "internalType": "NftId",
845
- "name": "poolNftId",
846
- "type": "uint96"
847
- },
848
- {
849
- "components": [
850
- {
851
- "internalType": "NftId",
852
- "name": "productNftId",
853
- "type": "uint96"
854
- },
855
- {
856
- "internalType": "contract TokenHandler",
857
- "name": "tokenHandler",
858
- "type": "address"
859
- },
860
- {
861
- "internalType": "bool",
862
- "name": "isInterceptingBundleTransfers",
863
- "type": "bool"
864
- },
865
- {
866
- "internalType": "bool",
867
- "name": "isExternallyManaged",
868
- "type": "bool"
869
- },
870
- {
871
- "internalType": "bool",
872
- "name": "isVerifyingApplications",
873
- "type": "bool"
874
- },
875
- {
876
- "internalType": "UFixed",
877
- "name": "collateralizationLevel",
878
- "type": "uint256"
879
- },
880
- {
881
- "internalType": "UFixed",
882
- "name": "retentionLevel",
883
- "type": "uint256"
884
- },
885
- {
886
- "components": [
887
- {
888
- "internalType": "UFixed",
889
- "name": "fractionalFee",
890
- "type": "uint256"
891
- },
892
- {
893
- "internalType": "uint256",
894
- "name": "fixedFee",
895
- "type": "uint256"
896
- }
897
- ],
898
- "internalType": "struct Fee",
899
- "name": "poolFee",
900
- "type": "tuple"
901
- },
902
- {
903
- "components": [
904
- {
905
- "internalType": "UFixed",
906
- "name": "fractionalFee",
907
- "type": "uint256"
908
- },
909
- {
910
- "internalType": "uint256",
911
- "name": "fixedFee",
912
- "type": "uint256"
913
- }
914
- ],
915
- "internalType": "struct Fee",
916
- "name": "stakingFee",
917
- "type": "tuple"
918
- },
919
- {
920
- "components": [
921
- {
922
- "internalType": "UFixed",
923
- "name": "fractionalFee",
924
- "type": "uint256"
925
- },
926
- {
927
- "internalType": "uint256",
928
- "name": "fixedFee",
929
- "type": "uint256"
930
- }
931
- ],
932
- "internalType": "struct Fee",
933
- "name": "performanceFee",
934
- "type": "tuple"
935
- },
936
- {
937
- "internalType": "address",
938
- "name": "wallet",
939
- "type": "address"
940
- }
941
- ],
942
- "internalType": "struct ISetup.PoolSetupInfo",
943
- "name": "setup",
944
- "type": "tuple"
945
- }
946
- ],
947
- "name": "createPoolSetup",
948
- "outputs": [],
949
- "stateMutability": "nonpayable",
950
- "type": "function"
951
- },
952
- {
953
- "inputs": [
954
- {
955
- "internalType": "NftId",
956
- "name": "productNftId",
957
- "type": "uint96"
958
- },
959
- {
960
- "components": [
961
- {
962
- "internalType": "contract IERC20Metadata",
963
- "name": "token",
964
- "type": "address"
965
- },
966
- {
967
- "internalType": "contract TokenHandler",
968
- "name": "tokenHandler",
969
- "type": "address"
970
- },
971
- {
972
- "internalType": "NftId",
973
- "name": "distributionNftId",
974
- "type": "uint96"
975
- },
976
- {
977
- "internalType": "NftId",
978
- "name": "poolNftId",
979
- "type": "uint96"
980
- },
981
- {
982
- "components": [
983
- {
984
- "internalType": "UFixed",
985
- "name": "fractionalFee",
986
- "type": "uint256"
987
- },
988
- {
989
- "internalType": "uint256",
990
- "name": "fixedFee",
991
- "type": "uint256"
992
- }
993
- ],
994
- "internalType": "struct Fee",
995
- "name": "distributionFee",
996
- "type": "tuple"
997
- },
998
- {
999
- "components": [
1000
- {
1001
- "internalType": "UFixed",
1002
- "name": "fractionalFee",
1003
- "type": "uint256"
1004
- },
1005
- {
1006
- "internalType": "uint256",
1007
- "name": "fixedFee",
1008
- "type": "uint256"
1009
- }
1010
- ],
1011
- "internalType": "struct Fee",
1012
- "name": "productFee",
1013
- "type": "tuple"
1014
- },
1015
- {
1016
- "components": [
1017
- {
1018
- "internalType": "UFixed",
1019
- "name": "fractionalFee",
1020
- "type": "uint256"
1021
- },
1022
- {
1023
- "internalType": "uint256",
1024
- "name": "fixedFee",
1025
- "type": "uint256"
1026
- }
1027
- ],
1028
- "internalType": "struct Fee",
1029
- "name": "processingFee",
1030
- "type": "tuple"
1031
- },
1032
- {
1033
- "components": [
1034
- {
1035
- "internalType": "UFixed",
1036
- "name": "fractionalFee",
1037
- "type": "uint256"
1038
- },
1039
- {
1040
- "internalType": "uint256",
1041
- "name": "fixedFee",
1042
- "type": "uint256"
1043
- }
1044
- ],
1045
- "internalType": "struct Fee",
1046
- "name": "poolFee",
1047
- "type": "tuple"
1048
- },
1049
- {
1050
- "components": [
1051
- {
1052
- "internalType": "UFixed",
1053
- "name": "fractionalFee",
1054
- "type": "uint256"
1055
- },
1056
- {
1057
- "internalType": "uint256",
1058
- "name": "fixedFee",
1059
- "type": "uint256"
1060
- }
1061
- ],
1062
- "internalType": "struct Fee",
1063
- "name": "stakingFee",
1064
- "type": "tuple"
1065
- },
1066
- {
1067
- "components": [
1068
- {
1069
- "internalType": "UFixed",
1070
- "name": "fractionalFee",
1071
- "type": "uint256"
1072
- },
1073
- {
1074
- "internalType": "uint256",
1075
- "name": "fixedFee",
1076
- "type": "uint256"
1077
- }
1078
- ],
1079
- "internalType": "struct Fee",
1080
- "name": "performanceFee",
1081
- "type": "tuple"
1082
- },
1083
- {
1084
- "internalType": "bool",
1085
- "name": "isIntercepting",
1086
- "type": "bool"
1087
- },
1088
- {
1089
- "internalType": "address",
1090
- "name": "wallet",
1091
- "type": "address"
1092
- }
1093
- ],
1094
- "internalType": "struct ISetup.ProductSetupInfo",
1095
- "name": "setup",
1096
- "type": "tuple"
1097
- }
1098
- ],
1099
- "name": "createProductSetup",
1100
- "outputs": [],
1101
- "stateMutability": "nonpayable",
1102
- "type": "function"
1103
- },
1104
- {
1105
- "inputs": [
1106
- {
1107
- "internalType": "Key32",
1108
- "name": "referralKey",
1109
- "type": "bytes32"
1110
- },
1111
- {
1112
- "components": [
1113
- {
1114
- "internalType": "NftId",
1115
- "name": "distributorNftId",
1116
- "type": "uint96"
1117
- },
1118
- {
1119
- "internalType": "string",
1120
- "name": "referralCode",
1121
- "type": "string"
1122
- },
1123
- {
1124
- "internalType": "UFixed",
1125
- "name": "discountPercentage",
1126
- "type": "uint256"
1127
- },
1128
- {
1129
- "internalType": "uint32",
1130
- "name": "maxReferrals",
1131
- "type": "uint32"
1132
- },
1133
- {
1134
- "internalType": "uint32",
1135
- "name": "usedReferrals",
1136
- "type": "uint32"
1137
- },
1138
- {
1139
- "internalType": "Timestamp",
1140
- "name": "expiryAt",
1141
- "type": "uint40"
1142
- },
1143
- {
1144
- "internalType": "bytes",
1145
- "name": "data",
1146
- "type": "bytes"
1147
- }
1148
- ],
1149
- "internalType": "struct IDistribution.ReferralInfo",
1150
- "name": "referralInfo",
1151
- "type": "tuple"
1152
- }
1153
- ],
1154
- "name": "createReferral",
1155
- "outputs": [],
1156
- "stateMutability": "nonpayable",
1157
- "type": "function"
1158
- },
1159
- {
1160
- "inputs": [
1161
- {
1162
- "internalType": "RiskId",
1163
- "name": "riskId",
1164
- "type": "bytes8"
1165
- },
1166
- {
1167
- "components": [
1168
- {
1169
- "internalType": "NftId",
1170
- "name": "productNftId",
1171
- "type": "uint96"
1172
- },
1173
- {
1174
- "internalType": "bytes",
1175
- "name": "data",
1176
- "type": "bytes"
1177
- }
1178
- ],
1179
- "internalType": "struct IRisk.RiskInfo",
1180
- "name": "risk",
1181
- "type": "tuple"
1182
- }
1183
- ],
1184
- "name": "createRisk",
1185
- "outputs": [],
1186
- "stateMutability": "nonpayable",
1187
- "type": "function"
1188
- },
1189
- {
1190
- "inputs": [
1191
- {
1192
- "internalType": "Key32",
1193
- "name": "key32",
1194
- "type": "bytes32"
1195
- }
1196
- ],
1197
- "name": "exists",
1198
- "outputs": [
1199
- {
1200
- "internalType": "bool",
1201
- "name": "",
1202
- "type": "bool"
1203
- }
1204
- ],
1205
- "stateMutability": "view",
1206
- "type": "function"
1207
- },
1208
- {
1209
- "inputs": [
1210
- {
1211
- "internalType": "Key32",
1212
- "name": "key32",
1213
- "type": "bytes32"
1214
- }
1215
- ],
1216
- "name": "get",
1217
- "outputs": [
1218
- {
1219
- "components": [
1220
- {
1221
- "components": [
1222
- {
1223
- "internalType": "ObjectType",
1224
- "name": "objectType",
1225
- "type": "uint8"
1226
- },
1227
- {
1228
- "internalType": "StateId",
1229
- "name": "state",
1230
- "type": "uint8"
1231
- },
1232
- {
1233
- "internalType": "address",
1234
- "name": "updatedBy",
1235
- "type": "address"
1236
- },
1237
- {
1238
- "internalType": "Blocknumber",
1239
- "name": "updatedIn",
1240
- "type": "uint32"
1241
- },
1242
- {
1243
- "internalType": "Blocknumber",
1244
- "name": "createdIn",
1245
- "type": "uint32"
1246
- }
1247
- ],
1248
- "internalType": "struct IKeyValueStore.Metadata",
1249
- "name": "metadata",
1250
- "type": "tuple"
1251
- },
1252
- {
1253
- "internalType": "bytes",
1254
- "name": "data",
1255
- "type": "bytes"
1256
- }
1257
- ],
1258
- "internalType": "struct IKeyValueStore.Value",
1259
- "name": "value",
1260
- "type": "tuple"
1261
- }
1262
- ],
1263
- "stateMutability": "view",
1264
- "type": "function"
1265
- },
1266
- {
1267
- "inputs": [],
1268
- "name": "getBundleManager",
1269
- "outputs": [
1270
- {
1271
- "internalType": "contract BundleManager",
1272
- "name": "",
1273
- "type": "address"
1274
- }
1275
- ],
1276
- "stateMutability": "view",
1277
- "type": "function"
1278
- },
1279
- {
1280
- "inputs": [],
1281
- "name": "getBundleService",
1282
- "outputs": [
1283
- {
1284
- "internalType": "contract IBundleService",
1285
- "name": "",
1286
- "type": "address"
1287
- }
1288
- ],
1289
- "stateMutability": "view",
1290
- "type": "function"
1291
- },
1292
- {
1293
- "inputs": [
1294
- {
1295
- "internalType": "Key32",
1296
- "name": "key32",
1297
- "type": "bytes32"
1298
- }
1299
- ],
1300
- "name": "getData",
1301
- "outputs": [
1302
- {
1303
- "internalType": "bytes",
1304
- "name": "data",
1305
- "type": "bytes"
1306
- }
1307
- ],
1308
- "stateMutability": "view",
1309
- "type": "function"
1310
- },
1311
- {
1312
- "inputs": [],
1313
- "name": "getDistributionService",
1314
- "outputs": [
1315
- {
1316
- "internalType": "contract IDistributionService",
1317
- "name": "",
1318
- "type": "address"
1319
- }
1320
- ],
1321
- "stateMutability": "view",
1322
- "type": "function"
1323
- },
1324
- {
1325
- "inputs": [],
1326
- "name": "getInitialInfo",
1327
- "outputs": [
1328
- {
1329
- "components": [
1330
- {
1331
- "internalType": "NftId",
1332
- "name": "nftId",
1333
- "type": "uint96"
1334
- },
1335
- {
1336
- "internalType": "NftId",
1337
- "name": "parentNftId",
1338
- "type": "uint96"
1339
- },
1340
- {
1341
- "internalType": "ObjectType",
1342
- "name": "objectType",
1343
- "type": "uint8"
1344
- },
1345
- {
1346
- "internalType": "bool",
1347
- "name": "isInterceptor",
1348
- "type": "bool"
1349
- },
1350
- {
1351
- "internalType": "address",
1352
- "name": "objectAddress",
1353
- "type": "address"
1354
- },
1355
- {
1356
- "internalType": "address",
1357
- "name": "initialOwner",
1358
- "type": "address"
1359
- },
1360
- {
1361
- "internalType": "bytes",
1362
- "name": "data",
1363
- "type": "bytes"
1364
- }
1365
- ],
1366
- "internalType": "struct IRegistry.ObjectInfo",
1367
- "name": "info",
1368
- "type": "tuple"
1369
- }
1370
- ],
1371
- "stateMutability": "view",
1372
- "type": "function"
1373
- },
1374
- {
1375
- "inputs": [
1376
- {
1377
- "internalType": "ObjectType",
1378
- "name": "objectType",
1379
- "type": "uint8"
1380
- }
1381
- ],
1382
- "name": "getInitialState",
1383
- "outputs": [
1384
- {
1385
- "internalType": "StateId",
1386
- "name": "",
1387
- "type": "uint8"
1388
- }
1389
- ],
1390
- "stateMutability": "view",
1391
- "type": "function"
1392
- },
1393
- {
1394
- "inputs": [],
1395
- "name": "getInstanceReader",
1396
- "outputs": [
1397
- {
1398
- "internalType": "contract InstanceReader",
1399
- "name": "",
1400
- "type": "address"
1401
- }
1402
- ],
1403
- "stateMutability": "view",
1404
- "type": "function"
1405
- },
1406
- {
1407
- "inputs": [],
1408
- "name": "getMajorVersion",
1409
- "outputs": [
1410
- {
1411
- "internalType": "VersionPart",
1412
- "name": "majorVersion",
1413
- "type": "uint8"
1414
- }
1415
- ],
1416
- "stateMutability": "pure",
1417
- "type": "function"
1418
- },
1419
- {
1420
- "inputs": [
1421
- {
1422
- "internalType": "Key32",
1423
- "name": "key32",
1424
- "type": "bytes32"
1425
- }
1426
- ],
1427
- "name": "getMetadata",
1428
- "outputs": [
1429
- {
1430
- "components": [
1431
- {
1432
- "internalType": "ObjectType",
1433
- "name": "objectType",
1434
- "type": "uint8"
1435
- },
1436
- {
1437
- "internalType": "StateId",
1438
- "name": "state",
1439
- "type": "uint8"
1440
- },
1441
- {
1442
- "internalType": "address",
1443
- "name": "updatedBy",
1444
- "type": "address"
1445
- },
1446
- {
1447
- "internalType": "Blocknumber",
1448
- "name": "updatedIn",
1449
- "type": "uint32"
1450
- },
1451
- {
1452
- "internalType": "Blocknumber",
1453
- "name": "createdIn",
1454
- "type": "uint32"
1455
- }
1456
- ],
1457
- "internalType": "struct IKeyValueStore.Metadata",
1458
- "name": "metadata",
1459
- "type": "tuple"
1460
- }
1461
- ],
1462
- "stateMutability": "view",
1463
- "type": "function"
1464
- },
1465
- {
1466
- "inputs": [],
1467
- "name": "getNftId",
1468
- "outputs": [
1469
- {
1470
- "internalType": "NftId",
1471
- "name": "",
1472
- "type": "uint96"
1473
- }
1474
- ],
1475
- "stateMutability": "view",
1476
- "type": "function"
1477
- },
1478
- {
1479
- "inputs": [],
1480
- "name": "getOwner",
1481
- "outputs": [
1482
- {
1483
- "internalType": "address",
1484
- "name": "",
1485
- "type": "address"
1486
- }
1487
- ],
1488
- "stateMutability": "view",
1489
- "type": "function"
1490
- },
1491
- {
1492
- "inputs": [],
1493
- "name": "getPolicyService",
1494
- "outputs": [
1495
- {
1496
- "internalType": "contract IPolicyService",
1497
- "name": "",
1498
- "type": "address"
1499
- }
1500
- ],
1501
- "stateMutability": "view",
1502
- "type": "function"
1503
- },
1504
- {
1505
- "inputs": [],
1506
- "name": "getPoolService",
1507
- "outputs": [
1508
- {
1509
- "internalType": "contract IPoolService",
1510
- "name": "",
1511
- "type": "address"
1512
- }
1513
- ],
1514
- "stateMutability": "view",
1515
- "type": "function"
1516
- },
1517
- {
1518
- "inputs": [],
1519
- "name": "getProductService",
1520
- "outputs": [
1521
- {
1522
- "internalType": "contract IProductService",
1523
- "name": "",
1524
- "type": "address"
1525
- }
1526
- ],
1527
- "stateMutability": "view",
1528
- "type": "function"
1529
- },
1530
- {
1531
- "inputs": [],
1532
- "name": "getRegistry",
1533
- "outputs": [
1534
- {
1535
- "internalType": "contract IRegistry",
1536
- "name": "",
1537
- "type": "address"
1538
- }
1539
- ],
1540
- "stateMutability": "view",
1541
- "type": "function"
1542
- },
1543
- {
1544
- "inputs": [],
1545
- "name": "getRegistryAddress",
1546
- "outputs": [
1547
- {
1548
- "internalType": "address",
1549
- "name": "",
1550
- "type": "address"
1551
- }
1552
- ],
1553
- "stateMutability": "view",
1554
- "type": "function"
1555
- },
1556
- {
1557
- "inputs": [
1558
- {
1559
- "internalType": "Key32",
1560
- "name": "key32",
1561
- "type": "bytes32"
1562
- }
1563
- ],
1564
- "name": "getState",
1565
- "outputs": [
1566
- {
1567
- "internalType": "StateId",
1568
- "name": "state",
1569
- "type": "uint8"
1570
- }
1571
- ],
1572
- "stateMutability": "view",
1573
- "type": "function"
1574
- },
1575
- {
1576
- "inputs": [
1577
- {
1578
- "internalType": "ObjectType",
1579
- "name": "objectType",
1580
- "type": "uint8"
1581
- }
1582
- ],
1583
- "name": "hasLifecycle",
1584
- "outputs": [
1585
- {
1586
- "internalType": "bool",
1587
- "name": "",
1588
- "type": "bool"
1589
- }
1590
- ],
1591
- "stateMutability": "view",
1592
- "type": "function"
1593
- },
1594
- {
1595
- "inputs": [
1596
- {
1597
- "internalType": "address",
1598
- "name": "accessManagerAddress",
1599
- "type": "address"
1600
- },
1601
- {
1602
- "internalType": "address",
1603
- "name": "registryAddress",
1604
- "type": "address"
1605
- },
1606
- {
1607
- "internalType": "NftId",
1608
- "name": "registryNftId",
1609
- "type": "uint96"
1610
- },
1611
- {
1612
- "internalType": "address",
1613
- "name": "initialOwner",
1614
- "type": "address"
1615
- }
1616
- ],
1617
- "name": "initialize",
1618
- "outputs": [],
1619
- "stateMutability": "nonpayable",
1620
- "type": "function"
1621
- },
1622
- {
1623
- "inputs": [],
1624
- "name": "initializeERC165",
1625
- "outputs": [],
1626
- "stateMutability": "nonpayable",
1627
- "type": "function"
1628
- },
1629
- {
1630
- "inputs": [
1631
- {
1632
- "internalType": "address",
1633
- "name": "initialOwner",
1634
- "type": "address"
1635
- },
1636
- {
1637
- "internalType": "address",
1638
- "name": "registryAddress",
1639
- "type": "address"
1640
- }
1641
- ],
1642
- "name": "initializeNftOwnable",
1643
- "outputs": [],
1644
- "stateMutability": "nonpayable",
1645
- "type": "function"
1646
- },
1647
- {
1648
- "inputs": [
1649
- {
1650
- "internalType": "address",
1651
- "name": "registryAddress",
1652
- "type": "address"
1653
- },
1654
- {
1655
- "internalType": "NftId",
1656
- "name": "parentNftId",
1657
- "type": "uint96"
1658
- },
1659
- {
1660
- "internalType": "ObjectType",
1661
- "name": "objectType",
1662
- "type": "uint8"
1663
- },
1664
- {
1665
- "internalType": "bool",
1666
- "name": "isInterceptor",
1667
- "type": "bool"
1668
- },
1669
- {
1670
- "internalType": "address",
1671
- "name": "initialOwner",
1672
- "type": "address"
1673
- },
1674
- {
1675
- "internalType": "bytes",
1676
- "name": "data",
1677
- "type": "bytes"
1678
- }
1679
- ],
1680
- "name": "initializeRegisterable",
1681
- "outputs": [],
1682
- "stateMutability": "nonpayable",
1683
- "type": "function"
1684
- },
1685
- {
1686
- "inputs": [
1687
- {
1688
- "internalType": "address",
1689
- "name": "registryAddress",
1690
- "type": "address"
1691
- }
1692
- ],
1693
- "name": "initializeRegistryLinked",
1694
- "outputs": [],
1695
- "stateMutability": "nonpayable",
1696
- "type": "function"
1697
- },
1698
- {
1699
- "inputs": [],
1700
- "name": "isConsumingScheduledOp",
1701
- "outputs": [
1702
- {
1703
- "internalType": "bytes4",
1704
- "name": "",
1705
- "type": "bytes4"
1706
- }
1707
- ],
1708
- "stateMutability": "view",
1709
- "type": "function"
1710
- },
1711
- {
1712
- "inputs": [
1713
- {
1714
- "internalType": "ObjectType",
1715
- "name": "objectType",
1716
- "type": "uint8"
1717
- },
1718
- {
1719
- "internalType": "StateId",
1720
- "name": "fromId",
1721
- "type": "uint8"
1722
- },
1723
- {
1724
- "internalType": "StateId",
1725
- "name": "toId",
1726
- "type": "uint8"
1727
- }
1728
- ],
1729
- "name": "isValidTransition",
1730
- "outputs": [
1731
- {
1732
- "internalType": "bool",
1733
- "name": "",
1734
- "type": "bool"
1735
- }
1736
- ],
1737
- "stateMutability": "view",
1738
- "type": "function"
1739
- },
1740
- {
1741
- "inputs": [],
1742
- "name": "linkToRegisteredNftId",
1743
- "outputs": [],
1744
- "stateMutability": "nonpayable",
1745
- "type": "function"
1746
- },
1747
- {
1748
- "inputs": [
1749
- {
1750
- "internalType": "bytes4",
1751
- "name": "interfaceId",
1752
- "type": "bytes4"
1753
- }
1754
- ],
1755
- "name": "registerInterface",
1756
- "outputs": [],
1757
- "stateMutability": "nonpayable",
1758
- "type": "function"
1759
- },
1760
- {
1761
- "inputs": [
1762
- {
1763
- "internalType": "address",
1764
- "name": "newAuthority",
1765
- "type": "address"
1766
- }
1767
- ],
1768
- "name": "setAuthority",
1769
- "outputs": [],
1770
- "stateMutability": "nonpayable",
1771
- "type": "function"
1772
- },
1773
- {
1774
- "inputs": [
1775
- {
1776
- "internalType": "contract BundleManager",
1777
- "name": "bundleManager",
1778
- "type": "address"
1779
- }
1780
- ],
1781
- "name": "setBundleManager",
1782
- "outputs": [],
1783
- "stateMutability": "nonpayable",
1784
- "type": "function"
1785
- },
1786
- {
1787
- "inputs": [
1788
- {
1789
- "internalType": "contract InstanceReader",
1790
- "name": "instanceReader",
1791
- "type": "address"
1792
- }
1793
- ],
1794
- "name": "setInstanceReader",
1795
- "outputs": [],
1796
- "stateMutability": "nonpayable",
1797
- "type": "function"
1798
- },
1799
- {
1800
- "inputs": [
1801
- {
1802
- "internalType": "bytes4",
1803
- "name": "interfaceId",
1804
- "type": "bytes4"
1805
- }
1806
- ],
1807
- "name": "supportsInterface",
1808
- "outputs": [
1809
- {
1810
- "internalType": "bool",
1811
- "name": "",
1812
- "type": "bool"
1813
- }
1814
- ],
1815
- "stateMutability": "view",
1816
- "type": "function"
1817
- },
1818
- {
1819
- "inputs": [
1820
- {
1821
- "internalType": "NftId",
1822
- "name": "bundleNftId",
1823
- "type": "uint96"
1824
- }
1825
- ],
1826
- "name": "toBundleKey32",
1827
- "outputs": [
1828
- {
1829
- "internalType": "Key32",
1830
- "name": "",
1831
- "type": "bytes32"
1832
- }
1833
- ],
1834
- "stateMutability": "pure",
1835
- "type": "function"
1836
- },
1837
- {
1838
- "inputs": [
1839
- {
1840
- "internalType": "NftId",
1841
- "name": "distNftId",
1842
- "type": "uint96"
1843
- }
1844
- ],
1845
- "name": "toDistributionKey32",
1846
- "outputs": [
1847
- {
1848
- "internalType": "Key32",
1849
- "name": "",
1850
- "type": "bytes32"
1851
- }
1852
- ],
1853
- "stateMutability": "pure",
1854
- "type": "function"
1855
- },
1856
- {
1857
- "inputs": [
1858
- {
1859
- "internalType": "NftId",
1860
- "name": "distNftId",
1861
- "type": "uint96"
1862
- }
1863
- ],
1864
- "name": "toDistributorKey32",
1865
- "outputs": [
1866
- {
1867
- "internalType": "Key32",
1868
- "name": "",
1869
- "type": "bytes32"
1870
- }
1871
- ],
1872
- "stateMutability": "pure",
1873
- "type": "function"
1874
- },
1875
- {
1876
- "inputs": [
1877
- {
1878
- "internalType": "NftId",
1879
- "name": "distNftId",
1880
- "type": "uint96"
1881
- }
1882
- ],
1883
- "name": "toDistributorTypeKey32",
1884
- "outputs": [
1885
- {
1886
- "internalType": "Key32",
1887
- "name": "",
1888
- "type": "bytes32"
1889
- }
1890
- ],
1891
- "stateMutability": "pure",
1892
- "type": "function"
1893
- },
1894
- {
1895
- "inputs": [
1896
- {
1897
- "internalType": "ObjectType",
1898
- "name": "objectType",
1899
- "type": "uint8"
1900
- },
1901
- {
1902
- "internalType": "KeyId",
1903
- "name": "id",
1904
- "type": "bytes31"
1905
- }
1906
- ],
1907
- "name": "toKey32",
1908
- "outputs": [
1909
- {
1910
- "internalType": "Key32",
1911
- "name": "",
1912
- "type": "bytes32"
1913
- }
1914
- ],
1915
- "stateMutability": "pure",
1916
- "type": "function"
1917
- },
1918
- {
1919
- "inputs": [
1920
- {
1921
- "internalType": "NftId",
1922
- "name": "policyNftId",
1923
- "type": "uint96"
1924
- }
1925
- ],
1926
- "name": "toPolicyKey32",
361
+ "inputs": [],
362
+ "name": "getInitialInfo",
1927
363
  "outputs": [
1928
- {
1929
- "internalType": "Key32",
1930
- "name": "",
1931
- "type": "bytes32"
1932
- }
1933
- ],
1934
- "stateMutability": "pure",
1935
- "type": "function"
1936
- },
1937
- {
1938
- "inputs": [
1939
- {
1940
- "internalType": "NftId",
1941
- "name": "applicationNftId",
1942
- "type": "uint96"
1943
- },
1944
- {
1945
- "components": [
1946
- {
1947
- "internalType": "NftId",
1948
- "name": "productNftId",
1949
- "type": "uint96"
1950
- },
1951
- {
1952
- "internalType": "NftId",
1953
- "name": "bundleNftId",
1954
- "type": "uint96"
1955
- },
1956
- {
1957
- "internalType": "ReferralId",
1958
- "name": "referralId",
1959
- "type": "bytes8"
1960
- },
1961
- {
1962
- "internalType": "RiskId",
1963
- "name": "riskId",
1964
- "type": "bytes8"
1965
- },
1966
- {
1967
- "internalType": "uint256",
1968
- "name": "sumInsuredAmount",
1969
- "type": "uint256"
1970
- },
1971
- {
1972
- "internalType": "uint256",
1973
- "name": "premiumAmount",
1974
- "type": "uint256"
1975
- },
1976
- {
1977
- "internalType": "uint256",
1978
- "name": "premiumPaidAmount",
1979
- "type": "uint256"
1980
- },
1981
- {
1982
- "internalType": "uint256",
1983
- "name": "lifetime",
1984
- "type": "uint256"
1985
- },
1986
- {
1987
- "internalType": "bytes",
1988
- "name": "applicationData",
1989
- "type": "bytes"
1990
- },
1991
- {
1992
- "internalType": "bytes",
1993
- "name": "policyData",
1994
- "type": "bytes"
1995
- },
1996
- {
1997
- "internalType": "uint16",
1998
- "name": "claimsCount",
1999
- "type": "uint16"
2000
- },
2001
- {
2002
- "internalType": "uint16",
2003
- "name": "openClaimsCount",
2004
- "type": "uint16"
2005
- },
2006
- {
2007
- "internalType": "uint256",
2008
- "name": "payoutAmount",
2009
- "type": "uint256"
2010
- },
2011
- {
2012
- "internalType": "Timestamp",
2013
- "name": "activatedAt",
2014
- "type": "uint40"
2015
- },
2016
- {
2017
- "internalType": "Timestamp",
2018
- "name": "expiredAt",
2019
- "type": "uint40"
2020
- },
2021
- {
2022
- "internalType": "Timestamp",
2023
- "name": "closedAt",
2024
- "type": "uint40"
2025
- }
2026
- ],
2027
- "internalType": "struct IPolicy.PolicyInfo",
2028
- "name": "policy",
2029
- "type": "tuple"
2030
- },
2031
- {
2032
- "internalType": "StateId",
2033
- "name": "newState",
2034
- "type": "uint8"
2035
- }
2036
- ],
2037
- "name": "updateApplication",
2038
- "outputs": [],
2039
- "stateMutability": "nonpayable",
2040
- "type": "function"
2041
- },
2042
- {
2043
- "inputs": [
2044
- {
2045
- "internalType": "NftId",
2046
- "name": "applicationNftId",
2047
- "type": "uint96"
2048
- },
2049
- {
2050
- "internalType": "StateId",
2051
- "name": "newState",
2052
- "type": "uint8"
2053
- }
2054
- ],
2055
- "name": "updateApplicationState",
2056
- "outputs": [],
2057
- "stateMutability": "nonpayable",
2058
- "type": "function"
2059
- },
2060
- {
2061
- "inputs": [
2062
- {
2063
- "internalType": "NftId",
2064
- "name": "bundleNftId",
2065
- "type": "uint96"
2066
- },
2067
364
  {
2068
365
  "components": [
2069
366
  {
2070
367
  "internalType": "NftId",
2071
- "name": "poolNftId",
368
+ "name": "nftId",
2072
369
  "type": "uint96"
2073
370
  },
2074
371
  {
2075
- "components": [
2076
- {
2077
- "internalType": "UFixed",
2078
- "name": "fractionalFee",
2079
- "type": "uint256"
2080
- },
2081
- {
2082
- "internalType": "uint256",
2083
- "name": "fixedFee",
2084
- "type": "uint256"
2085
- }
2086
- ],
2087
- "internalType": "struct Fee",
2088
- "name": "fee",
2089
- "type": "tuple"
2090
- },
2091
- {
2092
- "internalType": "bytes",
2093
- "name": "filter",
2094
- "type": "bytes"
2095
- },
2096
- {
2097
- "internalType": "uint256",
2098
- "name": "capitalAmount",
2099
- "type": "uint256"
372
+ "internalType": "NftId",
373
+ "name": "parentNftId",
374
+ "type": "uint96"
2100
375
  },
2101
376
  {
2102
- "internalType": "uint256",
2103
- "name": "lockedAmount",
2104
- "type": "uint256"
377
+ "internalType": "ObjectType",
378
+ "name": "objectType",
379
+ "type": "uint8"
2105
380
  },
2106
381
  {
2107
- "internalType": "uint256",
2108
- "name": "balanceAmount",
2109
- "type": "uint256"
382
+ "internalType": "bool",
383
+ "name": "isInterceptor",
384
+ "type": "bool"
2110
385
  },
2111
386
  {
2112
- "internalType": "uint256",
2113
- "name": "lifetime",
2114
- "type": "uint256"
387
+ "internalType": "address",
388
+ "name": "objectAddress",
389
+ "type": "address"
2115
390
  },
2116
391
  {
2117
- "internalType": "Timestamp",
2118
- "name": "expiredAt",
2119
- "type": "uint40"
392
+ "internalType": "address",
393
+ "name": "initialOwner",
394
+ "type": "address"
2120
395
  },
2121
396
  {
2122
- "internalType": "Timestamp",
2123
- "name": "closedAt",
2124
- "type": "uint40"
397
+ "internalType": "bytes",
398
+ "name": "data",
399
+ "type": "bytes"
2125
400
  }
2126
401
  ],
2127
- "internalType": "struct IBundle.BundleInfo",
2128
- "name": "bundle",
402
+ "internalType": "struct IRegistry.ObjectInfo",
403
+ "name": "info",
2129
404
  "type": "tuple"
2130
- },
2131
- {
2132
- "internalType": "StateId",
2133
- "name": "newState",
2134
- "type": "uint8"
2135
405
  }
2136
406
  ],
2137
- "name": "updateBundle",
2138
- "outputs": [],
2139
- "stateMutability": "nonpayable",
407
+ "stateMutability": "view",
2140
408
  "type": "function"
2141
409
  },
2142
410
  {
2143
- "inputs": [
2144
- {
2145
- "internalType": "NftId",
2146
- "name": "bundleNftId",
2147
- "type": "uint96"
2148
- },
411
+ "inputs": [],
412
+ "name": "getInstanceAccessManager",
413
+ "outputs": [
2149
414
  {
2150
- "internalType": "StateId",
2151
- "name": "newState",
2152
- "type": "uint8"
415
+ "internalType": "contract AccessManagerExtendedInitializeable",
416
+ "name": "",
417
+ "type": "address"
2153
418
  }
2154
419
  ],
2155
- "name": "updateBundleState",
2156
- "outputs": [],
2157
- "stateMutability": "nonpayable",
420
+ "stateMutability": "view",
2158
421
  "type": "function"
2159
422
  },
2160
423
  {
2161
- "inputs": [
2162
- {
2163
- "internalType": "NftId",
2164
- "name": "policyNftId",
2165
- "type": "uint96"
2166
- },
2167
- {
2168
- "internalType": "ClaimId",
2169
- "name": "claimId",
2170
- "type": "uint16"
2171
- },
2172
- {
2173
- "components": [
2174
- {
2175
- "internalType": "uint256",
2176
- "name": "claimAmount",
2177
- "type": "uint256"
2178
- },
2179
- {
2180
- "internalType": "uint256",
2181
- "name": "paidAmount",
2182
- "type": "uint256"
2183
- },
2184
- {
2185
- "internalType": "bytes",
2186
- "name": "data",
2187
- "type": "bytes"
2188
- },
2189
- {
2190
- "internalType": "Timestamp",
2191
- "name": "closedAt",
2192
- "type": "uint40"
2193
- }
2194
- ],
2195
- "internalType": "struct IPolicy.ClaimInfo",
2196
- "name": "claim",
2197
- "type": "tuple"
2198
- },
424
+ "inputs": [],
425
+ "name": "getInstanceAdmin",
426
+ "outputs": [
2199
427
  {
2200
- "internalType": "StateId",
2201
- "name": "newState",
2202
- "type": "uint8"
428
+ "internalType": "contract InstanceAdmin",
429
+ "name": "",
430
+ "type": "address"
2203
431
  }
2204
432
  ],
2205
- "name": "updateClaim",
2206
- "outputs": [],
2207
- "stateMutability": "nonpayable",
433
+ "stateMutability": "view",
2208
434
  "type": "function"
2209
435
  },
2210
436
  {
2211
- "inputs": [
437
+ "inputs": [],
438
+ "name": "getInstanceReader",
439
+ "outputs": [
2212
440
  {
2213
- "internalType": "NftId",
2214
- "name": "policyNftId",
2215
- "type": "uint96"
2216
- },
441
+ "internalType": "contract InstanceReader",
442
+ "name": "",
443
+ "type": "address"
444
+ }
445
+ ],
446
+ "stateMutability": "view",
447
+ "type": "function"
448
+ },
449
+ {
450
+ "inputs": [],
451
+ "name": "getInstanceStore",
452
+ "outputs": [
2217
453
  {
2218
- "internalType": "ClaimId",
2219
- "name": "claimId",
2220
- "type": "uint16"
2221
- },
454
+ "internalType": "contract InstanceStore",
455
+ "name": "",
456
+ "type": "address"
457
+ }
458
+ ],
459
+ "stateMutability": "view",
460
+ "type": "function"
461
+ },
462
+ {
463
+ "inputs": [],
464
+ "name": "getMajorVersion",
465
+ "outputs": [
2222
466
  {
2223
- "internalType": "StateId",
2224
- "name": "newState",
467
+ "internalType": "VersionPart",
468
+ "name": "majorVersion",
2225
469
  "type": "uint8"
2226
470
  }
2227
471
  ],
2228
- "name": "updateClaimState",
2229
- "outputs": [],
2230
- "stateMutability": "nonpayable",
472
+ "stateMutability": "pure",
2231
473
  "type": "function"
2232
474
  },
2233
475
  {
2234
- "inputs": [
476
+ "inputs": [],
477
+ "name": "getNftId",
478
+ "outputs": [
2235
479
  {
2236
480
  "internalType": "NftId",
2237
- "name": "distributionNftId",
481
+ "name": "",
2238
482
  "type": "uint96"
2239
- },
2240
- {
2241
- "components": [
2242
- {
2243
- "internalType": "NftId",
2244
- "name": "productNftId",
2245
- "type": "uint96"
2246
- },
2247
- {
2248
- "internalType": "contract TokenHandler",
2249
- "name": "tokenHandler",
2250
- "type": "address"
2251
- },
2252
- {
2253
- "components": [
2254
- {
2255
- "internalType": "UFixed",
2256
- "name": "fractionalFee",
2257
- "type": "uint256"
2258
- },
2259
- {
2260
- "internalType": "uint256",
2261
- "name": "fixedFee",
2262
- "type": "uint256"
2263
- }
2264
- ],
2265
- "internalType": "struct Fee",
2266
- "name": "distributionFee",
2267
- "type": "tuple"
2268
- },
2269
- {
2270
- "internalType": "address",
2271
- "name": "wallet",
2272
- "type": "address"
2273
- }
2274
- ],
2275
- "internalType": "struct ISetup.DistributionSetupInfo",
2276
- "name": "setup",
2277
- "type": "tuple"
2278
- },
2279
- {
2280
- "internalType": "StateId",
2281
- "name": "newState",
2282
- "type": "uint8"
2283
483
  }
2284
484
  ],
2285
- "name": "updateDistributionSetup",
2286
- "outputs": [],
2287
- "stateMutability": "nonpayable",
485
+ "stateMutability": "view",
2288
486
  "type": "function"
2289
487
  },
2290
488
  {
2291
- "inputs": [
489
+ "inputs": [],
490
+ "name": "getOwner",
491
+ "outputs": [
2292
492
  {
2293
- "internalType": "NftId",
2294
- "name": "distributionNftId",
2295
- "type": "uint96"
2296
- },
493
+ "internalType": "address",
494
+ "name": "",
495
+ "type": "address"
496
+ }
497
+ ],
498
+ "stateMutability": "view",
499
+ "type": "function"
500
+ },
501
+ {
502
+ "inputs": [],
503
+ "name": "getPolicyService",
504
+ "outputs": [
2297
505
  {
2298
- "internalType": "StateId",
2299
- "name": "newState",
2300
- "type": "uint8"
506
+ "internalType": "contract IPolicyService",
507
+ "name": "",
508
+ "type": "address"
2301
509
  }
2302
510
  ],
2303
- "name": "updateDistributionSetupState",
2304
- "outputs": [],
2305
- "stateMutability": "nonpayable",
511
+ "stateMutability": "view",
2306
512
  "type": "function"
2307
513
  },
2308
514
  {
2309
- "inputs": [
515
+ "inputs": [],
516
+ "name": "getPoolService",
517
+ "outputs": [
2310
518
  {
2311
- "internalType": "NftId",
2312
- "name": "nftId",
2313
- "type": "uint96"
2314
- },
519
+ "internalType": "contract IPoolService",
520
+ "name": "",
521
+ "type": "address"
522
+ }
523
+ ],
524
+ "stateMutability": "view",
525
+ "type": "function"
526
+ },
527
+ {
528
+ "inputs": [],
529
+ "name": "getProductService",
530
+ "outputs": [
2315
531
  {
2316
- "components": [
2317
- {
2318
- "internalType": "DistributorType",
2319
- "name": "distributorType",
2320
- "type": "bytes8"
2321
- },
2322
- {
2323
- "internalType": "bool",
2324
- "name": "active",
2325
- "type": "bool"
2326
- },
2327
- {
2328
- "internalType": "bytes",
2329
- "name": "data",
2330
- "type": "bytes"
2331
- }
2332
- ],
2333
- "internalType": "struct IDistribution.DistributorInfo",
2334
- "name": "info",
2335
- "type": "tuple"
2336
- },
532
+ "internalType": "contract IProductService",
533
+ "name": "",
534
+ "type": "address"
535
+ }
536
+ ],
537
+ "stateMutability": "view",
538
+ "type": "function"
539
+ },
540
+ {
541
+ "inputs": [],
542
+ "name": "getRegistry",
543
+ "outputs": [
2337
544
  {
2338
- "internalType": "StateId",
2339
- "name": "newState",
2340
- "type": "uint8"
545
+ "internalType": "contract IRegistry",
546
+ "name": "",
547
+ "type": "address"
2341
548
  }
2342
549
  ],
2343
- "name": "updateDistributor",
2344
- "outputs": [],
2345
- "stateMutability": "nonpayable",
550
+ "stateMutability": "view",
2346
551
  "type": "function"
2347
552
  },
2348
553
  {
2349
554
  "inputs": [
2350
555
  {
2351
- "internalType": "NftId",
2352
- "name": "nftId",
2353
- "type": "uint96"
556
+ "internalType": "RoleId",
557
+ "name": "roleId",
558
+ "type": "uint64"
2354
559
  },
2355
560
  {
2356
- "internalType": "StateId",
2357
- "name": "newState",
2358
- "type": "uint8"
561
+ "internalType": "address",
562
+ "name": "account",
563
+ "type": "address"
2359
564
  }
2360
565
  ],
2361
- "name": "updateDistributorState",
566
+ "name": "grantRole",
2362
567
  "outputs": [],
2363
568
  "stateMutability": "nonpayable",
2364
569
  "type": "function"
2365
570
  },
2366
571
  {
2367
572
  "inputs": [
2368
- {
2369
- "internalType": "Key32",
2370
- "name": "distributorKey",
2371
- "type": "bytes32"
2372
- },
2373
- {
2374
- "components": [
2375
- {
2376
- "internalType": "string",
2377
- "name": "name",
2378
- "type": "string"
2379
- },
2380
- {
2381
- "internalType": "UFixed",
2382
- "name": "minDiscountPercentage",
2383
- "type": "uint256"
2384
- },
2385
- {
2386
- "internalType": "UFixed",
2387
- "name": "maxDiscountPercentage",
2388
- "type": "uint256"
2389
- },
2390
- {
2391
- "internalType": "UFixed",
2392
- "name": "commissionPercentage",
2393
- "type": "uint256"
2394
- },
2395
- {
2396
- "internalType": "uint32",
2397
- "name": "maxReferralCount",
2398
- "type": "uint32"
2399
- },
2400
- {
2401
- "internalType": "uint32",
2402
- "name": "maxReferralLifetime",
2403
- "type": "uint32"
2404
- },
2405
- {
2406
- "internalType": "bool",
2407
- "name": "allowSelfReferrals",
2408
- "type": "bool"
2409
- },
2410
- {
2411
- "internalType": "bool",
2412
- "name": "allowRenewals",
2413
- "type": "bool"
2414
- },
2415
- {
2416
- "internalType": "bytes",
2417
- "name": "data",
2418
- "type": "bytes"
2419
- }
2420
- ],
2421
- "internalType": "struct IDistribution.DistributorTypeInfo",
2422
- "name": "info",
2423
- "type": "tuple"
573
+ {
574
+ "internalType": "address",
575
+ "name": "authority",
576
+ "type": "address"
2424
577
  },
2425
578
  {
2426
- "internalType": "StateId",
2427
- "name": "newState",
2428
- "type": "uint8"
579
+ "internalType": "address",
580
+ "name": "registryAddress",
581
+ "type": "address"
582
+ },
583
+ {
584
+ "internalType": "address",
585
+ "name": "initialOwner",
586
+ "type": "address"
2429
587
  }
2430
588
  ],
2431
- "name": "updateDistributorType",
589
+ "name": "initialize",
590
+ "outputs": [],
591
+ "stateMutability": "nonpayable",
592
+ "type": "function"
593
+ },
594
+ {
595
+ "inputs": [],
596
+ "name": "initializeERC165",
2432
597
  "outputs": [],
2433
598
  "stateMutability": "nonpayable",
2434
599
  "type": "function"
@@ -2436,67 +601,55 @@
2436
601
  {
2437
602
  "inputs": [
2438
603
  {
2439
- "internalType": "Key32",
2440
- "name": "distributorKey",
2441
- "type": "bytes32"
604
+ "internalType": "address",
605
+ "name": "initialOwner",
606
+ "type": "address"
2442
607
  },
2443
608
  {
2444
- "internalType": "StateId",
2445
- "name": "newState",
2446
- "type": "uint8"
609
+ "internalType": "address",
610
+ "name": "registryAddress",
611
+ "type": "address"
2447
612
  }
2448
613
  ],
2449
- "name": "updateDistributorTypeState",
614
+ "name": "initializeNftOwnable",
2450
615
  "outputs": [],
2451
616
  "stateMutability": "nonpayable",
2452
617
  "type": "function"
2453
618
  },
2454
619
  {
2455
620
  "inputs": [
621
+ {
622
+ "internalType": "address",
623
+ "name": "registryAddress",
624
+ "type": "address"
625
+ },
2456
626
  {
2457
627
  "internalType": "NftId",
2458
- "name": "policyNftId",
628
+ "name": "parentNftId",
2459
629
  "type": "uint96"
2460
630
  },
2461
631
  {
2462
- "internalType": "NumberId",
2463
- "name": "payoutId",
2464
- "type": "uint32"
632
+ "internalType": "ObjectType",
633
+ "name": "objectType",
634
+ "type": "uint8"
2465
635
  },
2466
636
  {
2467
- "components": [
2468
- {
2469
- "internalType": "ClaimId",
2470
- "name": "claimId",
2471
- "type": "uint16"
2472
- },
2473
- {
2474
- "internalType": "uint256",
2475
- "name": "amount",
2476
- "type": "uint256"
2477
- },
2478
- {
2479
- "internalType": "bytes",
2480
- "name": "data",
2481
- "type": "bytes"
2482
- },
2483
- {
2484
- "internalType": "Timestamp",
2485
- "name": "paidAt",
2486
- "type": "uint40"
2487
- }
2488
- ],
2489
- "internalType": "struct IPolicy.PayoutInfo",
2490
- "name": "payout",
2491
- "type": "tuple"
637
+ "internalType": "bool",
638
+ "name": "isInterceptor",
639
+ "type": "bool"
2492
640
  },
2493
641
  {
2494
- "internalType": "StateId",
2495
- "name": "newState",
2496
- "type": "uint8"
642
+ "internalType": "address",
643
+ "name": "initialOwner",
644
+ "type": "address"
645
+ },
646
+ {
647
+ "internalType": "bytes",
648
+ "name": "registryData",
649
+ "type": "bytes"
2497
650
  }
2498
651
  ],
2499
- "name": "updatePayout",
652
+ "name": "initializeRegisterable",
2500
653
  "outputs": [],
2501
654
  "stateMutability": "nonpayable",
2502
655
  "type": "function"
@@ -2504,140 +657,56 @@
2504
657
  {
2505
658
  "inputs": [
2506
659
  {
2507
- "internalType": "NftId",
2508
- "name": "policyNftId",
2509
- "type": "uint96"
2510
- },
2511
- {
2512
- "internalType": "StateId",
2513
- "name": "newState",
2514
- "type": "uint8"
660
+ "internalType": "address",
661
+ "name": "registryAddress",
662
+ "type": "address"
2515
663
  }
2516
664
  ],
2517
- "name": "updatePayoutState",
665
+ "name": "initializeRegistryLinked",
2518
666
  "outputs": [],
2519
667
  "stateMutability": "nonpayable",
2520
668
  "type": "function"
2521
669
  },
2522
670
  {
2523
- "inputs": [
671
+ "inputs": [],
672
+ "name": "isConsumingScheduledOp",
673
+ "outputs": [
674
+ {
675
+ "internalType": "bytes4",
676
+ "name": "",
677
+ "type": "bytes4"
678
+ }
679
+ ],
680
+ "stateMutability": "view",
681
+ "type": "function"
682
+ },
683
+ {
684
+ "inputs": [],
685
+ "name": "linkToRegisteredNftId",
686
+ "outputs": [
2524
687
  {
2525
688
  "internalType": "NftId",
2526
- "name": "policyNftId",
689
+ "name": "nftId",
2527
690
  "type": "uint96"
2528
- },
2529
- {
2530
- "components": [
2531
- {
2532
- "internalType": "NftId",
2533
- "name": "productNftId",
2534
- "type": "uint96"
2535
- },
2536
- {
2537
- "internalType": "NftId",
2538
- "name": "bundleNftId",
2539
- "type": "uint96"
2540
- },
2541
- {
2542
- "internalType": "ReferralId",
2543
- "name": "referralId",
2544
- "type": "bytes8"
2545
- },
2546
- {
2547
- "internalType": "RiskId",
2548
- "name": "riskId",
2549
- "type": "bytes8"
2550
- },
2551
- {
2552
- "internalType": "uint256",
2553
- "name": "sumInsuredAmount",
2554
- "type": "uint256"
2555
- },
2556
- {
2557
- "internalType": "uint256",
2558
- "name": "premiumAmount",
2559
- "type": "uint256"
2560
- },
2561
- {
2562
- "internalType": "uint256",
2563
- "name": "premiumPaidAmount",
2564
- "type": "uint256"
2565
- },
2566
- {
2567
- "internalType": "uint256",
2568
- "name": "lifetime",
2569
- "type": "uint256"
2570
- },
2571
- {
2572
- "internalType": "bytes",
2573
- "name": "applicationData",
2574
- "type": "bytes"
2575
- },
2576
- {
2577
- "internalType": "bytes",
2578
- "name": "policyData",
2579
- "type": "bytes"
2580
- },
2581
- {
2582
- "internalType": "uint16",
2583
- "name": "claimsCount",
2584
- "type": "uint16"
2585
- },
2586
- {
2587
- "internalType": "uint16",
2588
- "name": "openClaimsCount",
2589
- "type": "uint16"
2590
- },
2591
- {
2592
- "internalType": "uint256",
2593
- "name": "payoutAmount",
2594
- "type": "uint256"
2595
- },
2596
- {
2597
- "internalType": "Timestamp",
2598
- "name": "activatedAt",
2599
- "type": "uint40"
2600
- },
2601
- {
2602
- "internalType": "Timestamp",
2603
- "name": "expiredAt",
2604
- "type": "uint40"
2605
- },
2606
- {
2607
- "internalType": "Timestamp",
2608
- "name": "closedAt",
2609
- "type": "uint40"
2610
- }
2611
- ],
2612
- "internalType": "struct IPolicy.PolicyInfo",
2613
- "name": "policy",
2614
- "type": "tuple"
2615
- },
2616
- {
2617
- "internalType": "StateId",
2618
- "name": "newState",
2619
- "type": "uint8"
2620
691
  }
2621
692
  ],
2622
- "name": "updatePolicy",
2623
- "outputs": [],
2624
693
  "stateMutability": "nonpayable",
2625
694
  "type": "function"
2626
695
  },
2627
696
  {
2628
697
  "inputs": [
2629
698
  {
2630
- "internalType": "NftId",
2631
- "name": "policyNftId",
2632
- "type": "uint96"
699
+ "internalType": "address",
700
+ "name": "to",
701
+ "type": "address"
2633
702
  },
2634
703
  {
2635
- "internalType": "StateId",
2636
- "name": "newState",
2637
- "type": "uint8"
704
+ "internalType": "uint256",
705
+ "name": "tokenId",
706
+ "type": "uint256"
2638
707
  }
2639
708
  ],
2640
- "name": "updatePolicyState",
709
+ "name": "nftMint",
2641
710
  "outputs": [],
2642
711
  "stateMutability": "nonpayable",
2643
712
  "type": "function"
@@ -2645,115 +714,22 @@
2645
714
  {
2646
715
  "inputs": [
2647
716
  {
2648
- "internalType": "NftId",
2649
- "name": "poolNftId",
2650
- "type": "uint96"
717
+ "internalType": "address",
718
+ "name": "from",
719
+ "type": "address"
2651
720
  },
2652
721
  {
2653
- "components": [
2654
- {
2655
- "internalType": "NftId",
2656
- "name": "productNftId",
2657
- "type": "uint96"
2658
- },
2659
- {
2660
- "internalType": "contract TokenHandler",
2661
- "name": "tokenHandler",
2662
- "type": "address"
2663
- },
2664
- {
2665
- "internalType": "bool",
2666
- "name": "isInterceptingBundleTransfers",
2667
- "type": "bool"
2668
- },
2669
- {
2670
- "internalType": "bool",
2671
- "name": "isExternallyManaged",
2672
- "type": "bool"
2673
- },
2674
- {
2675
- "internalType": "bool",
2676
- "name": "isVerifyingApplications",
2677
- "type": "bool"
2678
- },
2679
- {
2680
- "internalType": "UFixed",
2681
- "name": "collateralizationLevel",
2682
- "type": "uint256"
2683
- },
2684
- {
2685
- "internalType": "UFixed",
2686
- "name": "retentionLevel",
2687
- "type": "uint256"
2688
- },
2689
- {
2690
- "components": [
2691
- {
2692
- "internalType": "UFixed",
2693
- "name": "fractionalFee",
2694
- "type": "uint256"
2695
- },
2696
- {
2697
- "internalType": "uint256",
2698
- "name": "fixedFee",
2699
- "type": "uint256"
2700
- }
2701
- ],
2702
- "internalType": "struct Fee",
2703
- "name": "poolFee",
2704
- "type": "tuple"
2705
- },
2706
- {
2707
- "components": [
2708
- {
2709
- "internalType": "UFixed",
2710
- "name": "fractionalFee",
2711
- "type": "uint256"
2712
- },
2713
- {
2714
- "internalType": "uint256",
2715
- "name": "fixedFee",
2716
- "type": "uint256"
2717
- }
2718
- ],
2719
- "internalType": "struct Fee",
2720
- "name": "stakingFee",
2721
- "type": "tuple"
2722
- },
2723
- {
2724
- "components": [
2725
- {
2726
- "internalType": "UFixed",
2727
- "name": "fractionalFee",
2728
- "type": "uint256"
2729
- },
2730
- {
2731
- "internalType": "uint256",
2732
- "name": "fixedFee",
2733
- "type": "uint256"
2734
- }
2735
- ],
2736
- "internalType": "struct Fee",
2737
- "name": "performanceFee",
2738
- "type": "tuple"
2739
- },
2740
- {
2741
- "internalType": "address",
2742
- "name": "wallet",
2743
- "type": "address"
2744
- }
2745
- ],
2746
- "internalType": "struct ISetup.PoolSetupInfo",
2747
- "name": "setup",
2748
- "type": "tuple"
722
+ "internalType": "address",
723
+ "name": "to",
724
+ "type": "address"
2749
725
  },
2750
726
  {
2751
- "internalType": "StateId",
2752
- "name": "newState",
2753
- "type": "uint8"
727
+ "internalType": "uint256",
728
+ "name": "tokenId",
729
+ "type": "uint256"
2754
730
  }
2755
731
  ],
2756
- "name": "updatePoolSetup",
732
+ "name": "nftTransferFrom",
2757
733
  "outputs": [],
2758
734
  "stateMutability": "nonpayable",
2759
735
  "type": "function"
@@ -2761,17 +737,12 @@
2761
737
  {
2762
738
  "inputs": [
2763
739
  {
2764
- "internalType": "NftId",
2765
- "name": "poolNftId",
2766
- "type": "uint96"
2767
- },
2768
- {
2769
- "internalType": "StateId",
2770
- "name": "newState",
2771
- "type": "uint8"
740
+ "internalType": "bytes4",
741
+ "name": "interfaceId",
742
+ "type": "bytes4"
2772
743
  }
2773
744
  ],
2774
- "name": "updatePoolSetupState",
745
+ "name": "registerInterface",
2775
746
  "outputs": [],
2776
747
  "stateMutability": "nonpayable",
2777
748
  "type": "function"
@@ -2779,156 +750,30 @@
2779
750
  {
2780
751
  "inputs": [
2781
752
  {
2782
- "internalType": "NftId",
2783
- "name": "productNftId",
2784
- "type": "uint96"
753
+ "internalType": "RoleId",
754
+ "name": "roleId",
755
+ "type": "uint64"
2785
756
  },
2786
757
  {
2787
- "components": [
2788
- {
2789
- "internalType": "contract IERC20Metadata",
2790
- "name": "token",
2791
- "type": "address"
2792
- },
2793
- {
2794
- "internalType": "contract TokenHandler",
2795
- "name": "tokenHandler",
2796
- "type": "address"
2797
- },
2798
- {
2799
- "internalType": "NftId",
2800
- "name": "distributionNftId",
2801
- "type": "uint96"
2802
- },
2803
- {
2804
- "internalType": "NftId",
2805
- "name": "poolNftId",
2806
- "type": "uint96"
2807
- },
2808
- {
2809
- "components": [
2810
- {
2811
- "internalType": "UFixed",
2812
- "name": "fractionalFee",
2813
- "type": "uint256"
2814
- },
2815
- {
2816
- "internalType": "uint256",
2817
- "name": "fixedFee",
2818
- "type": "uint256"
2819
- }
2820
- ],
2821
- "internalType": "struct Fee",
2822
- "name": "distributionFee",
2823
- "type": "tuple"
2824
- },
2825
- {
2826
- "components": [
2827
- {
2828
- "internalType": "UFixed",
2829
- "name": "fractionalFee",
2830
- "type": "uint256"
2831
- },
2832
- {
2833
- "internalType": "uint256",
2834
- "name": "fixedFee",
2835
- "type": "uint256"
2836
- }
2837
- ],
2838
- "internalType": "struct Fee",
2839
- "name": "productFee",
2840
- "type": "tuple"
2841
- },
2842
- {
2843
- "components": [
2844
- {
2845
- "internalType": "UFixed",
2846
- "name": "fractionalFee",
2847
- "type": "uint256"
2848
- },
2849
- {
2850
- "internalType": "uint256",
2851
- "name": "fixedFee",
2852
- "type": "uint256"
2853
- }
2854
- ],
2855
- "internalType": "struct Fee",
2856
- "name": "processingFee",
2857
- "type": "tuple"
2858
- },
2859
- {
2860
- "components": [
2861
- {
2862
- "internalType": "UFixed",
2863
- "name": "fractionalFee",
2864
- "type": "uint256"
2865
- },
2866
- {
2867
- "internalType": "uint256",
2868
- "name": "fixedFee",
2869
- "type": "uint256"
2870
- }
2871
- ],
2872
- "internalType": "struct Fee",
2873
- "name": "poolFee",
2874
- "type": "tuple"
2875
- },
2876
- {
2877
- "components": [
2878
- {
2879
- "internalType": "UFixed",
2880
- "name": "fractionalFee",
2881
- "type": "uint256"
2882
- },
2883
- {
2884
- "internalType": "uint256",
2885
- "name": "fixedFee",
2886
- "type": "uint256"
2887
- }
2888
- ],
2889
- "internalType": "struct Fee",
2890
- "name": "stakingFee",
2891
- "type": "tuple"
2892
- },
2893
- {
2894
- "components": [
2895
- {
2896
- "internalType": "UFixed",
2897
- "name": "fractionalFee",
2898
- "type": "uint256"
2899
- },
2900
- {
2901
- "internalType": "uint256",
2902
- "name": "fixedFee",
2903
- "type": "uint256"
2904
- }
2905
- ],
2906
- "internalType": "struct Fee",
2907
- "name": "performanceFee",
2908
- "type": "tuple"
2909
- },
2910
- {
2911
- "internalType": "bool",
2912
- "name": "isIntercepting",
2913
- "type": "bool"
2914
- },
2915
- {
2916
- "internalType": "address",
2917
- "name": "wallet",
2918
- "type": "address"
2919
- }
2920
- ],
2921
- "internalType": "struct ISetup.ProductSetupInfo",
2922
- "name": "setup",
2923
- "type": "tuple"
2924
- },
758
+ "internalType": "address",
759
+ "name": "account",
760
+ "type": "address"
761
+ }
762
+ ],
763
+ "name": "revokeRole",
764
+ "outputs": [],
765
+ "stateMutability": "nonpayable",
766
+ "type": "function"
767
+ },
768
+ {
769
+ "inputs": [
2925
770
  {
2926
- "internalType": "StateId",
2927
- "name": "newState",
2928
- "type": "uint8"
771
+ "internalType": "address",
772
+ "name": "newAuthority",
773
+ "type": "address"
2929
774
  }
2930
775
  ],
2931
- "name": "updateProductSetup",
776
+ "name": "setAuthority",
2932
777
  "outputs": [],
2933
778
  "stateMutability": "nonpayable",
2934
779
  "type": "function"
@@ -2936,17 +781,12 @@
2936
781
  {
2937
782
  "inputs": [
2938
783
  {
2939
- "internalType": "NftId",
2940
- "name": "productNftId",
2941
- "type": "uint96"
2942
- },
2943
- {
2944
- "internalType": "StateId",
2945
- "name": "newState",
2946
- "type": "uint8"
784
+ "internalType": "contract BundleManager",
785
+ "name": "bundleManager",
786
+ "type": "address"
2947
787
  }
2948
788
  ],
2949
- "name": "updateProductSetupState",
789
+ "name": "setBundleManager",
2950
790
  "outputs": [],
2951
791
  "stateMutability": "nonpayable",
2952
792
  "type": "function"
@@ -2954,59 +794,12 @@
2954
794
  {
2955
795
  "inputs": [
2956
796
  {
2957
- "internalType": "Key32",
2958
- "name": "referralKey",
2959
- "type": "bytes32"
2960
- },
2961
- {
2962
- "components": [
2963
- {
2964
- "internalType": "NftId",
2965
- "name": "distributorNftId",
2966
- "type": "uint96"
2967
- },
2968
- {
2969
- "internalType": "string",
2970
- "name": "referralCode",
2971
- "type": "string"
2972
- },
2973
- {
2974
- "internalType": "UFixed",
2975
- "name": "discountPercentage",
2976
- "type": "uint256"
2977
- },
2978
- {
2979
- "internalType": "uint32",
2980
- "name": "maxReferrals",
2981
- "type": "uint32"
2982
- },
2983
- {
2984
- "internalType": "uint32",
2985
- "name": "usedReferrals",
2986
- "type": "uint32"
2987
- },
2988
- {
2989
- "internalType": "Timestamp",
2990
- "name": "expiryAt",
2991
- "type": "uint40"
2992
- },
2993
- {
2994
- "internalType": "bytes",
2995
- "name": "data",
2996
- "type": "bytes"
2997
- }
2998
- ],
2999
- "internalType": "struct IDistribution.ReferralInfo",
3000
- "name": "referralInfo",
3001
- "type": "tuple"
3002
- },
3003
- {
3004
- "internalType": "StateId",
3005
- "name": "newState",
3006
- "type": "uint8"
797
+ "internalType": "contract InstanceAdmin",
798
+ "name": "accessManager",
799
+ "type": "address"
3007
800
  }
3008
801
  ],
3009
- "name": "updateReferral",
802
+ "name": "setInstanceAdmin",
3010
803
  "outputs": [],
3011
804
  "stateMutability": "nonpayable",
3012
805
  "type": "function"
@@ -3014,17 +807,25 @@
3014
807
  {
3015
808
  "inputs": [
3016
809
  {
3017
- "internalType": "Key32",
3018
- "name": "referralKey",
3019
- "type": "bytes32"
3020
- },
810
+ "internalType": "contract InstanceReader",
811
+ "name": "instanceReader",
812
+ "type": "address"
813
+ }
814
+ ],
815
+ "name": "setInstanceReader",
816
+ "outputs": [],
817
+ "stateMutability": "nonpayable",
818
+ "type": "function"
819
+ },
820
+ {
821
+ "inputs": [
3021
822
  {
3022
- "internalType": "StateId",
3023
- "name": "newState",
3024
- "type": "uint8"
823
+ "internalType": "contract InstanceStore",
824
+ "name": "instanceStore",
825
+ "type": "address"
3025
826
  }
3026
827
  ],
3027
- "name": "updateReferralState",
828
+ "name": "setInstanceStore",
3028
829
  "outputs": [],
3029
830
  "stateMutability": "nonpayable",
3030
831
  "type": "function"
@@ -3032,34 +833,22 @@
3032
833
  {
3033
834
  "inputs": [
3034
835
  {
3035
- "internalType": "RiskId",
3036
- "name": "riskId",
3037
- "type": "bytes8"
836
+ "internalType": "string",
837
+ "name": "targetName",
838
+ "type": "string"
3038
839
  },
3039
840
  {
3040
- "components": [
3041
- {
3042
- "internalType": "NftId",
3043
- "name": "productNftId",
3044
- "type": "uint96"
3045
- },
3046
- {
3047
- "internalType": "bytes",
3048
- "name": "data",
3049
- "type": "bytes"
3050
- }
3051
- ],
3052
- "internalType": "struct IRisk.RiskInfo",
3053
- "name": "risk",
3054
- "type": "tuple"
841
+ "internalType": "bytes4[]",
842
+ "name": "selectors",
843
+ "type": "bytes4[]"
3055
844
  },
3056
845
  {
3057
- "internalType": "StateId",
3058
- "name": "newState",
3059
- "type": "uint8"
846
+ "internalType": "RoleId",
847
+ "name": "roleId",
848
+ "type": "uint64"
3060
849
  }
3061
850
  ],
3062
- "name": "updateRisk",
851
+ "name": "setTargetFunctionRole",
3063
852
  "outputs": [],
3064
853
  "stateMutability": "nonpayable",
3065
854
  "type": "function"
@@ -3067,320 +856,115 @@
3067
856
  {
3068
857
  "inputs": [
3069
858
  {
3070
- "internalType": "RiskId",
3071
- "name": "riskId",
3072
- "type": "bytes8"
859
+ "internalType": "address",
860
+ "name": "target",
861
+ "type": "address"
3073
862
  },
3074
863
  {
3075
- "internalType": "StateId",
3076
- "name": "newState",
3077
- "type": "uint8"
864
+ "internalType": "bool",
865
+ "name": "locked",
866
+ "type": "bool"
3078
867
  }
3079
868
  ],
3080
- "name": "updateRiskState",
869
+ "name": "setTargetLocked",
3081
870
  "outputs": [],
3082
871
  "stateMutability": "nonpayable",
3083
872
  "type": "function"
3084
- }
3085
- ],
3086
- "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000040565b62000026620001f7565b6200003062000331565b6200003a6200059e565b62000717565b60dc600090815260026020527f4bee8dc518469fb8c73831886b94afa96b3ef3e3ee55b9076720259192220ef0805460ff191660641790556001906003906200008760dc90565b60ff1660ff1681526020019081526020016000206000620000ad620006e560201b60201c565b60ff1660ff1681526020019081526020016000206000620000d3620006ef60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906003906200010760dc90565b60ff1660ff16815260200190815260200160002060006200012d620006ef60201b60201c565b60ff1660ff168152602001908152602001600020600062000153620006e560201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906003906200018760dc90565b60ff1660ff1681526020019081526020016000206000620001ad620006ef60201b60201c565b60ff1660ff1681526020019081526020016000206000620001d3620006f460201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f7673bcbb3401a7cbae68f81d40eea2cf35afdaf7ecd016ebf3f02857fcc1260a8054606460ff1991821681179092557fa1c69de77e78d12e062170d002ba111ba52c8f452f3b0ca326991b7298fd7aaf8054909116600190811790915560009182526003602052907f6b16ef514f22b74729cbea5cc7babfecbdc2309e530ca716643d11fe929eed2e906200028b606e90565b60ff1660ff1681526020019081526020016000206000620002b1620006e560201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600390620002e5606490565b60ff1660ff16815260200190815260200160002060006200030b620006ef60201b60201c565b60ff1660ff1681526020019081526020016000206000620001d3620006f960201b60201c565b60d3600090815260026020527feb6856e0ae0d71a8a9e0bc42aca98fe96c3be13699c5c2d551c94a190e39043d805460ff1916600a1790556001906003906200037860d390565b60ff1660ff16815260200190815260200160002060006200039e620006fe60201b60201c565b60ff1660ff1681526020019081526020016000206000620003c46200070360201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600390620003f860d390565b60ff1660ff16815260200190815260200160002060006200041e620006fe60201b60201c565b60ff1660ff1681526020019081526020016000206000620004446200070860201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906003906200047860d390565b60ff1660ff16815260200190815260200160002060006200049e620006fe60201b60201c565b60ff1660ff1681526020019081526020016000206000620004c46200070d60201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600390620004f860d390565b60ff1660ff16815260200190815260200160002060006200051e6200070d60201b60201c565b60ff1660ff168152602001908152602001600020600062000544620006e560201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906003906200057860d390565b60ff1660ff1681526020019081526020016000206000620001ad620006e560201b60201c565b60c8600090815260026020527fec56eb74d500f9b1bf8f0c5cc42ff5ed51e8d9e3a2ebb6e83a26383f297e0f1e805460ff19166064179055600190600390620005e560c890565b60ff1660ff16815260200190815260200160002060006200060b620006e560201b60201c565b60ff1660ff168152602001908152602001600020600062000631620006ef60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906003906200066560c890565b60ff1660ff16815260200190815260200160002060006200068b620006ef60201b60201c565b60ff1660ff1681526020019081526020016000206000620006b1620006e560201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600390620002e560c890565b606490565b905090565b606e90565b60c890565b60d290565b600a90565b601490565b601e90565b60006028620006ea565b6151e780620007276000396000f3fe608060405234801561001057600080fd5b50600436106104a15760003560e01c806375b238fc1161026d578063b6d7cd6211610151578063e3aa7f05116100ce578063f7bc431c11610092578063f7bc431c14610b3d578063f7c34ee014610b50578063fa145b6d14610b63578063fe1f18d614610b76578063fed3d63f14610b89578063ff0a080514610b9157600080fd5b8063e3aa7f0514610ac6578063e9e96c7014610ad9578063f21de1e8146107b8578063f48016ce14610b17578063f651dcac14610b2a57600080fd5b8063cde749f411610115578063cde749f414610a7d578063cf947d2014610a85578063d2f21a2914610a98578063dee3262314610aab578063e1033e7d14610abe57600080fd5b8063b6d7cd6214610a34578063bf1db3f914610a47578063bf7e214f14610a5a578063ca600b1c14610a62578063ccdcd37f14610a6a57600080fd5b80639a960d52116101ea578063a8989675116101ae578063a8989675146109d3578063a9cea142146109e6578063ada9652e146109f9578063afa5e1301461074c578063b3260e9314610a0e578063b405b76f14610a2157600080fd5b80639a960d52146108415780639df0280b14610582578063a13df2ab146108fc578063a5961b4c1461090f578063a76ee018146109c057600080fd5b8063893d20e811610231578063893d20e81461088d5780638eaa6ac0146108955780638fb36037146108b557806391ff6eaa146108d6578063976b0a77146108e957600080fd5b806375b238fc146108395780637a7afcb0146108415780637a9e5e4b146108545780637b8c388f146108675780637cef48421461087a57600080fd5b80633e35aba81161039457806354f6127f116103115780635dfa73db116102d55780635dfa73db146107c95780636071a68e146107d257806361f5f420146107e5578063644c45e0146107f6578063675393bf1461081e5780636b9bf08b1461083157600080fd5b806354f6127f146107725780635772b10114610792578063588cd281146107a55780635ab1bd53146107b85780635d4345cc1461058257600080fd5b8063447fc48f11610358578063447fc48f14610713578063468a18671461072657806351cf2fd0146107395780635378cd3c1461074c57806354d747a81461075f57600080fd5b80633e35aba8146106bf5780633fc5ab98146106d257806340529b0f146106e5578063422c9d00146106f85780634288121d1461070b57600080fd5b8063214cdb801161042257806336fc697e116103e657806336fc697e1461064e57806337f135d71461065657806338a699a4146106735780633c0d6a41146106865780633ca7c02a1461069957600080fd5b8063214cdb80146105fa5780632781d4431461060d57806327953f481461061557806327bb7a33146106285780632f61088a1461063b57600080fd5b80630fad0eb1116104695780630fad0eb1146105825780630fec111c14610595578063138461e0146105aa5780631b38d5f4146105b25780631eff4b22146105d357600080fd5b806301ffc9a7146104a657806302cd3071146104e857806309648a9d1461050d5780630d358181146105475780630f526f7d1461056d575b600080fd5b6104d36104b4366004613365565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6006546001600160a01b03165b6040516001600160a01b0390911681526020016104df565b61053561051b36600461338f565b600090815260046020526040902054610100900460ff1690565b60405160ff90911681526020016104df565b6105356105553660046133b7565b60ff9081166000908152600260205260409020541690565b61058061057b3660046133f9565b610ba4565b005b6105806105903660046133f9565b610bc9565b61059d610bde565b6040516104df9190613482565b610580610d8d565b6105c56105c036600461350d565b610f94565b6040519081526020016104df565b6105c57f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b610580610608366004613365565b611033565b6105c5600381565b6105806106233660046137cd565b611060565b610580610636366004613833565b611092565b610580610649366004613946565b61111e565b6105806111b9565b61065e600081565b60405163ffffffff90911681526020016104df565b6104d361068136600461338f565b6111ff565b610580610694366004613a30565b61128e565b6106a76001600160401b0381565b6040516001600160401b0390911681526020016104df565b6105c56106cd36600461350d565b6112b9565b6105806106e0366004613b78565b6112e6565b6105806106f33660046133f9565b611321565b610580610706366004613bdb565b611336565b6104f5611473565b610580610721366004613bf8565b611506565b6105c561073436600461350d565b611532565b610580610747366004613cfb565b61155f565b61058061075a366004613d42565b611585565b61058061076d366004613e23565b611598565b61078561078036600461338f565b6115b6565b6040516104df9190613e5f565b6105806107a0366004613eb5565b61165b565b6105806107b3366004613fdf565b611681565b6001546001600160a01b03166104f5565b6106a761271081565b6105806107e0366004614020565b6116a9565b6007546001600160a01b03166104f5565b600080516020615172833981519152546040516001600160601b0390911681526020016104df565b61058061082c366004613bdb565b6116cf565b6104f56117db565b6106a7600081565b61058061084f3660046141a0565b611804565b610580610862366004613bdb565b61182a565b6105c561087536600461350d565b6118ad565b6105806108883660046141e7565b6118da565b6104f5611964565b6108a86108a336600461338f565b611a9b565b6040516104df919061424f565b6108bd611bdc565b6040516001600160e01b031990911681526020016104df565b6105806108e4366004614373565b611c14565b6105806108f73660046143aa565b611c3c565b6105c561090a36600461350d565b611d7c565b6109b361091d36600461338f565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260046020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516104df91906143fb565b6105806109ce366004614409565b611da9565b6105806109e1366004614450565b611e44565b6105806109f4366004614490565b611f35565b6105c560008051602061517283398151915281565b610580610a1c3660046144d1565b611f5d565b610580610a2f36600461450f565b611f7b565b610580610a42366004614554565b611fa1565b6104d3610a553660046133b7565b611fb6565b6104f5612003565b6104f561201f565b610580610a783660046145e0565b612048565b610535612070565b610580610a9336600461461f565b6120e7565b610580610aa63660046133f9565b612105565b610580610ab93660046133f9565b61211c565b6104f5612133565b610580610ad436600461465d565b61215c565b6104d3610ae7366004614450565b60ff9283166000908152600360209081526040808320948616835293815283822092851682529190915220541690565b6105c5610b2536600461469b565b612184565b610580610b383660046146c9565b61220f565b610580610b4b366004613bdb565b612237565b610580610b5e3660046146f6565b612324565b610580610b71366004614724565b61239b565b610580610b843660046133f9565b6123c1565b6104f56123d6565b610580610b9f36600461477b565b6123ff565b610bb1335b600036612425565b610bc5610bbf83608c61252b565b82612577565b5050565b610bd233610ba9565b610bc5610bbf83611532565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b90910416151591810191909152600182018054919291606084019190610c89906147c0565b80601f0160208091040260200160405190810160405280929190818152602001828054610cb5906147c0565b8015610d025780601f10610cd757610100808354040283529160200191610d02565b820191906000526020600020905b815481529060010190602001808311610ce557829003601f168201915b50505050508152505090506040518060e00160405280610d20600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610d71611964565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061517283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610dfc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2091906147fa565b15610e515780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b30610e646001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610eac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed091906147fa565b610ef85760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610e48565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610f4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f709190614817565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660795b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015611009573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061102d9190614834565b92915050565b61103b612581565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61106933610ba9565b610bc5828260405160200161107e919061484d565b6040516020818303038152906040526125cc565b61109a612581565b6110a48287612324565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016111148382614943565b5050505050505050565b61112733610ba9565b6040516355ee627560e01b81526001600160c01b031983166004820152610bc59073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611184573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a89190614834565b8260405160200161107e9190614a02565b6111c1612581565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600081815260046020819052604080832054905163b2466acf60e01b815261010090910460ff169181019190915273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af415801561126a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061102d91906147fa565b61129733610ba9565b6112b46112a384611532565b8260405160200161107e9190614a30565b505050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b0384166078610fbd565b6112ef33610ba9565b6112b46112fb84611d7c565b8360405160200161130c9190614a81565b604051602081830303815290604052836125d6565b61132a33610ba9565b610bc5610bbf836118ad565b61133f33610ba9565b6007546001600160a01b03161561138f5760405162461bcd60e51b8152602060048201526014602482015273109d5b991b1953585b9859d95c881a5cc81cd95d60621b6044820152606401610e48565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113fb9190614b35565b6001600160a01b0316146114515760405162461bcd60e51b815260206004820152601f60248201527f42756e646c654d616e6167657220696e7374616e6365206d69736d61746368006044820152606401610e48565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b60006114876001546001600160a01b031690565b6001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff909116600482015260036024820152604401602060405180830381865afa1580156114dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115019190614b35565b905090565b61150f33610ba9565b61152c61151b85611532565b8360405160200161130c9190614a30565b50505050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d3610fbd565b61156833610ba9565b6112b4611574846118ad565b8360405160200161130c9190614b52565b61158e33610ba9565b610bc58282612577565b6115a133610ba9565b610bc5828260405160200161107e9190614b8f565b60008181526004602052604090206001018054606091906115d6906147c0565b80601f0160208091040260200160405190810160405280929190818152602001828054611602906147c0565b801561164f5780601f106116245761010080835404028352916020019161164f565b820191906000526020600020905b81548152906001019060200180831161163257829003601f168201915b50505050509050919050565b61166433610ba9565b61152c61167085611532565b8360405160200161130c9190614c2a565b61168a33610ba9565b6112b461169884608c61252b565b8360405160200161130c9190614c5a565b6116b233610ba9565b610bc56116be83611d7c565b8260405160200161107e9190614a81565b6116d7612581565b806001600160a01b03163b60000361170d5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610e48565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015611787575060408051601f3d908101601f19168201909252611784918101906147fa565b60015b6117af5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610e48565b80610bc55760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610e48565b50565b60006117ef6001546001600160a01b031690565b6001600160a01b031663d39e6043608c611498565b61180d33610ba9565b6112b461181984611532565b8360405160200161130c9190614d47565b33611833612003565b6001600160a01b0316816001600160a01b03161461186e5760405162d1953b60e31b81526001600160a01b0382166004820152602401610e48565b816001600160a01b03163b6000036118a4576040516361798f2f60e11b81526001600160a01b0383166004820152602401610e48565b610bc5826125e1565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610fbd565b6118e333610ba9565b6040516355ee627560e01b81526001600160c01b031983166004820152610bc59073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611940573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bbf9190614834565b60008060008051602061517283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156119d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f891906147fa565b15611a85576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611a5b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a7f9190614b35565b91505090565b54600160601b90046001600160a01b0316919050565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260046020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191611b53906147c0565b80601f0160208091040260200160405190810160405280929190818152602001828054611b7f906147c0565b8015611bcc5780601f10611ba157610100808354040283529160200191611bcc565b820191906000526020600020905b815481529060010190602001808311611baf57829003601f168201915b5050505050815250509050919050565b600080516020615192833981519152805460009190600160a01b900460ff16611c06576000611a7f565b638fb3603760e01b91505090565b611c1d33610ba9565b610bc5611c2b83606e61252b565b8260405160200161107e9190614e88565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b0316600081158015611c815750825b90506000826001600160401b03166001148015611c9d5750303b155b905081158015611cab575080155b15611cc95760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611cf357845460ff60401b1916600160401b1785555b611cfc89612642565b611d1b8888604660008a60405180602001604052806000815250611092565b611d2b6302994e4760e61b611033565b8315611d7157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc610fbd565b611db233610ba9565b6040516355ee627560e01b81526001600160c01b0319841660048201526112b49073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611e0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e339190614834565b8360405160200161130c9190614a02565b60ff8381166000908152600260205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015611ea9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ecd91906147fa565b15611ed757505050565b60ff8084166000908152600360209081526040808320868516845282528083208585168452909152902054166112b457604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610e48565b611f3e33610ba9565b6112b4611f4c84606e61252b565b8360405160200161130c9190614e88565b611f6633610ba9565b6112b4838360405160200161130c919061484d565b611f8433610ba9565b610bc5611f90836118ad565b8260405160200161107e9190614b52565b611faa33610ba9565b6112b4610bbf84611532565b60ff81811660009081526002602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf9060240161124d565b600080516020615192833981519152546001600160a01b031690565b60006120336001546001600160a01b031690565b6001600160a01b031663d39e60436078611498565b61205133610ba9565b6112b461205f84607861252b565b8360405160200161130c9190614fb2565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156120c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115019190615002565b6120f033610ba9565b6112b4838360405160200161130c9190614b8f565b61210e33610ba9565b610bc5610bbf83607861252b565b61212533610ba9565b610bc5610bbf83606e61252b565b60006121476001546001600160a01b031690565b6001600160a01b031663d39e604360d3611498565b61216533610ba9565b610bc561217383608c61252b565b8260405160200161107e9190614c5a565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af41580156121e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122089190614834565b9392505050565b61221833610ba9565b610bc561222683607861252b565b8260405160200161107e9190614fb2565b61224033610ba9565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015612288573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122ac9190614b35565b6001600160a01b0316146123025760405162461bcd60e51b815260206004820181905260248201527f496e7374616e636552656164657220696e7374616e6365206d69736d617463686044820152606401610e48565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b61232c612581565b612335816116cf565b61233d6111b9565b6001600160a01b0382166123645760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061517283398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6123a433610ba9565b6112b46123b084611532565b8260405160200161107e9190614c2a565b6123ca33610ba9565b610bc5610bbf83611d7c565b60006123ea6001546001600160a01b031690565b6001600160a01b031663d39e604360dc611498565b61240833610ba9565b610bc561241483611532565b8260405160200161107e9190614d47565b600080516020615192833981519152600080612460612442612003565b8730612452600460008a8c61501f565b61245b91615049565b612653565b91509150816125235763ffffffff81161561250057825460ff60a01b1916600160a01b17835561248e612003565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016124bd93929190615079565b600060405180830381600087803b1580156124d757600080fd5b505af11580156124eb573d6000803e3d6000fd5b5050845460ff60a01b19168555506125239050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610e48565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c8906044016121c7565b610bc5828261275f565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166125ca57604051631afcd79f60e31b815260040160405180910390fd5b565b610bc58282612a93565b6112b4838383612eb9565b60008051602061519283398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b61264a612581565b6117d881613354565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516126c291906150b9565b600060405180830381855afa9150503d80600081146126fd576040519150601f19603f3d011682016040523d82523d6000602084013e612702565b606091505b50915091508115612754576040815110612734578080602001905181019061272a91906150d5565b9094509250612754565b6020815110612754578080602001905181019061275191906147fa565b93505b505094509492505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156127b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127d591906147fa565b6128215760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610e48565b6000828152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af415801561288d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128b191906147fa565b6128fd5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610e48565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166129414390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156129d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129f79190615002565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612a47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a6b9190615104565b8786863287604051612a839796959493929190615121565b60405180910390a1505050505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612ae6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b0a9190615002565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015612b5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b8391906147fa565b612bcf5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610e48565b6000838152600460208190526040918290208054925163037c8cb160e51b815261010090930460ff16918301919091529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015612c3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c6091906147fa565b612cac5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610e48565b33436000612cb985611fb6565b612cc4576064612cda565b60ff808616600090815260026020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b919091021785556000888152600460205260409020909150600101612d648782614943565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612dd7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dfb9190615002565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612e4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e6f9190615104565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a0015b60405180910390a150505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612f0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f2f91906147fa565b612f7b5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610e48565b6000838152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612fe7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061300b91906147fa565b6130575760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610e48565b60008581526004602052604090206001016130728582614943565b508154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166130b74390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613149573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061316d9190615002565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156131bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131e19190615104565b87868632876040516131f99796959493929190615121565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613273573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132979190615002565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156132e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061330b9190615104565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c001612ea8565b61335c612581565b6117d8816125e1565b60006020828403121561337757600080fd5b81356001600160e01b03198116811461220857600080fd5b6000602082840312156133a157600080fd5b5035919050565b60ff811681146117d857600080fd5b6000602082840312156133c957600080fd5b8135612208816133a8565b6001600160601b03811681146117d857600080fd5b80356133f4816133d4565b919050565b6000806040838503121561340c57600080fd5b8235613417816133d4565b91506020830135613427816133a8565b809150509250929050565b60005b8381101561344d578181015183820152602001613435565b50506000910152565b6000815180845261346e816020860160208601613432565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516134eb60c08401826001600160a01b03169052565b5060c083015160e080840152613505610100840182613456565b949350505050565b60006020828403121561351f57600080fd5b8135612208816133d4565b634e487b7160e01b600052604160045260246000fd5b60405161012081016001600160401b03811182821017156135635761356361352a565b60405290565b604080519081016001600160401b03811182821017156135635761356361352a565b604051608081016001600160401b03811182821017156135635761356361352a565b60405160e081016001600160401b03811182821017156135635761356361352a565b60405161016081016001600160401b03811182821017156135635761356361352a565b60405161020081016001600160401b03811182821017156135635761356361352a565b60405161018081016001600160401b03811182821017156135635761356361352a565b600082601f83011261364957600080fd5b81356001600160401b03808211156136635761366361352a565b604051601f8301601f19908116603f0116810190828211818310171561368b5761368b61352a565b816040528381528660208588010111156136a457600080fd5b836020870160208301376000602085830101528094505050505092915050565b63ffffffff811681146117d857600080fd5b80356133f4816136c4565b80151581146117d857600080fd5b80356133f4816136e1565b6000610120828403121561370d57600080fd5b613715613540565b905081356001600160401b038082111561372e57600080fd5b61373a85838601613638565b8352602084013560208401526040840135604084015260608401356060840152613766608085016136d6565b608084015261377760a085016136d6565b60a084015261378860c085016136ef565b60c084015261379960e085016136ef565b60e0840152610100915081840135818111156137b457600080fd5b6137c086828701613638565b8385015250505092915050565b600080604083850312156137e057600080fd5b8235915060208301356001600160401b038111156137fd57600080fd5b613809858286016136fa565b9150509250929050565b6001600160a01b03811681146117d857600080fd5b80356133f481613813565b60008060008060008060c0878903121561384c57600080fd5b863561385781613813565b95506020870135613867816133d4565b94506040870135613877816133a8565b93506060870135613887816136e1565b9250608087013561389781613813565b915060a08701356001600160401b038111156138b257600080fd5b6138be89828a01613638565b9150509295509295509295565b6001600160c01b0319811681146117d857600080fd5b80356133f4816138cb565b6000604082840312156138fe57600080fd5b613906613569565b90508135613913816133d4565b815260208201356001600160401b0381111561392e57600080fd5b61393a84828501613638565b60208301525092915050565b6000806040838503121561395957600080fd5b8235613964816138cb565b915060208301356001600160401b0381111561397f57600080fd5b613809858286016138ec565b61ffff811681146117d857600080fd5b80356133f48161398b565b803564ffffffffff811681146133f457600080fd5b6000608082840312156139cd57600080fd5b6139d561358b565b905081356139e28161398b565b81526020828101359082015260408201356001600160401b03811115613a0757600080fd5b613a1384828501613638565b604083015250613a25606083016139a6565b606082015292915050565b600080600060608486031215613a4557600080fd5b8335613a50816133d4565b92506020840135613a60816136c4565b915060408401356001600160401b03811115613a7b57600080fd5b613a87868287016139bb565b9150509250925092565b600060408284031215613aa357600080fd5b613aab613569565b9050813581526020820135602082015292915050565b60006101408284031215613ad457600080fd5b613adc613540565b9050613ae7826133e9565b8152613af68360208401613a91565b602082015260608201356001600160401b03811115613b1457600080fd5b613b2084828501613638565b6040830152506080820135606082015260a0820135608082015260c082013560a082015260e082013560c0820152610100613b5c8184016139a6565b60e0830152613b6e61012084016139a6565b9082015292915050565b600080600060608486031215613b8d57600080fd5b8335613b98816133d4565b925060208401356001600160401b03811115613bb357600080fd5b613bbf86828701613ac1565b9250506040840135613bd0816133a8565b809150509250925092565b600060208284031215613bed57600080fd5b813561220881613813565b60008060008060808587031215613c0e57600080fd5b8435613c19816133d4565b93506020850135613c29816136c4565b925060408501356001600160401b03811115613c4457600080fd5b613c50878288016139bb565b9250506060850135613c61816133a8565b939692955090935050565b600060608284031215613c7e57600080fd5b604051606081016001600160401b038282108183111715613ca157613ca161352a565b8160405282935084359150613cb5826138cb565b908252602084013590613cc7826136e1565b8160208401526040850135915080821115613ce157600080fd5b50613cee85828601613638565b6040830152505092915050565b600080600060608486031215613d1057600080fd5b8335613d1b816133d4565b925060208401356001600160401b03811115613d3657600080fd5b613bbf86828701613c6c565b60008060408385031215613d5557600080fd5b823591506020830135613427816133a8565b600060e08284031215613d7957600080fd5b613d816135ad565b9050613d8c826133e9565b815260208201356001600160401b0380821115613da857600080fd5b613db485838601613638565b602084015260408401356040840152613dcf606085016136d6565b6060840152613de0608085016136d6565b6080840152613df160a085016139a6565b60a084015260c0840135915080821115613e0a57600080fd5b50613e1784828501613638565b60c08301525092915050565b60008060408385031215613e3657600080fd5b8235915060208301356001600160401b03811115613e5357600080fd5b61380985828601613d67565b6020815260006122086020830184613456565b600060808284031215613e8457600080fd5b613e8c61358b565b9050813581526020820135602082015260408201356001600160401b03811115613a0757600080fd5b60008060008060808587031215613ecb57600080fd5b8435613ed6816133d4565b93506020850135613ee68161398b565b925060408501356001600160401b03811115613f0157600080fd5b613c5087828801613e72565b60006101c08284031215613f2057600080fd5b613f286135cf565b9050613f33826133e9565b8152613f4160208301613828565b6020820152613f52604083016136ef565b6040820152613f63606083016136ef565b6060820152613f74608083016136ef565b608082015260a082013560a082015260c082013560c0820152613f9a8360e08401613a91565b60e0820152610120613fae84828501613a91565b610100830152613fc2846101608501613a91565b90820152613fd36101a08301613828565b61014082015292915050565b60008060006102008486031215613ff557600080fd5b8335614000816133d4565b925061400f8560208601613f0d565b91506101e0840135613bd0816133a8565b6000806040838503121561403357600080fd5b823561403e816133d4565b915060208301356001600160401b0381111561405957600080fd5b61380985828601613ac1565b6000610200828403121561407857600080fd5b6140806135f2565b905061408b826133e9565b8152614099602083016133e9565b60208201526140aa604083016138e1565b60408201526140bb606083016138e1565b60608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e0820152610100808301356001600160401b038082111561410457600080fd5b61411086838701613638565b8385015261012092508285013591508082111561412c57600080fd5b5061413985828601613638565b82840152505061014061414d81840161399b565b9082015261016061415f83820161399b565b9082015261018082810135908201526101a061417c8184016139a6565b908201526101c061418e8382016139a6565b908201526101e0613b6e8382016139a6565b6000806000606084860312156141b557600080fd5b83356141c0816133d4565b925060208401356001600160401b038111156141db57600080fd5b613bbf86828701614065565b600080604083850312156141fa57600080fd5b8235613417816138cb565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b60208152614261602082018351614205565b6000602083015160c08084015261350560e0840182613456565b6000610240828403121561428e57600080fd5b614296613615565b90506142a182613828565b81526142af60208301613828565b60208201526142c0604083016133e9565b60408201526142d1606083016133e9565b60608201526142e38360808401613a91565b60808201526142f58360c08401613a91565b60a082015261010061430984828501613a91565b60c083015261014061431d85828601613a91565b60e0840152614330856101808601613a91565b82840152614342856101c08601613a91565b61012084015261435561020085016136ef565b90830152506143676102208301613828565b61016082015292915050565b600080610260838503121561438757600080fd5b8235614392816133d4565b91506143a1846020850161427b565b90509250929050565b600080600080608085870312156143c057600080fd5b84356143cb81613813565b935060208501356143db81613813565b925060408501356143eb816133d4565b91506060850135613c6181613813565b60a0810161102d8284614205565b60008060006060848603121561441e57600080fd5b8335614429816138cb565b925060208401356001600160401b0381111561444457600080fd5b613bbf868287016138ec565b60008060006060848603121561446557600080fd5b8335614470816133a8565b92506020840135614480816133a8565b91506040840135613bd0816133a8565b600080600061028084860312156144a657600080fd5b83356144b1816133d4565b92506144c0856020860161427b565b9150610260840135613bd0816133a8565b6000806000606084860312156144e657600080fd5b8335925060208401356001600160401b0381111561450357600080fd5b613bbf868287016136fa565b6000806040838503121561452257600080fd5b823561452d816133d4565b915060208301356001600160401b0381111561454857600080fd5b61380985828601613c6c565b60008060006060848603121561456957600080fd5b8335614574816133d4565b925060208401356144808161398b565b600060a0828403121561459657600080fd5b61459e61358b565b905081356145ab816133d4565b815260208201356145bb81613813565b60208201526145cd8360408401613a91565b60408201526080820135613a2581613813565b600080600060e084860312156145f557600080fd5b8335614600816133d4565b925061460f8560208601614584565b915060c0840135613bd0816133a8565b60008060006060848603121561463457600080fd5b8335925060208401356001600160401b0381111561465157600080fd5b613bbf86828701613d67565b6000806101e0838503121561467157600080fd5b823561467c816133d4565b91506143a18460208501613f0d565b60ff19811681146117d857600080fd5b600080604083850312156146ae57600080fd5b82356146b9816133a8565b915060208301356134278161468b565b60008060c083850312156146dc57600080fd5b82356146e7816133d4565b91506143a18460208501614584565b6000806040838503121561470957600080fd5b823561471481613813565b9150602083013561342781613813565b60008060006060848603121561473957600080fd5b8335614744816133d4565b925060208401356147548161398b565b915060408401356001600160401b0381111561476f57600080fd5b613a8786828701613e72565b6000806040838503121561478e57600080fd5b8235614799816133d4565b915060208301356001600160401b038111156147b457600080fd5b61380985828601614065565b600181811c908216806147d457607f821691505b6020821081036147f457634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561480c57600080fd5b8151612208816136e1565b60006020828403121561482957600080fd5b8151612208816133d4565b60006020828403121561484657600080fd5b5051919050565b602081526000825161012080602085015261486c610140850183613456565b915060208501516040850152604085015160608501526060850151608085015260808501516148a360a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006148d98187018315159052565b860151858403601f19018387015290506148f38382613456565b9695505050505050565b601f8211156112b457600081815260208120601f850160051c810160208610156149245750805b601f850160051c820191505b8181101561252357828155600101614930565b81516001600160401b0381111561495c5761495c61352a565b6149708161496a84546147c0565b846148fd565b602080601f8311600181146149a5576000841561498d5750858301515b600019600386901b1c1916600185901b178555612523565b600085815260208120601f198616915b828110156149d4578886015182559484019460019091019084016149b5565b50858210156149f25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b602081526001600160601b038251166020820152600060208301516040808401526135056060840182613456565b6020815261ffff8251166020820152602082015160408201526000604083015160806060840152614a6460a0840182613456565b905064ffffffffff60608501511660808401528091505092915050565b60208152614a9b6020820183516001600160601b03169052565b60006020830151614ab9604084018280518252602090810151910152565b506040830151610140806080850152614ad6610160850183613456565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e08701519150614b1e61012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b600060208284031215614b4757600080fd5b815161220881613813565b602081526001600160401b0360c01b8251166020820152602082015115156040820152600060408301516060808401526135056080840182613456565b602081526001600160601b0382511660208201526000602083015160e06040840152614bbf610100840182613456565b90506040840151606084015263ffffffff60608501511660808401526080840151614bf260a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152614c218282613456565b95945050505050565b6020815281516020820152602082015160408201526000604083015160806060840152614a6460a0840182613456565b81516001600160601b031681526101c081016020830151614c8660208401826001600160a01b03169052565b506040830151614c9a604084018215159052565b506060830151614cae606084018215159052565b506080830151614cc2608084018215159052565b5060a083015160a083015260c083015160c083015260e0830151614cf360e084018280518252602090810151910152565b50610100830151610120614d138185018380518252602090810151910152565b840151805161016085015260200151610180840152506101408301516001600160a01b0381166101a08401525b5092915050565b60208152614d616020820183516001600160601b03169052565b60006020830151614d7d60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101008181850152808501519150506102006101208181860152614df5610220860184613456565b9250808601519050610140601f198685030181870152614e158483613456565b935080870151915050610160614e308187018361ffff169052565b8601519050610180614e478682018361ffff169052565b8601516101a08681019190915286015190506101c0614e6e8187018364ffffffffff169052565b86015190506101e0614b1e8682018364ffffffffff169052565b81516001600160a01b0316815261024081016020830151614eb460208401826001600160a01b03169052565b506040830151614ecf60408401826001600160601b03169052565b506060830151614eea60608401826001600160601b03169052565b506080830151614f07608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c0830151610100614f3d8185018380518252602090810151910152565b60e08501519150610140614f5d8186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e08501528401511515610200840152506101608301516001600160a01b038116610220840152614d40565b81516001600160601b031681526020808301516001600160a01b03908116828401526040808501518051918501919091529091015160608084019190915290920151909116608082015260a00190565b60006020828403121561501457600080fd5b8151612208816133a8565b6000808585111561502f57600080fd5b8386111561503c57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156150715780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082516150cb818460208701613432565b9190910192915050565b600080604083850312156150e857600080fd5b82516150f3816136e1565b6020840151909250613427816136c4565b60006020828403121561511657600080fd5b81516122088161468b565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e0019056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122039b6c75d7244010645e19fda9bf0783fc3376a744e9601e7f5e6f92df8daf86e64736f6c63430008140033",
3087
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106104a15760003560e01c806375b238fc1161026d578063b6d7cd6211610151578063e3aa7f05116100ce578063f7bc431c11610092578063f7bc431c14610b3d578063f7c34ee014610b50578063fa145b6d14610b63578063fe1f18d614610b76578063fed3d63f14610b89578063ff0a080514610b9157600080fd5b8063e3aa7f0514610ac6578063e9e96c7014610ad9578063f21de1e8146107b8578063f48016ce14610b17578063f651dcac14610b2a57600080fd5b8063cde749f411610115578063cde749f414610a7d578063cf947d2014610a85578063d2f21a2914610a98578063dee3262314610aab578063e1033e7d14610abe57600080fd5b8063b6d7cd6214610a34578063bf1db3f914610a47578063bf7e214f14610a5a578063ca600b1c14610a62578063ccdcd37f14610a6a57600080fd5b80639a960d52116101ea578063a8989675116101ae578063a8989675146109d3578063a9cea142146109e6578063ada9652e146109f9578063afa5e1301461074c578063b3260e9314610a0e578063b405b76f14610a2157600080fd5b80639a960d52146108415780639df0280b14610582578063a13df2ab146108fc578063a5961b4c1461090f578063a76ee018146109c057600080fd5b8063893d20e811610231578063893d20e81461088d5780638eaa6ac0146108955780638fb36037146108b557806391ff6eaa146108d6578063976b0a77146108e957600080fd5b806375b238fc146108395780637a7afcb0146108415780637a9e5e4b146108545780637b8c388f146108675780637cef48421461087a57600080fd5b80633e35aba81161039457806354f6127f116103115780635dfa73db116102d55780635dfa73db146107c95780636071a68e146107d257806361f5f420146107e5578063644c45e0146107f6578063675393bf1461081e5780636b9bf08b1461083157600080fd5b806354f6127f146107725780635772b10114610792578063588cd281146107a55780635ab1bd53146107b85780635d4345cc1461058257600080fd5b8063447fc48f11610358578063447fc48f14610713578063468a18671461072657806351cf2fd0146107395780635378cd3c1461074c57806354d747a81461075f57600080fd5b80633e35aba8146106bf5780633fc5ab98146106d257806340529b0f146106e5578063422c9d00146106f85780634288121d1461070b57600080fd5b8063214cdb801161042257806336fc697e116103e657806336fc697e1461064e57806337f135d71461065657806338a699a4146106735780633c0d6a41146106865780633ca7c02a1461069957600080fd5b8063214cdb80146105fa5780632781d4431461060d57806327953f481461061557806327bb7a33146106285780632f61088a1461063b57600080fd5b80630fad0eb1116104695780630fad0eb1146105825780630fec111c14610595578063138461e0146105aa5780631b38d5f4146105b25780631eff4b22146105d357600080fd5b806301ffc9a7146104a657806302cd3071146104e857806309648a9d1461050d5780630d358181146105475780630f526f7d1461056d575b600080fd5b6104d36104b4366004613365565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6006546001600160a01b03165b6040516001600160a01b0390911681526020016104df565b61053561051b36600461338f565b600090815260046020526040902054610100900460ff1690565b60405160ff90911681526020016104df565b6105356105553660046133b7565b60ff9081166000908152600260205260409020541690565b61058061057b3660046133f9565b610ba4565b005b6105806105903660046133f9565b610bc9565b61059d610bde565b6040516104df9190613482565b610580610d8d565b6105c56105c036600461350d565b610f94565b6040519081526020016104df565b6105c57f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b610580610608366004613365565b611033565b6105c5600381565b6105806106233660046137cd565b611060565b610580610636366004613833565b611092565b610580610649366004613946565b61111e565b6105806111b9565b61065e600081565b60405163ffffffff90911681526020016104df565b6104d361068136600461338f565b6111ff565b610580610694366004613a30565b61128e565b6106a76001600160401b0381565b6040516001600160401b0390911681526020016104df565b6105c56106cd36600461350d565b6112b9565b6105806106e0366004613b78565b6112e6565b6105806106f33660046133f9565b611321565b610580610706366004613bdb565b611336565b6104f5611473565b610580610721366004613bf8565b611506565b6105c561073436600461350d565b611532565b610580610747366004613cfb565b61155f565b61058061075a366004613d42565b611585565b61058061076d366004613e23565b611598565b61078561078036600461338f565b6115b6565b6040516104df9190613e5f565b6105806107a0366004613eb5565b61165b565b6105806107b3366004613fdf565b611681565b6001546001600160a01b03166104f5565b6106a761271081565b6105806107e0366004614020565b6116a9565b6007546001600160a01b03166104f5565b600080516020615172833981519152546040516001600160601b0390911681526020016104df565b61058061082c366004613bdb565b6116cf565b6104f56117db565b6106a7600081565b61058061084f3660046141a0565b611804565b610580610862366004613bdb565b61182a565b6105c561087536600461350d565b6118ad565b6105806108883660046141e7565b6118da565b6104f5611964565b6108a86108a336600461338f565b611a9b565b6040516104df919061424f565b6108bd611bdc565b6040516001600160e01b031990911681526020016104df565b6105806108e4366004614373565b611c14565b6105806108f73660046143aa565b611c3c565b6105c561090a36600461350d565b611d7c565b6109b361091d36600461338f565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260046020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516104df91906143fb565b6105806109ce366004614409565b611da9565b6105806109e1366004614450565b611e44565b6105806109f4366004614490565b611f35565b6105c560008051602061517283398151915281565b610580610a1c3660046144d1565b611f5d565b610580610a2f36600461450f565b611f7b565b610580610a42366004614554565b611fa1565b6104d3610a553660046133b7565b611fb6565b6104f5612003565b6104f561201f565b610580610a783660046145e0565b612048565b610535612070565b610580610a9336600461461f565b6120e7565b610580610aa63660046133f9565b612105565b610580610ab93660046133f9565b61211c565b6104f5612133565b610580610ad436600461465d565b61215c565b6104d3610ae7366004614450565b60ff9283166000908152600360209081526040808320948616835293815283822092851682529190915220541690565b6105c5610b2536600461469b565b612184565b610580610b383660046146c9565b61220f565b610580610b4b366004613bdb565b612237565b610580610b5e3660046146f6565b612324565b610580610b71366004614724565b61239b565b610580610b843660046133f9565b6123c1565b6104f56123d6565b610580610b9f36600461477b565b6123ff565b610bb1335b600036612425565b610bc5610bbf83608c61252b565b82612577565b5050565b610bd233610ba9565b610bc5610bbf83611532565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b90910416151591810191909152600182018054919291606084019190610c89906147c0565b80601f0160208091040260200160405190810160405280929190818152602001828054610cb5906147c0565b8015610d025780601f10610cd757610100808354040283529160200191610d02565b820191906000526020600020905b815481529060010190602001808311610ce557829003601f168201915b50505050508152505090506040518060e00160405280610d20600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610d71611964565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061517283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610dfc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2091906147fa565b15610e515780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b30610e646001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610eac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed091906147fa565b610ef85760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610e48565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610f4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f709190614817565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660795b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015611009573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061102d9190614834565b92915050565b61103b612581565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61106933610ba9565b610bc5828260405160200161107e919061484d565b6040516020818303038152906040526125cc565b61109a612581565b6110a48287612324565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016111148382614943565b5050505050505050565b61112733610ba9565b6040516355ee627560e01b81526001600160c01b031983166004820152610bc59073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611184573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a89190614834565b8260405160200161107e9190614a02565b6111c1612581565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600081815260046020819052604080832054905163b2466acf60e01b815261010090910460ff169181019190915273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af415801561126a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061102d91906147fa565b61129733610ba9565b6112b46112a384611532565b8260405160200161107e9190614a30565b505050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b0384166078610fbd565b6112ef33610ba9565b6112b46112fb84611d7c565b8360405160200161130c9190614a81565b604051602081830303815290604052836125d6565b61132a33610ba9565b610bc5610bbf836118ad565b61133f33610ba9565b6007546001600160a01b03161561138f5760405162461bcd60e51b8152602060048201526014602482015273109d5b991b1953585b9859d95c881a5cc81cd95d60621b6044820152606401610e48565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113fb9190614b35565b6001600160a01b0316146114515760405162461bcd60e51b815260206004820152601f60248201527f42756e646c654d616e6167657220696e7374616e6365206d69736d61746368006044820152606401610e48565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b60006114876001546001600160a01b031690565b6001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff909116600482015260036024820152604401602060405180830381865afa1580156114dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115019190614b35565b905090565b61150f33610ba9565b61152c61151b85611532565b8360405160200161130c9190614a30565b50505050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d3610fbd565b61156833610ba9565b6112b4611574846118ad565b8360405160200161130c9190614b52565b61158e33610ba9565b610bc58282612577565b6115a133610ba9565b610bc5828260405160200161107e9190614b8f565b60008181526004602052604090206001018054606091906115d6906147c0565b80601f0160208091040260200160405190810160405280929190818152602001828054611602906147c0565b801561164f5780601f106116245761010080835404028352916020019161164f565b820191906000526020600020905b81548152906001019060200180831161163257829003601f168201915b50505050509050919050565b61166433610ba9565b61152c61167085611532565b8360405160200161130c9190614c2a565b61168a33610ba9565b6112b461169884608c61252b565b8360405160200161130c9190614c5a565b6116b233610ba9565b610bc56116be83611d7c565b8260405160200161107e9190614a81565b6116d7612581565b806001600160a01b03163b60000361170d5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610e48565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015611787575060408051601f3d908101601f19168201909252611784918101906147fa565b60015b6117af5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610e48565b80610bc55760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610e48565b50565b60006117ef6001546001600160a01b031690565b6001600160a01b031663d39e6043608c611498565b61180d33610ba9565b6112b461181984611532565b8360405160200161130c9190614d47565b33611833612003565b6001600160a01b0316816001600160a01b03161461186e5760405162d1953b60e31b81526001600160a01b0382166004820152602401610e48565b816001600160a01b03163b6000036118a4576040516361798f2f60e11b81526001600160a01b0383166004820152602401610e48565b610bc5826125e1565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610fbd565b6118e333610ba9565b6040516355ee627560e01b81526001600160c01b031983166004820152610bc59073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611940573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bbf9190614834565b60008060008051602061517283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156119d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f891906147fa565b15611a85576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611a5b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a7f9190614b35565b91505090565b54600160601b90046001600160a01b0316919050565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260046020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191611b53906147c0565b80601f0160208091040260200160405190810160405280929190818152602001828054611b7f906147c0565b8015611bcc5780601f10611ba157610100808354040283529160200191611bcc565b820191906000526020600020905b815481529060010190602001808311611baf57829003601f168201915b5050505050815250509050919050565b600080516020615192833981519152805460009190600160a01b900460ff16611c06576000611a7f565b638fb3603760e01b91505090565b611c1d33610ba9565b610bc5611c2b83606e61252b565b8260405160200161107e9190614e88565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b0316600081158015611c815750825b90506000826001600160401b03166001148015611c9d5750303b155b905081158015611cab575080155b15611cc95760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611cf357845460ff60401b1916600160401b1785555b611cfc89612642565b611d1b8888604660008a60405180602001604052806000815250611092565b611d2b6302994e4760e61b611033565b8315611d7157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc610fbd565b611db233610ba9565b6040516355ee627560e01b81526001600160c01b0319841660048201526112b49073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611e0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e339190614834565b8360405160200161130c9190614a02565b60ff8381166000908152600260205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015611ea9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ecd91906147fa565b15611ed757505050565b60ff8084166000908152600360209081526040808320868516845282528083208585168452909152902054166112b457604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610e48565b611f3e33610ba9565b6112b4611f4c84606e61252b565b8360405160200161130c9190614e88565b611f6633610ba9565b6112b4838360405160200161130c919061484d565b611f8433610ba9565b610bc5611f90836118ad565b8260405160200161107e9190614b52565b611faa33610ba9565b6112b4610bbf84611532565b60ff81811660009081526002602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf9060240161124d565b600080516020615192833981519152546001600160a01b031690565b60006120336001546001600160a01b031690565b6001600160a01b031663d39e60436078611498565b61205133610ba9565b6112b461205f84607861252b565b8360405160200161130c9190614fb2565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156120c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115019190615002565b6120f033610ba9565b6112b4838360405160200161130c9190614b8f565b61210e33610ba9565b610bc5610bbf83607861252b565b61212533610ba9565b610bc5610bbf83606e61252b565b60006121476001546001600160a01b031690565b6001600160a01b031663d39e604360d3611498565b61216533610ba9565b610bc561217383608c61252b565b8260405160200161107e9190614c5a565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af41580156121e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122089190614834565b9392505050565b61221833610ba9565b610bc561222683607861252b565b8260405160200161107e9190614fb2565b61224033610ba9565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015612288573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122ac9190614b35565b6001600160a01b0316146123025760405162461bcd60e51b815260206004820181905260248201527f496e7374616e636552656164657220696e7374616e6365206d69736d617463686044820152606401610e48565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b61232c612581565b612335816116cf565b61233d6111b9565b6001600160a01b0382166123645760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061517283398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6123a433610ba9565b6112b46123b084611532565b8260405160200161107e9190614c2a565b6123ca33610ba9565b610bc5610bbf83611d7c565b60006123ea6001546001600160a01b031690565b6001600160a01b031663d39e604360dc611498565b61240833610ba9565b610bc561241483611532565b8260405160200161107e9190614d47565b600080516020615192833981519152600080612460612442612003565b8730612452600460008a8c61501f565b61245b91615049565b612653565b91509150816125235763ffffffff81161561250057825460ff60a01b1916600160a01b17835561248e612003565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016124bd93929190615079565b600060405180830381600087803b1580156124d757600080fd5b505af11580156124eb573d6000803e3d6000fd5b5050845460ff60a01b19168555506125239050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610e48565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c8906044016121c7565b610bc5828261275f565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166125ca57604051631afcd79f60e31b815260040160405180910390fd5b565b610bc58282612a93565b6112b4838383612eb9565b60008051602061519283398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b61264a612581565b6117d881613354565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516126c291906150b9565b600060405180830381855afa9150503d80600081146126fd576040519150601f19603f3d011682016040523d82523d6000602084013e612702565b606091505b50915091508115612754576040815110612734578080602001905181019061272a91906150d5565b9094509250612754565b6020815110612754578080602001905181019061275191906147fa565b93505b505094509492505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156127b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127d591906147fa565b6128215760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610e48565b6000828152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af415801561288d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128b191906147fa565b6128fd5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610e48565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166129414390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156129d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129f79190615002565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612a47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a6b9190615104565b8786863287604051612a839796959493929190615121565b60405180910390a1505050505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612ae6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b0a9190615002565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015612b5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b8391906147fa565b612bcf5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610e48565b6000838152600460208190526040918290208054925163037c8cb160e51b815261010090930460ff16918301919091529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015612c3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c6091906147fa565b612cac5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610e48565b33436000612cb985611fb6565b612cc4576064612cda565b60ff808616600090815260026020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b919091021785556000888152600460205260409020909150600101612d648782614943565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612dd7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dfb9190615002565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612e4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e6f9190615104565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a0015b60405180910390a150505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612f0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f2f91906147fa565b612f7b5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610e48565b6000838152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612fe7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061300b91906147fa565b6130575760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610e48565b60008581526004602052604090206001016130728582614943565b508154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166130b74390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613149573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061316d9190615002565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156131bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131e19190615104565b87868632876040516131f99796959493929190615121565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613273573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132979190615002565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156132e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061330b9190615104565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c001612ea8565b61335c612581565b6117d8816125e1565b60006020828403121561337757600080fd5b81356001600160e01b03198116811461220857600080fd5b6000602082840312156133a157600080fd5b5035919050565b60ff811681146117d857600080fd5b6000602082840312156133c957600080fd5b8135612208816133a8565b6001600160601b03811681146117d857600080fd5b80356133f4816133d4565b919050565b6000806040838503121561340c57600080fd5b8235613417816133d4565b91506020830135613427816133a8565b809150509250929050565b60005b8381101561344d578181015183820152602001613435565b50506000910152565b6000815180845261346e816020860160208601613432565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516134eb60c08401826001600160a01b03169052565b5060c083015160e080840152613505610100840182613456565b949350505050565b60006020828403121561351f57600080fd5b8135612208816133d4565b634e487b7160e01b600052604160045260246000fd5b60405161012081016001600160401b03811182821017156135635761356361352a565b60405290565b604080519081016001600160401b03811182821017156135635761356361352a565b604051608081016001600160401b03811182821017156135635761356361352a565b60405160e081016001600160401b03811182821017156135635761356361352a565b60405161016081016001600160401b03811182821017156135635761356361352a565b60405161020081016001600160401b03811182821017156135635761356361352a565b60405161018081016001600160401b03811182821017156135635761356361352a565b600082601f83011261364957600080fd5b81356001600160401b03808211156136635761366361352a565b604051601f8301601f19908116603f0116810190828211818310171561368b5761368b61352a565b816040528381528660208588010111156136a457600080fd5b836020870160208301376000602085830101528094505050505092915050565b63ffffffff811681146117d857600080fd5b80356133f4816136c4565b80151581146117d857600080fd5b80356133f4816136e1565b6000610120828403121561370d57600080fd5b613715613540565b905081356001600160401b038082111561372e57600080fd5b61373a85838601613638565b8352602084013560208401526040840135604084015260608401356060840152613766608085016136d6565b608084015261377760a085016136d6565b60a084015261378860c085016136ef565b60c084015261379960e085016136ef565b60e0840152610100915081840135818111156137b457600080fd5b6137c086828701613638565b8385015250505092915050565b600080604083850312156137e057600080fd5b8235915060208301356001600160401b038111156137fd57600080fd5b613809858286016136fa565b9150509250929050565b6001600160a01b03811681146117d857600080fd5b80356133f481613813565b60008060008060008060c0878903121561384c57600080fd5b863561385781613813565b95506020870135613867816133d4565b94506040870135613877816133a8565b93506060870135613887816136e1565b9250608087013561389781613813565b915060a08701356001600160401b038111156138b257600080fd5b6138be89828a01613638565b9150509295509295509295565b6001600160c01b0319811681146117d857600080fd5b80356133f4816138cb565b6000604082840312156138fe57600080fd5b613906613569565b90508135613913816133d4565b815260208201356001600160401b0381111561392e57600080fd5b61393a84828501613638565b60208301525092915050565b6000806040838503121561395957600080fd5b8235613964816138cb565b915060208301356001600160401b0381111561397f57600080fd5b613809858286016138ec565b61ffff811681146117d857600080fd5b80356133f48161398b565b803564ffffffffff811681146133f457600080fd5b6000608082840312156139cd57600080fd5b6139d561358b565b905081356139e28161398b565b81526020828101359082015260408201356001600160401b03811115613a0757600080fd5b613a1384828501613638565b604083015250613a25606083016139a6565b606082015292915050565b600080600060608486031215613a4557600080fd5b8335613a50816133d4565b92506020840135613a60816136c4565b915060408401356001600160401b03811115613a7b57600080fd5b613a87868287016139bb565b9150509250925092565b600060408284031215613aa357600080fd5b613aab613569565b9050813581526020820135602082015292915050565b60006101408284031215613ad457600080fd5b613adc613540565b9050613ae7826133e9565b8152613af68360208401613a91565b602082015260608201356001600160401b03811115613b1457600080fd5b613b2084828501613638565b6040830152506080820135606082015260a0820135608082015260c082013560a082015260e082013560c0820152610100613b5c8184016139a6565b60e0830152613b6e61012084016139a6565b9082015292915050565b600080600060608486031215613b8d57600080fd5b8335613b98816133d4565b925060208401356001600160401b03811115613bb357600080fd5b613bbf86828701613ac1565b9250506040840135613bd0816133a8565b809150509250925092565b600060208284031215613bed57600080fd5b813561220881613813565b60008060008060808587031215613c0e57600080fd5b8435613c19816133d4565b93506020850135613c29816136c4565b925060408501356001600160401b03811115613c4457600080fd5b613c50878288016139bb565b9250506060850135613c61816133a8565b939692955090935050565b600060608284031215613c7e57600080fd5b604051606081016001600160401b038282108183111715613ca157613ca161352a565b8160405282935084359150613cb5826138cb565b908252602084013590613cc7826136e1565b8160208401526040850135915080821115613ce157600080fd5b50613cee85828601613638565b6040830152505092915050565b600080600060608486031215613d1057600080fd5b8335613d1b816133d4565b925060208401356001600160401b03811115613d3657600080fd5b613bbf86828701613c6c565b60008060408385031215613d5557600080fd5b823591506020830135613427816133a8565b600060e08284031215613d7957600080fd5b613d816135ad565b9050613d8c826133e9565b815260208201356001600160401b0380821115613da857600080fd5b613db485838601613638565b602084015260408401356040840152613dcf606085016136d6565b6060840152613de0608085016136d6565b6080840152613df160a085016139a6565b60a084015260c0840135915080821115613e0a57600080fd5b50613e1784828501613638565b60c08301525092915050565b60008060408385031215613e3657600080fd5b8235915060208301356001600160401b03811115613e5357600080fd5b61380985828601613d67565b6020815260006122086020830184613456565b600060808284031215613e8457600080fd5b613e8c61358b565b9050813581526020820135602082015260408201356001600160401b03811115613a0757600080fd5b60008060008060808587031215613ecb57600080fd5b8435613ed6816133d4565b93506020850135613ee68161398b565b925060408501356001600160401b03811115613f0157600080fd5b613c5087828801613e72565b60006101c08284031215613f2057600080fd5b613f286135cf565b9050613f33826133e9565b8152613f4160208301613828565b6020820152613f52604083016136ef565b6040820152613f63606083016136ef565b6060820152613f74608083016136ef565b608082015260a082013560a082015260c082013560c0820152613f9a8360e08401613a91565b60e0820152610120613fae84828501613a91565b610100830152613fc2846101608501613a91565b90820152613fd36101a08301613828565b61014082015292915050565b60008060006102008486031215613ff557600080fd5b8335614000816133d4565b925061400f8560208601613f0d565b91506101e0840135613bd0816133a8565b6000806040838503121561403357600080fd5b823561403e816133d4565b915060208301356001600160401b0381111561405957600080fd5b61380985828601613ac1565b6000610200828403121561407857600080fd5b6140806135f2565b905061408b826133e9565b8152614099602083016133e9565b60208201526140aa604083016138e1565b60408201526140bb606083016138e1565b60608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e0820152610100808301356001600160401b038082111561410457600080fd5b61411086838701613638565b8385015261012092508285013591508082111561412c57600080fd5b5061413985828601613638565b82840152505061014061414d81840161399b565b9082015261016061415f83820161399b565b9082015261018082810135908201526101a061417c8184016139a6565b908201526101c061418e8382016139a6565b908201526101e0613b6e8382016139a6565b6000806000606084860312156141b557600080fd5b83356141c0816133d4565b925060208401356001600160401b038111156141db57600080fd5b613bbf86828701614065565b600080604083850312156141fa57600080fd5b8235613417816138cb565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b60208152614261602082018351614205565b6000602083015160c08084015261350560e0840182613456565b6000610240828403121561428e57600080fd5b614296613615565b90506142a182613828565b81526142af60208301613828565b60208201526142c0604083016133e9565b60408201526142d1606083016133e9565b60608201526142e38360808401613a91565b60808201526142f58360c08401613a91565b60a082015261010061430984828501613a91565b60c083015261014061431d85828601613a91565b60e0840152614330856101808601613a91565b82840152614342856101c08601613a91565b61012084015261435561020085016136ef565b90830152506143676102208301613828565b61016082015292915050565b600080610260838503121561438757600080fd5b8235614392816133d4565b91506143a1846020850161427b565b90509250929050565b600080600080608085870312156143c057600080fd5b84356143cb81613813565b935060208501356143db81613813565b925060408501356143eb816133d4565b91506060850135613c6181613813565b60a0810161102d8284614205565b60008060006060848603121561441e57600080fd5b8335614429816138cb565b925060208401356001600160401b0381111561444457600080fd5b613bbf868287016138ec565b60008060006060848603121561446557600080fd5b8335614470816133a8565b92506020840135614480816133a8565b91506040840135613bd0816133a8565b600080600061028084860312156144a657600080fd5b83356144b1816133d4565b92506144c0856020860161427b565b9150610260840135613bd0816133a8565b6000806000606084860312156144e657600080fd5b8335925060208401356001600160401b0381111561450357600080fd5b613bbf868287016136fa565b6000806040838503121561452257600080fd5b823561452d816133d4565b915060208301356001600160401b0381111561454857600080fd5b61380985828601613c6c565b60008060006060848603121561456957600080fd5b8335614574816133d4565b925060208401356144808161398b565b600060a0828403121561459657600080fd5b61459e61358b565b905081356145ab816133d4565b815260208201356145bb81613813565b60208201526145cd8360408401613a91565b60408201526080820135613a2581613813565b600080600060e084860312156145f557600080fd5b8335614600816133d4565b925061460f8560208601614584565b915060c0840135613bd0816133a8565b60008060006060848603121561463457600080fd5b8335925060208401356001600160401b0381111561465157600080fd5b613bbf86828701613d67565b6000806101e0838503121561467157600080fd5b823561467c816133d4565b91506143a18460208501613f0d565b60ff19811681146117d857600080fd5b600080604083850312156146ae57600080fd5b82356146b9816133a8565b915060208301356134278161468b565b60008060c083850312156146dc57600080fd5b82356146e7816133d4565b91506143a18460208501614584565b6000806040838503121561470957600080fd5b823561471481613813565b9150602083013561342781613813565b60008060006060848603121561473957600080fd5b8335614744816133d4565b925060208401356147548161398b565b915060408401356001600160401b0381111561476f57600080fd5b613a8786828701613e72565b6000806040838503121561478e57600080fd5b8235614799816133d4565b915060208301356001600160401b038111156147b457600080fd5b61380985828601614065565b600181811c908216806147d457607f821691505b6020821081036147f457634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561480c57600080fd5b8151612208816136e1565b60006020828403121561482957600080fd5b8151612208816133d4565b60006020828403121561484657600080fd5b5051919050565b602081526000825161012080602085015261486c610140850183613456565b915060208501516040850152604085015160608501526060850151608085015260808501516148a360a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006148d98187018315159052565b860151858403601f19018387015290506148f38382613456565b9695505050505050565b601f8211156112b457600081815260208120601f850160051c810160208610156149245750805b601f850160051c820191505b8181101561252357828155600101614930565b81516001600160401b0381111561495c5761495c61352a565b6149708161496a84546147c0565b846148fd565b602080601f8311600181146149a5576000841561498d5750858301515b600019600386901b1c1916600185901b178555612523565b600085815260208120601f198616915b828110156149d4578886015182559484019460019091019084016149b5565b50858210156149f25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b602081526001600160601b038251166020820152600060208301516040808401526135056060840182613456565b6020815261ffff8251166020820152602082015160408201526000604083015160806060840152614a6460a0840182613456565b905064ffffffffff60608501511660808401528091505092915050565b60208152614a9b6020820183516001600160601b03169052565b60006020830151614ab9604084018280518252602090810151910152565b506040830151610140806080850152614ad6610160850183613456565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e08701519150614b1e61012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b600060208284031215614b4757600080fd5b815161220881613813565b602081526001600160401b0360c01b8251166020820152602082015115156040820152600060408301516060808401526135056080840182613456565b602081526001600160601b0382511660208201526000602083015160e06040840152614bbf610100840182613456565b90506040840151606084015263ffffffff60608501511660808401526080840151614bf260a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152614c218282613456565b95945050505050565b6020815281516020820152602082015160408201526000604083015160806060840152614a6460a0840182613456565b81516001600160601b031681526101c081016020830151614c8660208401826001600160a01b03169052565b506040830151614c9a604084018215159052565b506060830151614cae606084018215159052565b506080830151614cc2608084018215159052565b5060a083015160a083015260c083015160c083015260e0830151614cf360e084018280518252602090810151910152565b50610100830151610120614d138185018380518252602090810151910152565b840151805161016085015260200151610180840152506101408301516001600160a01b0381166101a08401525b5092915050565b60208152614d616020820183516001600160601b03169052565b60006020830151614d7d60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101008181850152808501519150506102006101208181860152614df5610220860184613456565b9250808601519050610140601f198685030181870152614e158483613456565b935080870151915050610160614e308187018361ffff169052565b8601519050610180614e478682018361ffff169052565b8601516101a08681019190915286015190506101c0614e6e8187018364ffffffffff169052565b86015190506101e0614b1e8682018364ffffffffff169052565b81516001600160a01b0316815261024081016020830151614eb460208401826001600160a01b03169052565b506040830151614ecf60408401826001600160601b03169052565b506060830151614eea60608401826001600160601b03169052565b506080830151614f07608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c0830151610100614f3d8185018380518252602090810151910152565b60e08501519150610140614f5d8186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e08501528401511515610200840152506101608301516001600160a01b038116610220840152614d40565b81516001600160601b031681526020808301516001600160a01b03908116828401526040808501518051918501919091529091015160608084019190915290920151909116608082015260a00190565b60006020828403121561501457600080fd5b8151612208816133a8565b6000808585111561502f57600080fd5b8386111561503c57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156150715780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082516150cb818460208701613432565b9190910192915050565b600080604083850312156150e857600080fd5b82516150f3816136e1565b6020840151909250613427816136c4565b60006020828403121561511657600080fd5b81516122088161468b565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e0019056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122039b6c75d7244010645e19fda9bf0783fc3376a744e9601e7f5e6f92df8daf86e64736f6c63430008140033",
3088
- "linkReferences": {
3089
- "contracts/types/Key32.sol": {
3090
- "Key32Lib": [
3091
- {
3092
- "length": 20,
3093
- "start": 10448
3094
- },
3095
- {
3096
- "length": 20,
3097
- "start": 12480
3098
- },
3099
- {
3100
- "length": 20,
3101
- "start": 12596
3102
- },
3103
- {
3104
- "length": 20,
3105
- "start": 12755
3106
- },
3107
- {
3108
- "length": 20,
3109
- "start": 13508
3110
- },
3111
- {
3112
- "length": 20,
3113
- "start": 13624
3114
- },
3115
- {
3116
- "length": 20,
3117
- "start": 14390
3118
- },
3119
- {
3120
- "length": 20,
3121
- "start": 14506
3122
- },
3123
- {
3124
- "length": 20,
3125
- "start": 14688
3126
- },
3127
- {
3128
- "length": 20,
3129
- "start": 14804
3130
- }
3131
- ]
3132
873
  },
3133
- "contracts/types/NftId.sol": {
3134
- "NftIdLib": [
3135
- {
3136
- "length": 20,
3137
- "start": 5353
3138
- },
3139
- {
3140
- "length": 20,
3141
- "start": 5823
3142
- },
3143
- {
3144
- "length": 20,
3145
- "start": 6628
3146
- },
3147
- {
3148
- "length": 20,
3149
- "start": 7261
3150
- },
3151
- {
3152
- "length": 20,
3153
- "start": 8152
3154
- },
3155
- {
3156
- "length": 20,
3157
- "start": 8385
3158
- },
3159
- {
3160
- "length": 20,
3161
- "start": 9383
3162
- },
874
+ {
875
+ "inputs": [
3163
876
  {
3164
- "length": 20,
3165
- "start": 11388
877
+ "internalType": "bytes4",
878
+ "name": "interfaceId",
879
+ "type": "bytes4"
3166
880
  }
3167
- ]
3168
- },
3169
- "contracts/types/ObjectType.sol": {
3170
- "ObjectTypeLib": [
881
+ ],
882
+ "name": "supportsInterface",
883
+ "outputs": [
3171
884
  {
3172
- "length": 20,
3173
- "start": 12876
885
+ "internalType": "bool",
886
+ "name": "",
887
+ "type": "bool"
3174
888
  }
3175
- ]
3176
- },
3177
- "contracts/types/RiskId.sol": {
3178
- "RiskIdLib": [
889
+ ],
890
+ "stateMutability": "view",
891
+ "type": "function"
892
+ }
893
+ ],
894
+ "bytecode": "0x608060405234801561001057600080fd5b506127e6806100206000396000f3fe608060405234801561001057600080fd5b50600436106102535760003560e01c8063770ab10211610146578063c0c53b8b116100c3578063e1033e7d11610087578063e1033e7d14610552578063e5f6cd271461055a578063e7f7fb8614610562578063f7bc431c14610575578063f7c34ee014610588578063fed3d63f1461059b57600080fd5b8063c0c53b8b146104d9578063ca600b1c146104ec578063cde749f4146104f4578063d2192dbf1461050e578063d4cda0d81461054157600080fd5b8063ada9652e1161010a578063ada9652e14610483578063b428b0b014610498578063b7d2b162146104ab578063bb1e0e59146104be578063bf7e214f146104d157600080fd5b8063770ab102146104215780637a9e5e4b146104345780638689231314610447578063893d20e81461045a5780638fb360371461046257600080fd5b8063311adb68116101d45780635fa8aad4116101985780635fa8aad4146103c457806361f5f420146103d7578063644c45e0146103e8578063675393bf146104065780636b9bf08b1461041957600080fd5b8063311adb681461037f57806336fc697e14610390578063422c9d00146103985780634288121d146103ab5780635ab1bd53146103b357600080fd5b8063214cdb801161021b578063214cdb80146103295780632449aea81461033e5780632781d4431461035157806327bb7a331461035957806329db8c3d1461036c57600080fd5b806301ffc9a71461025857806302cd30711461029a5780630fec111c146102bf578063138461e0146102d45780631eff4b22146102f4575b600080fd5b610285610266366004611e50565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6003546001600160a01b03165b6040516001600160a01b039091168152602001610291565b6102c76105a3565b6040516102919190611ec2565b6102dc610767565b6040516001600160601b039091168152602001610291565b61031b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610291565b61033c610337366004611e50565b610777565b005b61033c61034c366004611f62565b6107a4565b61031b600381565b61033c61036736600461203c565b6108bf565b61033c61037a366004612128565b610964565b6002546001600160a01b03166102a7565b61033c6109d1565b61033c6103a6366004611f62565b610a17565b6102a7610bc1565b6001546001600160a01b03166102a7565b61033c6103d23660046121d2565b610c4f565b6004546001600160a01b03166102a7565b600080516020612771833981519152546001600160601b03166102dc565b61033c610414366004611f62565b610cc0565b6102a7610dce565b61033c61042f366004611f62565b610df7565b61033c610442366004611f62565b610f09565b61033c610455366004612221565b610f8c565b6102a7610fcf565b61046a611106565b6040516001600160e01b03199091168152602001610291565b61031b60008051602061277183398151915281565b61033c6104a636600461225a565b61113e565b61033c6104b936600461225a565b611220565b61033c6104cc366004612288565b6112fb565b6102a76113be565b61033c6104e73660046122b4565b6113da565b6102a76115a6565b6104fc6115cf565b60405160ff9091168152602001610291565b61052161051c3660046122ff565b611646565b604080516001600160401b03938416815292909116602083015201610291565b6005546001600160a01b03166102a7565b6102a76116d1565b6102a76116fa565b61033c610570366004612358565b611704565b61033c610583366004611f62565b6117fa565b61033c610596366004612399565b6118ba565b6102a7611931565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610657573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067b91906123b7565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106c3610fcf565b6001600160a01b031681526020018260010180546106e0906123d4565b80601f016020809104026020016040519081016040528092919081815260200182805461070c906123d4565b80156107595780601f1061072e57610100808354040283529160200191610759565b820191906000526020600020905b81548152906001019060200180831161073c57829003601f168201915b505050505081525091505090565b60006107723061195a565b905090565b61077f611b5b565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6107b1335b600036611ba6565b6005546001600160a01b0316156107ef57600554604051632e67e2ab60e21b81526001600160a01b0390911660048201526024015b60405180910390fd5b6107f76113be565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561083e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610862919061240e565b6001600160a01b03161461089d576108786113be565b6040516348263eef60e01b81526001600160a01b0390911660048201526024016107e6565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6108c7611b5b565b6108d182876118ba565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161095a8382612476565b5050505050505050565b61096d336107a9565b60025460405163dc85dcb160e01b81526001600160a01b039091169063dc85dcb1906109a3908790879087908790600401612535565b600060405180830381600087803b1580156109bd57600080fd5b505af115801561095a573d6000803e3d6000fd5b6109d9611b5b565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610a20336107a9565b6004546001600160a01b031615610a5c576004805460405163384c2dbd60e11b81526001600160a01b03909116918101919091526024016107e6565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610aa4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac8919061240e565b6001600160a01b031614610af15760405163decb98c560e01b81523060048201526024016107e6565b610af96113be565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b64919061240e565b6001600160a01b031614610b9f57610b7a6113be565b604051630312205960e41b81526001600160a01b0390911660048201526024016107e6565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6000610bd56001546001600160a01b031690565b6001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff909116600482015260036024820152604401602060405180830381865afa158015610c2b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610772919061240e565b610c58336107a9565b6002546040516317ea2ab560e21b81526001600160a01b0390911690635fa8aad490610c8a90859085906004016125aa565b600060405180830381600087803b158015610ca457600080fd5b505af1158015610cb8573d6000803e3d6000fd5b505050505050565b610cc8611b5b565b806001600160a01b03163b600003610cfe5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107e6565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e607072160e01b60048201526301ffc9a790602401602060405180830381865afa925050508015610d78575060408051601f3d908101601f19168201909252610d75918101906125ce565b60015b610da05760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107e6565b80610dc95760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107e6565b505b50565b6000610de26001546001600160a01b031690565b6001600160a01b031663d39e6043608c610be6565b610e00336107a9565b6002546001600160a01b031615610e395760025460405163078a818f60e31b81526001600160a01b0390911660048201526024016107e6565b610e416113be565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eac919061240e565b6001600160a01b031614610ee757610ec26113be565b60405163021f1e5360e61b81526001600160a01b0390911660048201526024016107e6565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b33610f126113be565b6001600160a01b0316816001600160a01b031614610f4d5760405162d1953b60e31b81526001600160a01b03821660048201526024016107e6565b816001600160a01b03163b600003610f83576040516361798f2f60e11b81526001600160a01b03831660048201526024016107e6565b610dc982611ca4565b610f95336107a9565b6002546040516308b6d1c760e21b81526001600160a01b0384811660048301528315156024830152909116906322db471c90604401610c8a565b60008060008051602061277183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561103f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061106391906125ce565b156110f0576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156110c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110ea919061240e565b91505090565b54600160601b90046001600160a01b0316919050565b600080516020612791833981519152805460009190600160a01b900460ff166111305760006110ea565b638fb3603760e01b91505090565b611147336107a9565b61114f6113be565b604051631517388760e21b81526001600160401b03841660048201526001600160a01b0391909116906325c471a09073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af41580156111ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111de91906125eb565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038416602482015260006044820152606401610c8a565b611229336107a9565b6112316113be565b604051631517388760e21b81526001600160401b03841660048201526001600160a01b03919091169063b7d2b1629073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af415801561129c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c091906125eb565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0384166024820152604401610c8a565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611344573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611368919061240e565b6001600160a01b0316336001600160a01b03161461138557600080fd5b600254604051632f42b9a560e11b8152600060048201526001600160a01b03848116602483015290911690635e85734a90604401610c8a565b600080516020612791833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b031660008115801561141f5750825b90506000826001600160401b0316600114801561143b5750303b155b905081158015611449575080155b156114675760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561149157845460ff60401b1916600160401b1785555b6001600160a01b0388166114b8576040516377dbcd1760e01b815260040160405180910390fd5b6114c188611d05565b600087905061154688826001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611508573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061152c91906123b7565b604660018b604051806020016040528060008152506108bf565b611556637344136d60e01b610777565b50831561095a57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b60006115ba6001546001600160a01b031690565b6001600160a01b031663d39e60436078610be6565b604051632392b61b60e21b81526003600482015260009073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611622573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107729190612608565b600080611652336107a9565b60025460405163d2192dbf60e01b81526001600160a01b039091169063d2192dbf906116849087908790600401612625565b60408051808303816000875af11580156116a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116c69190612653565b909590945092505050565b60006116e56001546001600160a01b031690565b6001600160a01b031663d39e604360d3610be6565b60006107726113be565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa15801561174d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611771919061240e565b6001600160a01b0316336001600160a01b03161461178e57600080fd5b600254604051632f42b9a560e11b81526001600160a01b038581166004830152848116602483015290911690635e85734a90604401600060405180830381600087803b1580156117dd57600080fd5b505af11580156117f1573d6000803e3d6000fd5b50505050505050565b611803336107a9565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561184b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061186f919061240e565b6001600160a01b031614611898576040516345789cf560e01b81523060048201526024016107e6565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6118c2611b5b565b6118cb81610cc0565b6118d36109d1565b6001600160a01b0382166118fa5760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061277183398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60006119456001546001600160a01b031690565b6001600160a01b031663d39e604360dc610be6565b60008060008051602061277183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156119ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119ee91906125ce565b15611a1a5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016107e6565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611a6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a9291906125ce565b611aba5760405163b9304b0d60e01b81526001600160a01b03841660048201526024016107e6565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015611b0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b3291906123b7565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611ba457604051631afcd79f60e31b815260040160405180910390fd5b565b600080516020612791833981519152600080611be1611bc36113be565b8730611bd3600460008a8c612682565b611bdc916126ac565b611d16565b9150915081610cb85763ffffffff811615611c8157825460ff60a01b1916600160a01b178355611c0f6113be565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c3e939291906126dc565b600060405180830381600087803b158015611c5857600080fd5b505af1158015611c6c573d6000803e3d6000fd5b5050845460ff60a01b1916855550610cb89050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016107e6565b60008051602061279183398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611d0d611b5b565b610dcb81611e22565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611d85919061271c565b600060405180830381855afa9150503d8060008114611dc0576040519150601f19603f3d011682016040523d82523d6000602084013e611dc5565b606091505b50915091508115611e17576040815110611df75780806020019051810190611ded9190612738565b9094509250611e17565b6020815110611e175780806020019051810190611e1491906125ce565b93505b505094509492505050565b611e2a611b5b565b610dcb81611ca4565b80356001600160e01b031981168114611e4b57600080fd5b919050565b600060208284031215611e6257600080fd5b611e6b82611e33565b9392505050565b60005b83811015611e8d578181015183820152602001611e75565b50506000910152565b60008151808452611eae816020860160208601611e72565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151611f2b60c08401826001600160a01b03169052565b5060c083015160e080840152611f45610100840182611e96565b949350505050565b6001600160a01b0381168114610dcb57600080fd5b600060208284031215611f7457600080fd5b8135611e6b81611f4d565b6001600160601b0381168114610dcb57600080fd5b60ff81168114610dcb57600080fd5b8015158114610dcb57600080fd5b634e487b7160e01b600052604160045260246000fd5b60006001600160401b0380841115611fe157611fe1611fb1565b604051601f8501601f19908116603f0116810190828211818310171561200957612009611fb1565b8160405280935085815286868601111561202257600080fd5b858560208301376000602087830101525050509392505050565b60008060008060008060c0878903121561205557600080fd5b863561206081611f4d565b9550602087013561207081611f7f565b9450604087013561208081611f94565b9350606087013561209081611fa3565b925060808701356120a081611f4d565b915060a08701356001600160401b038111156120bb57600080fd5b8701601f810189136120cc57600080fd5b6120db89823560208401611fc7565b9150509295509295509295565b600082601f8301126120f957600080fd5b611e6b83833560208501611fc7565b6001600160401b0381168114610dcb57600080fd5b8035611e4b81612108565b6000806000806060858703121561213e57600080fd5b84356001600160401b038082111561215557600080fd5b612161888389016120e8565b9550602087013591508082111561217757600080fd5b818701915087601f83011261218b57600080fd5b81358181111561219a57600080fd5b8860208260051b85010111156121af57600080fd5b6020830195508094505050506121c76040860161211d565b905092959194509250565b600080604083850312156121e557600080fd5b82356121f081611f4d565b915060208301356001600160401b0381111561220b57600080fd5b612217858286016120e8565b9150509250929050565b6000806040838503121561223457600080fd5b823561223f81611f4d565b9150602083013561224f81611fa3565b809150509250929050565b6000806040838503121561226d57600080fd5b823561227881612108565b9150602083013561224f81611f4d565b6000806040838503121561229b57600080fd5b82356122a681611f4d565b946020939093013593505050565b6000806000606084860312156122c957600080fd5b83356122d481611f4d565b925060208401356122e481611f4d565b915060408401356122f481611f4d565b809150509250925092565b6000806040838503121561231257600080fd5b82356001600160401b038082111561232957600080fd5b612335868387016120e8565b9350602085013591508082111561234b57600080fd5b50612217858286016120e8565b60008060006060848603121561236d57600080fd5b833561237881611f4d565b9250602084013561238881611f4d565b929592945050506040919091013590565b600080604083850312156123ac57600080fd5b823561227881611f4d565b6000602082840312156123c957600080fd5b8151611e6b81611f7f565b600181811c908216806123e857607f821691505b60208210810361240857634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561242057600080fd5b8151611e6b81611f4d565b601f82111561247157600081815260208120601f850160051c810160208610156124525750805b601f850160051c820191505b81811015610cb85782815560010161245e565b505050565b81516001600160401b0381111561248f5761248f611fb1565b6124a38161249d84546123d4565b8461242b565b602080601f8311600181146124d857600084156124c05750858301515b600019600386901b1c1916600185901b178555610cb8565b600085815260208120601f198616915b82811015612507578886015182559484019460019091019084016124e8565b50858210156125255787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6060815260006125486060830187611e96565b8281036020848101919091528582528691810160005b8781101561258b576001600160e01b031961257885611e33565b168252928201929082019060010161255e565b508093505050506001600160401b038316604083015295945050505050565b6001600160a01b0383168152604060208201819052600090611f4590830184611e96565b6000602082840312156125e057600080fd5b8151611e6b81611fa3565b6000602082840312156125fd57600080fd5b8151611e6b81612108565b60006020828403121561261a57600080fd5b8151611e6b81611f94565b6040815260006126386040830185611e96565b828103602084015261264a8185611e96565b95945050505050565b6000806040838503121561266657600080fd5b825161267181612108565b602084015190925061224f81612108565b6000808585111561269257600080fd5b8386111561269f57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156126d45780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b6000825161272e818460208701611e72565b9190910192915050565b6000806040838503121561274b57600080fd5b825161275681611fa3565b602084015190925063ffffffff8116811461224f57600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122085f22fa080434bbd35f803ef00cd3209ad6e347c2c29b4f0fcb6c63042debe8264736f6c63430008140033",
895
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106102535760003560e01c8063770ab10211610146578063c0c53b8b116100c3578063e1033e7d11610087578063e1033e7d14610552578063e5f6cd271461055a578063e7f7fb8614610562578063f7bc431c14610575578063f7c34ee014610588578063fed3d63f1461059b57600080fd5b8063c0c53b8b146104d9578063ca600b1c146104ec578063cde749f4146104f4578063d2192dbf1461050e578063d4cda0d81461054157600080fd5b8063ada9652e1161010a578063ada9652e14610483578063b428b0b014610498578063b7d2b162146104ab578063bb1e0e59146104be578063bf7e214f146104d157600080fd5b8063770ab102146104215780637a9e5e4b146104345780638689231314610447578063893d20e81461045a5780638fb360371461046257600080fd5b8063311adb68116101d45780635fa8aad4116101985780635fa8aad4146103c457806361f5f420146103d7578063644c45e0146103e8578063675393bf146104065780636b9bf08b1461041957600080fd5b8063311adb681461037f57806336fc697e14610390578063422c9d00146103985780634288121d146103ab5780635ab1bd53146103b357600080fd5b8063214cdb801161021b578063214cdb80146103295780632449aea81461033e5780632781d4431461035157806327bb7a331461035957806329db8c3d1461036c57600080fd5b806301ffc9a71461025857806302cd30711461029a5780630fec111c146102bf578063138461e0146102d45780631eff4b22146102f4575b600080fd5b610285610266366004611e50565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6003546001600160a01b03165b6040516001600160a01b039091168152602001610291565b6102c76105a3565b6040516102919190611ec2565b6102dc610767565b6040516001600160601b039091168152602001610291565b61031b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610291565b61033c610337366004611e50565b610777565b005b61033c61034c366004611f62565b6107a4565b61031b600381565b61033c61036736600461203c565b6108bf565b61033c61037a366004612128565b610964565b6002546001600160a01b03166102a7565b61033c6109d1565b61033c6103a6366004611f62565b610a17565b6102a7610bc1565b6001546001600160a01b03166102a7565b61033c6103d23660046121d2565b610c4f565b6004546001600160a01b03166102a7565b600080516020612771833981519152546001600160601b03166102dc565b61033c610414366004611f62565b610cc0565b6102a7610dce565b61033c61042f366004611f62565b610df7565b61033c610442366004611f62565b610f09565b61033c610455366004612221565b610f8c565b6102a7610fcf565b61046a611106565b6040516001600160e01b03199091168152602001610291565b61031b60008051602061277183398151915281565b61033c6104a636600461225a565b61113e565b61033c6104b936600461225a565b611220565b61033c6104cc366004612288565b6112fb565b6102a76113be565b61033c6104e73660046122b4565b6113da565b6102a76115a6565b6104fc6115cf565b60405160ff9091168152602001610291565b61052161051c3660046122ff565b611646565b604080516001600160401b03938416815292909116602083015201610291565b6005546001600160a01b03166102a7565b6102a76116d1565b6102a76116fa565b61033c610570366004612358565b611704565b61033c610583366004611f62565b6117fa565b61033c610596366004612399565b6118ba565b6102a7611931565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610657573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067b91906123b7565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106c3610fcf565b6001600160a01b031681526020018260010180546106e0906123d4565b80601f016020809104026020016040519081016040528092919081815260200182805461070c906123d4565b80156107595780601f1061072e57610100808354040283529160200191610759565b820191906000526020600020905b81548152906001019060200180831161073c57829003601f168201915b505050505081525091505090565b60006107723061195a565b905090565b61077f611b5b565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6107b1335b600036611ba6565b6005546001600160a01b0316156107ef57600554604051632e67e2ab60e21b81526001600160a01b0390911660048201526024015b60405180910390fd5b6107f76113be565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561083e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610862919061240e565b6001600160a01b03161461089d576108786113be565b6040516348263eef60e01b81526001600160a01b0390911660048201526024016107e6565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6108c7611b5b565b6108d182876118ba565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161095a8382612476565b5050505050505050565b61096d336107a9565b60025460405163dc85dcb160e01b81526001600160a01b039091169063dc85dcb1906109a3908790879087908790600401612535565b600060405180830381600087803b1580156109bd57600080fd5b505af115801561095a573d6000803e3d6000fd5b6109d9611b5b565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610a20336107a9565b6004546001600160a01b031615610a5c576004805460405163384c2dbd60e11b81526001600160a01b03909116918101919091526024016107e6565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610aa4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac8919061240e565b6001600160a01b031614610af15760405163decb98c560e01b81523060048201526024016107e6565b610af96113be565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b64919061240e565b6001600160a01b031614610b9f57610b7a6113be565b604051630312205960e41b81526001600160a01b0390911660048201526024016107e6565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6000610bd56001546001600160a01b031690565b6001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff909116600482015260036024820152604401602060405180830381865afa158015610c2b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610772919061240e565b610c58336107a9565b6002546040516317ea2ab560e21b81526001600160a01b0390911690635fa8aad490610c8a90859085906004016125aa565b600060405180830381600087803b158015610ca457600080fd5b505af1158015610cb8573d6000803e3d6000fd5b505050505050565b610cc8611b5b565b806001600160a01b03163b600003610cfe5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107e6565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e607072160e01b60048201526301ffc9a790602401602060405180830381865afa925050508015610d78575060408051601f3d908101601f19168201909252610d75918101906125ce565b60015b610da05760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107e6565b80610dc95760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107e6565b505b50565b6000610de26001546001600160a01b031690565b6001600160a01b031663d39e6043608c610be6565b610e00336107a9565b6002546001600160a01b031615610e395760025460405163078a818f60e31b81526001600160a01b0390911660048201526024016107e6565b610e416113be565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eac919061240e565b6001600160a01b031614610ee757610ec26113be565b60405163021f1e5360e61b81526001600160a01b0390911660048201526024016107e6565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b33610f126113be565b6001600160a01b0316816001600160a01b031614610f4d5760405162d1953b60e31b81526001600160a01b03821660048201526024016107e6565b816001600160a01b03163b600003610f83576040516361798f2f60e11b81526001600160a01b03831660048201526024016107e6565b610dc982611ca4565b610f95336107a9565b6002546040516308b6d1c760e21b81526001600160a01b0384811660048301528315156024830152909116906322db471c90604401610c8a565b60008060008051602061277183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561103f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061106391906125ce565b156110f0576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156110c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110ea919061240e565b91505090565b54600160601b90046001600160a01b0316919050565b600080516020612791833981519152805460009190600160a01b900460ff166111305760006110ea565b638fb3603760e01b91505090565b611147336107a9565b61114f6113be565b604051631517388760e21b81526001600160401b03841660048201526001600160a01b0391909116906325c471a09073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af41580156111ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111de91906125eb565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038416602482015260006044820152606401610c8a565b611229336107a9565b6112316113be565b604051631517388760e21b81526001600160401b03841660048201526001600160a01b03919091169063b7d2b1629073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af415801561129c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c091906125eb565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0384166024820152604401610c8a565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611344573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611368919061240e565b6001600160a01b0316336001600160a01b03161461138557600080fd5b600254604051632f42b9a560e11b8152600060048201526001600160a01b03848116602483015290911690635e85734a90604401610c8a565b600080516020612791833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b031660008115801561141f5750825b90506000826001600160401b0316600114801561143b5750303b155b905081158015611449575080155b156114675760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561149157845460ff60401b1916600160401b1785555b6001600160a01b0388166114b8576040516377dbcd1760e01b815260040160405180910390fd5b6114c188611d05565b600087905061154688826001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611508573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061152c91906123b7565b604660018b604051806020016040528060008152506108bf565b611556637344136d60e01b610777565b50831561095a57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b60006115ba6001546001600160a01b031690565b6001600160a01b031663d39e60436078610be6565b604051632392b61b60e21b81526003600482015260009073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611622573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107729190612608565b600080611652336107a9565b60025460405163d2192dbf60e01b81526001600160a01b039091169063d2192dbf906116849087908790600401612625565b60408051808303816000875af11580156116a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116c69190612653565b909590945092505050565b60006116e56001546001600160a01b031690565b6001600160a01b031663d39e604360d3610be6565b60006107726113be565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa15801561174d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611771919061240e565b6001600160a01b0316336001600160a01b03161461178e57600080fd5b600254604051632f42b9a560e11b81526001600160a01b038581166004830152848116602483015290911690635e85734a90604401600060405180830381600087803b1580156117dd57600080fd5b505af11580156117f1573d6000803e3d6000fd5b50505050505050565b611803336107a9565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561184b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061186f919061240e565b6001600160a01b031614611898576040516345789cf560e01b81523060048201526024016107e6565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6118c2611b5b565b6118cb81610cc0565b6118d36109d1565b6001600160a01b0382166118fa5760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061277183398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60006119456001546001600160a01b031690565b6001600160a01b031663d39e604360dc610be6565b60008060008051602061277183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156119ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119ee91906125ce565b15611a1a5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016107e6565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611a6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a9291906125ce565b611aba5760405163b9304b0d60e01b81526001600160a01b03841660048201526024016107e6565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015611b0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b3291906123b7565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611ba457604051631afcd79f60e31b815260040160405180910390fd5b565b600080516020612791833981519152600080611be1611bc36113be565b8730611bd3600460008a8c612682565b611bdc916126ac565b611d16565b9150915081610cb85763ffffffff811615611c8157825460ff60a01b1916600160a01b178355611c0f6113be565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c3e939291906126dc565b600060405180830381600087803b158015611c5857600080fd5b505af1158015611c6c573d6000803e3d6000fd5b5050845460ff60a01b1916855550610cb89050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016107e6565b60008051602061279183398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611d0d611b5b565b610dcb81611e22565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611d85919061271c565b600060405180830381855afa9150503d8060008114611dc0576040519150601f19603f3d011682016040523d82523d6000602084013e611dc5565b606091505b50915091508115611e17576040815110611df75780806020019051810190611ded9190612738565b9094509250611e17565b6020815110611e175780806020019051810190611e1491906125ce565b93505b505094509492505050565b611e2a611b5b565b610dcb81611ca4565b80356001600160e01b031981168114611e4b57600080fd5b919050565b600060208284031215611e6257600080fd5b611e6b82611e33565b9392505050565b60005b83811015611e8d578181015183820152602001611e75565b50506000910152565b60008151808452611eae816020860160208601611e72565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151611f2b60c08401826001600160a01b03169052565b5060c083015160e080840152611f45610100840182611e96565b949350505050565b6001600160a01b0381168114610dcb57600080fd5b600060208284031215611f7457600080fd5b8135611e6b81611f4d565b6001600160601b0381168114610dcb57600080fd5b60ff81168114610dcb57600080fd5b8015158114610dcb57600080fd5b634e487b7160e01b600052604160045260246000fd5b60006001600160401b0380841115611fe157611fe1611fb1565b604051601f8501601f19908116603f0116810190828211818310171561200957612009611fb1565b8160405280935085815286868601111561202257600080fd5b858560208301376000602087830101525050509392505050565b60008060008060008060c0878903121561205557600080fd5b863561206081611f4d565b9550602087013561207081611f7f565b9450604087013561208081611f94565b9350606087013561209081611fa3565b925060808701356120a081611f4d565b915060a08701356001600160401b038111156120bb57600080fd5b8701601f810189136120cc57600080fd5b6120db89823560208401611fc7565b9150509295509295509295565b600082601f8301126120f957600080fd5b611e6b83833560208501611fc7565b6001600160401b0381168114610dcb57600080fd5b8035611e4b81612108565b6000806000806060858703121561213e57600080fd5b84356001600160401b038082111561215557600080fd5b612161888389016120e8565b9550602087013591508082111561217757600080fd5b818701915087601f83011261218b57600080fd5b81358181111561219a57600080fd5b8860208260051b85010111156121af57600080fd5b6020830195508094505050506121c76040860161211d565b905092959194509250565b600080604083850312156121e557600080fd5b82356121f081611f4d565b915060208301356001600160401b0381111561220b57600080fd5b612217858286016120e8565b9150509250929050565b6000806040838503121561223457600080fd5b823561223f81611f4d565b9150602083013561224f81611fa3565b809150509250929050565b6000806040838503121561226d57600080fd5b823561227881612108565b9150602083013561224f81611f4d565b6000806040838503121561229b57600080fd5b82356122a681611f4d565b946020939093013593505050565b6000806000606084860312156122c957600080fd5b83356122d481611f4d565b925060208401356122e481611f4d565b915060408401356122f481611f4d565b809150509250925092565b6000806040838503121561231257600080fd5b82356001600160401b038082111561232957600080fd5b612335868387016120e8565b9350602085013591508082111561234b57600080fd5b50612217858286016120e8565b60008060006060848603121561236d57600080fd5b833561237881611f4d565b9250602084013561238881611f4d565b929592945050506040919091013590565b600080604083850312156123ac57600080fd5b823561227881611f4d565b6000602082840312156123c957600080fd5b8151611e6b81611f7f565b600181811c908216806123e857607f821691505b60208210810361240857634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561242057600080fd5b8151611e6b81611f4d565b601f82111561247157600081815260208120601f850160051c810160208610156124525750805b601f850160051c820191505b81811015610cb85782815560010161245e565b505050565b81516001600160401b0381111561248f5761248f611fb1565b6124a38161249d84546123d4565b8461242b565b602080601f8311600181146124d857600084156124c05750858301515b600019600386901b1c1916600185901b178555610cb8565b600085815260208120601f198616915b82811015612507578886015182559484019460019091019084016124e8565b50858210156125255787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6060815260006125486060830187611e96565b8281036020848101919091528582528691810160005b8781101561258b576001600160e01b031961257885611e33565b168252928201929082019060010161255e565b508093505050506001600160401b038316604083015295945050505050565b6001600160a01b0383168152604060208201819052600090611f4590830184611e96565b6000602082840312156125e057600080fd5b8151611e6b81611fa3565b6000602082840312156125fd57600080fd5b8151611e6b81612108565b60006020828403121561261a57600080fd5b8151611e6b81611f94565b6040815260006126386040830185611e96565b828103602084015261264a8185611e96565b95945050505050565b6000806040838503121561266657600080fd5b825161267181612108565b602084015190925061224f81612108565b6000808585111561269257600080fd5b8386111561269f57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156126d45780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b6000825161272e818460208701611e72565b9190910192915050565b6000806040838503121561274b57600080fd5b825161275681611fa3565b602084015190925063ffffffff8116811461224f57600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122085f22fa080434bbd35f803ef00cd3209ad6e347c2c29b4f0fcb6c63042debe8264736f6c63430008140033",
896
+ "linkReferences": {
897
+ "contracts/type/NftId.sol": {
898
+ "NftIdLib": [
3179
899
  {
3180
900
  "length": 20,
3181
- "start": 6257
901
+ "start": 1584
3182
902
  },
3183
903
  {
3184
904
  "length": 20,
3185
- "start": 8237
905
+ "start": 4133
3186
906
  },
3187
907
  {
3188
908
  "length": 20,
3189
- "start": 9468
909
+ "start": 6576
3190
910
  }
3191
911
  ]
3192
912
  },
3193
- "contracts/types/StateId.sol": {
3194
- "StateIdLib": [
3195
- {
3196
- "length": 20,
3197
- "start": 6486
3198
- },
913
+ "contracts/type/RoleId.sol": {
914
+ "RoleIdLib": [
3199
915
  {
3200
916
  "length": 20,
3201
- "start": 9622
917
+ "start": 4512
3202
918
  },
3203
919
  {
3204
920
  "length": 20,
3205
- "start": 9992
3206
- },
3207
- {
3208
- "length": 20,
3209
- "start": 11934
3210
- },
3211
- {
3212
- "length": 20,
3213
- "start": 12154
3214
- },
3215
- {
3216
- "length": 20,
3217
- "start": 13097
3218
- },
3219
- {
3220
- "length": 20,
3221
- "start": 13816
3222
- },
3223
- {
3224
- "length": 20,
3225
- "start": 14036
921
+ "start": 4738
3226
922
  }
3227
923
  ]
3228
924
  },
3229
- "contracts/types/Version.sol": {
925
+ "contracts/type/Version.sol": {
3230
926
  "VersionPartLib": [
3231
927
  {
3232
928
  "length": 20,
3233
- "start": 10160
929
+ "start": 5640
3234
930
  }
3235
931
  ]
3236
932
  }
3237
933
  },
3238
934
  "deployedLinkReferences": {
3239
- "contracts/types/Key32.sol": {
3240
- "Key32Lib": [
3241
- {
3242
- "length": 20,
3243
- "start": 8617
3244
- },
3245
- {
3246
- "length": 20,
3247
- "start": 10649
3248
- },
3249
- {
3250
- "length": 20,
3251
- "start": 10765
3252
- },
3253
- {
3254
- "length": 20,
3255
- "start": 10924
3256
- },
3257
- {
3258
- "length": 20,
3259
- "start": 11677
3260
- },
3261
- {
3262
- "length": 20,
3263
- "start": 11793
3264
- },
3265
- {
3266
- "length": 20,
3267
- "start": 12559
3268
- },
3269
- {
3270
- "length": 20,
3271
- "start": 12675
3272
- },
3273
- {
3274
- "length": 20,
3275
- "start": 12857
3276
- },
3277
- {
3278
- "length": 20,
3279
- "start": 12973
3280
- }
3281
- ]
3282
- },
3283
- "contracts/types/NftId.sol": {
935
+ "contracts/type/NftId.sol": {
3284
936
  "NftIdLib": [
3285
937
  {
3286
938
  "length": 20,
3287
- "start": 3522
3288
- },
3289
- {
3290
- "length": 20,
3291
- "start": 3992
3292
- },
3293
- {
3294
- "length": 20,
3295
- "start": 4797
3296
- },
3297
- {
3298
- "length": 20,
3299
- "start": 5430
3300
- },
3301
- {
3302
- "length": 20,
3303
- "start": 6321
3304
- },
3305
- {
3306
- "length": 20,
3307
- "start": 6554
3308
- },
3309
- {
3310
- "length": 20,
3311
- "start": 7552
3312
- },
3313
- {
3314
- "length": 20,
3315
- "start": 9557
3316
- }
3317
- ]
3318
- },
3319
- "contracts/types/ObjectType.sol": {
3320
- "ObjectTypeLib": [
3321
- {
3322
- "length": 20,
3323
- "start": 11045
3324
- }
3325
- ]
3326
- },
3327
- "contracts/types/RiskId.sol": {
3328
- "RiskIdLib": [
3329
- {
3330
- "length": 20,
3331
- "start": 4426
939
+ "start": 1552
3332
940
  },
3333
941
  {
3334
942
  "length": 20,
3335
- "start": 6406
943
+ "start": 4101
3336
944
  },
3337
945
  {
3338
946
  "length": 20,
3339
- "start": 7637
947
+ "start": 6544
3340
948
  }
3341
949
  ]
3342
950
  },
3343
- "contracts/types/StateId.sol": {
3344
- "StateIdLib": [
3345
- {
3346
- "length": 20,
3347
- "start": 4655
3348
- },
3349
- {
3350
- "length": 20,
3351
- "start": 7791
3352
- },
3353
- {
3354
- "length": 20,
3355
- "start": 8161
3356
- },
3357
- {
3358
- "length": 20,
3359
- "start": 10103
3360
- },
3361
- {
3362
- "length": 20,
3363
- "start": 10323
3364
- },
3365
- {
3366
- "length": 20,
3367
- "start": 11266
3368
- },
951
+ "contracts/type/RoleId.sol": {
952
+ "RoleIdLib": [
3369
953
  {
3370
954
  "length": 20,
3371
- "start": 11985
955
+ "start": 4480
3372
956
  },
3373
957
  {
3374
958
  "length": 20,
3375
- "start": 12205
959
+ "start": 4706
3376
960
  }
3377
961
  ]
3378
962
  },
3379
- "contracts/types/Version.sol": {
963
+ "contracts/type/Version.sol": {
3380
964
  "VersionPartLib": [
3381
965
  {
3382
966
  "length": 20,
3383
- "start": 8329
967
+ "start": 5608
3384
968
  }
3385
969
  ]
3386
970
  }