@etherisc/gif-next 0.0.2-f29e479-370 → 0.0.2-f2df3e2-873

Sign up to get free protection for your applications and to get access to all the features.
Files changed (269) hide show
  1. package/README.md +6 -83
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
  3. package/artifacts/contracts/components/Component.sol/Component.json +78 -89
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +139 -140
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +1 -1
  7. package/artifacts/contracts/components/IComponent.sol/IComponent.json +156 -64
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +181 -112
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +353 -176
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +162 -138
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +299 -245
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +83 -162
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +64 -50
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
  23. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +5 -0
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +527 -400
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +175 -51
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +500 -612
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +472 -126
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +253 -236
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +305 -211
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +71 -23
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +8 -13
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +1 -1
  41. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +86 -31
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  44. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
  46. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  48. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +56 -73
  50. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  52. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  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 +291 -100
  60. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  61. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +46 -22
  62. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
  63. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +422 -252
  64. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  65. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +78 -14
  66. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +1 -1
  67. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +373 -87
  68. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  69. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +55 -7
  70. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +579 -123
  72. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  73. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +71 -47
  74. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  75. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +200 -46
  76. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
  77. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +241 -188
  78. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +1 -1
  79. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +251 -58
  80. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +444 -25
  82. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  83. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +430 -76
  84. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +511 -14
  86. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  87. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +80 -14
  88. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
  89. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +544 -153
  90. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  91. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +51 -27
  92. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  93. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +562 -52
  94. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  95. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +24 -12
  96. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  97. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +115 -52
  98. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
  99. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +16 -12
  100. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  101. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  102. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +19 -0
  104. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  105. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +0 -24
  106. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  107. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  108. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  109. package/artifacts/contracts/registry/Registry.sol/Registry.json +31 -12
  110. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +1 -1
  111. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +2 -2
  112. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  113. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +18 -37
  114. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +7 -7
  116. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  117. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +23 -11
  118. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +2 -2
  120. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  121. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  122. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  123. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  124. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  125. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  126. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  127. package/artifacts/contracts/shared/IService.sol/IService.json +80 -14
  128. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  129. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  130. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +2 -2
  131. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  132. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -2
  133. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  134. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +2 -2
  135. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  136. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +3 -3
  137. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  138. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  139. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  140. package/artifacts/contracts/shared/Service.sol/Service.json +87 -16
  141. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  142. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  143. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  144. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  145. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  146. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  147. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  148. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  149. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +3 -3
  150. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  151. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
  152. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  153. package/artifacts/contracts/test/TestService.sol/TestService.json +102 -27
  154. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  155. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  156. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  157. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  158. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +2 -2
  159. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  160. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  161. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  162. package/artifacts/contracts/types/Amount.sol/AmountLib.json +185 -0
  163. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  164. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  165. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  166. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  167. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +83 -4
  168. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  169. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  170. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/Fee.sol/FeeLib.json +40 -9
  172. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  173. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  174. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  175. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  176. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  177. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
  178. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  179. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  180. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  181. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  182. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +116 -7
  183. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  184. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  185. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  186. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  187. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  188. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  189. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  190. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  191. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  192. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  193. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  194. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
  195. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  196. package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
  197. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  198. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
  199. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  200. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  201. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  202. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
  203. package/contracts/components/Component.sol +99 -87
  204. package/contracts/components/Distribution.sol +18 -21
  205. package/contracts/components/IComponent.sol +40 -18
  206. package/contracts/components/IDistributionComponent.sol +1 -22
  207. package/contracts/components/IPoolComponent.sol +73 -47
  208. package/contracts/components/IProductComponent.sol +3 -2
  209. package/contracts/components/Pool.sol +178 -130
  210. package/contracts/components/Product.sol +157 -71
  211. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  212. package/contracts/instance/BundleManager.sol +10 -9
  213. package/contracts/instance/Cloneable.sol +7 -2
  214. package/contracts/instance/IInstance.sol +37 -27
  215. package/contracts/instance/IInstanceService.sol +18 -9
  216. package/contracts/instance/Instance.sol +117 -98
  217. package/contracts/instance/InstanceAccessManager.sol +388 -158
  218. package/contracts/instance/InstanceReader.sol +36 -12
  219. package/contracts/instance/InstanceService.sol +193 -191
  220. package/contracts/instance/ObjectManager.sol +6 -8
  221. package/contracts/instance/base/ComponentService.sol +17 -30
  222. package/contracts/instance/base/KeyValueStore.sol +13 -5
  223. package/contracts/instance/base/Lifecycle.sol +23 -6
  224. package/contracts/instance/module/IAccess.sol +21 -14
  225. package/contracts/instance/module/IBundle.sol +8 -5
  226. package/contracts/instance/module/IComponents.sol +41 -0
  227. package/contracts/instance/module/IDistribution.sol +2 -1
  228. package/contracts/instance/module/IPolicy.sol +37 -7
  229. package/contracts/instance/module/ISetup.sol +7 -22
  230. package/contracts/instance/service/ApplicationService.sol +137 -50
  231. package/contracts/instance/service/BundleService.sol +221 -83
  232. package/contracts/instance/service/ClaimService.sol +114 -26
  233. package/contracts/instance/service/DistributionService.sol +174 -118
  234. package/contracts/instance/service/IApplicationService.sol +9 -13
  235. package/contracts/instance/service/IBundleService.sol +68 -26
  236. package/contracts/instance/service/IClaimService.sol +46 -15
  237. package/contracts/instance/service/IDistributionService.sol +20 -4
  238. package/contracts/instance/service/IPolicyService.sol +69 -21
  239. package/contracts/instance/service/IPoolService.sol +82 -3
  240. package/contracts/instance/service/PolicyService.sol +297 -232
  241. package/contracts/instance/service/PoolService.sol +214 -20
  242. package/contracts/instance/service/ProductService.sol +31 -54
  243. package/contracts/registry/ChainNft.sol +8 -0
  244. package/contracts/registry/IRegistry.sol +2 -0
  245. package/contracts/registry/IRegistryService.sol +4 -3
  246. package/contracts/registry/ITransferInterceptor.sol +1 -0
  247. package/contracts/registry/Registry.sol +23 -20
  248. package/contracts/registry/RegistryService.sol +15 -16
  249. package/contracts/registry/ReleaseManager.sol +20 -18
  250. package/contracts/shared/IService.sol +4 -6
  251. package/contracts/shared/Registerable.sol +2 -2
  252. package/contracts/shared/Service.sol +21 -7
  253. package/contracts/shared/TokenHandler.sol +11 -5
  254. package/contracts/test/TestService.sol +1 -1
  255. package/contracts/types/Amount.sol +65 -0
  256. package/contracts/types/Blocknumber.sol +1 -0
  257. package/contracts/types/ClaimId.sol +25 -2
  258. package/contracts/types/Fee.sol +13 -5
  259. package/contracts/types/NftId.sol +8 -0
  260. package/contracts/types/ObjectType.sol +6 -5
  261. package/contracts/types/PayoutId.sol +33 -5
  262. package/contracts/types/Referral.sol +4 -0
  263. package/contracts/types/RoleId.sol +13 -6
  264. package/contracts/types/Seconds.sol +54 -0
  265. package/contracts/types/StateId.sol +7 -2
  266. package/contracts/types/Timestamp.sol +18 -13
  267. package/contracts/types/UFixed.sol +1 -0
  268. package/contracts/types/Version.sol +1 -0
  269. package/package.json +1 -1
@@ -7,16 +7,111 @@
7
7
  "inputs": [
8
8
  {
9
9
  "internalType": "address",
10
- "name": "component",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
11
22
  "type": "address"
12
23
  },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
13
46
  {
14
47
  "internalType": "NftId",
15
- "name": "nftId",
48
+ "name": "policyNftId",
16
49
  "type": "uint96"
50
+ },
51
+ {
52
+ "internalType": "ClaimId",
53
+ "name": "claimId",
54
+ "type": "uint16"
55
+ },
56
+ {
57
+ "internalType": "StateId",
58
+ "name": "expectedState",
59
+ "type": "uint8"
60
+ },
61
+ {
62
+ "internalType": "StateId",
63
+ "name": "actualState",
64
+ "type": "uint8"
17
65
  }
18
66
  ],
19
- "name": "ErrorComponentServiceAlreadyRegistered",
67
+ "name": "ErrorClaimServiceClaimNotInExpectedState",
68
+ "type": "error"
69
+ },
70
+ {
71
+ "inputs": [
72
+ {
73
+ "internalType": "NftId",
74
+ "name": "policyNftId",
75
+ "type": "uint96"
76
+ },
77
+ {
78
+ "internalType": "ClaimId",
79
+ "name": "claimId",
80
+ "type": "uint16"
81
+ },
82
+ {
83
+ "internalType": "Amount",
84
+ "name": "claimAmount",
85
+ "type": "uint96"
86
+ },
87
+ {
88
+ "internalType": "Amount",
89
+ "name": "paidAmount",
90
+ "type": "uint96"
91
+ }
92
+ ],
93
+ "name": "ErrorClaimServiceClaimWithMissingPayouts",
94
+ "type": "error"
95
+ },
96
+ {
97
+ "inputs": [
98
+ {
99
+ "internalType": "NftId",
100
+ "name": "policyNftId",
101
+ "type": "uint96"
102
+ },
103
+ {
104
+ "internalType": "ClaimId",
105
+ "name": "claimId",
106
+ "type": "uint16"
107
+ },
108
+ {
109
+ "internalType": "uint8",
110
+ "name": "openPayouts",
111
+ "type": "uint8"
112
+ }
113
+ ],
114
+ "name": "ErrorClaimServiceClaimWithOpenPayouts",
20
115
  "type": "error"
21
116
  },
22
117
  {
@@ -104,17 +199,6 @@
104
199
  "name": "ErrorComponentServiceSenderNotOwner",
105
200
  "type": "error"
106
201
  },
107
- {
108
- "inputs": [
109
- {
110
- "internalType": "address",
111
- "name": "caller",
112
- "type": "address"
113
- }
114
- ],
115
- "name": "ErrorIServiceCallerUnknown",
116
- "type": "error"
117
- },
118
202
  {
119
203
  "inputs": [
120
204
  {
@@ -174,6 +258,19 @@
174
258
  "name": "NotInitializing",
175
259
  "type": "error"
176
260
  },
261
+ {
262
+ "anonymous": false,
263
+ "inputs": [
264
+ {
265
+ "indexed": false,
266
+ "internalType": "address",
267
+ "name": "authority",
268
+ "type": "address"
269
+ }
270
+ ],
271
+ "name": "AuthorityUpdated",
272
+ "type": "event"
273
+ },
177
274
  {
178
275
  "anonymous": false,
179
276
  "inputs": [
@@ -214,25 +311,30 @@
214
311
  "type": "function"
215
312
  },
216
313
  {
217
- "inputs": [
218
- {
219
- "internalType": "NftId",
220
- "name": "policyNftId",
221
- "type": "uint96"
222
- },
314
+ "inputs": [],
315
+ "name": "authority",
316
+ "outputs": [
223
317
  {
224
- "internalType": "ClaimId",
225
- "name": "claimId",
226
- "type": "uint16"
318
+ "internalType": "address",
319
+ "name": "",
320
+ "type": "address"
227
321
  }
228
322
  ],
229
- "name": "closeClaim",
230
- "outputs": [],
231
- "stateMutability": "nonpayable",
323
+ "stateMutability": "view",
232
324
  "type": "function"
233
325
  },
234
326
  {
235
327
  "inputs": [
328
+ {
329
+ "internalType": "contract IInstance",
330
+ "name": "instance",
331
+ "type": "address"
332
+ },
333
+ {
334
+ "internalType": "contract InstanceReader",
335
+ "name": "instanceReader",
336
+ "type": "address"
337
+ },
236
338
  {
237
339
  "internalType": "NftId",
238
340
  "name": "policyNftId",
@@ -242,14 +344,9 @@
242
344
  "internalType": "ClaimId",
243
345
  "name": "claimId",
244
346
  "type": "uint16"
245
- },
246
- {
247
- "internalType": "uint256",
248
- "name": "claimAmount",
249
- "type": "uint256"
250
347
  }
251
348
  ],
252
- "name": "confirmClaim",
349
+ "name": "close",
253
350
  "outputs": [],
254
351
  "stateMutability": "nonpayable",
255
352
  "type": "function"
@@ -257,48 +354,57 @@
257
354
  {
258
355
  "inputs": [
259
356
  {
260
- "internalType": "NftId",
261
- "name": "policyNftId",
262
- "type": "uint96"
357
+ "internalType": "contract IInstance",
358
+ "name": "instance",
359
+ "type": "address"
263
360
  },
264
361
  {
265
- "internalType": "uint256",
266
- "name": "claimAmount",
267
- "type": "uint256"
362
+ "internalType": "contract InstanceReader",
363
+ "name": "instanceReader",
364
+ "type": "address"
268
365
  },
269
366
  {
270
- "internalType": "bytes",
271
- "name": "claimData",
272
- "type": "bytes"
273
- }
274
- ],
275
- "name": "createClaim",
276
- "outputs": [
367
+ "internalType": "NftId",
368
+ "name": "policyNftId",
369
+ "type": "uint96"
370
+ },
277
371
  {
278
372
  "internalType": "ClaimId",
279
- "name": "",
373
+ "name": "claimId",
280
374
  "type": "uint16"
375
+ },
376
+ {
377
+ "internalType": "Amount",
378
+ "name": "confirmedAmount",
379
+ "type": "uint96"
281
380
  }
282
381
  ],
382
+ "name": "confirm",
383
+ "outputs": [],
283
384
  "stateMutability": "nonpayable",
284
385
  "type": "function"
285
386
  },
286
387
  {
287
388
  "inputs": [
389
+ {
390
+ "internalType": "contract IInstance",
391
+ "name": "instance",
392
+ "type": "address"
393
+ },
288
394
  {
289
395
  "internalType": "NftId",
290
396
  "name": "policyNftId",
291
397
  "type": "uint96"
292
398
  },
293
399
  {
294
- "internalType": "ClaimId",
295
- "name": "claimId",
296
- "type": "uint16"
400
+ "internalType": "PayoutId",
401
+ "name": "payoutId",
402
+ "type": "uint24"
297
403
  },
298
404
  {
299
- "internalType": "uint256",
405
+ "internalType": "Amount",
300
406
  "name": "payoutAmount",
301
- "type": "uint256"
407
+ "type": "uint96"
302
408
  },
303
409
  {
304
410
  "internalType": "bytes",
@@ -307,18 +413,22 @@
307
413
  }
308
414
  ],
309
415
  "name": "createPayout",
310
- "outputs": [
311
- {
312
- "internalType": "PayoutId",
313
- "name": "payoutId",
314
- "type": "uint24"
315
- }
316
- ],
416
+ "outputs": [],
317
417
  "stateMutability": "nonpayable",
318
418
  "type": "function"
319
419
  },
320
420
  {
321
421
  "inputs": [
422
+ {
423
+ "internalType": "contract IInstance",
424
+ "name": "instance",
425
+ "type": "address"
426
+ },
427
+ {
428
+ "internalType": "contract InstanceReader",
429
+ "name": "instanceReader",
430
+ "type": "address"
431
+ },
322
432
  {
323
433
  "internalType": "NftId",
324
434
  "name": "policyNftId",
@@ -330,7 +440,7 @@
330
440
  "type": "uint16"
331
441
  }
332
442
  ],
333
- "name": "declineClaim",
443
+ "name": "decline",
334
444
  "outputs": [],
335
445
  "stateMutability": "nonpayable",
336
446
  "type": "function"
@@ -411,19 +521,6 @@
411
521
  "stateMutability": "view",
412
522
  "type": "function"
413
523
  },
414
- {
415
- "inputs": [],
416
- "name": "getMajorVersion",
417
- "outputs": [
418
- {
419
- "internalType": "VersionPart",
420
- "name": "majorVersion",
421
- "type": "uint8"
422
- }
423
- ],
424
- "stateMutability": "view",
425
- "type": "function"
426
- },
427
524
  {
428
525
  "inputs": [],
429
526
  "name": "getNftId",
@@ -556,7 +653,7 @@
556
653
  },
557
654
  {
558
655
  "internalType": "bytes",
559
- "name": "data",
656
+ "name": "registryData",
560
657
  "type": "bytes"
561
658
  }
562
659
  ],
@@ -585,6 +682,11 @@
585
682
  "name": "registry",
586
683
  "type": "address"
587
684
  },
685
+ {
686
+ "internalType": "address",
687
+ "name": "authority",
688
+ "type": "address"
689
+ },
588
690
  {
589
691
  "internalType": "address",
590
692
  "name": "initialOwner",
@@ -614,6 +716,19 @@
614
716
  "stateMutability": "nonpayable",
615
717
  "type": "function"
616
718
  },
719
+ {
720
+ "inputs": [],
721
+ "name": "isConsumingScheduledOp",
722
+ "outputs": [
723
+ {
724
+ "internalType": "bytes4",
725
+ "name": "",
726
+ "type": "bytes4"
727
+ }
728
+ ],
729
+ "stateMutability": "view",
730
+ "type": "function"
731
+ },
617
732
  {
618
733
  "inputs": [],
619
734
  "name": "linkToRegisteredNftId",
@@ -623,6 +738,16 @@
623
738
  },
624
739
  {
625
740
  "inputs": [
741
+ {
742
+ "internalType": "contract IInstance",
743
+ "name": "instance",
744
+ "type": "address"
745
+ },
746
+ {
747
+ "internalType": "contract InstanceReader",
748
+ "name": "instanceReader",
749
+ "type": "address"
750
+ },
626
751
  {
627
752
  "internalType": "NftId",
628
753
  "name": "policyNftId",
@@ -634,8 +759,19 @@
634
759
  "type": "uint24"
635
760
  }
636
761
  ],
637
- "name": "payoutExecuted",
638
- "outputs": [],
762
+ "name": "processPayout",
763
+ "outputs": [
764
+ {
765
+ "internalType": "Amount",
766
+ "name": "amount",
767
+ "type": "uint96"
768
+ },
769
+ {
770
+ "internalType": "bool",
771
+ "name": "payoutIsClosingClaim",
772
+ "type": "bool"
773
+ }
774
+ ],
639
775
  "stateMutability": "nonpayable",
640
776
  "type": "function"
641
777
  },
@@ -652,6 +788,52 @@
652
788
  "stateMutability": "nonpayable",
653
789
  "type": "function"
654
790
  },
791
+ {
792
+ "inputs": [
793
+ {
794
+ "internalType": "address",
795
+ "name": "newAuthority",
796
+ "type": "address"
797
+ }
798
+ ],
799
+ "name": "setAuthority",
800
+ "outputs": [],
801
+ "stateMutability": "nonpayable",
802
+ "type": "function"
803
+ },
804
+ {
805
+ "inputs": [
806
+ {
807
+ "internalType": "contract IInstance",
808
+ "name": "instance",
809
+ "type": "address"
810
+ },
811
+ {
812
+ "internalType": "NftId",
813
+ "name": "policyNftId",
814
+ "type": "uint96"
815
+ },
816
+ {
817
+ "internalType": "ClaimId",
818
+ "name": "claimId",
819
+ "type": "uint16"
820
+ },
821
+ {
822
+ "internalType": "Amount",
823
+ "name": "claimAmount",
824
+ "type": "uint96"
825
+ },
826
+ {
827
+ "internalType": "bytes",
828
+ "name": "claimData",
829
+ "type": "bytes"
830
+ }
831
+ ],
832
+ "name": "submit",
833
+ "outputs": [],
834
+ "stateMutability": "nonpayable",
835
+ "type": "function"
836
+ },
655
837
  {
656
838
  "inputs": [
657
839
  {
@@ -685,18 +867,62 @@
685
867
  "type": "function"
686
868
  }
687
869
  ],
688
- "bytecode": "0x608060405234801561001057600080fd5b5061001961001e565b6100d0565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161561006e5760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b03908116146100cd5780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61194f806100df6000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c8063675393bf116100f9578063cc9fc59a11610097578063ea86657211610071578063ea866572146103d6578063f21de1e8146102e1578063f7c34ee0146103e9578063fc20e6f4146103fc57600080fd5b8063cc9fc59a146103b8578063cde749f4146103c0578063e10b6067146103c857600080fd5b80639e14822a116100d35780639e14822a14610373578063ada9652e14610386578063b68d18091461039b578063caf4e3d4146103b057600080fd5b8063675393bf1461032e5780637211bedd14610341578063893d20e81461036b57600080fd5b806327bb7a331161016657806349bb9e4b1161014057806349bb9e4b146102ce5780634a7d34cb146101c95780635ab1bd53146102e1578063644c45e01461030657600080fd5b806327bb7a33146102a0578063329d6e74146102b357806336fc697e146102c657600080fd5b80630fec111c116101a25780630fec111c1461023b578063138461e0146102505780631eff4b2214610258578063214cdb801461028d57600080fd5b806301a57efc146101c957806301ffc9a7146101dd5780630d8e6e2c1461021f575b600080fd5b6101db6101d73660046111bc565b5050565b005b61020a6101eb3660046111f1565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610227610415565b60405162ffffff9091168152602001610216565b61024361049f565b6040516102169190611268565b6101db61064e565b61027f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610216565b6101db61029b3660046111f1565b610855565b6101db6102ae3660046113c7565b610882565b6101db6102c136600461145f565b61090e565b6101db610a5b565b6101db6102dc366004611493565b610aa1565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610216565b6000805160206118da833981519152546040516001600160601b039091168152602001610216565b6101db61033c3660046114e2565b610ba0565b61035861034f3660046114ff565b60009392505050565b60405161ffff9091168152602001610216565b6102ee610cac565b6101db610381366004611557565b505050565b61027f6000805160206118da83398151915281565b60d45b60405160ff9091168152602001610216565b6102ee610de3565b6102ee610e80565b61039e610eaa565b6101db6101d73660046115a6565b6101db6103e43660046115df565b610f21565b6101db6103f73660046115df565b610fb9565b61022761040a36600461160d565b600095945050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610476573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049a91906116a9565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b9091041615159181019190915260018201805491929160608401919061054a906116c6565b80601f0160208091040260200160405190810160405280929190818152602001828054610576906116c6565b80156105c35780601f10610598576101008083540402835291602001916105c3565b820191906000526020600020905b8154815290600101906020018083116105a657829003601f168201915b50505050508152505090506040518060e001604052806105e1600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610632610cac565b6001600160a01b03168152602001826060015181525091505090565b60006000805160206118da83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156106bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e19190611700565b156107125780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306107256001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561076d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107919190611700565b6107b95760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610709565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801561080d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610831919061171d565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61085d611030565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61088a611030565b6108948287610fb9565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016109048382611788565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610930610415565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610970573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109949190611847565b6000805160206118fa8339815191528054600160401b900460ff16806109c7575080546001600160401b03808416911610155b156109e55760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a0f83611069565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610a63611030565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000805160206118fa8339815191528054600160401b810460ff1615906001600160401b0316600081158015610ad45750825b90506000826001600160401b03166001148015610af05750303b155b905081158015610afe575080155b15610b1c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610b4657845460ff60401b1916600160401b1785555b610b508787611071565b8315610b9757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610ba8611030565b806001600160a01b03163b600003610bde5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610709565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015610c58575060408051601f3d908101601f19168201909252610c5591810190611700565b60015b610c805760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610709565b806101d75760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610709565b50565b6000806000805160206118da83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610d1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d409190611700565b15610dcd576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610da3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc79190611870565b91505090565b54600160601b90046001600160a01b0316919050565b600080610df86001546001600160a01b031690565b6001600160a01b031663d39e604360285b610e11610eaa565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610e56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e7a9190611870565b92915050565b600080610e956001546001600160a01b031690565b6001600160a01b031663d39e60436046610e09565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015610efd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049a919061188d565b610f29611030565b610fa982836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f6b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f8f919061171d565b603c60008560405180602001604052806000815250610882565b6101d7637b6a51fd60e01b610855565b610fc1611030565b610fca81610ba0565b610fd2610a5b565b6001600160a01b038216610ff95760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206118da83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000805160206118fa83398151915254600160401b900460ff1661106757604051631afcd79f60e31b815260040160405180910390fd5b565b6101c4611030565b6000805160206118fa8339815191528054600160401b810460ff1615906001600160401b03166000811580156110a45750825b90506000826001600160401b031660011480156110c05750303b155b9050811580156110ce575080155b156110ec5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561111657845460ff60401b1916600160401b1785555b6000808780602001905181019061112d91906118aa565b909250905061113c828a610f21565b61114c63baf6f05360e01b610855565b50508315610b9757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610b8e565b6001600160601b0381168114610ca957600080fd5b803561ffff811681146111b757600080fd5b919050565b600080604083850312156111cf57600080fd5b82356111da81611190565b91506111e8602084016111a5565b90509250929050565b60006020828403121561120357600080fd5b81356001600160e01b03198116811461121b57600080fd5b9392505050565b6000815180845260005b818110156112485760208185018101518683018201520161122c565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516112d160c08401826001600160a01b03169052565b5060c083015160e0808401526112eb610100840182611222565b949350505050565b6001600160a01b0381168114610ca957600080fd5b60ff81168114610ca957600080fd5b8015158114610ca957600080fd5b634e487b7160e01b600052604160045260246000fd5b600082601f83011261134c57600080fd5b81356001600160401b038082111561136657611366611325565b604051601f8301601f19908116603f0116810190828211818310171561138e5761138e611325565b816040528381528660208588010111156113a757600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060008060c087890312156113e057600080fd5b86356113eb816112f3565b955060208701356113fb81611190565b9450604087013561140b81611308565b9350606087013561141b81611317565b9250608087013561142b816112f3565b915060a08701356001600160401b0381111561144657600080fd5b61145289828a0161133b565b9150509295509295509295565b60006020828403121561147157600080fd5b81356001600160401b0381111561148757600080fd5b6112eb8482850161133b565b600080604083850312156114a657600080fd5b82356114b1816112f3565b915060208301356001600160401b038111156114cc57600080fd5b6114d88582860161133b565b9150509250929050565b6000602082840312156114f457600080fd5b813561121b816112f3565b60008060006060848603121561151457600080fd5b833561151f81611190565b92506020840135915060408401356001600160401b0381111561154157600080fd5b61154d8682870161133b565b9150509250925092565b60008060006060848603121561156c57600080fd5b833561157781611190565b9250611585602085016111a5565b9150604084013590509250925092565b62ffffff81168114610ca957600080fd5b600080604083850312156115b957600080fd5b82356115c481611190565b915060208301356115d481611595565b809150509250929050565b600080604083850312156115f257600080fd5b82356115fd816112f3565b915060208301356115d4816112f3565b60008060008060006080868803121561162557600080fd5b853561163081611190565b945061163e602087016111a5565b93506040860135925060608601356001600160401b038082111561166157600080fd5b818801915088601f83011261167557600080fd5b81358181111561168457600080fd5b89602082850101111561169657600080fd5b9699959850939650602001949392505050565b6000602082840312156116bb57600080fd5b815161121b81611595565b600181811c908216806116da57607f821691505b6020821081036116fa57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561171257600080fd5b815161121b81611317565b60006020828403121561172f57600080fd5b815161121b81611190565b601f82111561038157600081815260208120601f850160051c810160208610156117615750805b601f850160051c820191505b818110156117805782815560010161176d565b505050505050565b81516001600160401b038111156117a1576117a1611325565b6117b5816117af84546116c6565b8461173a565b602080601f8311600181146117ea57600084156117d25750858301515b600019600386901b1c1916600185901b178555611780565b600085815260208120601f198616915b82811015611819578886015182559484019460019091019084016117fa565b50858210156118375787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561185957600080fd5b81516001600160401b038116811461121b57600080fd5b60006020828403121561188257600080fd5b815161121b816112f3565b60006020828403121561189f57600080fd5b815161121b81611308565b600080604083850312156118bd57600080fd5b82516118c8816112f3565b60208401519092506115d4816112f356fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212206efca7d7b461d477afdd74e1034ef231097d1c2fe4c565d9b74136298fe7dd0464736f6c63430008140033",
689
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101c45760003560e01c8063675393bf116100f9578063cc9fc59a11610097578063ea86657211610071578063ea866572146103d6578063f21de1e8146102e1578063f7c34ee0146103e9578063fc20e6f4146103fc57600080fd5b8063cc9fc59a146103b8578063cde749f4146103c0578063e10b6067146103c857600080fd5b80639e14822a116100d35780639e14822a14610373578063ada9652e14610386578063b68d18091461039b578063caf4e3d4146103b057600080fd5b8063675393bf1461032e5780637211bedd14610341578063893d20e81461036b57600080fd5b806327bb7a331161016657806349bb9e4b1161014057806349bb9e4b146102ce5780634a7d34cb146101c95780635ab1bd53146102e1578063644c45e01461030657600080fd5b806327bb7a33146102a0578063329d6e74146102b357806336fc697e146102c657600080fd5b80630fec111c116101a25780630fec111c1461023b578063138461e0146102505780631eff4b2214610258578063214cdb801461028d57600080fd5b806301a57efc146101c957806301ffc9a7146101dd5780630d8e6e2c1461021f575b600080fd5b6101db6101d73660046111bc565b5050565b005b61020a6101eb3660046111f1565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610227610415565b60405162ffffff9091168152602001610216565b61024361049f565b6040516102169190611268565b6101db61064e565b61027f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610216565b6101db61029b3660046111f1565b610855565b6101db6102ae3660046113c7565b610882565b6101db6102c136600461145f565b61090e565b6101db610a5b565b6101db6102dc366004611493565b610aa1565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610216565b6000805160206118da833981519152546040516001600160601b039091168152602001610216565b6101db61033c3660046114e2565b610ba0565b61035861034f3660046114ff565b60009392505050565b60405161ffff9091168152602001610216565b6102ee610cac565b6101db610381366004611557565b505050565b61027f6000805160206118da83398151915281565b60d45b60405160ff9091168152602001610216565b6102ee610de3565b6102ee610e80565b61039e610eaa565b6101db6101d73660046115a6565b6101db6103e43660046115df565b610f21565b6101db6103f73660046115df565b610fb9565b61022761040a36600461160d565b600095945050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610476573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049a91906116a9565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b9091041615159181019190915260018201805491929160608401919061054a906116c6565b80601f0160208091040260200160405190810160405280929190818152602001828054610576906116c6565b80156105c35780601f10610598576101008083540402835291602001916105c3565b820191906000526020600020905b8154815290600101906020018083116105a657829003601f168201915b50505050508152505090506040518060e001604052806105e1600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610632610cac565b6001600160a01b03168152602001826060015181525091505090565b60006000805160206118da83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156106bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e19190611700565b156107125780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306107256001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561076d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107919190611700565b6107b95760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610709565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801561080d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610831919061171d565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61085d611030565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61088a611030565b6108948287610fb9565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016109048382611788565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610930610415565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610970573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109949190611847565b6000805160206118fa8339815191528054600160401b900460ff16806109c7575080546001600160401b03808416911610155b156109e55760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a0f83611069565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610a63611030565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000805160206118fa8339815191528054600160401b810460ff1615906001600160401b0316600081158015610ad45750825b90506000826001600160401b03166001148015610af05750303b155b905081158015610afe575080155b15610b1c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610b4657845460ff60401b1916600160401b1785555b610b508787611071565b8315610b9757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610ba8611030565b806001600160a01b03163b600003610bde5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610709565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015610c58575060408051601f3d908101601f19168201909252610c5591810190611700565b60015b610c805760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610709565b806101d75760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610709565b50565b6000806000805160206118da83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610d1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d409190611700565b15610dcd576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610da3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc79190611870565b91505090565b54600160601b90046001600160a01b0316919050565b600080610df86001546001600160a01b031690565b6001600160a01b031663d39e604360285b610e11610eaa565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610e56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e7a9190611870565b92915050565b600080610e956001546001600160a01b031690565b6001600160a01b031663d39e60436046610e09565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015610efd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049a919061188d565b610f29611030565b610fa982836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f6b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f8f919061171d565b603c60008560405180602001604052806000815250610882565b6101d7637b6a51fd60e01b610855565b610fc1611030565b610fca81610ba0565b610fd2610a5b565b6001600160a01b038216610ff95760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206118da83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000805160206118fa83398151915254600160401b900460ff1661106757604051631afcd79f60e31b815260040160405180910390fd5b565b6101c4611030565b6000805160206118fa8339815191528054600160401b810460ff1615906001600160401b03166000811580156110a45750825b90506000826001600160401b031660011480156110c05750303b155b9050811580156110ce575080155b156110ec5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561111657845460ff60401b1916600160401b1785555b6000808780602001905181019061112d91906118aa565b909250905061113c828a610f21565b61114c63baf6f05360e01b610855565b50508315610b9757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610b8e565b6001600160601b0381168114610ca957600080fd5b803561ffff811681146111b757600080fd5b919050565b600080604083850312156111cf57600080fd5b82356111da81611190565b91506111e8602084016111a5565b90509250929050565b60006020828403121561120357600080fd5b81356001600160e01b03198116811461121b57600080fd5b9392505050565b6000815180845260005b818110156112485760208185018101518683018201520161122c565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516112d160c08401826001600160a01b03169052565b5060c083015160e0808401526112eb610100840182611222565b949350505050565b6001600160a01b0381168114610ca957600080fd5b60ff81168114610ca957600080fd5b8015158114610ca957600080fd5b634e487b7160e01b600052604160045260246000fd5b600082601f83011261134c57600080fd5b81356001600160401b038082111561136657611366611325565b604051601f8301601f19908116603f0116810190828211818310171561138e5761138e611325565b816040528381528660208588010111156113a757600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060008060c087890312156113e057600080fd5b86356113eb816112f3565b955060208701356113fb81611190565b9450604087013561140b81611308565b9350606087013561141b81611317565b9250608087013561142b816112f3565b915060a08701356001600160401b0381111561144657600080fd5b61145289828a0161133b565b9150509295509295509295565b60006020828403121561147157600080fd5b81356001600160401b0381111561148757600080fd5b6112eb8482850161133b565b600080604083850312156114a657600080fd5b82356114b1816112f3565b915060208301356001600160401b038111156114cc57600080fd5b6114d88582860161133b565b9150509250929050565b6000602082840312156114f457600080fd5b813561121b816112f3565b60008060006060848603121561151457600080fd5b833561151f81611190565b92506020840135915060408401356001600160401b0381111561154157600080fd5b61154d8682870161133b565b9150509250925092565b60008060006060848603121561156c57600080fd5b833561157781611190565b9250611585602085016111a5565b9150604084013590509250925092565b62ffffff81168114610ca957600080fd5b600080604083850312156115b957600080fd5b82356115c481611190565b915060208301356115d481611595565b809150509250929050565b600080604083850312156115f257600080fd5b82356115fd816112f3565b915060208301356115d4816112f3565b60008060008060006080868803121561162557600080fd5b853561163081611190565b945061163e602087016111a5565b93506040860135925060608601356001600160401b038082111561166157600080fd5b818801915088601f83011261167557600080fd5b81358181111561168457600080fd5b89602082850101111561169657600080fd5b9699959850939650602001949392505050565b6000602082840312156116bb57600080fd5b815161121b81611595565b600181811c908216806116da57607f821691505b6020821081036116fa57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561171257600080fd5b815161121b81611317565b60006020828403121561172f57600080fd5b815161121b81611190565b601f82111561038157600081815260208120601f850160051c810160208610156117615750805b601f850160051c820191505b818110156117805782815560010161176d565b505050505050565b81516001600160401b038111156117a1576117a1611325565b6117b5816117af84546116c6565b8461173a565b602080601f8311600181146117ea57600084156117d25750858301515b600019600386901b1c1916600185901b178555611780565b600085815260208120601f198616915b82811015611819578886015182559484019460019091019084016117fa565b50858210156118375787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561185957600080fd5b81516001600160401b038116811461121b57600080fd5b60006020828403121561188257600080fd5b815161121b816112f3565b60006020828403121561189f57600080fd5b815161121b81611308565b600080604083850312156118bd57600080fd5b82516118c8816112f3565b60208401519092506115d4816112f356fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212206efca7d7b461d477afdd74e1034ef231097d1c2fe4c565d9b74136298fe7dd0464736f6c63430008140033",
870
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612a4180620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c8063893d20e811610104578063bb31b294116100a2578063cc9fc59a11610071578063cc9fc59a14610463578063f21de1e81461031e578063f7c34ee01461046b578063fe7631d51461047e57600080fd5b8063bb31b29414610417578063bf7e214f1461042a578063c898bbaf14610448578063caf4e3d41461045b57600080fd5b8063a0e4494d116100de578063a0e4494d146103cd578063ada9652e146103e0578063b68d1809146103f5578063b962574f1461040457600080fd5b8063893d20e8146103915780638e32e979146103995780638fb36037146103ac57600080fd5b806327bb7a331161017c5780635ab1bd531161014b5780635ab1bd531461031e578063644c45e014610343578063675393bf1461036b5780637a9e5e4b1461037e57600080fd5b806327bb7a33146102dd578063329d6e74146102f057806336fc697e1461030357806349bb9e4b1461030b57600080fd5b80630fec111c116101b85780630fec111c14610276578063138461e01461028b5780631eff4b2214610295578063214cdb80146102ca57600080fd5b806301ffc9a7146101df5780630c02e8ad146102215780630d8e6e2c1461025a575b600080fd5b61020c6101ed366004611e2d565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023b61022f366004611e99565b60008094509492505050565b604080516001600160601b039093168352901515602083015201610218565b610262610491565b60405162ffffff9091168152602001610218565b61027e61051b565b6040516102189190611f45565b6102936106ca565b005b6102bc7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b6102936102d8366004611e2d565b6108d1565b6102936102eb3660046120d8565b6108fe565b6102936102fe366004612170565b61098a565b610293610ad7565b6102936103193660046121a4565b610b1d565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610218565b6000805160206129ac833981519152546040516001600160601b039091168152602001610218565b6102936103793660046121f3565b610c1c565b61029361038c3660046121f3565b610d2a565b61032b610dc4565b6102936103a7366004612210565b610efb565b6103b4611134565b6040516001600160e01b03199091168152602001610218565b6102936103db36600461226b565b61116c565b6102bc6000805160206129ac83398151915281565b60405160d48152602001610218565b6102936104123660046122bc565b6113fa565b61029361042536600461226b565b611485565b6000805160206129cc833981519152546001600160a01b031661032b565b61029361045636600461232d565b611528565b61032b61167d565b61032b611689565b6102936104793660046123b4565b611695565b61029361048c3660046123ed565b61170c565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156104f2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051691906124a8565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906105c6906124c5565b80601f01602080910402602001604051908101604052809291908181526020018280546105f2906124c5565b801561063f5780601f106106145761010080835404028352916020019161063f565b820191906000526020600020905b81548152906001019060200180831161062257829003601f168201915b50505050508152505090506040518060e0016040528061065d600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016106ae610dc4565b6001600160a01b03168152602001826060015181525091505090565b60006000805160206129ac83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610739573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075d91906124ff565b1561078e5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306107a16001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156107e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080d91906124ff565b6108355760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610785565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610889573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ad919061251c565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6108d9611892565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610906611892565b6109108287611695565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016109808382612587565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6109ac610491565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156109ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a109190612646565b6000805160206129ec8339815191528054600160401b900460ff1680610a43575080546001600160401b03808416911610155b15610a615760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a8b836118cb565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610adf611892565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000805160206129ec8339815191528054600160401b810460ff1615906001600160401b0316600081158015610b505750825b90506000826001600160401b03166001148015610b6c5750303b155b905081158015610b7a575080155b15610b985760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610bc257845460ff60401b1916600160401b1785555b610bcc87876118d3565b8315610c1357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610c24611892565b806001600160a01b03163b600003610c5a5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610785565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015610cd4575060408051601f3d908101601f19168201909252610cd1918101906124ff565b60015b610cfc5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610785565b80610d255760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610785565b505b50565b33610d4a6000805160206129cc833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610d855760405162d1953b60e31b81526001600160a01b0382166004820152602401610785565b816001600160a01b03163b600003610dbb576040516361798f2f60e11b81526001600160a01b0383166004820152602401610785565b610d2582611b11565b6000806000805160206129ac83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610e34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5891906124ff565b15610ee5576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610ebb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610edf919061266f565b91505090565b54600160601b90046001600160a01b0316919050565b610f03611892565b610f8383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f69919061251c565b603c600085604051806020016040528060008152506108fe565b6001600160a01b03821615610fa057610f9b82611b72565b61110f565b6000610fb46001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611014573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611038919061269c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561107d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110a1919061266f565b905061110d816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110e4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611108919061266f565b611b72565b505b61111f634a531f3360e01b6108d1565b61112f63b68d180960e01b6108d1565b505050565b6000805160206129cc833981519152805460009190600160a01b900460ff1661115e576000610edf565b638fb3603760e01b91505090565b600061117b8484846033611b83565b606081015190915060ff16156111c8576060810151604051632f1a047f60e11b81526001600160601b038516600482015261ffff8416602482015260ff9091166044820152606401610785565b805160405163046e44af60e11b81526001600160601b03909116600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af4158015611223573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061124791906126b9565b602082015160405163046e44af60e11b81526001600160601b03909116600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af41580156112a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c991906126b9565b10156113145780516020820151604051633c781b2760e11b81526001600160601b03808716600483015261ffff86166024830152928316604482015291166064820152608401610785565b73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561135d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061138191906126e7565b64ffffffffff1660a08201526001600160a01b0385166329e63f6284848460c85b6040518563ffffffff1660e01b81526004016113c1949392919061276d565b600060405180830381600087803b1580156113db57600080fd5b505af11580156113ef573d6000803e3d6000fd5b505050505050505050565b60006114098585856032611b83565b6001600160601b03831681526040516314f31fb160e11b81529091506001600160a01b038716906329e63f629061144b9087908790869060339060040161276d565b600060405180830381600087803b15801561146557600080fd5b505af1158015611479573d6000803e3d6000fd5b50505050505050505050565b60006114948484846032611b83565b905073__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156114df573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150391906126e7565b64ffffffffff1660a08201526001600160a01b0385166329e63f62848484601e6113a2565b846001600160a01b031663a1ef60e985856040518060c00160405280876001600160601b0316815260200173__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561159c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115c0919061251c565b6001600160601b03168152602001600060ff168152602001600060ff16815260200186815260200173__$d53880c81dc91c20799140d711e5ab8718$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611631573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061165591906126e7565b64ffffffffff168152506040518463ffffffff1660e01b81526004016113c1939291906127ad565b60006105166028611d09565b60006105166046611d09565b61169d611892565b6116a681610c1c565b6116ae610ad7565b6001600160a01b0382166116d55760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206129ac83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b604080516080810191829052636f2f88d160e11b90915262ffffff851660848201526001600160a01b038716906381c2b28290879087908073__$e1d43d4fb5c0494c5b7331f52c1ee41012$__63de5f11a260a48301602060405180830381865af415801561177f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117a391906127e2565b61ffff168152602001886001600160601b0316815260200187878080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050908252506040805163bc1b392d60e01b8152905160209283019273__$d53880c81dc91c20799140d711e5ab8718$__9263bc1b392d92600480830193928290030181865af4158015611846573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061186a91906126e7565b64ffffffffff168152506040518463ffffffff1660e01b815260040161144b939291906127ff565b6000805160206129ec83398151915254600160401b900460ff166118c957604051631afcd79f60e31b815260040160405180910390fd5b565b6101da611892565b6000805160206129ec8339815191528054600160401b810460ff1615906001600160401b03166000811580156119065750825b90506000826001600160401b031660011480156119225750303b155b905081158015611930575080155b1561194e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561197857845460ff60401b1916600160401b1785555b6000808780602001905181019061198f9190612870565b90925090506119a08260008b610efb565b6001546001600160a01b031663d39e6043608c6119bb610491565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611a10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a34919061269c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611a79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a9d919061266f565b600280546001600160a01b0319166001600160a01b0392909216919091179055611acd63985bce4160e01b6108d1565b50508315610c1357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610c0a565b6000805160206129cc83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611b7a611892565b610d2781611e1c565b6040805160c0810182526000808252602082018190529181018290526060808201839052608082015260a081019190915260405163078ae93560e41b81526001600160601b038516600482015261ffff841660248201526000906001600160a01b038716906378ae935090604401602060405180830381865afa158015611c0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c32919061269c565b905060ff80821690841614611c80576040516398b9e22f60e01b81526001600160601b038616600482015261ffff8516602482015260ff808516604483015282166064820152608401610785565b60405163a7ef3d2160e01b81526001600160601b038616600482015261ffff851660248201526001600160a01b0387169063a7ef3d2190604401600060405180830381865afa158015611cd7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611cff91908101906128e4565b9695505050505050565b6000611d1d6001546001600160a01b031690565b6001600160a01b031663d39e604383611d34610491565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611d89573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dad919061269c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611df2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e16919061266f565b92915050565b611e24611892565b610d2781611b11565b600060208284031215611e3f57600080fd5b81356001600160e01b031981168114611e5757600080fd5b9392505050565b6001600160a01b0381168114610d2757600080fd5b6001600160601b0381168114610d2757600080fd5b62ffffff81168114610d2757600080fd5b60008060008060808587031215611eaf57600080fd5b8435611eba81611e5e565b93506020850135611eca81611e5e565b92506040850135611eda81611e73565b91506060850135611eea81611e88565b939692955090935050565b60005b83811015611f10578181015183820152602001611ef8565b50506000910152565b60008151808452611f31816020860160208601611ef5565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151611fae60c08401826001600160a01b03169052565b5060c083015160e080840152611fc8610100840182611f19565b949350505050565b60ff81168114610d2757600080fd5b8015158114610d2757600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b038111828210171561202557612025611fed565b60405290565b604051601f8201601f191681016001600160401b038111828210171561205357612053611fed565b604052919050565b60006001600160401b0382111561207457612074611fed565b50601f01601f191660200190565b600082601f83011261209357600080fd5b81356120a66120a18261205b565b61202b565b8181528460208386010111156120bb57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156120f157600080fd5b86356120fc81611e5e565b9550602087013561210c81611e73565b9450604087013561211c81611fd0565b9350606087013561212c81611fdf565b9250608087013561213c81611e5e565b915060a08701356001600160401b0381111561215757600080fd5b61216389828a01612082565b9150509295509295509295565b60006020828403121561218257600080fd5b81356001600160401b0381111561219857600080fd5b611fc884828501612082565b600080604083850312156121b757600080fd5b82356121c281611e5e565b915060208301356001600160401b038111156121dd57600080fd5b6121e985828601612082565b9150509250929050565b60006020828403121561220557600080fd5b8135611e5781611e5e565b60008060006060848603121561222557600080fd5b833561223081611e5e565b9250602084013561224081611e5e565b9150604084013561225081611e5e565b809150509250925092565b61ffff81168114610d2757600080fd5b6000806000806080858703121561228157600080fd5b843561228c81611e5e565b9350602085013561229c81611e5e565b925060408501356122ac81611e73565b91506060850135611eea8161225b565b600080600080600060a086880312156122d457600080fd5b85356122df81611e5e565b945060208601356122ef81611e5e565b935060408601356122ff81611e73565b9250606086013561230f8161225b565b9150608086013561231f81611e73565b809150509295509295909350565b600080600080600060a0868803121561234557600080fd5b853561235081611e5e565b9450602086013561236081611e73565b935060408601356123708161225b565b9250606086013561238081611e73565b915060808601356001600160401b0381111561239b57600080fd5b6123a788828901612082565b9150509295509295909350565b600080604083850312156123c757600080fd5b82356123d281611e5e565b915060208301356123e281611e5e565b809150509250929050565b60008060008060008060a0878903121561240657600080fd5b863561241181611e5e565b9550602087013561242181611e73565b9450604087013561243181611e88565b9350606087013561244181611e73565b925060808701356001600160401b038082111561245d57600080fd5b818901915089601f83011261247157600080fd5b81358181111561248057600080fd5b8a602082850101111561249257600080fd5b6020830194508093505050509295509295509295565b6000602082840312156124ba57600080fd5b8151611e5781611e88565b600181811c908216806124d957607f821691505b6020821081036124f957634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561251157600080fd5b8151611e5781611fdf565b60006020828403121561252e57600080fd5b8151611e5781611e73565b601f82111561112f57600081815260208120601f850160051c810160208610156125605750805b601f850160051c820191505b8181101561257f5782815560010161256c565b505050505050565b81516001600160401b038111156125a0576125a0611fed565b6125b4816125ae84546124c5565b84612539565b602080601f8311600181146125e957600084156125d15750858301515b600019600386901b1c1916600185901b17855561257f565b600085815260208120601f198616915b82811015612618578886015182559484019460019091019084016125f9565b50858210156126365787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561265857600080fd5b81516001600160401b0381168114611e5757600080fd5b60006020828403121561268157600080fd5b8151611e5781611e5e565b805161269781611fd0565b919050565b6000602082840312156126ae57600080fd5b8151611e5781611fd0565b6000602082840312156126cb57600080fd5b5051919050565b805164ffffffffff8116811461269757600080fd5b6000602082840312156126f957600080fd5b611e57826126d2565b60006001600160601b038083511684528060208401511660208501525060ff604083015116604084015260ff6060830151166060840152608082015160c0608085015261275260c0850182611f19565b60a09384015164ffffffffff16949093019390935250919050565b6001600160601b038516815261ffff841660208201526080604082015260006127996080830185612702565b905060ff8316606083015295945050505050565b6001600160601b038416815261ffff831660208201526060604082015260006127d96060830184612702565b95945050505050565b6000602082840312156127f457600080fd5b8151611e578161225b565b60006001600160601b03808616835262ffffff851660208401526060604084015261ffff8451166060840152806020850151166080840152506040830151608060a084015261285160e0840182611f19565b905064ffffffffff60608501511660c084015280915050949350505050565b6000806040838503121561288357600080fd5b825161288e81611e5e565b60208401519092506123e281611e5e565b600082601f8301126128b057600080fd5b81516128be6120a18261205b565b8181528460208386010111156128d357600080fd5b611fc8826020830160208701611ef5565b6000602082840312156128f657600080fd5b81516001600160401b038082111561290d57600080fd5b9083019060c0828603121561292157600080fd5b612929612003565b825161293481611e73565b8152602083015161294481611e73565b6020820152604083015161295781611fd0565b60408201526129686060840161268c565b606082015260808301518281111561297f57600080fd5b61298b8782860161289f565b60808301525061299d60a084016126d2565b60a08201529594505050505056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122069674d08148d02478e9b2e6251e4190deef7f2a3e6d448c27e26be92da41dd6864736f6c63430008140033",
871
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101da5760003560e01c8063893d20e811610104578063bb31b294116100a2578063cc9fc59a11610071578063cc9fc59a14610463578063f21de1e81461031e578063f7c34ee01461046b578063fe7631d51461047e57600080fd5b8063bb31b29414610417578063bf7e214f1461042a578063c898bbaf14610448578063caf4e3d41461045b57600080fd5b8063a0e4494d116100de578063a0e4494d146103cd578063ada9652e146103e0578063b68d1809146103f5578063b962574f1461040457600080fd5b8063893d20e8146103915780638e32e979146103995780638fb36037146103ac57600080fd5b806327bb7a331161017c5780635ab1bd531161014b5780635ab1bd531461031e578063644c45e014610343578063675393bf1461036b5780637a9e5e4b1461037e57600080fd5b806327bb7a33146102dd578063329d6e74146102f057806336fc697e1461030357806349bb9e4b1461030b57600080fd5b80630fec111c116101b85780630fec111c14610276578063138461e01461028b5780631eff4b2214610295578063214cdb80146102ca57600080fd5b806301ffc9a7146101df5780630c02e8ad146102215780630d8e6e2c1461025a575b600080fd5b61020c6101ed366004611e2d565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023b61022f366004611e99565b60008094509492505050565b604080516001600160601b039093168352901515602083015201610218565b610262610491565b60405162ffffff9091168152602001610218565b61027e61051b565b6040516102189190611f45565b6102936106ca565b005b6102bc7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b6102936102d8366004611e2d565b6108d1565b6102936102eb3660046120d8565b6108fe565b6102936102fe366004612170565b61098a565b610293610ad7565b6102936103193660046121a4565b610b1d565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610218565b6000805160206129ac833981519152546040516001600160601b039091168152602001610218565b6102936103793660046121f3565b610c1c565b61029361038c3660046121f3565b610d2a565b61032b610dc4565b6102936103a7366004612210565b610efb565b6103b4611134565b6040516001600160e01b03199091168152602001610218565b6102936103db36600461226b565b61116c565b6102bc6000805160206129ac83398151915281565b60405160d48152602001610218565b6102936104123660046122bc565b6113fa565b61029361042536600461226b565b611485565b6000805160206129cc833981519152546001600160a01b031661032b565b61029361045636600461232d565b611528565b61032b61167d565b61032b611689565b6102936104793660046123b4565b611695565b61029361048c3660046123ed565b61170c565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156104f2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051691906124a8565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906105c6906124c5565b80601f01602080910402602001604051908101604052809291908181526020018280546105f2906124c5565b801561063f5780601f106106145761010080835404028352916020019161063f565b820191906000526020600020905b81548152906001019060200180831161062257829003601f168201915b50505050508152505090506040518060e0016040528061065d600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016106ae610dc4565b6001600160a01b03168152602001826060015181525091505090565b60006000805160206129ac83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610739573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075d91906124ff565b1561078e5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306107a16001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156107e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080d91906124ff565b6108355760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610785565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610889573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ad919061251c565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6108d9611892565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610906611892565b6109108287611695565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016109808382612587565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6109ac610491565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156109ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a109190612646565b6000805160206129ec8339815191528054600160401b900460ff1680610a43575080546001600160401b03808416911610155b15610a615760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a8b836118cb565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610adf611892565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000805160206129ec8339815191528054600160401b810460ff1615906001600160401b0316600081158015610b505750825b90506000826001600160401b03166001148015610b6c5750303b155b905081158015610b7a575080155b15610b985760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610bc257845460ff60401b1916600160401b1785555b610bcc87876118d3565b8315610c1357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610c24611892565b806001600160a01b03163b600003610c5a5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610785565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015610cd4575060408051601f3d908101601f19168201909252610cd1918101906124ff565b60015b610cfc5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610785565b80610d255760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610785565b505b50565b33610d4a6000805160206129cc833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610d855760405162d1953b60e31b81526001600160a01b0382166004820152602401610785565b816001600160a01b03163b600003610dbb576040516361798f2f60e11b81526001600160a01b0383166004820152602401610785565b610d2582611b11565b6000806000805160206129ac83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610e34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5891906124ff565b15610ee5576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610ebb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610edf919061266f565b91505090565b54600160601b90046001600160a01b0316919050565b610f03611892565b610f8383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f69919061251c565b603c600085604051806020016040528060008152506108fe565b6001600160a01b03821615610fa057610f9b82611b72565b61110f565b6000610fb46001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611014573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611038919061269c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561107d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110a1919061266f565b905061110d816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110e4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611108919061266f565b611b72565b505b61111f634a531f3360e01b6108d1565b61112f63b68d180960e01b6108d1565b505050565b6000805160206129cc833981519152805460009190600160a01b900460ff1661115e576000610edf565b638fb3603760e01b91505090565b600061117b8484846033611b83565b606081015190915060ff16156111c8576060810151604051632f1a047f60e11b81526001600160601b038516600482015261ffff8416602482015260ff9091166044820152606401610785565b805160405163046e44af60e11b81526001600160601b03909116600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af4158015611223573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061124791906126b9565b602082015160405163046e44af60e11b81526001600160601b03909116600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af41580156112a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c991906126b9565b10156113145780516020820151604051633c781b2760e11b81526001600160601b03808716600483015261ffff86166024830152928316604482015291166064820152608401610785565b73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561135d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061138191906126e7565b64ffffffffff1660a08201526001600160a01b0385166329e63f6284848460c85b6040518563ffffffff1660e01b81526004016113c1949392919061276d565b600060405180830381600087803b1580156113db57600080fd5b505af11580156113ef573d6000803e3d6000fd5b505050505050505050565b60006114098585856032611b83565b6001600160601b03831681526040516314f31fb160e11b81529091506001600160a01b038716906329e63f629061144b9087908790869060339060040161276d565b600060405180830381600087803b15801561146557600080fd5b505af1158015611479573d6000803e3d6000fd5b50505050505050505050565b60006114948484846032611b83565b905073__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156114df573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150391906126e7565b64ffffffffff1660a08201526001600160a01b0385166329e63f62848484601e6113a2565b846001600160a01b031663a1ef60e985856040518060c00160405280876001600160601b0316815260200173__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561159c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115c0919061251c565b6001600160601b03168152602001600060ff168152602001600060ff16815260200186815260200173__$d53880c81dc91c20799140d711e5ab8718$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611631573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061165591906126e7565b64ffffffffff168152506040518463ffffffff1660e01b81526004016113c1939291906127ad565b60006105166028611d09565b60006105166046611d09565b61169d611892565b6116a681610c1c565b6116ae610ad7565b6001600160a01b0382166116d55760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206129ac83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b604080516080810191829052636f2f88d160e11b90915262ffffff851660848201526001600160a01b038716906381c2b28290879087908073__$e1d43d4fb5c0494c5b7331f52c1ee41012$__63de5f11a260a48301602060405180830381865af415801561177f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117a391906127e2565b61ffff168152602001886001600160601b0316815260200187878080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050908252506040805163bc1b392d60e01b8152905160209283019273__$d53880c81dc91c20799140d711e5ab8718$__9263bc1b392d92600480830193928290030181865af4158015611846573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061186a91906126e7565b64ffffffffff168152506040518463ffffffff1660e01b815260040161144b939291906127ff565b6000805160206129ec83398151915254600160401b900460ff166118c957604051631afcd79f60e31b815260040160405180910390fd5b565b6101da611892565b6000805160206129ec8339815191528054600160401b810460ff1615906001600160401b03166000811580156119065750825b90506000826001600160401b031660011480156119225750303b155b905081158015611930575080155b1561194e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561197857845460ff60401b1916600160401b1785555b6000808780602001905181019061198f9190612870565b90925090506119a08260008b610efb565b6001546001600160a01b031663d39e6043608c6119bb610491565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611a10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a34919061269c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611a79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a9d919061266f565b600280546001600160a01b0319166001600160a01b0392909216919091179055611acd63985bce4160e01b6108d1565b50508315610c1357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610c0a565b6000805160206129cc83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611b7a611892565b610d2781611e1c565b6040805160c0810182526000808252602082018190529181018290526060808201839052608082015260a081019190915260405163078ae93560e41b81526001600160601b038516600482015261ffff841660248201526000906001600160a01b038716906378ae935090604401602060405180830381865afa158015611c0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c32919061269c565b905060ff80821690841614611c80576040516398b9e22f60e01b81526001600160601b038616600482015261ffff8516602482015260ff808516604483015282166064820152608401610785565b60405163a7ef3d2160e01b81526001600160601b038616600482015261ffff851660248201526001600160a01b0387169063a7ef3d2190604401600060405180830381865afa158015611cd7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611cff91908101906128e4565b9695505050505050565b6000611d1d6001546001600160a01b031690565b6001600160a01b031663d39e604383611d34610491565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611d89573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dad919061269c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611df2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e16919061266f565b92915050565b611e24611892565b610d2781611b11565b600060208284031215611e3f57600080fd5b81356001600160e01b031981168114611e5757600080fd5b9392505050565b6001600160a01b0381168114610d2757600080fd5b6001600160601b0381168114610d2757600080fd5b62ffffff81168114610d2757600080fd5b60008060008060808587031215611eaf57600080fd5b8435611eba81611e5e565b93506020850135611eca81611e5e565b92506040850135611eda81611e73565b91506060850135611eea81611e88565b939692955090935050565b60005b83811015611f10578181015183820152602001611ef8565b50506000910152565b60008151808452611f31816020860160208601611ef5565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151611fae60c08401826001600160a01b03169052565b5060c083015160e080840152611fc8610100840182611f19565b949350505050565b60ff81168114610d2757600080fd5b8015158114610d2757600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b038111828210171561202557612025611fed565b60405290565b604051601f8201601f191681016001600160401b038111828210171561205357612053611fed565b604052919050565b60006001600160401b0382111561207457612074611fed565b50601f01601f191660200190565b600082601f83011261209357600080fd5b81356120a66120a18261205b565b61202b565b8181528460208386010111156120bb57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156120f157600080fd5b86356120fc81611e5e565b9550602087013561210c81611e73565b9450604087013561211c81611fd0565b9350606087013561212c81611fdf565b9250608087013561213c81611e5e565b915060a08701356001600160401b0381111561215757600080fd5b61216389828a01612082565b9150509295509295509295565b60006020828403121561218257600080fd5b81356001600160401b0381111561219857600080fd5b611fc884828501612082565b600080604083850312156121b757600080fd5b82356121c281611e5e565b915060208301356001600160401b038111156121dd57600080fd5b6121e985828601612082565b9150509250929050565b60006020828403121561220557600080fd5b8135611e5781611e5e565b60008060006060848603121561222557600080fd5b833561223081611e5e565b9250602084013561224081611e5e565b9150604084013561225081611e5e565b809150509250925092565b61ffff81168114610d2757600080fd5b6000806000806080858703121561228157600080fd5b843561228c81611e5e565b9350602085013561229c81611e5e565b925060408501356122ac81611e73565b91506060850135611eea8161225b565b600080600080600060a086880312156122d457600080fd5b85356122df81611e5e565b945060208601356122ef81611e5e565b935060408601356122ff81611e73565b9250606086013561230f8161225b565b9150608086013561231f81611e73565b809150509295509295909350565b600080600080600060a0868803121561234557600080fd5b853561235081611e5e565b9450602086013561236081611e73565b935060408601356123708161225b565b9250606086013561238081611e73565b915060808601356001600160401b0381111561239b57600080fd5b6123a788828901612082565b9150509295509295909350565b600080604083850312156123c757600080fd5b82356123d281611e5e565b915060208301356123e281611e5e565b809150509250929050565b60008060008060008060a0878903121561240657600080fd5b863561241181611e5e565b9550602087013561242181611e73565b9450604087013561243181611e88565b9350606087013561244181611e73565b925060808701356001600160401b038082111561245d57600080fd5b818901915089601f83011261247157600080fd5b81358181111561248057600080fd5b8a602082850101111561249257600080fd5b6020830194508093505050509295509295509295565b6000602082840312156124ba57600080fd5b8151611e5781611e88565b600181811c908216806124d957607f821691505b6020821081036124f957634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561251157600080fd5b8151611e5781611fdf565b60006020828403121561252e57600080fd5b8151611e5781611e73565b601f82111561112f57600081815260208120601f850160051c810160208610156125605750805b601f850160051c820191505b8181101561257f5782815560010161256c565b505050505050565b81516001600160401b038111156125a0576125a0611fed565b6125b4816125ae84546124c5565b84612539565b602080601f8311600181146125e957600084156125d15750858301515b600019600386901b1c1916600185901b17855561257f565b600085815260208120601f198616915b82811015612618578886015182559484019460019091019084016125f9565b50858210156126365787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561265857600080fd5b81516001600160401b0381168114611e5757600080fd5b60006020828403121561268157600080fd5b8151611e5781611e5e565b805161269781611fd0565b919050565b6000602082840312156126ae57600080fd5b8151611e5781611fd0565b6000602082840312156126cb57600080fd5b5051919050565b805164ffffffffff8116811461269757600080fd5b6000602082840312156126f957600080fd5b611e57826126d2565b60006001600160601b038083511684528060208401511660208501525060ff604083015116604084015260ff6060830151166060840152608082015160c0608085015261275260c0850182611f19565b60a09384015164ffffffffff16949093019390935250919050565b6001600160601b038516815261ffff841660208201526080604082015260006127996080830185612702565b905060ff8316606083015295945050505050565b6001600160601b038416815261ffff831660208201526060604082015260006127d96060830184612702565b95945050505050565b6000602082840312156127f457600080fd5b8151611e578161225b565b60006001600160601b03808616835262ffffff851660208401526060604084015261ffff8451166060840152806020850151166080840152506040830151608060a084015261285160e0840182611f19565b905064ffffffffff60608501511660c084015280915050949350505050565b6000806040838503121561288357600080fd5b825161288e81611e5e565b60208401519092506123e281611e5e565b600082601f8301126128b057600080fd5b81516128be6120a18261205b565b8181528460208386010111156128d357600080fd5b611fc8826020830160208701611ef5565b6000602082840312156128f657600080fd5b81516001600160401b038082111561290d57600080fd5b9083019060c0828603121561292157600080fd5b612929612003565b825161293481611e73565b8152602083015161294481611e73565b6020820152604083015161295781611fd0565b60408201526129686060840161268c565b606082015260808301518281111561297f57600080fd5b61298b8782860161289f565b60808301525061299d60a084016126d2565b60a08201529594505050505056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122069674d08148d02478e9b2e6251e4190deef7f2a3e6d448c27e26be92da41dd6864736f6c63430008140033",
690
872
  "linkReferences": {
873
+ "contracts/types/Amount.sol": {
874
+ "AmountLib": [
875
+ {
876
+ "length": 20,
877
+ "start": 4815
878
+ },
879
+ {
880
+ "length": 20,
881
+ "start": 4945
882
+ },
883
+ {
884
+ "length": 20,
885
+ "start": 5691
886
+ }
887
+ ]
888
+ },
691
889
  "contracts/types/NftId.sol": {
692
890
  "NftIdLib": [
693
891
  {
694
892
  "length": 20,
695
- "start": 1890
893
+ "start": 2021
696
894
  },
697
895
  {
698
896
  "length": 20,
699
- "start": 3521
897
+ "start": 3808
898
+ }
899
+ ]
900
+ },
901
+ "contracts/types/PayoutId.sol": {
902
+ "PayoutIdLib": [
903
+ {
904
+ "length": 20,
905
+ "start": 6188
906
+ }
907
+ ]
908
+ },
909
+ "contracts/types/Timestamp.sol": {
910
+ "TimestampLib": [
911
+ {
912
+ "length": 20,
913
+ "start": 5116
914
+ },
915
+ {
916
+ "length": 20,
917
+ "start": 5502
918
+ },
919
+ {
920
+ "length": 20,
921
+ "start": 5840
922
+ },
923
+ {
924
+ "length": 20,
925
+ "start": 6386
700
926
  }
701
927
  ]
702
928
  },
@@ -704,31 +930,83 @@
704
930
  "VersionLib": [
705
931
  {
706
932
  "length": 20,
707
- "start": 1307
933
+ "start": 1438
934
+ },
935
+ {
936
+ "length": 20,
937
+ "start": 2674
938
+ },
939
+ {
940
+ "length": 20,
941
+ "start": 6844
708
942
  },
709
943
  {
710
944
  "length": 20,
711
- "start": 2543
945
+ "start": 7733
712
946
  }
713
947
  ],
714
948
  "VersionPartLib": [
715
949
  {
716
950
  "length": 20,
717
- "start": 4002
951
+ "start": 4288
718
952
  }
719
953
  ]
720
954
  }
721
955
  },
722
956
  "deployedLinkReferences": {
957
+ "contracts/types/Amount.sol": {
958
+ "AmountLib": [
959
+ {
960
+ "length": 20,
961
+ "start": 4585
962
+ },
963
+ {
964
+ "length": 20,
965
+ "start": 4715
966
+ },
967
+ {
968
+ "length": 20,
969
+ "start": 5461
970
+ }
971
+ ]
972
+ },
723
973
  "contracts/types/NftId.sol": {
724
974
  "NftIdLib": [
725
975
  {
726
976
  "length": 20,
727
- "start": 1667
977
+ "start": 1791
728
978
  },
729
979
  {
730
980
  "length": 20,
731
- "start": 3298
981
+ "start": 3578
982
+ }
983
+ ]
984
+ },
985
+ "contracts/types/PayoutId.sol": {
986
+ "PayoutIdLib": [
987
+ {
988
+ "length": 20,
989
+ "start": 5958
990
+ }
991
+ ]
992
+ },
993
+ "contracts/types/Timestamp.sol": {
994
+ "TimestampLib": [
995
+ {
996
+ "length": 20,
997
+ "start": 4886
998
+ },
999
+ {
1000
+ "length": 20,
1001
+ "start": 5272
1002
+ },
1003
+ {
1004
+ "length": 20,
1005
+ "start": 5610
1006
+ },
1007
+ {
1008
+ "length": 20,
1009
+ "start": 6156
732
1010
  }
733
1011
  ]
734
1012
  },
@@ -736,17 +1014,25 @@
736
1014
  "VersionLib": [
737
1015
  {
738
1016
  "length": 20,
739
- "start": 1084
1017
+ "start": 1208
1018
+ },
1019
+ {
1020
+ "length": 20,
1021
+ "start": 2444
1022
+ },
1023
+ {
1024
+ "length": 20,
1025
+ "start": 6614
740
1026
  },
741
1027
  {
742
1028
  "length": 20,
743
- "start": 2320
1029
+ "start": 7503
744
1030
  }
745
1031
  ],
746
1032
  "VersionPartLib": [
747
1033
  {
748
1034
  "length": 20,
749
- "start": 3779
1035
+ "start": 4058
750
1036
  }
751
1037
  ]
752
1038
  }