@etherisc/gif-next 0.0.2-d086e6d-456 → 0.0.2-d1f0662-893

Sign up to get free protection for your applications and to get access to all the features.
Files changed (265) hide show
  1. package/README.md +6 -88
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
  3. package/artifacts/contracts/components/Component.sol/Component.json +37 -6
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +60 -13
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +1 -1
  7. package/artifacts/contracts/components/IComponent.sol/IComponent.json +37 -6
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +44 -13
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +55 -24
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +52 -21
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +55 -24
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +52 -21
  18. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  19. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +2 -2
  20. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
  21. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  22. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +309 -2023
  23. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  24. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +21 -62
  25. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  26. package/artifacts/contracts/instance/Instance.sol/Instance.json +424 -2776
  27. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  28. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +95 -58
  29. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  30. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +124 -0
  31. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +331 -51
  33. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +71 -215
  35. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +38 -83
  37. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  38. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2788 -0
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
  40. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +2 -2
  41. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +1 -1
  42. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +25 -36
  43. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  44. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  46. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +8 -8
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  48. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +6 -6
  49. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  50. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +6 -6
  51. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  52. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  53. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  54. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  58. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  59. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +106 -246
  60. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  61. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +38 -55
  62. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
  63. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +166 -136
  64. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  65. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +38 -59
  66. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +1 -1
  67. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +623 -91
  68. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  69. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +143 -32
  70. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +185 -451
  72. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  73. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +82 -107
  74. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  75. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +38 -191
  76. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
  77. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +97 -45
  78. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +1 -1
  79. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +306 -62
  80. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +34 -297
  82. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  83. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +124 -103
  84. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +269 -60
  86. package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.dbg.json +4 -0
  87. package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.json +510 -0
  88. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  89. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +5 -37
  90. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
  91. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +332 -162
  92. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  93. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +104 -53
  94. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  95. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +442 -84
  96. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  97. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +90 -39
  98. package/artifacts/contracts/instance/service/PricingService.sol/PricingService.dbg.json +4 -0
  99. package/artifacts/contracts/instance/service/PricingService.sol/PricingService.json +1004 -0
  100. package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  101. package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.json +688 -0
  102. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  103. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +56 -59
  104. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
  105. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +28 -37
  106. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  107. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  108. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  109. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +5 -37
  110. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  111. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  112. package/artifacts/contracts/registry/Registry.sol/Registry.json +2 -2
  113. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +1 -1
  114. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +2 -2
  115. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  116. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +22 -49
  117. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  118. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +21 -34
  119. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  120. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +23 -11
  121. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  122. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +10 -23
  123. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  124. package/artifacts/contracts/{instance → shared}/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +3 -3
  125. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  126. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  127. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  128. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +0 -13
  129. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  130. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +69 -9
  131. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  132. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +0 -13
  133. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  134. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
  135. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  136. package/artifacts/contracts/shared/IService.sol/IService.json +5 -37
  137. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  138. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  139. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +6 -19
  140. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  141. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +80 -26
  142. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  143. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +14 -27
  144. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  145. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +6 -19
  146. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  147. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  148. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  149. package/artifacts/contracts/shared/Service.sol/Service.json +11 -38
  150. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  151. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +24 -6
  152. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  153. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  154. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  155. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  156. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  157. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +6 -19
  158. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  159. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +2 -2
  160. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  161. package/artifacts/contracts/test/TestService.sol/TestService.json +26 -49
  162. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  164. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  165. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  166. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  167. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +1 -1
  168. package/artifacts/contracts/types/Amount.sol/AmountLib.json +124 -4
  169. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  170. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  172. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +83 -4
  173. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  174. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  175. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/Fee.sol/FeeLib.json +42 -18
  177. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  178. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  179. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  180. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  181. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  182. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
  183. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  184. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  185. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  186. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  187. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +116 -7
  188. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  189. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +2 -2
  190. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  192. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  194. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +1 -1
  195. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  196. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  197. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  198. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +17 -4
  199. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  200. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  202. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  203. package/contracts/components/Component.sol +21 -2
  204. package/contracts/components/Distribution.sol +11 -6
  205. package/contracts/components/IComponent.sol +16 -2
  206. package/contracts/components/IPoolComponent.sol +8 -7
  207. package/contracts/components/IProductComponent.sol +5 -4
  208. package/contracts/components/Pool.sol +11 -12
  209. package/contracts/components/Product.sol +144 -62
  210. package/contracts/instance/BundleManager.sol +3 -4
  211. package/contracts/instance/IInstance.sol +32 -53
  212. package/contracts/instance/IInstanceService.sol +15 -14
  213. package/contracts/instance/Instance.sol +107 -205
  214. package/contracts/instance/InstanceAccessManager.sol +44 -25
  215. package/contracts/instance/InstanceAuthorizationsLib.sol +308 -0
  216. package/contracts/instance/InstanceReader.sol +84 -7
  217. package/contracts/instance/InstanceService.sol +102 -289
  218. package/contracts/instance/InstanceStore.sol +212 -0
  219. package/contracts/instance/ObjectManager.sol +1 -1
  220. package/contracts/instance/base/ComponentService.sol +53 -41
  221. package/contracts/instance/base/KeyValueStore.sol +0 -31
  222. package/contracts/instance/base/Lifecycle.sol +15 -4
  223. package/contracts/instance/module/IAccess.sol +2 -2
  224. package/contracts/instance/module/IComponents.sol +3 -3
  225. package/contracts/instance/module/IDistribution.sol +3 -2
  226. package/contracts/instance/module/IPolicy.sol +13 -8
  227. package/contracts/instance/service/ApplicationService.sol +60 -224
  228. package/contracts/instance/service/BundleService.sol +73 -122
  229. package/contracts/instance/service/ClaimService.sol +318 -32
  230. package/contracts/instance/service/DistributionService.sol +64 -151
  231. package/contracts/instance/service/IApplicationService.sol +8 -28
  232. package/contracts/instance/service/IBundleService.sol +34 -9
  233. package/contracts/instance/service/IClaimService.sol +52 -23
  234. package/contracts/instance/service/IDistributionService.sol +11 -22
  235. package/contracts/instance/service/IPolicyService.sol +24 -16
  236. package/contracts/instance/service/IPoolService.sol +18 -3
  237. package/contracts/instance/service/IPricingService.sol +37 -0
  238. package/contracts/instance/service/PolicyService.sol +134 -118
  239. package/contracts/instance/service/PoolService.sol +124 -64
  240. package/contracts/instance/service/PricingService.sol +275 -0
  241. package/contracts/instance/service/PricingServiceManager.sol +51 -0
  242. package/contracts/instance/service/ProductService.sol +14 -14
  243. package/contracts/registry/IRegistryService.sol +0 -2
  244. package/contracts/registry/RegistryService.sol +16 -15
  245. package/contracts/registry/ReleaseManager.sol +20 -18
  246. package/contracts/shared/IPolicyHolder.sol +23 -9
  247. package/contracts/shared/IRegistryLinked.sol +0 -1
  248. package/contracts/shared/IService.sol +3 -6
  249. package/contracts/shared/NftOwnable.sol +0 -2
  250. package/contracts/shared/PolicyHolder.sol +30 -17
  251. package/contracts/shared/Registerable.sol +10 -9
  252. package/contracts/shared/RegistryLinked.sol +0 -5
  253. package/contracts/shared/Service.sol +16 -7
  254. package/contracts/shared/TokenHandler.sol +4 -2
  255. package/contracts/test/TestService.sol +1 -1
  256. package/contracts/types/Amount.sol +49 -0
  257. package/contracts/types/ClaimId.sol +25 -2
  258. package/contracts/types/Fee.sol +7 -6
  259. package/contracts/types/ObjectType.sol +9 -5
  260. package/contracts/types/PayoutId.sol +33 -5
  261. package/contracts/types/StateId.sol +6 -2
  262. package/contracts/types/Timestamp.sol +5 -0
  263. package/package.json +1 -1
  264. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  265. /package/contracts/{instance → shared}/AccessManagerUpgradeableInitializeable.sol +0 -0
@@ -62,17 +62,6 @@
62
62
  "name": "AccessManagedUnauthorized",
63
63
  "type": "error"
64
64
  },
65
- {
66
- "inputs": [
67
- {
68
- "internalType": "address",
69
- "name": "caller",
70
- "type": "address"
71
- }
72
- ],
73
- "name": "ErrorIServiceCallerUnknown",
74
- "type": "error"
75
- },
76
65
  {
77
66
  "inputs": [
78
67
  {
@@ -122,6 +111,11 @@
122
111
  "name": "ErrorNotRegistry",
123
112
  "type": "error"
124
113
  },
114
+ {
115
+ "inputs": [],
116
+ "name": "ErrorServiceNotImplemented",
117
+ "type": "error"
118
+ },
125
119
  {
126
120
  "inputs": [],
127
121
  "name": "InvalidInitialization",
@@ -273,19 +267,6 @@
273
267
  "stateMutability": "view",
274
268
  "type": "function"
275
269
  },
276
- {
277
- "inputs": [],
278
- "name": "getMajorVersion",
279
- "outputs": [
280
- {
281
- "internalType": "VersionPart",
282
- "name": "majorVersion",
283
- "type": "uint8"
284
- }
285
- ],
286
- "stateMutability": "view",
287
- "type": "function"
288
- },
289
270
  {
290
271
  "inputs": [],
291
272
  "name": "getNftId",
@@ -325,19 +306,6 @@
325
306
  "stateMutability": "view",
326
307
  "type": "function"
327
308
  },
328
- {
329
- "inputs": [],
330
- "name": "getRegistryAddress",
331
- "outputs": [
332
- {
333
- "internalType": "address",
334
- "name": "",
335
- "type": "address"
336
- }
337
- ],
338
- "stateMutability": "view",
339
- "type": "function"
340
- },
341
309
  {
342
310
  "inputs": [],
343
311
  "name": "getVersion",
@@ -434,6 +402,11 @@
434
402
  "name": "registry",
435
403
  "type": "address"
436
404
  },
405
+ {
406
+ "internalType": "address",
407
+ "name": "authority",
408
+ "type": "address"
409
+ },
437
410
  {
438
411
  "internalType": "address",
439
412
  "name": "initialOwner",
@@ -542,18 +515,18 @@
542
515
  "type": "function"
543
516
  }
544
517
  ],
545
- "bytecode": "0x60806040523480156200001157600080fd5b5060405162001dda38038062001dda833981016040819052620000349162000511565b6200003e62000053565b6200004a838262000107565b50505062000715565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000a45760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001045780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b62000111620001c4565b6200019c82836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000155573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200017b91906200055b565b603c600085604051806020016040528060008152506200021560201b60201c565b620001ae634a531f3360e01b620002b4565b620001c0637b6a51fd60e01b620002b4565b5050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff166200021357604051631afcd79f60e31b815260040160405180910390fd5b565b6200021f620001c4565b6200022b8287620002e3565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d010000000000000000000000000086151502178155905060018101620002aa838262000625565b5050505050505050565b620002be620001c4565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b620002ed620001c4565b620002f8816200037c565b6200030262000494565b6001600160a01b0382166200032a5760405163f17ef42d60e01b815260040160405180910390fd5b507f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b0390931692909202919091179055565b62000386620001c4565b806001600160a01b03163b600003620003c25760405163fdeac91f60e01b81526001600160a01b03821660048201526024015b60405180910390fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa9250505080156200043f575060408051601f3d908101601f191682019092526200043c91810190620006f1565b60015b620004695760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620003b9565b80620001c05760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620003b9565b6200049e620001c4565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b80516001600160a01b0381168114620004f457600080fd5b919050565b80516001600160601b0381168114620004f457600080fd5b6000806000606084860312156200052757600080fd5b6200053284620004dc565b92506200054260208501620004f9565b91506200055260408501620004dc565b90509250925092565b6000602082840312156200056e57600080fd5b6200057982620004f9565b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620005ab57607f821691505b602082108103620005cc57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200062057600081815260208120601f850160051c81016020861015620005fb5750805b601f850160051c820191505b818110156200061c5782815560010162000607565b5050505b505050565b81516001600160401b0381111562000641576200064162000580565b620006598162000652845462000596565b84620005d2565b602080601f831160018114620006915760008415620006785750858301515b600019600386901b1c1916600185901b1785556200061c565b600085815260208120601f198616915b82811015620006c257888601518255948401946001909101908401620006a1565b5085821015620006e15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200070457600080fd5b815180151581146200057957600080fd5b6116b580620007256000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c8063675393bf116100c3578063b68d18091161007c578063b68d18091461034b578063bf7e214f14610360578063cde749f41461037e578063ea86657214610386578063f21de1e814610263578063f7c34ee01461039957600080fd5b8063675393bf146102b05780637a9e5e4b146102c3578063893d20e8146102d65780638fb36037146102de578063a3f4df7e146102ff578063ada9652e1461033657600080fd5b806327bb7a331161011557806327bb7a3314610222578063329d6e741461023557806336fc697e1461024857806349bb9e4b146102505780635ab1bd5314610263578063644c45e01461028857600080fd5b806301ffc9a71461015d5780630d8e6e2c1461019f5780630fec111c146101bb578063138461e0146101d05780631eff4b22146101da578063214cdb801461020f575b600080fd5b61018a61016b3660046110c0565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101a76103ac565b60405162ffffff9091168152602001610196565b6101c3610436565b6040516101969190611137565b6101d86105e5565b005b6102017f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610196565b6101d861021d3660046110c0565b6107ec565b6101d86102303660046112ac565b610819565b6101d8610243366004611345565b6108a5565b6101d8610a07565b6101d861025e36600461137a565b610a4d565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610196565b600080516020611640833981519152546040516001600160601b039091168152602001610196565b6101d86102be3660046113ca565b610b5f565b6101d86102d13660046113ca565b610c6d565b610270610d07565b6102e6610e3e565b6040516001600160e01b03199091168152602001610196565b6103296040518060400160405280600b81526020016a546573745365727669636560a81b81525081565b60405161019691906113e7565b61020160008051602061164083398151915281565b606e5b60405160ff9091168152602001610196565b600080516020611660833981519152546001600160a01b0316610270565b61034e610e76565b6101d86103943660046113fa565b610eed565b6101d86103a73660046113fa565b610f95565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561040d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104319190611433565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906104e190611458565b80601f016020809104026020016040519081016040528092919081815260200182805461050d90611458565b801561055a5780601f1061052f5761010080835404028352916020019161055a565b820191906000526020600020905b81548152906001019060200180831161053d57829003601f168201915b50505050508152505090506040518060e00160405280610578600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016105c9610d07565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061164083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610654573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106789190611492565b156106a95780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306106bc6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610704573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107289190611492565b6107505760405163b9304b0d60e01b81526001600160a01b03821660048201526024016106a0565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156107a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107c891906114af565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6107f461100c565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61082161100c565b61082b8287610f95565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161089b838261151b565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6108c76103ac565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610907573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092b91906115db565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b900460ff16806109715750805467ffffffffffffffff808416911610155b1561098f5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff191667ffffffffffffffff831617600160401b1781556109ba83611057565b805460ff60401b1916815560405167ffffffffffffffff831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610a0f61100c565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015610a935750825b905060008267ffffffffffffffff166001148015610ab05750303b155b905081158015610abe575080155b15610adc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610b0657845460ff60401b1916600160401b1785555b610b108787611057565b8315610b5657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b610b6761100c565b806001600160a01b03163b600003610b9d5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106a0565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015610c17575060408051601f3d908101601f19168201909252610c1491810190611492565b60015b610c3f5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106a0565b80610c685760405163fdeac91f60e01b81526001600160a01b03831660048201526024016106a0565b505b50565b33610c8d600080516020611660833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610cc85760405162d1953b60e31b81526001600160a01b03821660048201526024016106a0565b816001600160a01b03163b600003610cfe576040516361798f2f60e11b81526001600160a01b03831660048201526024016106a0565b610c688261105f565b60008060008051602061164083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610d77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d9b9190611492565b15610e28576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610dfe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e229190611605565b91505090565b54600160601b90046001600160a01b0316919050565b600080516020611660833981519152805460009190600160a01b900460ff16610e68576000610e22565b638fb3603760e01b91505090565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015610ec9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104319190611622565b610ef561100c565b610f7582836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5b91906114af565b603c60008560405180602001604052806000815250610819565b610f85634a531f3360e01b6107ec565b610c68637b6a51fd60e01b6107ec565b610f9d61100c565b610fa681610b5f565b610fae610a07565b6001600160a01b038216610fd55760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061164083398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661105557604051631afcd79f60e31b815260040160405180910390fd5b565b61015861100c565b60008051602061166083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6000602082840312156110d257600080fd5b81356001600160e01b0319811681146110ea57600080fd5b9392505050565b6000815180845260005b81811015611117576020818501810151868301820152016110fb565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516111a060c08401826001600160a01b03169052565b5060c083015160e0808401526111ba6101008401826110f1565b949350505050565b6001600160a01b0381168114610c6a57600080fd5b6001600160601b0381168114610c6a57600080fd5b60ff81168114610c6a57600080fd5b8015158114610c6a57600080fd5b634e487b7160e01b600052604160045260246000fd5b600082601f83011261123057600080fd5b813567ffffffffffffffff8082111561124b5761124b611209565b604051601f8301601f19908116603f0116810190828211818310171561127357611273611209565b8160405283815286602085880101111561128c57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060008060c087890312156112c557600080fd5b86356112d0816111c2565b955060208701356112e0816111d7565b945060408701356112f0816111ec565b93506060870135611300816111fb565b92506080870135611310816111c2565b915060a087013567ffffffffffffffff81111561132c57600080fd5b61133889828a0161121f565b9150509295509295509295565b60006020828403121561135757600080fd5b813567ffffffffffffffff81111561136e57600080fd5b6111ba8482850161121f565b6000806040838503121561138d57600080fd5b8235611398816111c2565b9150602083013567ffffffffffffffff8111156113b457600080fd5b6113c08582860161121f565b9150509250929050565b6000602082840312156113dc57600080fd5b81356110ea816111c2565b6020815260006110ea60208301846110f1565b6000806040838503121561140d57600080fd5b8235611418816111c2565b91506020830135611428816111c2565b809150509250929050565b60006020828403121561144557600080fd5b815162ffffff811681146110ea57600080fd5b600181811c9082168061146c57607f821691505b60208210810361148c57634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156114a457600080fd5b81516110ea816111fb565b6000602082840312156114c157600080fd5b81516110ea816111d7565b601f82111561151657600081815260208120601f850160051c810160208610156114f35750805b601f850160051c820191505b81811015611512578281556001016114ff565b5050505b505050565b815167ffffffffffffffff81111561153557611535611209565b611549816115438454611458565b846114cc565b602080601f83116001811461157e57600084156115665750858301515b600019600386901b1c1916600185901b178555611512565b600085815260208120601f198616915b828110156115ad5788860151825594840194600190910190840161158e565b50858210156115cb5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156115ed57600080fd5b815167ffffffffffffffff811681146110ea57600080fd5b60006020828403121561161757600080fd5b81516110ea816111c2565b60006020828403121561163457600080fd5b81516110ea816111ec56fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220a70e95ad0bb23dfb9193e7c96198e02b4f2773b63d3110e2ea8165c05dc09ed064736f6c63430008140033",
546
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101585760003560e01c8063675393bf116100c3578063b68d18091161007c578063b68d18091461034b578063bf7e214f14610360578063cde749f41461037e578063ea86657214610386578063f21de1e814610263578063f7c34ee01461039957600080fd5b8063675393bf146102b05780637a9e5e4b146102c3578063893d20e8146102d65780638fb36037146102de578063a3f4df7e146102ff578063ada9652e1461033657600080fd5b806327bb7a331161011557806327bb7a3314610222578063329d6e741461023557806336fc697e1461024857806349bb9e4b146102505780635ab1bd5314610263578063644c45e01461028857600080fd5b806301ffc9a71461015d5780630d8e6e2c1461019f5780630fec111c146101bb578063138461e0146101d05780631eff4b22146101da578063214cdb801461020f575b600080fd5b61018a61016b3660046110c0565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101a76103ac565b60405162ffffff9091168152602001610196565b6101c3610436565b6040516101969190611137565b6101d86105e5565b005b6102017f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610196565b6101d861021d3660046110c0565b6107ec565b6101d86102303660046112ac565b610819565b6101d8610243366004611345565b6108a5565b6101d8610a07565b6101d861025e36600461137a565b610a4d565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610196565b600080516020611640833981519152546040516001600160601b039091168152602001610196565b6101d86102be3660046113ca565b610b5f565b6101d86102d13660046113ca565b610c6d565b610270610d07565b6102e6610e3e565b6040516001600160e01b03199091168152602001610196565b6103296040518060400160405280600b81526020016a546573745365727669636560a81b81525081565b60405161019691906113e7565b61020160008051602061164083398151915281565b606e5b60405160ff9091168152602001610196565b600080516020611660833981519152546001600160a01b0316610270565b61034e610e76565b6101d86103943660046113fa565b610eed565b6101d86103a73660046113fa565b610f95565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561040d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104319190611433565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906104e190611458565b80601f016020809104026020016040519081016040528092919081815260200182805461050d90611458565b801561055a5780601f1061052f5761010080835404028352916020019161055a565b820191906000526020600020905b81548152906001019060200180831161053d57829003601f168201915b50505050508152505090506040518060e00160405280610578600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016105c9610d07565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061164083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610654573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106789190611492565b156106a95780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306106bc6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610704573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107289190611492565b6107505760405163b9304b0d60e01b81526001600160a01b03821660048201526024016106a0565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156107a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107c891906114af565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6107f461100c565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61082161100c565b61082b8287610f95565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161089b838261151b565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6108c76103ac565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610907573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092b91906115db565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b900460ff16806109715750805467ffffffffffffffff808416911610155b1561098f5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff191667ffffffffffffffff831617600160401b1781556109ba83611057565b805460ff60401b1916815560405167ffffffffffffffff831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610a0f61100c565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015610a935750825b905060008267ffffffffffffffff166001148015610ab05750303b155b905081158015610abe575080155b15610adc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610b0657845460ff60401b1916600160401b1785555b610b108787611057565b8315610b5657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b610b6761100c565b806001600160a01b03163b600003610b9d5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106a0565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015610c17575060408051601f3d908101601f19168201909252610c1491810190611492565b60015b610c3f5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106a0565b80610c685760405163fdeac91f60e01b81526001600160a01b03831660048201526024016106a0565b505b50565b33610c8d600080516020611660833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610cc85760405162d1953b60e31b81526001600160a01b03821660048201526024016106a0565b816001600160a01b03163b600003610cfe576040516361798f2f60e11b81526001600160a01b03831660048201526024016106a0565b610c688261105f565b60008060008051602061164083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610d77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d9b9190611492565b15610e28576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610dfe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e229190611605565b91505090565b54600160601b90046001600160a01b0316919050565b600080516020611660833981519152805460009190600160a01b900460ff16610e68576000610e22565b638fb3603760e01b91505090565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015610ec9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104319190611622565b610ef561100c565b610f7582836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5b91906114af565b603c60008560405180602001604052806000815250610819565b610f85634a531f3360e01b6107ec565b610c68637b6a51fd60e01b6107ec565b610f9d61100c565b610fa681610b5f565b610fae610a07565b6001600160a01b038216610fd55760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061164083398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661105557604051631afcd79f60e31b815260040160405180910390fd5b565b61015861100c565b60008051602061166083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6000602082840312156110d257600080fd5b81356001600160e01b0319811681146110ea57600080fd5b9392505050565b6000815180845260005b81811015611117576020818501810151868301820152016110fb565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516111a060c08401826001600160a01b03169052565b5060c083015160e0808401526111ba6101008401826110f1565b949350505050565b6001600160a01b0381168114610c6a57600080fd5b6001600160601b0381168114610c6a57600080fd5b60ff81168114610c6a57600080fd5b8015158114610c6a57600080fd5b634e487b7160e01b600052604160045260246000fd5b600082601f83011261123057600080fd5b813567ffffffffffffffff8082111561124b5761124b611209565b604051601f8301601f19908116603f0116810190828211818310171561127357611273611209565b8160405283815286602085880101111561128c57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060008060c087890312156112c557600080fd5b86356112d0816111c2565b955060208701356112e0816111d7565b945060408701356112f0816111ec565b93506060870135611300816111fb565b92506080870135611310816111c2565b915060a087013567ffffffffffffffff81111561132c57600080fd5b61133889828a0161121f565b9150509295509295509295565b60006020828403121561135757600080fd5b813567ffffffffffffffff81111561136e57600080fd5b6111ba8482850161121f565b6000806040838503121561138d57600080fd5b8235611398816111c2565b9150602083013567ffffffffffffffff8111156113b457600080fd5b6113c08582860161121f565b9150509250929050565b6000602082840312156113dc57600080fd5b81356110ea816111c2565b6020815260006110ea60208301846110f1565b6000806040838503121561140d57600080fd5b8235611418816111c2565b91506020830135611428816111c2565b809150509250929050565b60006020828403121561144557600080fd5b815162ffffff811681146110ea57600080fd5b600181811c9082168061146c57607f821691505b60208210810361148c57634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156114a457600080fd5b81516110ea816111fb565b6000602082840312156114c157600080fd5b81516110ea816111d7565b601f82111561151657600081815260208120601f850160051c810160208610156114f35750805b601f850160051c820191505b81811015611512578281556001016114ff565b5050505b505050565b815167ffffffffffffffff81111561153557611535611209565b611549816115438454611458565b846114cc565b602080601f83116001811461157e57600084156115665750858301515b600019600386901b1c1916600185901b178555611512565b600085815260208120601f198616915b828110156115ad5788860151825594840194600190910190840161158e565b50858210156115cb5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156115ed57600080fd5b815167ffffffffffffffff811681146110ea57600080fd5b60006020828403121561161757600080fd5b81516110ea816111c2565b60006020828403121561163457600080fd5b81516110ea816111ec56fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220a70e95ad0bb23dfb9193e7c96198e02b4f2773b63d3110e2ea8165c05dc09ed064736f6c63430008140033",
518
+ "bytecode": "0x60806040523480156200001157600080fd5b506040516200218f3803806200218f83398101604081905262000034916200076a565b6200003e62000055565b6200004c8360008362000109565b505050620009b0565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000a65760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001065780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6200011362000363565b6200019e83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000157573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200017d9190620007b4565b603c60008560405180602001604052806000815250620003b460201b60201c565b6001600160a01b03821615620001bf57620001b9826200046c565b6200033a565b6000620001d46001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af415801562000235573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200025b9190620007d9565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015620002a1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002c79190620007fe565b905062000338816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200030c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003329190620007fe565b6200046c565b505b6200034c634a531f3360e01b62000481565b6200035e63b68d180960e01b62000481565b505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff16620003b257604051631afcd79f60e31b815260040160405180910390fd5b565b620003be62000363565b620003ca8287620004b0565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166001600160681b0319909116176c0100000000000000000000000060ff8716021760ff60681b19166d0100000000000000000000000000851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301620004628382620008c0565b5050505050505050565b6200047662000363565b620001068162000549565b6200048b62000363565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b620004ba62000363565b620004c5816200055e565b620004cf6200067a565b6001600160a01b038216620004f75760405163f17ef42d60e01b815260040160405180910390fd5b507f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b0390931692909202919091179055565b6200055362000363565b6200010681620006c2565b6200056862000363565b806001600160a01b03163b600003620005a45760405163fdeac91f60e01b81526001600160a01b03821660048201526024015b60405180910390fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa92505050801562000621575060408051601f3d908101601f191682019092526200061e918101906200098c565b60015b6200064b5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016200059b565b80620006765760405163fdeac91f60e01b81526001600160a01b03831660048201526024016200059b565b5050565b6200068462000363565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b80516001600160a01b03811681146200074d57600080fd5b919050565b80516001600160601b03811681146200074d57600080fd5b6000806000606084860312156200078057600080fd5b6200078b8462000735565b92506200079b6020850162000752565b9150620007ab6040850162000735565b90509250925092565b600060208284031215620007c757600080fd5b620007d28262000752565b9392505050565b600060208284031215620007ec57600080fd5b815160ff81168114620007d257600080fd5b6000602082840312156200081157600080fd5b620007d28262000735565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200084757607f821691505b6020821081036200086857634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200035e57600081815260208120601f850160051c81016020861015620008975750805b601f850160051c820191505b81811015620008b857828155600101620008a3565b505050505050565b81516001600160401b03811115620008dc57620008dc6200081c565b620008f481620008ed845462000832565b846200086e565b602080601f8311600181146200092c5760008415620009135750858301515b600019600386901b1c1916600185901b178555620008b8565b600085815260208120601f198616915b828110156200095d578886015182559484019460019091019084016200093c565b50858210156200097c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200099f57600080fd5b81518015158114620007d257600080fd5b6117cf80620009c06000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c8063644c45e0116100b85780638fb360371161007c5780638fb36037146102db578063a3f4df7e146102fc578063ada9652e14610333578063b68d180914610348578063bf7e214f14610357578063f7c34ee01461037557600080fd5b8063644c45e014610272578063675393bf1461029a5780637a9e5e4b146102ad578063893d20e8146102c05780638e32e979146102c857600080fd5b8063214cdb801161010a578063214cdb80146101f957806327bb7a331461020c578063329d6e741461021f57806336fc697e1461023257806349bb9e4b1461023a5780635ab1bd531461024d57600080fd5b806301ffc9a7146101475780630d8e6e2c146101895780630fec111c146101a5578063138461e0146101ba5780631eff4b22146101c4575b600080fd5b610174610155366004611190565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610191610388565b60405162ffffff9091168152602001610180565b6101ad610412565b6040516101809190611207565b6101c2610565565b005b6101eb7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610180565b6101c2610207366004611190565b61076c565b6101c261021a36600461137c565b610799565b6101c261022d366004611415565b61083e565b6101c26109a0565b6101c261024836600461144a565b6109e6565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610180565b60008051602061175a833981519152546040516001600160601b039091168152602001610180565b6101c26102a836600461149a565b610af8565b6101c26102bb36600461149a565b610c06565b61025a610ca0565b6101c26102d63660046114b7565b610dd7565b6102e3611010565b6040516001600160e01b03199091168152602001610180565b6103266040518060400160405280600b81526020016a546573745365727669636560a81b81525081565b6040516101809190611502565b6101eb60008051602061175a83398151915281565b604051606e8152602001610180565b60008051602061177a833981519152546001600160a01b031661025a565b6101c2610383366004611515565b611048565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156103e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061040d919061154e565b905090565b6040805160e0808201835260008083526020830181905282840181905260608084018290526080840182905260a0840182905260c0840152835191820190935290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300919081906001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016104c1610ca0565b6001600160a01b031681526020018260010180546104de90611573565b80601f016020809104026020016040519081016040528092919081815260200182805461050a90611573565b80156105575780601f1061052c57610100808354040283529160200191610557565b820191906000526020600020905b81548152906001019060200180831161053a57829003601f168201915b505050505081525091505090565b600060008051602061175a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156105d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f891906115ad565b156106295780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b3061063c6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610684573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106a891906115ad565b6106d05760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610620565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610724573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074891906115ca565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6107746110bf565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6107a16110bf565b6107ab8287611048565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016108348382611635565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610860610388565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156108a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c491906116f5565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b900460ff168061090a5750805467ffffffffffffffff808416911610155b156109285760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff191667ffffffffffffffff831617600160401b1781556109538361110a565b805460ff60401b1916815560405167ffffffffffffffff831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b6109a86110bf565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015610a2c5750825b905060008267ffffffffffffffff166001148015610a495750303b155b905081158015610a57575080155b15610a755760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610a9f57845460ff60401b1916600160401b1785555b610aa9878761110a565b8315610aef57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b610b006110bf565b806001600160a01b03163b600003610b365760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610620565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015610bb0575060408051601f3d908101601f19168201909252610bad918101906115ad565b60015b610bd85760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610620565b80610c015760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610620565b505b50565b33610c2660008051602061177a833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610c615760405162d1953b60e31b81526001600160a01b0382166004820152602401610620565b816001600160a01b03163b600003610c97576040516361798f2f60e11b81526001600160a01b0383166004820152602401610620565b610c0182611112565b60008060008051602061175a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610d10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3491906115ad565b15610dc1576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610d97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dbb919061171f565b91505090565b54600160601b90046001600160a01b0316919050565b610ddf6110bf565b610e5f83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e21573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e4591906115ca565b603c60008560405180602001604052806000815250610799565b6001600160a01b03821615610e7c57610e7782611173565b610feb565b6000610e906001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015610ef0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f14919061173c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610f59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f7d919061171f565b9050610fe9816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fc0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe4919061171f565b611173565b505b610ffb634a531f3360e01b61076c565b61100b63b68d180960e01b61076c565b505050565b60008051602061177a833981519152805460009190600160a01b900460ff1661103a576000610dbb565b638fb3603760e01b91505090565b6110506110bf565b61105981610af8565b6110616109a0565b6001600160a01b0382166110885760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061175a83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661110857604051631afcd79f60e31b815260040160405180910390fd5b565b6101426110bf565b60008051602061177a83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b61117b6110bf565b610c03816111876110bf565b610c0381611112565b6000602082840312156111a257600080fd5b81356001600160e01b0319811681146111ba57600080fd5b9392505050565b6000815180845260005b818110156111e7576020818501810151868301820152016111cb565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161127060c08401826001600160a01b03169052565b5060c083015160e08084015261128a6101008401826111c1565b949350505050565b6001600160a01b0381168114610c0357600080fd5b6001600160601b0381168114610c0357600080fd5b60ff81168114610c0357600080fd5b8015158114610c0357600080fd5b634e487b7160e01b600052604160045260246000fd5b600082601f83011261130057600080fd5b813567ffffffffffffffff8082111561131b5761131b6112d9565b604051601f8301601f19908116603f01168101908282118183101715611343576113436112d9565b8160405283815286602085880101111561135c57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060008060c0878903121561139557600080fd5b86356113a081611292565b955060208701356113b0816112a7565b945060408701356113c0816112bc565b935060608701356113d0816112cb565b925060808701356113e081611292565b915060a087013567ffffffffffffffff8111156113fc57600080fd5b61140889828a016112ef565b9150509295509295509295565b60006020828403121561142757600080fd5b813567ffffffffffffffff81111561143e57600080fd5b61128a848285016112ef565b6000806040838503121561145d57600080fd5b823561146881611292565b9150602083013567ffffffffffffffff81111561148457600080fd5b611490858286016112ef565b9150509250929050565b6000602082840312156114ac57600080fd5b81356111ba81611292565b6000806000606084860312156114cc57600080fd5b83356114d781611292565b925060208401356114e781611292565b915060408401356114f781611292565b809150509250925092565b6020815260006111ba60208301846111c1565b6000806040838503121561152857600080fd5b823561153381611292565b9150602083013561154381611292565b809150509250929050565b60006020828403121561156057600080fd5b815162ffffff811681146111ba57600080fd5b600181811c9082168061158757607f821691505b6020821081036115a757634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156115bf57600080fd5b81516111ba816112cb565b6000602082840312156115dc57600080fd5b81516111ba816112a7565b601f82111561100b57600081815260208120601f850160051c8101602086101561160e5750805b601f850160051c820191505b8181101561162d5782815560010161161a565b505050505050565b815167ffffffffffffffff81111561164f5761164f6112d9565b6116638161165d8454611573565b846115e7565b602080601f83116001811461169857600084156116805750858301515b600019600386901b1c1916600185901b17855561162d565b600085815260208120601f198616915b828110156116c7578886015182559484019460019091019084016116a8565b50858210156116e55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561170757600080fd5b815167ffffffffffffffff811681146111ba57600080fd5b60006020828403121561173157600080fd5b81516111ba81611292565b60006020828403121561174e57600080fd5b81516111ba816112bc56fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220d449e6c722eacd5e2ca10a6286fa87675ec73ac3983e724c0a85a79233f6bc7764736f6c63430008140033",
519
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101425760003560e01c8063644c45e0116100b85780638fb360371161007c5780638fb36037146102db578063a3f4df7e146102fc578063ada9652e14610333578063b68d180914610348578063bf7e214f14610357578063f7c34ee01461037557600080fd5b8063644c45e014610272578063675393bf1461029a5780637a9e5e4b146102ad578063893d20e8146102c05780638e32e979146102c857600080fd5b8063214cdb801161010a578063214cdb80146101f957806327bb7a331461020c578063329d6e741461021f57806336fc697e1461023257806349bb9e4b1461023a5780635ab1bd531461024d57600080fd5b806301ffc9a7146101475780630d8e6e2c146101895780630fec111c146101a5578063138461e0146101ba5780631eff4b22146101c4575b600080fd5b610174610155366004611190565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610191610388565b60405162ffffff9091168152602001610180565b6101ad610412565b6040516101809190611207565b6101c2610565565b005b6101eb7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610180565b6101c2610207366004611190565b61076c565b6101c261021a36600461137c565b610799565b6101c261022d366004611415565b61083e565b6101c26109a0565b6101c261024836600461144a565b6109e6565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610180565b60008051602061175a833981519152546040516001600160601b039091168152602001610180565b6101c26102a836600461149a565b610af8565b6101c26102bb36600461149a565b610c06565b61025a610ca0565b6101c26102d63660046114b7565b610dd7565b6102e3611010565b6040516001600160e01b03199091168152602001610180565b6103266040518060400160405280600b81526020016a546573745365727669636560a81b81525081565b6040516101809190611502565b6101eb60008051602061175a83398151915281565b604051606e8152602001610180565b60008051602061177a833981519152546001600160a01b031661025a565b6101c2610383366004611515565b611048565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156103e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061040d919061154e565b905090565b6040805160e0808201835260008083526020830181905282840181905260608084018290526080840182905260a0840182905260c0840152835191820190935290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300919081906001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016104c1610ca0565b6001600160a01b031681526020018260010180546104de90611573565b80601f016020809104026020016040519081016040528092919081815260200182805461050a90611573565b80156105575780601f1061052c57610100808354040283529160200191610557565b820191906000526020600020905b81548152906001019060200180831161053a57829003601f168201915b505050505081525091505090565b600060008051602061175a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156105d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f891906115ad565b156106295780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b3061063c6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610684573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106a891906115ad565b6106d05760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610620565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610724573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074891906115ca565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6107746110bf565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6107a16110bf565b6107ab8287611048565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016108348382611635565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610860610388565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156108a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c491906116f5565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b900460ff168061090a5750805467ffffffffffffffff808416911610155b156109285760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff191667ffffffffffffffff831617600160401b1781556109538361110a565b805460ff60401b1916815560405167ffffffffffffffff831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b6109a86110bf565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015610a2c5750825b905060008267ffffffffffffffff166001148015610a495750303b155b905081158015610a57575080155b15610a755760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610a9f57845460ff60401b1916600160401b1785555b610aa9878761110a565b8315610aef57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b610b006110bf565b806001600160a01b03163b600003610b365760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610620565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015610bb0575060408051601f3d908101601f19168201909252610bad918101906115ad565b60015b610bd85760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610620565b80610c015760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610620565b505b50565b33610c2660008051602061177a833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610c615760405162d1953b60e31b81526001600160a01b0382166004820152602401610620565b816001600160a01b03163b600003610c97576040516361798f2f60e11b81526001600160a01b0383166004820152602401610620565b610c0182611112565b60008060008051602061175a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610d10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3491906115ad565b15610dc1576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610d97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dbb919061171f565b91505090565b54600160601b90046001600160a01b0316919050565b610ddf6110bf565b610e5f83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e21573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e4591906115ca565b603c60008560405180602001604052806000815250610799565b6001600160a01b03821615610e7c57610e7782611173565b610feb565b6000610e906001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015610ef0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f14919061173c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610f59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f7d919061171f565b9050610fe9816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fc0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe4919061171f565b611173565b505b610ffb634a531f3360e01b61076c565b61100b63b68d180960e01b61076c565b505050565b60008051602061177a833981519152805460009190600160a01b900460ff1661103a576000610dbb565b638fb3603760e01b91505090565b6110506110bf565b61105981610af8565b6110616109a0565b6001600160a01b0382166110885760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061175a83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661110857604051631afcd79f60e31b815260040160405180910390fd5b565b6101426110bf565b60008051602061177a83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b61117b6110bf565b610c03816111876110bf565b610c0381611112565b6000602082840312156111a257600080fd5b81356001600160e01b0319811681146111ba57600080fd5b9392505050565b6000815180845260005b818110156111e7576020818501810151868301820152016111cb565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161127060c08401826001600160a01b03169052565b5060c083015160e08084015261128a6101008401826111c1565b949350505050565b6001600160a01b0381168114610c0357600080fd5b6001600160601b0381168114610c0357600080fd5b60ff81168114610c0357600080fd5b8015158114610c0357600080fd5b634e487b7160e01b600052604160045260246000fd5b600082601f83011261130057600080fd5b813567ffffffffffffffff8082111561131b5761131b6112d9565b604051601f8301601f19908116603f01168101908282118183101715611343576113436112d9565b8160405283815286602085880101111561135c57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060008060c0878903121561139557600080fd5b86356113a081611292565b955060208701356113b0816112a7565b945060408701356113c0816112bc565b935060608701356113d0816112cb565b925060808701356113e081611292565b915060a087013567ffffffffffffffff8111156113fc57600080fd5b61140889828a016112ef565b9150509295509295509295565b60006020828403121561142757600080fd5b813567ffffffffffffffff81111561143e57600080fd5b61128a848285016112ef565b6000806040838503121561145d57600080fd5b823561146881611292565b9150602083013567ffffffffffffffff81111561148457600080fd5b611490858286016112ef565b9150509250929050565b6000602082840312156114ac57600080fd5b81356111ba81611292565b6000806000606084860312156114cc57600080fd5b83356114d781611292565b925060208401356114e781611292565b915060408401356114f781611292565b809150509250925092565b6020815260006111ba60208301846111c1565b6000806040838503121561152857600080fd5b823561153381611292565b9150602083013561154381611292565b809150509250929050565b60006020828403121561156057600080fd5b815162ffffff811681146111ba57600080fd5b600181811c9082168061158757607f821691505b6020821081036115a757634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156115bf57600080fd5b81516111ba816112cb565b6000602082840312156115dc57600080fd5b81516111ba816112a7565b601f82111561100b57600081815260208120601f850160051c8101602086101561160e5750805b601f850160051c820191505b8181101561162d5782815560010161161a565b505050505050565b815167ffffffffffffffff81111561164f5761164f6112d9565b6116638161165d8454611573565b846115e7565b602080601f83116001811461169857600084156116805750858301515b600019600386901b1c1916600185901b17855561162d565b600085815260208120601f198616915b828110156116c7578886015182559484019460019091019084016116a8565b50858210156116e55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561170757600080fd5b815167ffffffffffffffff811681146111ba57600080fd5b60006020828403121561173157600080fd5b81516111ba81611292565b60006020828403121561174e57600080fd5b81516111ba816112bc56fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220d449e6c722eacd5e2ca10a6286fa87675ec73ac3983e724c0a85a79233f6bc7764736f6c63430008140033",
547
520
  "linkReferences": {
548
521
  "contracts/types/NftId.sol": {
549
522
  "NftIdLib": [
550
523
  {
551
524
  "length": 20,
552
- "start": 3391
525
+ "start": 3930
553
526
  },
554
527
  {
555
528
  "length": 20,
556
- "start": 5218
529
+ "start": 5782
557
530
  }
558
531
  ]
559
532
  },
@@ -561,17 +534,21 @@
561
534
  "VersionLib": [
562
535
  {
563
536
  "length": 20,
564
- "start": 2808
537
+ "start": 3439
565
538
  },
566
539
  {
567
540
  "length": 20,
568
- "start": 4044
541
+ "start": 4608
569
542
  }
570
543
  ],
571
544
  "VersionPartLib": [
572
545
  {
573
546
  "length": 20,
574
- "start": 5556
547
+ "start": 506
548
+ },
549
+ {
550
+ "length": 20,
551
+ "start": 6262
575
552
  }
576
553
  ]
577
554
  }
@@ -581,11 +558,11 @@
581
558
  "NftIdLib": [
582
559
  {
583
560
  "length": 20,
584
- "start": 1562
561
+ "start": 1434
585
562
  },
586
563
  {
587
564
  "length": 20,
588
- "start": 3389
565
+ "start": 3286
589
566
  }
590
567
  ]
591
568
  },
@@ -593,17 +570,17 @@
593
570
  "VersionLib": [
594
571
  {
595
572
  "length": 20,
596
- "start": 979
573
+ "start": 943
597
574
  },
598
575
  {
599
576
  "length": 20,
600
- "start": 2215
577
+ "start": 2112
601
578
  }
602
579
  ],
603
580
  "VersionPartLib": [
604
581
  {
605
582
  "length": 20,
606
- "start": 3727
583
+ "start": 3766
607
584
  }
608
585
  ]
609
586
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/6d337e35e1a2e4e40425b57181471e9c.json"
3
+ "buildInfo": "../../../build-info/85066c6f3c5dc0f34dc544d5ab504181.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/6d337e35e1a2e4e40425b57181471e9c.json"
3
+ "buildInfo": "../../../build-info/85066c6f3c5dc0f34dc544d5ab504181.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/6d337e35e1a2e4e40425b57181471e9c.json"
3
+ "buildInfo": "../../../build-info/85066c6f3c5dc0f34dc544d5ab504181.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/6d337e35e1a2e4e40425b57181471e9c.json"
3
+ "buildInfo": "../../../build-info/85066c6f3c5dc0f34dc544d5ab504181.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/6d337e35e1a2e4e40425b57181471e9c.json"
3
+ "buildInfo": "../../../build-info/85066c6f3c5dc0f34dc544d5ab504181.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/6d337e35e1a2e4e40425b57181471e9c.json"
3
+ "buildInfo": "../../../build-info/85066c6f3c5dc0f34dc544d5ab504181.json"
4
4
  }
@@ -14,6 +14,54 @@
14
14
  "name": "ErrorAmountLibValueTooBig",
15
15
  "type": "error"
16
16
  },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "Amount",
21
+ "name": "a1",
22
+ "type": "uint96"
23
+ },
24
+ {
25
+ "internalType": "Amount",
26
+ "name": "a2",
27
+ "type": "uint96"
28
+ }
29
+ ],
30
+ "name": "add",
31
+ "outputs": [
32
+ {
33
+ "internalType": "Amount",
34
+ "name": "",
35
+ "type": "uint96"
36
+ }
37
+ ],
38
+ "stateMutability": "pure",
39
+ "type": "function"
40
+ },
41
+ {
42
+ "inputs": [
43
+ {
44
+ "internalType": "Amount",
45
+ "name": "amount1",
46
+ "type": "uint96"
47
+ },
48
+ {
49
+ "internalType": "Amount",
50
+ "name": "amount2",
51
+ "type": "uint96"
52
+ }
53
+ ],
54
+ "name": "eq",
55
+ "outputs": [
56
+ {
57
+ "internalType": "bool",
58
+ "name": "",
59
+ "type": "bool"
60
+ }
61
+ ],
62
+ "stateMutability": "pure",
63
+ "type": "function"
64
+ },
17
65
  {
18
66
  "inputs": [
19
67
  {
@@ -33,6 +81,30 @@
33
81
  "stateMutability": "pure",
34
82
  "type": "function"
35
83
  },
84
+ {
85
+ "inputs": [
86
+ {
87
+ "internalType": "Amount",
88
+ "name": "a1",
89
+ "type": "uint96"
90
+ },
91
+ {
92
+ "internalType": "Amount",
93
+ "name": "a2",
94
+ "type": "uint96"
95
+ }
96
+ ],
97
+ "name": "gt",
98
+ "outputs": [
99
+ {
100
+ "internalType": "bool",
101
+ "name": "",
102
+ "type": "bool"
103
+ }
104
+ ],
105
+ "stateMutability": "pure",
106
+ "type": "function"
107
+ },
36
108
  {
37
109
  "inputs": [
38
110
  {
@@ -52,6 +124,30 @@
52
124
  "stateMutability": "pure",
53
125
  "type": "function"
54
126
  },
127
+ {
128
+ "inputs": [
129
+ {
130
+ "internalType": "Amount",
131
+ "name": "a1",
132
+ "type": "uint96"
133
+ },
134
+ {
135
+ "internalType": "Amount",
136
+ "name": "a2",
137
+ "type": "uint96"
138
+ }
139
+ ],
140
+ "name": "lt",
141
+ "outputs": [
142
+ {
143
+ "internalType": "bool",
144
+ "name": "",
145
+ "type": "bool"
146
+ }
147
+ ],
148
+ "stateMutability": "pure",
149
+ "type": "function"
150
+ },
55
151
  {
56
152
  "inputs": [],
57
153
  "name": "max",
@@ -65,6 +161,30 @@
65
161
  "stateMutability": "pure",
66
162
  "type": "function"
67
163
  },
164
+ {
165
+ "inputs": [
166
+ {
167
+ "internalType": "Amount",
168
+ "name": "a1",
169
+ "type": "uint96"
170
+ },
171
+ {
172
+ "internalType": "Amount",
173
+ "name": "a2",
174
+ "type": "uint96"
175
+ }
176
+ ],
177
+ "name": "sub",
178
+ "outputs": [
179
+ {
180
+ "internalType": "Amount",
181
+ "name": "",
182
+ "type": "uint96"
183
+ }
184
+ ],
185
+ "stateMutability": "pure",
186
+ "type": "function"
187
+ },
68
188
  {
69
189
  "inputs": [
70
190
  {
@@ -136,14 +256,14 @@
136
256
  "type": "function"
137
257
  }
138
258
  ],
139
- "bytecode": "0x6102a461003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100875760003560e01c806352694ee81161006557806352694ee81461011057806355205f0f1461012b5780636ac5db191461013e578063bc1b392d1461014b57600080fd5b806308dc895e1461008c57806330b8415f146100b95780634c41dd96146100e5575b600080fd5b6100a661009a36600461020c565b6001600160601b031690565b6040519081526020015b60405180910390f35b6100d56100c736600461020c565b6001600160601b0316151590565b60405190151581526020016100b0565b6100f86100f336600461023c565b610152565b6040516001600160601b0390911681526020016100b0565b6100d561011e36600461020c565b6001600160601b03161590565b6100a661013936600461020c565b610187565b6001600160601b036100f8565b60006100f8565b60006001600160601b0382111561018357604051635a1bd76760e01b81526004810183905260240160405180910390fd5b5090565b6040516322f5db0f60e11b81526001600160601b038216600482015260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af41580156101e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102069190610255565b92915050565b60006020828403121561021e57600080fd5b81356001600160601b038116811461023557600080fd5b9392505050565b60006020828403121561024e57600080fd5b5035919050565b60006020828403121561026757600080fd5b505191905056fea2646970667358221220b3e7a75e3b40eafbc65b6bf06fbf0ee53bce5301a3ac2bd0cebb9501897f0dc364736f6c63430008140033",
140
- "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100875760003560e01c806352694ee81161006557806352694ee81461011057806355205f0f1461012b5780636ac5db191461013e578063bc1b392d1461014b57600080fd5b806308dc895e1461008c57806330b8415f146100b95780634c41dd96146100e5575b600080fd5b6100a661009a36600461020c565b6001600160601b031690565b6040519081526020015b60405180910390f35b6100d56100c736600461020c565b6001600160601b0316151590565b60405190151581526020016100b0565b6100f86100f336600461023c565b610152565b6040516001600160601b0390911681526020016100b0565b6100d561011e36600461020c565b6001600160601b03161590565b6100a661013936600461020c565b610187565b6001600160601b036100f8565b60006100f8565b60006001600160601b0382111561018357604051635a1bd76760e01b81526004810183905260240160405180910390fd5b5090565b6040516322f5db0f60e11b81526001600160601b038216600482015260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af41580156101e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102069190610255565b92915050565b60006020828403121561021e57600080fd5b81356001600160601b038116811461023557600080fd5b9392505050565b60006020828403121561024e57600080fd5b5035919050565b60006020828403121561026757600080fd5b505191905056fea2646970667358221220b3e7a75e3b40eafbc65b6bf06fbf0ee53bce5301a3ac2bd0cebb9501897f0dc364736f6c63430008140033",
259
+ "bytecode": "0x61041461003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100be5760003560e01c806355205f0f1161007b57806355205f0f146101945780636ac5db19146101a757806398058c4c146101b4578063bc1b392d146101d3578063c4cade9d146101da578063c79eaa22146101f957600080fd5b806308dc895e146100c357806309a81d62146100f0578063274acb351461011f57806330b8415f1461014a5780634c41dd961461016657806352694ee814610179575b600080fd5b6100dd6100d1366004610301565b6001600160601b031690565b6040519081526020015b60405180910390f35b61010f6100fe36600461031c565b6001600160601b0390811691161090565b60405190151581526020016100e7565b61013261012d36600461031c565b61020c565b6040516001600160601b0390911681526020016100e7565b61010f610158366004610301565b6001600160601b0316151590565b61013261017436600461034f565b61021f565b61010f610187366004610301565b6001600160601b03161590565b6100dd6101a2366004610301565b610254565b6001600160601b03610132565b61010f6101c236600461031c565b6001600160601b0390811691161190565b6000610132565b61010f6101e836600461031c565b6001600160601b0390811691161490565b61013261020736600461031c565b6102d9565b6000610218828461037e565b9392505050565b60006001600160601b0382111561025057604051635a1bd76760e01b81526004810183905260240160405180910390fd5b5090565b6040516322f5db0f60e11b81526001600160601b038216600482015260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af41580156102af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102d391906103a5565b92915050565b600061021882846103be565b80356001600160601b03811681146102fc57600080fd5b919050565b60006020828403121561031357600080fd5b610218826102e5565b6000806040838503121561032f57600080fd5b610338836102e5565b9150610346602084016102e5565b90509250929050565b60006020828403121561036157600080fd5b5035919050565b634e487b7160e01b600052601160045260246000fd5b6001600160601b0381811683821601908082111561039e5761039e610368565b5092915050565b6000602082840312156103b757600080fd5b5051919050565b6001600160601b0382811682821603908082111561039e5761039e61036856fea264697066735822122014ebe00565e941bfc67da35901d0bc01bc1c29fb466dbc573b9b8ec0f1c3390964736f6c63430008140033",
260
+ "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100be5760003560e01c806355205f0f1161007b57806355205f0f146101945780636ac5db19146101a757806398058c4c146101b4578063bc1b392d146101d3578063c4cade9d146101da578063c79eaa22146101f957600080fd5b806308dc895e146100c357806309a81d62146100f0578063274acb351461011f57806330b8415f1461014a5780634c41dd961461016657806352694ee814610179575b600080fd5b6100dd6100d1366004610301565b6001600160601b031690565b6040519081526020015b60405180910390f35b61010f6100fe36600461031c565b6001600160601b0390811691161090565b60405190151581526020016100e7565b61013261012d36600461031c565b61020c565b6040516001600160601b0390911681526020016100e7565b61010f610158366004610301565b6001600160601b0316151590565b61013261017436600461034f565b61021f565b61010f610187366004610301565b6001600160601b03161590565b6100dd6101a2366004610301565b610254565b6001600160601b03610132565b61010f6101c236600461031c565b6001600160601b0390811691161190565b6000610132565b61010f6101e836600461031c565b6001600160601b0390811691161490565b61013261020736600461031c565b6102d9565b6000610218828461037e565b9392505050565b60006001600160601b0382111561025057604051635a1bd76760e01b81526004810183905260240160405180910390fd5b5090565b6040516322f5db0f60e11b81526001600160601b038216600482015260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af41580156102af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102d391906103a5565b92915050565b600061021882846103be565b80356001600160601b03811681146102fc57600080fd5b919050565b60006020828403121561031357600080fd5b610218826102e5565b6000806040838503121561032f57600080fd5b610338836102e5565b9150610346602084016102e5565b90509250929050565b60006020828403121561036157600080fd5b5035919050565b634e487b7160e01b600052601160045260246000fd5b6001600160601b0381811683821601908082111561039e5761039e610368565b5092915050565b6000602082840312156103b757600080fd5b5051919050565b6001600160601b0382811682821603908082111561039e5761039e61036856fea264697066735822122014ebe00565e941bfc67da35901d0bc01bc1c29fb466dbc573b9b8ec0f1c3390964736f6c63430008140033",
141
261
  "linkReferences": {
142
262
  "contracts/types/UFixed.sol": {
143
263
  "UFixedLib": [
144
264
  {
145
265
  "length": 20,
146
- "start": 482
266
+ "start": 687
147
267
  }
148
268
  ]
149
269
  }
@@ -153,7 +273,7 @@
153
273
  "UFixedLib": [
154
274
  {
155
275
  "length": 20,
156
- "start": 424
276
+ "start": 629
157
277
  }
158
278
  ]
159
279
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/6d337e35e1a2e4e40425b57181471e9c.json"
3
+ "buildInfo": "../../../build-info/85066c6f3c5dc0f34dc544d5ab504181.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/6d337e35e1a2e4e40425b57181471e9c.json"
3
+ "buildInfo": "../../../build-info/85066c6f3c5dc0f34dc544d5ab504181.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/6d337e35e1a2e4e40425b57181471e9c.json"
3
+ "buildInfo": "../../../build-info/85066c6f3c5dc0f34dc544d5ab504181.json"
4
4
  }
@@ -41,6 +41,19 @@
41
41
  "stateMutability": "pure",
42
42
  "type": "function"
43
43
  },
44
+ {
45
+ "inputs": [],
46
+ "name": "max",
47
+ "outputs": [
48
+ {
49
+ "internalType": "ClaimId",
50
+ "name": "",
51
+ "type": "uint16"
52
+ }
53
+ ],
54
+ "stateMutability": "pure",
55
+ "type": "function"
56
+ },
44
57
  {
45
58
  "inputs": [
46
59
  {
@@ -79,6 +92,54 @@
79
92
  "stateMutability": "pure",
80
93
  "type": "function"
81
94
  },
95
+ {
96
+ "inputs": [
97
+ {
98
+ "internalType": "ClaimId",
99
+ "name": "claimId",
100
+ "type": "uint16"
101
+ },
102
+ {
103
+ "internalType": "NftId",
104
+ "name": "policyNftId",
105
+ "type": "uint96"
106
+ }
107
+ ],
108
+ "name": "toKey32",
109
+ "outputs": [
110
+ {
111
+ "internalType": "Key32",
112
+ "name": "",
113
+ "type": "bytes32"
114
+ }
115
+ ],
116
+ "stateMutability": "pure",
117
+ "type": "function"
118
+ },
119
+ {
120
+ "inputs": [
121
+ {
122
+ "internalType": "ClaimId",
123
+ "name": "claimId",
124
+ "type": "uint16"
125
+ },
126
+ {
127
+ "internalType": "NftId",
128
+ "name": "policyNftId",
129
+ "type": "uint96"
130
+ }
131
+ ],
132
+ "name": "toKeyId",
133
+ "outputs": [
134
+ {
135
+ "internalType": "KeyId",
136
+ "name": "",
137
+ "type": "bytes31"
138
+ }
139
+ ],
140
+ "stateMutability": "pure",
141
+ "type": "function"
142
+ },
82
143
  {
83
144
  "inputs": [],
84
145
  "name": "zero",
@@ -93,8 +154,26 @@
93
154
  "type": "function"
94
155
  }
95
156
  ],
96
- "bytecode": "0x61015b61003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100615760003560e01c80635d21681c146100665780639cc45a361461008f578063b9c6c9301461009d578063bc1b392d146100c4578063f3ac7cb5146100cb575b600080fd5b6100776100743660046100e1565b90565b60405161ffff90911681526020015b60405180910390f35b61007761007436600461010c565b6100b46100ab3660046100e1565b61ffff16151590565b6040519015158152602001610086565b6000610077565b6100b46100d93660046100e1565b61ffff161590565b6000602082840312156100f357600080fd5b813561ffff8116811461010557600080fd5b9392505050565b60006020828403121561011e57600080fd5b503591905056fea2646970667358221220a50587eed459f88605d3ada26a2a6869d7f886efd3c9dfdb276761f09079da1764736f6c63430008140033",
97
- "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100615760003560e01c80635d21681c146100665780639cc45a361461008f578063b9c6c9301461009d578063bc1b392d146100c4578063f3ac7cb5146100cb575b600080fd5b6100776100743660046100e1565b90565b60405161ffff90911681526020015b60405180910390f35b61007761007436600461010c565b6100b46100ab3660046100e1565b61ffff16151590565b6040519015158152602001610086565b6000610077565b6100b46100d93660046100e1565b61ffff161590565b6000602082840312156100f357600080fd5b813561ffff8116811461010557600080fd5b9392505050565b60006020828403121561011e57600080fd5b503591905056fea2646970667358221220a50587eed459f88605d3ada26a2a6869d7f886efd3c9dfdb276761f09079da1764736f6c63430008140033",
98
- "linkReferences": {},
99
- "deployedLinkReferences": {}
157
+ "bytecode": "0x61034e61003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100925760003560e01c8063b9c6c93011610065578063b9c6c930146100fc578063bc1b392d14610123578063f3ac7cb51461012a578063faac2b221461014057600080fd5b80635d21681c146100975780636ac5db19146100c0578063904da217146100c85780639cc45a36146100ee575b600080fd5b6100a86100a5366004610258565b90565b60405161ffff90911681526020015b60405180910390f35b61ffff6100a8565b6100db6100d6366004610273565b610161565b60405160ff1990911681526020016100b7565b6100a86100a53660046102b6565b61011361010a366004610258565b61ffff16151590565b60405190151581526020016100b7565b60006100a8565b610113610138366004610258565b61ffff161590565b61015361014e366004610273565b6101a7565b6040519081526020016100b7565b600061016e8360106102cf565b61ffff16826001600160601b0316901b6001600160601b031660901b71ffffffffffffffffffffffffffffffffffff1916905092915050565b600073__$c8f743efd2b4f0c9300f2558c784479d3e$__63f48016ce60d46101cf8686610161565b6040516001600160e01b031960e085901b16815260ff909216600483015260ff19166024820152604401602060405180830381865af4158015610216573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061023a91906102ff565b9392505050565b803561ffff8116811461025357600080fd5b919050565b60006020828403121561026a57600080fd5b61023a82610241565b6000806040838503121561028657600080fd5b61028f83610241565b915060208301356001600160601b03811681146102ab57600080fd5b809150509250929050565b6000602082840312156102c857600080fd5b5035919050565b61ffff8181168382160190808211156102f857634e487b7160e01b600052601160045260246000fd5b5092915050565b60006020828403121561031157600080fd5b505191905056fea2646970667358221220cd913be7c5d1ca5acbee9d709da9ca998128bbdf718121084b2ab451c1a94eef64736f6c63430008140033",
158
+ "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100925760003560e01c8063b9c6c93011610065578063b9c6c930146100fc578063bc1b392d14610123578063f3ac7cb51461012a578063faac2b221461014057600080fd5b80635d21681c146100975780636ac5db19146100c0578063904da217146100c85780639cc45a36146100ee575b600080fd5b6100a86100a5366004610258565b90565b60405161ffff90911681526020015b60405180910390f35b61ffff6100a8565b6100db6100d6366004610273565b610161565b60405160ff1990911681526020016100b7565b6100a86100a53660046102b6565b61011361010a366004610258565b61ffff16151590565b60405190151581526020016100b7565b60006100a8565b610113610138366004610258565b61ffff161590565b61015361014e366004610273565b6101a7565b6040519081526020016100b7565b600061016e8360106102cf565b61ffff16826001600160601b0316901b6001600160601b031660901b71ffffffffffffffffffffffffffffffffffff1916905092915050565b600073__$c8f743efd2b4f0c9300f2558c784479d3e$__63f48016ce60d46101cf8686610161565b6040516001600160e01b031960e085901b16815260ff909216600483015260ff19166024820152604401602060405180830381865af4158015610216573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061023a91906102ff565b9392505050565b803561ffff8116811461025357600080fd5b919050565b60006020828403121561026a57600080fd5b61023a82610241565b6000806040838503121561028657600080fd5b61028f83610241565b915060208301356001600160601b03811681146102ab57600080fd5b809150509250929050565b6000602082840312156102c857600080fd5b5035919050565b61ffff8181168382160190808211156102f857634e487b7160e01b600052601160045260246000fd5b5092915050565b60006020828403121561031157600080fd5b505191905056fea2646970667358221220cd913be7c5d1ca5acbee9d709da9ca998128bbdf718121084b2ab451c1a94eef64736f6c63430008140033",
159
+ "linkReferences": {
160
+ "contracts/types/Key32.sol": {
161
+ "Key32Lib": [
162
+ {
163
+ "length": 20,
164
+ "start": 485
165
+ }
166
+ ]
167
+ }
168
+ },
169
+ "deployedLinkReferences": {
170
+ "contracts/types/Key32.sol": {
171
+ "Key32Lib": [
172
+ {
173
+ "length": 20,
174
+ "start": 427
175
+ }
176
+ ]
177
+ }
178
+ }
100
179
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/6d337e35e1a2e4e40425b57181471e9c.json"
3
+ "buildInfo": "../../../build-info/85066c6f3c5dc0f34dc544d5ab504181.json"
4
4
  }