@etherisc/gif-next 0.0.2-c96f882-016 → 0.0.2-ca84135-795

Sign up to get free protection for your applications and to get access to all the features.
Files changed (268) hide show
  1. package/README.md +63 -1
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → components/Component.sol/Component.json} +210 -178
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +171 -90
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → components/IComponent.sol/IComponent.json} +133 -162
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +28 -2
  11. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +5 -5
  13. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  14. package/artifacts/contracts/components/Pool.sol/Pool.json +203 -119
  15. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  16. package/artifacts/contracts/components/Product.sol/Product.json +183 -146
  17. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +1 -1
  18. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +1 -1
  19. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +1 -1
  20. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  21. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  22. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  23. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  24. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
  32. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  35. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +2 -2
  36. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  37. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
  38. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  39. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  40. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  41. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  42. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  43. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +764 -0
  44. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  45. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +74 -3
  46. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  47. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1649 -28
  48. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +4 -0
  49. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.json +619 -0
  50. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  51. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +104 -14
  52. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  53. package/artifacts/contracts/instance/Instance.sol/Instance.json +155 -662
  54. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  55. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +243 -126
  56. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +4 -0
  57. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +763 -0
  58. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  59. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +164 -66
  60. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  61. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +275 -74
  62. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  63. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +52 -24
  64. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  65. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
  66. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/base/{ComponentServiceBase.sol/ComponentServiceBase.json → ComponentService.sol/ComponentService.json} +125 -11
  68. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
  69. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -13
  70. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  71. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  72. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  73. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +2 -2
  74. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  75. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +2 -2
  76. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  77. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +59 -16
  78. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  79. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  80. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  81. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  82. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  83. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  84. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  85. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1094 -0
  86. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  87. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +436 -0
  88. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  89. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +764 -0
  90. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  91. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +424 -0
  92. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  93. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +720 -0
  94. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  95. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +13 -13
  96. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  97. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +771 -0
  98. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  99. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +15 -77
  100. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  101. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +25 -240
  102. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  103. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1219 -0
  104. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  105. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +492 -0
  106. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  107. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +798 -0
  108. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  109. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +424 -0
  110. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  111. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +848 -0
  112. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  113. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +424 -0
  114. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  115. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  116. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  117. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +146 -229
  118. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  119. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +195 -86
  120. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  121. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  122. package/artifacts/contracts/registry/Registry.sol/Registry.json +159 -316
  123. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  124. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  125. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  126. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +38 -112
  127. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  128. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +38 -95
  129. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  130. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +530 -0
  131. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  132. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +397 -0
  133. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  134. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  135. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  136. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  137. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  138. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  139. package/artifacts/contracts/shared/IService.sol/IService.json +13 -13
  140. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  141. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  142. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +2 -2
  143. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  144. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +2 -2
  145. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  146. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +4 -4
  147. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  148. package/artifacts/contracts/shared/Service.sol/Service.json +13 -13
  149. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  150. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  151. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  152. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  153. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  154. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +4 -4
  155. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  156. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +2 -2
  157. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  158. package/artifacts/contracts/test/TestService.sol/TestService.json +31 -31
  159. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  160. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  161. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  162. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  163. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  164. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  165. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  166. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  167. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  168. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  169. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  170. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  171. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  172. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  173. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  174. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  175. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  177. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  178. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  179. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  180. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  181. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  182. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  183. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  184. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  185. package/contracts/components/Component.sol +177 -0
  186. package/contracts/components/Distribution.sol +17 -29
  187. package/contracts/components/IComponent.sol +37 -0
  188. package/contracts/components/IDistributionComponent.sol +1 -0
  189. package/contracts/components/IPoolComponent.sol +5 -1
  190. package/contracts/components/IProductComponent.sol +2 -2
  191. package/contracts/components/Pool.sol +46 -47
  192. package/contracts/components/Product.sol +57 -59
  193. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +23 -0
  194. package/contracts/instance/BundleManager.sol +125 -0
  195. package/contracts/instance/Cloneable.sol +46 -0
  196. package/contracts/instance/IInstance.sol +43 -9
  197. package/contracts/instance/IInstanceBase.sol +27 -0
  198. package/contracts/instance/IInstanceService.sol +14 -4
  199. package/contracts/instance/Instance.sol +54 -237
  200. package/contracts/instance/InstanceAccessManager.sol +93 -78
  201. package/contracts/instance/InstanceBase.sol +38 -0
  202. package/contracts/instance/InstanceReader.sol +29 -26
  203. package/contracts/instance/InstanceService.sol +301 -77
  204. package/contracts/instance/InstanceServiceManager.sol +10 -12
  205. package/contracts/instance/ObjectManager.sol +84 -0
  206. package/contracts/instance/base/ComponentService.sol +133 -0
  207. package/contracts/instance/base/IInstanceBase.sol +0 -2
  208. package/contracts/instance/module/IAccess.sol +27 -17
  209. package/contracts/instance/module/IBundle.sol +1 -0
  210. package/contracts/instance/module/ISetup.sol +3 -0
  211. package/contracts/instance/service/BundleService.sol +293 -0
  212. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  213. package/contracts/instance/service/DistributionService.sol +115 -0
  214. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  215. package/contracts/instance/service/IBundleService.sol +44 -0
  216. package/contracts/instance/service/IPolicyService.sol +94 -0
  217. package/contracts/instance/service/IPoolService.sol +6 -23
  218. package/contracts/instance/service/IProductService.sol +6 -73
  219. package/contracts/instance/service/PolicyService.sol +538 -0
  220. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  221. package/contracts/instance/service/PoolService.sol +142 -0
  222. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  223. package/contracts/instance/service/ProductService.sol +241 -0
  224. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  225. package/contracts/registry/ChainNft.sol +1 -1
  226. package/contracts/registry/IRegistry.sol +30 -29
  227. package/contracts/registry/IRegistryService.sol +36 -14
  228. package/contracts/registry/Registry.sol +163 -239
  229. package/contracts/registry/RegistryAccessManager.sol +210 -0
  230. package/contracts/registry/RegistryService.sol +86 -218
  231. package/contracts/registry/RegistryServiceManager.sol +20 -22
  232. package/contracts/registry/ReleaseManager.sol +342 -0
  233. package/contracts/registry/TokenRegistry.sol +110 -0
  234. package/contracts/shared/ERC165.sol +6 -2
  235. package/contracts/shared/IRegisterable.sol +0 -2
  236. package/contracts/shared/IService.sol +2 -1
  237. package/contracts/shared/NftOwnable.sol +4 -4
  238. package/contracts/shared/ProxyManager.sol +1 -1
  239. package/contracts/shared/Registerable.sol +1 -0
  240. package/contracts/shared/Service.sol +14 -8
  241. package/contracts/test/TestService.sol +3 -2
  242. package/contracts/types/NftIdSet.sol +26 -24
  243. package/contracts/types/RoleId.sol +14 -6
  244. package/contracts/types/StateId.sol +4 -0
  245. package/package.json +1 -1
  246. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  247. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -314
  248. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  249. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -267
  250. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  251. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  252. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  253. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  254. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  255. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  256. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  257. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  258. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  259. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  260. package/contracts/components/BaseComponent.sol +0 -86
  261. package/contracts/components/IBaseComponent.sol +0 -24
  262. package/contracts/instance/AccessManagedSimple.sol +0 -122
  263. package/contracts/instance/AccessManagerSimple.sol +0 -692
  264. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  265. package/contracts/instance/base/ComponentServiceBase.sol +0 -49
  266. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  267. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  268. package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -35,6 +35,44 @@
35
35
  "name": "ErrorContractNotRegistered",
36
36
  "type": "error"
37
37
  },
38
+ {
39
+ "inputs": [
40
+ {
41
+ "internalType": "address",
42
+ "name": "componentAddress",
43
+ "type": "address"
44
+ }
45
+ ],
46
+ "name": "ErrorInstanceServiceComponentNotRegistered",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [
51
+ {
52
+ "internalType": "address",
53
+ "name": "caller",
54
+ "type": "address"
55
+ },
56
+ {
57
+ "internalType": "NftId",
58
+ "name": "instanceNftId",
59
+ "type": "uint96"
60
+ }
61
+ ],
62
+ "name": "ErrorInstanceServiceNotInstanceOwner",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [
67
+ {
68
+ "internalType": "address",
69
+ "name": "caller",
70
+ "type": "address"
71
+ }
72
+ ],
73
+ "name": "ErrorInstanceServiceRequestUnauhorized",
74
+ "type": "error"
75
+ },
38
76
  {
39
77
  "inputs": [
40
78
  {
@@ -181,19 +219,6 @@
181
219
  "stateMutability": "view",
182
220
  "type": "function"
183
221
  },
184
- {
185
- "inputs": [],
186
- "name": "NAME",
187
- "outputs": [
188
- {
189
- "internalType": "string",
190
- "name": "",
191
- "type": "string"
192
- }
193
- ],
194
- "stateMutability": "view",
195
- "type": "function"
196
- },
197
222
  {
198
223
  "inputs": [],
199
224
  "name": "REGISTERABLE_LOCATION_V1",
@@ -212,7 +237,7 @@
212
237
  "name": "createInstanceClone",
213
238
  "outputs": [
214
239
  {
215
- "internalType": "contract AccessManagerSimple",
240
+ "internalType": "contract InstanceAccessManager",
216
241
  "name": "clonedAccessManager",
217
242
  "type": "address"
218
243
  },
@@ -223,29 +248,57 @@
223
248
  },
224
249
  {
225
250
  "internalType": "NftId",
226
- "name": "instanceNftId",
251
+ "name": "clonedInstanceNftId",
227
252
  "type": "uint96"
228
253
  },
229
254
  {
230
255
  "internalType": "contract InstanceReader",
231
256
  "name": "clonedInstanceReader",
232
257
  "type": "address"
258
+ },
259
+ {
260
+ "internalType": "contract BundleManager",
261
+ "name": "clonedBundleManager",
262
+ "type": "address"
263
+ }
264
+ ],
265
+ "stateMutability": "nonpayable",
266
+ "type": "function"
267
+ },
268
+ {
269
+ "inputs": [
270
+ {
271
+ "internalType": "NftId",
272
+ "name": "instanceNftId",
273
+ "type": "uint96"
274
+ },
275
+ {
276
+ "internalType": "address",
277
+ "name": "targetAddress",
278
+ "type": "address"
279
+ },
280
+ {
281
+ "internalType": "string",
282
+ "name": "targetName",
283
+ "type": "string"
233
284
  }
234
285
  ],
286
+ "name": "createTarget",
287
+ "outputs": [],
235
288
  "stateMutability": "nonpayable",
236
289
  "type": "function"
237
290
  },
238
291
  {
239
292
  "inputs": [],
240
- "name": "getAccessManagerMaster",
293
+ "name": "getDomain",
241
294
  "outputs": [
242
295
  {
243
- "internalType": "address",
296
+ "internalType": "ObjectType",
244
297
  "name": "",
245
- "type": "address"
298
+ "type": "uint8"
246
299
  }
247
300
  ],
248
- "stateMutability": "view",
301
+ "stateMutability": "pure",
249
302
  "type": "function"
250
303
  },
251
304
  {
@@ -318,12 +371,12 @@
318
371
  },
319
372
  {
320
373
  "inputs": [],
321
- "name": "getInstance",
374
+ "name": "getMajorVersion",
322
375
  "outputs": [
323
376
  {
324
- "internalType": "contract Instance",
325
- "name": "",
326
- "type": "address"
377
+ "internalType": "VersionPart",
378
+ "name": "majorVersion",
379
+ "type": "uint8"
327
380
  }
328
381
  ],
329
382
  "stateMutability": "view",
@@ -331,7 +384,7 @@
331
384
  },
332
385
  {
333
386
  "inputs": [],
334
- "name": "getInstanceMaster",
387
+ "name": "getMasterInstance",
335
388
  "outputs": [
336
389
  {
337
390
  "internalType": "address",
@@ -344,7 +397,7 @@
344
397
  },
345
398
  {
346
399
  "inputs": [],
347
- "name": "getInstanceReaderMaster",
400
+ "name": "getMasterInstanceAccessManager",
348
401
  "outputs": [
349
402
  {
350
403
  "internalType": "address",
@@ -357,12 +410,12 @@
357
410
  },
358
411
  {
359
412
  "inputs": [],
360
- "name": "getMajorVersion",
413
+ "name": "getMasterInstanceBundleManager",
361
414
  "outputs": [
362
415
  {
363
- "internalType": "VersionPart",
364
- "name": "majorVersion",
365
- "type": "uint8"
416
+ "internalType": "address",
417
+ "name": "",
418
+ "type": "address"
366
419
  }
367
420
  ],
368
421
  "stateMutability": "view",
@@ -370,15 +423,15 @@
370
423
  },
371
424
  {
372
425
  "inputs": [],
373
- "name": "getName",
426
+ "name": "getMasterInstanceReader",
374
427
  "outputs": [
375
428
  {
376
- "internalType": "string",
429
+ "internalType": "address",
377
430
  "name": "",
378
- "type": "string"
431
+ "type": "address"
379
432
  }
380
433
  ],
381
- "stateMutability": "pure",
434
+ "stateMutability": "view",
382
435
  "type": "function"
383
436
  },
384
437
  {
@@ -511,6 +564,35 @@
511
564
  "stateMutability": "view",
512
565
  "type": "function"
513
566
  },
567
+ {
568
+ "inputs": [
569
+ {
570
+ "internalType": "address",
571
+ "name": "account",
572
+ "type": "address"
573
+ },
574
+ {
575
+ "internalType": "RoleId",
576
+ "name": "role",
577
+ "type": "uint64"
578
+ },
579
+ {
580
+ "internalType": "address",
581
+ "name": "instanceAddress",
582
+ "type": "address"
583
+ }
584
+ ],
585
+ "name": "hasRole",
586
+ "outputs": [
587
+ {
588
+ "internalType": "bool",
589
+ "name": "",
590
+ "type": "bool"
591
+ }
592
+ ],
593
+ "stateMutability": "view",
594
+ "type": "function"
595
+ },
514
596
  {
515
597
  "inputs": [
516
598
  {
@@ -564,12 +646,33 @@
564
646
  "inputs": [
565
647
  {
566
648
  "internalType": "address",
567
- "name": "accessManagerMaster",
649
+ "name": "accessManagerAddress",
650
+ "type": "address"
651
+ },
652
+ {
653
+ "internalType": "address",
654
+ "name": "instanceAddress",
655
+ "type": "address"
656
+ },
657
+ {
658
+ "internalType": "address",
659
+ "name": "instanceReaderAddress",
660
+ "type": "address"
661
+ },
662
+ {
663
+ "internalType": "address",
664
+ "name": "bundleManagerAddress",
568
665
  "type": "address"
569
666
  }
570
667
  ],
571
- "name": "setAccessManagerMaster",
572
- "outputs": [],
668
+ "name": "setMasterInstance",
669
+ "outputs": [
670
+ {
671
+ "internalType": "NftId",
672
+ "name": "masterInstanceNftId",
673
+ "type": "uint96"
674
+ }
675
+ ],
573
676
  "stateMutability": "nonpayable",
574
677
  "type": "function"
575
678
  },
@@ -577,11 +680,11 @@
577
680
  "inputs": [
578
681
  {
579
682
  "internalType": "address",
580
- "name": "instanceMaster",
683
+ "name": "instanceReaderAddress",
581
684
  "type": "address"
582
685
  }
583
686
  ],
584
- "name": "setInstanceMaster",
687
+ "name": "setMasterInstanceReader",
585
688
  "outputs": [],
586
689
  "stateMutability": "nonpayable",
587
690
  "type": "function"
@@ -589,12 +692,17 @@
589
692
  {
590
693
  "inputs": [
591
694
  {
592
- "internalType": "address",
593
- "name": "instanceReaderMaster",
594
- "type": "address"
695
+ "internalType": "string",
696
+ "name": "targetName",
697
+ "type": "string"
698
+ },
699
+ {
700
+ "internalType": "bool",
701
+ "name": "locked",
702
+ "type": "bool"
595
703
  }
596
704
  ],
597
- "name": "setInstanceReaderMaster",
705
+ "name": "setTargetLocked",
598
706
  "outputs": [],
599
707
  "stateMutability": "nonpayable",
600
708
  "type": "function"
@@ -640,16 +748,29 @@
640
748
  "outputs": [],
641
749
  "stateMutability": "nonpayable",
642
750
  "type": "function"
751
+ },
752
+ {
753
+ "inputs": [
754
+ {
755
+ "internalType": "NftId",
756
+ "name": "instanceNftId",
757
+ "type": "uint96"
758
+ }
759
+ ],
760
+ "name": "upgradeInstanceReader",
761
+ "outputs": [],
762
+ "stateMutability": "nonpayable",
763
+ "type": "function"
643
764
  }
644
765
  ],
645
- "bytecode": "0x60806040523480156200001157600080fd5b506301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055600280546001600160a01b031916331790556200006a62000070565b62000124565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c15760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001215780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61251f80620001346000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c8063656bc9ef116100f9578063b3c6501511610097578063cf7a1d7711610071578063cf7a1d771461052f578063d6277f9914610542578063de7b5d1414610555578063eeff428e1461055b57600080fd5b8063b3c65015146104e2578063b88da75914610502578063cde749f41461051557600080fd5b806393c48054116100d357806393c4805414610469578063946dfcfe1461047a578063a3f4df7e146104a1578063a745e3df146104cf57600080fd5b8063656bc9ef14610446578063872309c714610459578063893d20e81461046157600080fd5b80631eff4b22116101665780634f421333116101405780634f421333146103e457806355ad7436146103f75780635ab1bd531461040a578063644c45e01461041b57600080fd5b80631eff4b22146102855780633a0b4b31146102ba5780634d459c90146102cb57600080fd5b806301ffc9a7146101ae5780630d8e6e2c146101f05780630fec111c1461020c578063138461e01461022257806317d7de7c1461022c5780631a77e50c14610260575b600080fd5b6101db6101bc366004611d44565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101f8610573565b60405162ffffff90911681526020016101e7565b6102146105fd565b6040516101e7929190611dc5565b61022a61077f565b005b60408051808201909152600f81526e496e7374616e63655365727669636560881b60208201525b6040516101e79190611e6c565b6004546001600160a01b03165b6040516001600160a01b0390911681526020016101e7565b6102ac7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101e7565b6005546001600160a01b031661026d565b6103876102d9366004611e90565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526000805160206124ca83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101e7565b6101db6103f2366004611e90565b6109a1565b61022a610405366004611ec2565b610a54565b6001546001600160a01b031661026d565b600154600160a01b90046001600160601b03166040516001600160601b0390911681526020016101e7565b61022a610454366004611ec2565b610ae1565b6102ac600081565b61026d610b74565b6006546001600160a01b031661026d565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102ac565b6102536040518060400160405280600f81526020016e496e7374616e63655365727669636560881b81525081565b61022a6104dd366004611f74565b610c8d565b6104ea610de7565b6040516001600160401b0390911681526020016101e7565b6101f8610510366004612018565b610e08565b61051d610e59565b60405160ff90911681526020016101e7565b61022a61053d366004611f74565b610edc565b61022a610550366004611ec2565b610fe5565b3061026d565b610563611079565b6040516101e79493929190612031565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156105d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f89190612065565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806106806001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106c8610b74565b6001600160a01b031681526020018260010180546106e590612082565b80601f016020809104026020016040519081016040528092919081815260200182805461071190612082565b801561075e5780601f106107335761010080835404028352916020019161075e565b820191906000526020600020905b81548152906001019060200180831161074157829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107e1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080591906120cc565b1561084c576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166108755760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156108be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e291906120cc565b61090a576040516372657a5160e01b81526001600160a01b0382166004820152602401610843565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610954573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097891906120fe565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6000806000805160206124ca83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610a29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4d9190612119565b1192915050565b6005546001600160a01b031615610abf5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b6064820152608401610843565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031615610b525760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610843565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610bd9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bfd91906120cc565b15610c7d57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610c59573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f8919061213d565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610caf610573565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610cef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d13919061215a565b6000805160206124aa8339815191528054600160401b900460ff1680610d46575080546001600160401b03808416911610155b15610d645760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610d8f85856114ed565b610d988361178c565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006105f86000805160206124aa833981519152546001600160401b031690565b60006000805160206124ca8339815191526001018281548110610e2d57610e2d612183565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000610e63610573565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015610eb8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f891906121b3565b6000805160206124aa8339815191528054600160401b810460ff1615906001600160401b0316600081158015610f0f5750825b90506000826001600160401b03166001148015610f2b5750303b155b905081158015610f39575080155b15610f575760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610f8157845460ff60401b1916600160401b1785555b610f8b88886114ed565b610f958787611794565b8315610fdb57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6006546001600160a01b0316156110575760405162461bcd60e51b815260206004820152603060248201527f4552524f523a4352442d3030333a494e5354414e43455f5245414445525f4d4160448201526f14d5115497d053149150511657d4d15560821b6064820152608401610843565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b600354604051636939560f60e11b81526001600160a01b0390911660048201819052600091829182918291908290829063d272ac1e90602401602060405180830381865afa1580156110cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110f391906120fe565b604051632efe011360e01b815260036004820152600060248201819052604482018190529192506001600160a01b0384169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015611167573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061118b9190612065565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156111e0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061120491906121b3565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa15801561126a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128e919061213d565b60045490915081906112a8906001600160a01b031661195f565b60405163189acdbd60e31b81523360048201529098506001600160a01b0389169063c4d66de890602401600060405180830381600087803b1580156112ec57600080fd5b505af1158015611300573d6000803e3d6000fd5b505060055461131a92506001600160a01b0316905061195f565b60035460405163976b0a7760e01b81529198506001600160a01b03808a169263976b0a7792611354928d9291169088903390600401612031565b600060405180830381600087803b15801561136e57600080fd5b505af1158015611382573d6000803e3d6000fd5b505060405163834af15360e01b81526001600160a01b038a81166004830152600093508416915063834af153906024016000604051808303816000875af11580156113d1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113f9919081019061221d565b508051600654909850909150611417906001600160a01b031661195f565b600354604051633ca904dd60e21b81526001600160a01b0391821660048201526001600160601b038a16602482015291975087169063f2a4137490604401600060405180830381600087803b15801561146f57600080fd5b505af1158015611483573d6000803e3d6000fd5b5050604080516001600160a01b038d811682528c811660208301528a16818301526001600160601b038b16606082015290517f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f39350908190036080019150a1505050505090919293565b6114f56119d1565b6000805160206124ca83398151915260006115256000805160206124aa833981519152546001600160401b031690565b90506000611531610573565b9050816001600160401b031660010361155e5760028301805462ffffff191662ffffff83161790556115ac565b600283015462ffffff908116908216116115ac5760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610843565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611660573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116849190612315565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610dd89083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101a96119d1565b6000805160206124aa8339815191528054600160401b810460ff1615906001600160401b03166000811580156117c75750825b90506000826001600160401b031660011480156117e35750303b155b9050811580156117f1575080155b1561180f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561183957845460ff60401b1916600160401b1785555b60008680602001905181019061184f919061233c565b600380546001600160a01b0319166001600160a01b03939093169283179055604051636939560f60e11b815260048101839052909250600090829063d272ac1e90602401602060405180830381865afa1580156118b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118d491906120fe565b6003549091506118ed906001600160a01b031684611a0a565b6118fd631b4612f160e31b611a97565b61190d63777fa14760e11b611a97565b505050831561195657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b0381166119cc576040516330be1a3d60e21b815260040160405180910390fd5b919050565b6000805160206124aa83398151915254600160401b900460ff16611a0857604051631afcd79f60e31b815260040160405180910390fd5b565b6000611a3860408051808201909152600f81526e496e7374616e63655365727669636560881b602082015290565b611a40610e59565b604051602001611a51929190612376565b60405160208183030381529060405290506000611a6d84611abc565b90506000611a808583603c848888611b2d565b611a90631b4612f160e31b611a97565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015611b03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2791906120fe565b92915050565b611b378287611bb8565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101611ba783826123ea565b506119566303fb044760e21b611a97565b600280546001600160a01b0319166001600160a01b038416179055611bdc81611be0565b5050565b6001546001600160a01b031615611c195760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610843565b6001600160a01b038116611c405760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003611c765760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610843565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263aadfd86760e01b60048201526301ffc9a790602401602060405180830381865afa925050508015611cf0575060408051601f3d908101601f19168201909252611ced918101906120cc565b60015b611d185760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610843565b80611bdc5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610843565b50565b600060208284031215611d5657600080fd5b81356001600160e01b031981168114611d6e57600080fd5b9392505050565b60005b83811015611d90578181015183820152602001611d78565b50506000910152565b60008151808452611db1816020860160208601611d75565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151611e0960a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152611e4f610120840182611d99565b90508281036020840152611e638185611d99565b95945050505050565b602081526000611d6e6020830184611d99565b62ffffff81168114611d4157600080fd5b600060208284031215611ea257600080fd5b8135611d6e81611e7f565b6001600160a01b0381168114611d4157600080fd5b600060208284031215611ed457600080fd5b8135611d6e81611ead565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611f1757611f17611edf565b60405290565b604051601f8201601f191681016001600160401b0381118282101715611f4557611f45611edf565b604052919050565b60006001600160401b03821115611f6657611f66611edf565b50601f01601f191660200190565b600080600060608486031215611f8957600080fd5b8335611f9481611ead565b92506020840135611fa481611ead565b915060408401356001600160401b03811115611fbf57600080fd5b8401601f81018613611fd057600080fd5b8035611fe3611fde82611f4d565b611f1d565b818152876020838501011115611ff857600080fd5b816020840160208301376000602083830101528093505050509250925092565b60006020828403121561202a57600080fd5b5035919050565b6001600160a01b03948516815292841660208401526001600160601b03919091166040830152909116606082015260800190565b60006020828403121561207757600080fd5b8151611d6e81611e7f565b600181811c9082168061209657607f821691505b6020821081036120b657634e487b7160e01b600052602260045260246000fd5b50919050565b805180151581146119cc57600080fd5b6000602082840312156120de57600080fd5b611d6e826120bc565b80516001600160601b03811681146119cc57600080fd5b60006020828403121561211057600080fd5b611d6e826120e7565b60006020828403121561212b57600080fd5b5051919050565b80516119cc81611ead565b60006020828403121561214f57600080fd5b8151611d6e81611ead565b60006020828403121561216c57600080fd5b81516001600160401b0381168114611d6e57600080fd5b634e487b7160e01b600052603260045260246000fd5b60ff81168114611d4157600080fd5b80516119cc81612199565b6000602082840312156121c557600080fd5b8151611d6e81612199565b600082601f8301126121e157600080fd5b81516121ef611fde82611f4d565b81815284602083860101111561220457600080fd5b612215826020830160208701611d75565b949350505050565b6000806040838503121561223057600080fd5b82516001600160401b038082111561224757600080fd5b9084019060e0828703121561225b57600080fd5b612263611ef5565b61226c836120e7565b815261227a602084016120e7565b602082015261228b604084016121a8565b604082015261229c606084016120bc565b60608201526122ad60808401612132565b60808201526122be60a08401612132565b60a082015260c0830151828111156122d557600080fd5b6122e1888286016121d0565b60c08301525060208601519094509150808211156122fe57600080fd5b5061230b858286016121d0565b9150509250929050565b60006020828403121561232757600080fd5b815164ffffffffff81168114611d6e57600080fd5b6000806040838503121561234f57600080fd5b825161235a81611ead565b602084015190925061236b81611ead565b809150509250929050565b6040815260006123896040830185611d99565b905060ff831660208301529392505050565b601f8211156123e557600081815260208120601f850160051c810160208610156123c25750805b601f850160051c820191505b818110156123e1578281556001016123ce565b5050505b505050565b81516001600160401b0381111561240357612403611edf565b612417816124118454612082565b8461239b565b602080601f83116001811461244c57600084156124345750858301515b600019600386901b1c1916600185901b1785556123e1565b600085815260208120601f198616915b8281101561247b5788860151825594840194600190910190840161245c565b50858210156124995787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212205cf35c655ead91be88070b25d70c036ecfb77858ba0f7f45f0cab068d74b25b264736f6c63430008140033",
646
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101a95760003560e01c8063656bc9ef116100f9578063b3c6501511610097578063cf7a1d7711610071578063cf7a1d771461052f578063d6277f9914610542578063de7b5d1414610555578063eeff428e1461055b57600080fd5b8063b3c65015146104e2578063b88da75914610502578063cde749f41461051557600080fd5b806393c48054116100d357806393c4805414610469578063946dfcfe1461047a578063a3f4df7e146104a1578063a745e3df146104cf57600080fd5b8063656bc9ef14610446578063872309c714610459578063893d20e81461046157600080fd5b80631eff4b22116101665780634f421333116101405780634f421333146103e457806355ad7436146103f75780635ab1bd531461040a578063644c45e01461041b57600080fd5b80631eff4b22146102855780633a0b4b31146102ba5780634d459c90146102cb57600080fd5b806301ffc9a7146101ae5780630d8e6e2c146101f05780630fec111c1461020c578063138461e01461022257806317d7de7c1461022c5780631a77e50c14610260575b600080fd5b6101db6101bc366004611d44565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101f8610573565b60405162ffffff90911681526020016101e7565b6102146105fd565b6040516101e7929190611dc5565b61022a61077f565b005b60408051808201909152600f81526e496e7374616e63655365727669636560881b60208201525b6040516101e79190611e6c565b6004546001600160a01b03165b6040516001600160a01b0390911681526020016101e7565b6102ac7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101e7565b6005546001600160a01b031661026d565b6103876102d9366004611e90565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526000805160206124ca83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101e7565b6101db6103f2366004611e90565b6109a1565b61022a610405366004611ec2565b610a54565b6001546001600160a01b031661026d565b600154600160a01b90046001600160601b03166040516001600160601b0390911681526020016101e7565b61022a610454366004611ec2565b610ae1565b6102ac600081565b61026d610b74565b6006546001600160a01b031661026d565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102ac565b6102536040518060400160405280600f81526020016e496e7374616e63655365727669636560881b81525081565b61022a6104dd366004611f74565b610c8d565b6104ea610de7565b6040516001600160401b0390911681526020016101e7565b6101f8610510366004612018565b610e08565b61051d610e59565b60405160ff90911681526020016101e7565b61022a61053d366004611f74565b610edc565b61022a610550366004611ec2565b610fe5565b3061026d565b610563611079565b6040516101e79493929190612031565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156105d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f89190612065565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806106806001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106c8610b74565b6001600160a01b031681526020018260010180546106e590612082565b80601f016020809104026020016040519081016040528092919081815260200182805461071190612082565b801561075e5780601f106107335761010080835404028352916020019161075e565b820191906000526020600020905b81548152906001019060200180831161074157829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107e1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080591906120cc565b1561084c576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166108755760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156108be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e291906120cc565b61090a576040516372657a5160e01b81526001600160a01b0382166004820152602401610843565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610954573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097891906120fe565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6000806000805160206124ca83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610a29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4d9190612119565b1192915050565b6005546001600160a01b031615610abf5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b6064820152608401610843565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031615610b525760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610843565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610bd9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bfd91906120cc565b15610c7d57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610c59573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f8919061213d565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610caf610573565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610cef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d13919061215a565b6000805160206124aa8339815191528054600160401b900460ff1680610d46575080546001600160401b03808416911610155b15610d645760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610d8f85856114ed565b610d988361178c565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006105f86000805160206124aa833981519152546001600160401b031690565b60006000805160206124ca8339815191526001018281548110610e2d57610e2d612183565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000610e63610573565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015610eb8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f891906121b3565b6000805160206124aa8339815191528054600160401b810460ff1615906001600160401b0316600081158015610f0f5750825b90506000826001600160401b03166001148015610f2b5750303b155b905081158015610f39575080155b15610f575760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610f8157845460ff60401b1916600160401b1785555b610f8b88886114ed565b610f958787611794565b8315610fdb57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6006546001600160a01b0316156110575760405162461bcd60e51b815260206004820152603060248201527f4552524f523a4352442d3030333a494e5354414e43455f5245414445525f4d4160448201526f14d5115497d053149150511657d4d15560821b6064820152608401610843565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b600354604051636939560f60e11b81526001600160a01b0390911660048201819052600091829182918291908290829063d272ac1e90602401602060405180830381865afa1580156110cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110f391906120fe565b604051632efe011360e01b815260036004820152600060248201819052604482018190529192506001600160a01b0384169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015611167573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061118b9190612065565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156111e0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061120491906121b3565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa15801561126a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128e919061213d565b60045490915081906112a8906001600160a01b031661195f565b60405163189acdbd60e31b81523360048201529098506001600160a01b0389169063c4d66de890602401600060405180830381600087803b1580156112ec57600080fd5b505af1158015611300573d6000803e3d6000fd5b505060055461131a92506001600160a01b0316905061195f565b60035460405163976b0a7760e01b81529198506001600160a01b03808a169263976b0a7792611354928d9291169088903390600401612031565b600060405180830381600087803b15801561136e57600080fd5b505af1158015611382573d6000803e3d6000fd5b505060405163834af15360e01b81526001600160a01b038a81166004830152600093508416915063834af153906024016000604051808303816000875af11580156113d1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113f9919081019061221d565b508051600654909850909150611417906001600160a01b031661195f565b600354604051633ca904dd60e21b81526001600160a01b0391821660048201526001600160601b038a16602482015291975087169063f2a4137490604401600060405180830381600087803b15801561146f57600080fd5b505af1158015611483573d6000803e3d6000fd5b5050604080516001600160a01b038d811682528c811660208301528a16818301526001600160601b038b16606082015290517f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f39350908190036080019150a1505050505090919293565b6114f56119d1565b6000805160206124ca83398151915260006115256000805160206124aa833981519152546001600160401b031690565b90506000611531610573565b9050816001600160401b031660010361155e5760028301805462ffffff191662ffffff83161790556115ac565b600283015462ffffff908116908216116115ac5760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610843565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611660573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116849190612315565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610dd89083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101a96119d1565b6000805160206124aa8339815191528054600160401b810460ff1615906001600160401b03166000811580156117c75750825b90506000826001600160401b031660011480156117e35750303b155b9050811580156117f1575080155b1561180f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561183957845460ff60401b1916600160401b1785555b60008680602001905181019061184f919061233c565b600380546001600160a01b0319166001600160a01b03939093169283179055604051636939560f60e11b815260048101839052909250600090829063d272ac1e90602401602060405180830381865afa1580156118b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118d491906120fe565b6003549091506118ed906001600160a01b031684611a0a565b6118fd631b4612f160e31b611a97565b61190d63777fa14760e11b611a97565b505050831561195657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b0381166119cc576040516330be1a3d60e21b815260040160405180910390fd5b919050565b6000805160206124aa83398151915254600160401b900460ff16611a0857604051631afcd79f60e31b815260040160405180910390fd5b565b6000611a3860408051808201909152600f81526e496e7374616e63655365727669636560881b602082015290565b611a40610e59565b604051602001611a51929190612376565b60405160208183030381529060405290506000611a6d84611abc565b90506000611a808583603c848888611b2d565b611a90631b4612f160e31b611a97565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015611b03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2791906120fe565b92915050565b611b378287611bb8565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101611ba783826123ea565b506119566303fb044760e21b611a97565b600280546001600160a01b0319166001600160a01b038416179055611bdc81611be0565b5050565b6001546001600160a01b031615611c195760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610843565b6001600160a01b038116611c405760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003611c765760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610843565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263aadfd86760e01b60048201526301ffc9a790602401602060405180830381865afa925050508015611cf0575060408051601f3d908101601f19168201909252611ced918101906120cc565b60015b611d185760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610843565b80611bdc5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610843565b50565b600060208284031215611d5657600080fd5b81356001600160e01b031981168114611d6e57600080fd5b9392505050565b60005b83811015611d90578181015183820152602001611d78565b50506000910152565b60008151808452611db1816020860160208601611d75565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151611e0960a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152611e4f610120840182611d99565b90508281036020840152611e638185611d99565b95945050505050565b602081526000611d6e6020830184611d99565b62ffffff81168114611d4157600080fd5b600060208284031215611ea257600080fd5b8135611d6e81611e7f565b6001600160a01b0381168114611d4157600080fd5b600060208284031215611ed457600080fd5b8135611d6e81611ead565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611f1757611f17611edf565b60405290565b604051601f8201601f191681016001600160401b0381118282101715611f4557611f45611edf565b604052919050565b60006001600160401b03821115611f6657611f66611edf565b50601f01601f191660200190565b600080600060608486031215611f8957600080fd5b8335611f9481611ead565b92506020840135611fa481611ead565b915060408401356001600160401b03811115611fbf57600080fd5b8401601f81018613611fd057600080fd5b8035611fe3611fde82611f4d565b611f1d565b818152876020838501011115611ff857600080fd5b816020840160208301376000602083830101528093505050509250925092565b60006020828403121561202a57600080fd5b5035919050565b6001600160a01b03948516815292841660208401526001600160601b03919091166040830152909116606082015260800190565b60006020828403121561207757600080fd5b8151611d6e81611e7f565b600181811c9082168061209657607f821691505b6020821081036120b657634e487b7160e01b600052602260045260246000fd5b50919050565b805180151581146119cc57600080fd5b6000602082840312156120de57600080fd5b611d6e826120bc565b80516001600160601b03811681146119cc57600080fd5b60006020828403121561211057600080fd5b611d6e826120e7565b60006020828403121561212b57600080fd5b5051919050565b80516119cc81611ead565b60006020828403121561214f57600080fd5b8151611d6e81611ead565b60006020828403121561216c57600080fd5b81516001600160401b0381168114611d6e57600080fd5b634e487b7160e01b600052603260045260246000fd5b60ff81168114611d4157600080fd5b80516119cc81612199565b6000602082840312156121c557600080fd5b8151611d6e81612199565b600082601f8301126121e157600080fd5b81516121ef611fde82611f4d565b81815284602083860101111561220457600080fd5b612215826020830160208701611d75565b949350505050565b6000806040838503121561223057600080fd5b82516001600160401b038082111561224757600080fd5b9084019060e0828703121561225b57600080fd5b612263611ef5565b61226c836120e7565b815261227a602084016120e7565b602082015261228b604084016121a8565b604082015261229c606084016120bc565b60608201526122ad60808401612132565b60808201526122be60a08401612132565b60a082015260c0830151828111156122d557600080fd5b6122e1888286016121d0565b60c08301525060208601519094509150808211156122fe57600080fd5b5061230b858286016121d0565b9150509250929050565b60006020828403121561232757600080fd5b815164ffffffffff81168114611d6e57600080fd5b6000806040838503121561234f57600080fd5b825161235a81611ead565b602084015190925061236b81611ead565b809150509250929050565b6040815260006123896040830185611d99565b905060ff831660208301529392505050565b601f8211156123e557600081815260208120601f850160051c810160208610156123c25750805b601f850160051c820191505b818110156123e1578281556001016123ce565b5050505b505050565b81516001600160401b0381111561240357612403611edf565b612417816124118454612082565b8461239b565b602080601f83116001811461244c57600084156124345750858301515b600019600386901b1c1916600185901b1785556123e1565b600085815260208120601f198616915b8281101561247b5788860151825594840194600190910190840161245c565b50858210156124995787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212205cf35c655ead91be88070b25d70c036ecfb77858ba0f7f45f0cab068d74b25b264736f6c63430008140033",
766
+ "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b614f9f806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c8063872309c711610104578063c22f980d116100a2578063eb59c6b111610071578063eb59c6b114610536578063edabac0314610547578063eeff428e14610558578063feec1190146105a357600080fd5b8063c22f980d146104f7578063cde749f41461050a578063cf7a1d7714610512578063e338e27b1461052557600080fd5b8063a745e3df116100de578063a745e3df1461049c578063b3c65015146104af578063b68d1809146104cf578063b88da759146104e457600080fd5b8063872309c714610465578063893d20e81461046d578063946dfcfe1461047557600080fd5b80633bd516ef116101715780635ab1bd531161014b5780635ab1bd531461041657806363709eaf14610427578063644c45e01461043a57806386ebbf421461045257600080fd5b80633bd516ef146102bf5780634d459c90146102ea5780634f4213331461040357600080fd5b8063103bd5da116101ad578063103bd5da14610248578063138461e01461025b5780631eff4b22146102655780632b440bc91461029a57600080fd5b806301ffc9a7146101d45780630d8e6e2c146102165780630fec111c14610232575b600080fd5b6102016101e2366004614494565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61021e6105b6565b60405162ffffff909116815260200161020d565b61023a610640565b60405161020d929190614515565b6102016102563660046145e6565b6107c2565b6102636108a8565b005b61028c7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161020d565b6003546001600160a01b03165b6040516001600160a01b03909116815260200161020d565b6102d26102cd366004614631565b610aca565b6040516001600160601b03909116815260200161020d565b6103a66102f836600461469e565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020614f4a83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a00161020d565b61020161041136600461469e565b61122c565b6001546001600160a01b03166102a7565b6102636104353660046147bc565b6112df565b600154600160a01b90046001600160601b03166102d2565b610263610460366004614822565b61156d565b61028c600081565b6102a7611743565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed9015461028c565b6102636104aa366004614883565b61185c565b6104b76119b6565b6040516001600160401b03909116815260200161020d565b60465b60405160ff909116815260200161020d565b61021e6104f23660046148ee565b6119d7565b610263610505366004614907565b611a28565b6104d2611c36565b610263610520366004614883565b611cb9565b6004546001600160a01b03166102a7565b6006546001600160a01b03166102a7565b6005546001600160a01b03166102a7565b610560611dc2565b604080516001600160a01b03968716815294861660208601526001600160601b03909316928401929092528316606083015291909116608082015260a00161020d565b6102636105b1366004614924565b6123e0565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610617573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063b9190614941565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806106c36001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161070b611743565b6001600160a01b031681526020018260010180546107289061495e565b80601f01602080910402602001604051908101604052809291908181526020018280546107549061495e565b80156107a15780601f10610776576101008083540402835291602001916107a1565b820191906000526020600020905b81548152906001019060200180831161078457829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6000808290506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610808573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061082c91906149a3565b6040516368fc2b7760e11b81529091506001600160a01b0382169063d1f856ee9061085d9088908a906004016149c0565b602060405180830381865afa15801561087a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089e91906149ed565b9695505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561090a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092e91906149ed565b15610975576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b031661099e5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156109e7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0b91906149ed565b610a33576040516372657a5160e01b81526001600160a01b038216600482015260240161096c565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610a7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa19190614a15565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6000610ad4611743565b6001600160a01b0316336001600160a01b031614610b075760405163700dd81160e01b815233600482015260240161096c565b6003546001600160a01b031615610b785760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b606482015260840161096c565b6004546001600160a01b031615610be35760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b606482015260840161096c565b6006546001600160a01b031615610c545760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030343a42554e444c455f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b606482015260840161096c565b6001600160a01b038516610cb45760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030353a4143434553535f4d414e414745525f5a45526044820152604f60f81b606482015260840161096c565b6001600160a01b038416610d0a5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030363a494e5354414e43455f5a45524f0000000000604482015260640161096c565b6001600160a01b038316610d6b5760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3030373a494e5354414e43455f5245414445525f5a45604482015261524f60f01b606482015260840161096c565b6001600160a01b038216610dcb5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030383a42554e444c455f4d414e414745525f5a45526044820152604f60f81b606482015260840161096c565b600084905060008490506000849050876001600160a01b0316836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e4691906149a3565b6001600160a01b031614610eae5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030393a494e5354414e43455f415554484f524954596044820152680be9a92a69a82a886960bb1b606482015260840161096c565b826001600160a01b0316826001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ef6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1a91906149a3565b6001600160a01b031614610f885760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031303a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b606482015260840161096c565b826001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fd0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff491906149a3565b6001600160a01b0316146110615760405162461bcd60e51b815260206004820152602e60248201527f4552524f523a4352442d3031313a42554e444c455f4d414e414745525f494e5360448201526d0a8829c868abe9a92a69a82a886960931b606482015260840161096c565b600380546001600160a01b03199081166001600160a01b038b8116919091179092556004805482168a8416179055600580548216898416179055600680549091168783161790556001546000911663d39e604360286110be611c36565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611103573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112791906149a3565b6004549091506001600160a01b0390811690600090831663026bc43b8361114c611743565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016000604051808303816000875af1158015611199573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111c19190810190614b46565b50905080600001519650816001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561120657600080fd5b505af115801561121a573d6000803e3d6000fd5b50505050505050505050949350505050565b600080600080516020614f4a83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af41580156112b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112d89190614ba9565b1192915050565b3360006112f46001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038481166004830152919250600091831690638b09a5f090602401600060405180830381865afa158015611340573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113689190810190614bc2565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156113c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ea91906149ed565b156114135760405163aef351c360e01b81526001600160a01b038416600482015260240161096c565b60208101516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa158015611469573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114919190810190614bc2565b60800151905060008190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150091906149a3565b604051634222cc2360e01b81529091506001600160a01b03821690634222cc2390611531908b908b90600401614bf6565b600060405180830381600087803b15801561154b57600080fd5b505af115801561155f573d6000803e3d6000fd5b505050505050505050505050565b336115806001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa1580156115c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ec91906149ed565b611614576040516302613e9f60e51b81526001600160a01b038216600482015260240161096c565b60006116286001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561167b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116a39190810190614bc2565b90506000816080015190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116ee573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061171291906149a3565b6040516317ea2ab560e21b81529091506001600160a01b03821690635fa8aad490611531908a908a90600401614c1a565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156117a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117cc91906149ed565b1561184c57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015611828573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063b91906149a3565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c61187e6105b6565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156118be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e29190614c3e565b600080516020614f2a8339815191528054600160401b900460ff1680611915575080546001600160401b03808416911610155b156119335760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561195e8585612660565b611967836128ff565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b600061063b600080516020614f2a833981519152546001600160401b031690565b6000600080516020614f4a83398151915260010182815481106119fc576119fc614c5b565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000611a3c6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611a8f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ab79190810190614bc2565b90506000816080015190506000816001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b02573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2691906149a3565b9050336001600160a01b03821614611b53576040516302613e9f60e51b815233600482015260240161096c565b600554600090611b6b906001600160a01b0316612907565b60405163485cc95560e01b81526001600160a01b03878116600483015285811660248301529192509082169063485cc95590604401600060405180830381600087803b158015611bba57600080fd5b505af1158015611bce573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528616925063f7bc431c91506024015b600060405180830381600087803b158015611c1657600080fd5b505af1158015611c2a573d6000803e3d6000fd5b50505050505050505050565b6000611c406105b6565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611c95573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063b9190614c71565b600080516020614f2a8339815191528054600160401b810460ff1615906001600160401b0316600081158015611cec5750825b90506000826001600160401b03166001148015611d085750303b155b905081158015611d16575080155b15611d345760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611d5e57845460ff60401b1916600160401b1785555b611d688888612660565b611d728787612979565b8315611db857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6000808080803381611ddc6001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b03821660048201819052919250829160009163d272ac1e90602401602060405180830381865afa158015611e28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e4c9190614a15565b905060006001600160a01b03841663d39e60436028611e69611c36565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611eae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ed291906149a3565b6003549091508190611eec906001600160a01b0316612907565b604051637bee8e7d60e11b8152306004820152909b506001600160a01b038c169063f7dd1cfa90602401600060405180830381600087803b158015611f3057600080fd5b505af1158015611f44573d6000803e3d6000fd5b5050600454611f5e92506001600160a01b03169050612907565b60405163976b0a7760e01b81526001600160a01b038d8116600483015286811660248301526001600160601b0386166044830152336064830152919b50908b169063976b0a7790608401600060405180830381600087803b158015611fc257600080fd5b505af1158015611fd6573d6000803e3d6000fd5b5050600554611ff092506001600160a01b03169050612907565b60405163485cc95560e01b81526001600160a01b0386811660048301528c811660248301529199509089169063485cc95590604401600060405180830381600087803b15801561203f57600080fd5b505af1158015612053573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b038b811660048301528d16925063f7bc431c9150602401600060405180830381600087803b15801561209a57600080fd5b505af11580156120ae573d6000803e3d6000fd5b50506006546120c892506001600160a01b03169050612907565b60405163c0c53b8b60e01b81526001600160a01b038d8116600483015286811660248301528c811660448301529198509088169063c0c53b8b90606401600060405180830381600087803b15801561211f57600080fd5b505af1158015612133573d6000803e3d6000fd5b505060405162422c9d60e81b81526001600160a01b038a811660048301528d16925063422c9d009150602401600060405180830381600087803b15801561217957600080fd5b505af115801561218d573d6000803e3d6000fd5b5050505061219c8b8b89612aa4565b8a6001600160a01b031663b428b0b06121b3612afa565b886040518363ffffffff1660e01b81526004016121d19291906149c0565b6020604051808303816000875af11580156121f0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061221491906149ed565b508a6001600160a01b031663b7d2b16261222c612afa565b306040518363ffffffff1660e01b815260040161224a9291906149c0565b6020604051808303816000875af1158015612269573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061228d91906149ed565b5060405163026bc43b60e01b81526001600160a01b038b8116600483015287811660248301526000919083169063026bc43b906044016000604051808303816000875af11580156122e2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261230a9190810190614b46565b509050806000015199508a6001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561234f57600080fd5b505af1158015612363573d6000803e3d6000fd5b505050507f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f38c8c8b8d6040516123ca94939291906001600160a01b0394851681529284166020840152921660408201526001600160601b0391909116606082015260800190565b60405180910390a1505050505050509091929394565b6123e8611743565b6001600160a01b0316336001600160a01b03161461241b5760405163700dd81160e01b815233600482015260240161096c565b6005546001600160a01b03166124885760405162461bcd60e51b815260206004820152602c60248201527f4552524f523a4352442d3030333a494e5354414e43455f5245414445525f4d4160448201526b14d5115497d393d517d4d15560a21b606482015260840161096c565b6001600160a01b0381166124e95760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3031323a494e5354414e43455f5245414445525f5a45604482015261524f60f01b606482015260840161096c565b6005546001600160a01b03908116908216036125605760405162461bcd60e51b815260206004820152603060248201527f4552524f523a4352442d3031343a494e5354414e43455f5245414445525f4d4160448201526f535445525f53414d455f41535f4e455760801b606482015260840161096c565b600480546040805163379ed74560e21b8152905184936001600160a01b039384169385169263de7b5d1492818301926020928290030181865afa1580156125ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125cf91906149a3565b6001600160a01b03161461263d5760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031353a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b606482015260840161096c565b50600580546001600160a01b0319166001600160a01b0392909216919091179055565b612668612b72565b600080516020614f4a8339815191526000612698600080516020614f2a833981519152546001600160401b031690565b905060006126a46105b6565b9050816001600160401b03166001036126d15760028301805462ffffff191662ffffff831617905561271f565b600283015462ffffff9081169082161161271f5760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b604482015260640161096c565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af41580156127d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127f79190614c8e565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906119a79083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101cf612b72565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116612974576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600080516020614f2a8339815191528054600160401b810460ff1615906001600160401b03166000811580156129ac5750825b90506000826001600160401b031660011480156129c85750303b155b9050811580156129d6575080155b156129f45760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315612a1e57845460ff60401b1916600160401b1785555b60008087806020019051810190612a359190614cb5565b92509050612a43818a612bab565b612a53639db409fb60e01b612c16565b50508315612a9b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b612aad83612c3b565b612ab8838383613192565b612ac2838361324a565b612acc8383613459565b612ad6838361364c565b612ae08383613899565b612aeb838383613a78565b612af58383613dea565b505050565b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015612b4e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063b9190614c3e565b600080516020614f2a83398151915254600160401b900460ff16612ba957604051631afcd79f60e31b815260040160405180910390fd5b565b60006046612bb7611c36565b6040805160ff9384166020820152929091169082015260600160405160208183030381529060405290506000612bec84613f5a565b90506000612bff8583603c848888613fcb565b612c0f637b6a51fd60e01b612c16565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b806001600160a01b0316635d66f90a612c52614097565b604080516001600160e01b031960e085901b1681526001600160401b03909216600483015260248201526015604482015274446973747269627574696f6e4f776e6572526f6c6560581b6064820152608401600060405180830381600087803b158015612cbe57600080fd5b505af1158015612cd2573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612ced6140d2565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152600d60448201526c506f6f6c4f776e6572526f6c6560981b6064820152608401600060405180830381600087803b158015612d5157600080fd5b505af1158015612d65573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612d8061410e565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601060448201526f50726f647563744f776e6572526f6c6560801b6064820152608401600060405180830381600087803b158015612de757600080fd5b505af1158015612dfb573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612e1661414a565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601760448201527f446973747269627574696f6e53657276696365526f6c650000000000000000006064820152608401600060405180830381600087803b158015612e8a57600080fd5b505af1158015612e9e573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612eb9614186565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152600f60448201526e506f6f6c53657276696365526f6c6560881b6064820152608401600060405180830381600087803b158015612f1f57600080fd5b505af1158015612f33573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612f4e6141c2565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601260448201527150726f6475637453657276696365526f6c6560701b6064820152608401600060405180830381600087803b158015612fb757600080fd5b505af1158015612fcb573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612fe66141fe565b604080516001600160e01b031960e085901b1681526001600160401b03909216600483015260248201526011604482015270506f6c69637953657276696365526f6c6560781b6064820152608401600060405180830381600087803b15801561304e57600080fd5b505af1158015613062573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a61307d61423a565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601160448201527042756e646c6553657276696365526f6c6560781b6064820152608401600060405180830381600087803b1580156130e557600080fd5b505af11580156130f9573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a613114614276565b604080516001600160e01b031960e085901b1681526001600160401b03909216600483015260248201526013604482015272496e7374616e636553657276696365526f6c6560681b6064820152608401600060405180830381600087803b15801561317e57600080fd5b505af1158015612c0f573d6000803e3d6000fd5b60405163044ec4c360e41b81526001600160a01b038416906344ec4c30906131be908590600401614ce4565b600060405180830381600087803b1580156131d857600080fd5b505af11580156131ec573d6000803e3d6000fd5b505060405163044ec4c360e41b81526001600160a01b03861692506344ec4c30915061321c908490600401614d1b565b600060405180830381600087803b15801561323657600080fd5b505af1158015612a9b573d6000803e3d6000fd5b600061325e6001546001600160a01b031690565b905060006001600160a01b03821663d39e6043607861327b611c36565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156132c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132e491906149a3565b9050836001600160a01b031663b428b0b06132fd61414a565b836040518363ffffffff1660e01b815260040161331b9291906149c0565b6020604051808303816000875af115801561333a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061335e91906149ed565b50604080516002808252606082018352600092602083019080368337019050509050630b24cf5f60e01b8160008151811061339b5761339b614c5b565b6001600160e01b031990921660209283029190910190910152805163bd5947e360e01b90829060019081106133d2576133d2614c5b565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166329db8c3d8261340361414a565b6040518363ffffffff1660e01b8152600401613420929190614d9c565b600060405180830381600087803b15801561343a57600080fd5b505af115801561344e573d6000803e3d6000fd5b505050505050505050565b6001546000906001600160a01b031663d39e6043608c613477611c36565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156134bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134e091906149a3565b9050826001600160a01b031663b428b0b06134f9614186565b836040518363ffffffff1660e01b81526004016135179291906149c0565b6020604051808303816000875af1158015613536573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061355a91906149ed565b5060408051600480825260a082019092526000916020820160808036833701905050905063e7cd37d460e01b8160008151811061359957613599614c5b565b6001600160e01b0319909216602092830291909101909101528051633055195560e11b90829060019081106135d0576135d0614c5b565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d82613601614186565b6040518363ffffffff1660e01b815260040161361e929190614d9c565b600060405180830381600087803b15801561363857600080fd5b505af1158015611db8573d6000803e3d6000fd5b6001546000906001600160a01b031663d39e6043606e61366a611c36565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156136af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136d391906149a3565b9050826001600160a01b031663b428b0b06136ec6141c2565b836040518363ffffffff1660e01b815260040161370a9291906149c0565b6020604051808303816000875af1158015613729573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061374d91906149ed565b5060408051600580825260c082019092526000916020820160a0803683370190505090506391ff6eaa60e01b8160008151811061378c5761378c614c5b565b6001600160e01b03199092166020928302919091019091015280516354e750a160e11b90829060019081106137c3576137c3614c5b565b6001600160e01b03199092166020928302919091019091015280516317b0844560e11b90829060029081106137fa576137fa614c5b565b6001600160e01b03199092166020928302919091019091015280516314eddc0360e31b908290600390811061383157613831614c5b565b6001600160e01b0319909216602092830291909101909101528051633e77a42160e11b908290600490811061386857613868614c5b565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d826136016141c2565b6001546000906001600160a01b031663d39e604360d26138b7611c36565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156138fc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061392091906149a3565b9050826001600160a01b031663b428b0b06139396141fe565b836040518363ffffffff1660e01b81526004016139579291906149c0565b6020604051808303816000875af1158015613976573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061399a91906149ed565b50604080516003808252608082019092526000916020820160608036833701905050905063bc8d400060e01b816000815181106139d9576139d9614c5b565b6001600160e01b0319909216602092830291909101909101528051634d4b06a960e11b9082906001908110613a1057613a10614c5b565b6001600160e01b0319909216602092830291909101909101528051631750d17360e21b9082906002908110613a4757613a47614c5b565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d826136016141fe565b6001546000906001600160a01b031663d39e604360dc613a96611c36565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613adb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613aff91906149a3565b9050836001600160a01b031663b428b0b0613b1861423a565b836040518363ffffffff1660e01b8152600401613b369291906149c0565b6020604051808303816000875af1158015613b55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b7991906149ed565b50604080516002808252606082018352600092602083019080368337019050509050636071a68e60e01b81600081518110613bb657613bb6614c5b565b6001600160e01b03199092166020928302919091019091015280516307f8b57360e31b9082906001908110613bed57613bed614c5b565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166329db8c3d82613c1e61423a565b6040518363ffffffff1660e01b8152600401613c3b929190614d9c565b600060405180830381600087803b158015613c5557600080fd5b505af1158015613c69573d6000803e3d6000fd5b506000925060059150613c799050565b604051908082528060200260200182016040528015613ca2578160200160208202803683370190505b509050630cc7e61460e01b81600081518110613cc057613cc0614c5b565b6001600160e01b0319909216602092830291909101909101528051631351fccf60e31b9082906001908110613cf757613cf7614c5b565b6001600160e01b03199092166020928302919091019091015280516346f0e8a760e11b9082906002908110613d2e57613d2e614c5b565b6001600160e01b031990921660209283029190910190910152805163b5346af560e01b9082906003908110613d6557613d65614c5b565b6001600160e01b03199092166020928302919091019091015280516306fa456560e01b9082906004908110613d9c57613d9c614c5b565b6001600160e01b0319909216602092830291909101909101526001600160a01b0386166329db8c3d82613dcd61423a565b6040518363ffffffff1660e01b8152600401611bfc929190614def565b6001546000906001600160a01b031663d39e60436046613e08611c36565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613e4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e7191906149a3565b9050826001600160a01b031663b428b0b0613e8a614276565b836040518363ffffffff1660e01b8152600401613ea89291906149c0565b6020604051808303816000875af1158015613ec7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613eeb91906149ed565b506040805160018082528183019092526000916020808301908036833701905050905063f7bc431c60e01b81600081518110613f2957613f29614c5b565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d82613601614276565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015613fa1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613fc59190614a15565b92915050565b61400c6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61401682876142b2565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016140868382614e6a565b50612a9b6303fb044760e21b612c16565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612b31565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612b31565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612b31565b6040516368aebf7b60e01b8152610834600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612b31565b6040516368aebf7b60e01b8152610898600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612b31565b6040516368aebf7b60e01b81526108fc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612b31565b6040516368aebf7b60e01b8152610960600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612b31565b6040516368aebf7b60e01b81526109c4600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612b31565b6040516368aebf7b60e01b81526107d0600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612b31565b6001600160a01b0382166143085760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e657220697320300000604482015260640161096c565b600280546001600160a01b0319166001600160a01b03841617905561432c81614330565b5050565b6001546001600160a01b0316156143695760015460405163fcdbf2d960e01b81526001600160a01b03909116600482015260240161096c565b6001600160a01b0381166143905760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036143c65760405163fdeac91f60e01b81526001600160a01b038216600482015260240161096c565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263102da10360e01b60048201526301ffc9a790602401602060405180830381865afa925050508015614440575060408051601f3d908101601f1916820190925261443d918101906149ed565b60015b6144685760405163fdeac91f60e01b81526001600160a01b038216600482015260240161096c565b8061432c5760405163fdeac91f60e01b81526001600160a01b038316600482015260240161096c565b50565b6000602082840312156144a657600080fd5b81356001600160e01b0319811681146144be57600080fd5b9392505050565b60005b838110156144e05781810151838201526020016144c8565b50506000910152565b600081518084526145018160208601602086016144c5565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161455960a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e061010084015261459f6101208401826144e9565b905082810360208401526145b381856144e9565b95945050505050565b6001600160a01b038116811461449157600080fd5b6001600160401b038116811461449157600080fd5b6000806000606084860312156145fb57600080fd5b8335614606816145bc565b92506020840135614616816145d1565b91506040840135614626816145bc565b809150509250925092565b6000806000806080858703121561464757600080fd5b8435614652816145bc565b93506020850135614662816145bc565b92506040850135614672816145bc565b91506060850135614682816145bc565b939692955090935050565b62ffffff8116811461449157600080fd5b6000602082840312156146b057600080fd5b81356144be8161468d565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156146f3576146f36146bb565b60405290565b604051601f8201601f191681016001600160401b0381118282101715614721576147216146bb565b604052919050565b60006001600160401b03821115614742576147426146bb565b50601f01601f191660200190565b600061476361475e84614729565b6146f9565b905082815283838301111561477757600080fd5b828260208301376000602084830101529392505050565b600082601f83011261479f57600080fd5b6144be83833560208501614750565b801515811461449157600080fd5b600080604083850312156147cf57600080fd5b82356001600160401b038111156147e557600080fd5b6147f18582860161478e565b9250506020830135614802816147ae565b809150509250929050565b6001600160601b038116811461449157600080fd5b60008060006060848603121561483757600080fd5b83356148428161480d565b92506020840135614852816145bc565b915060408401356001600160401b0381111561486d57600080fd5b6148798682870161478e565b9150509250925092565b60008060006060848603121561489857600080fd5b83356148a3816145bc565b925060208401356148b3816145bc565b915060408401356001600160401b038111156148ce57600080fd5b8401601f810186136148df57600080fd5b61487986823560208401614750565b60006020828403121561490057600080fd5b5035919050565b60006020828403121561491957600080fd5b81356144be8161480d565b60006020828403121561493657600080fd5b81356144be816145bc565b60006020828403121561495357600080fd5b81516144be8161468d565b600181811c9082168061497257607f821691505b60208210810361499257634e487b7160e01b600052602260045260246000fd5b50919050565b8051612974816145bc565b6000602082840312156149b557600080fd5b81516144be816145bc565b6001600160401b039290921682526001600160a01b0316602082015260400190565b8051612974816147ae565b6000602082840312156149ff57600080fd5b81516144be816147ae565b80516129748161480d565b600060208284031215614a2757600080fd5b81516144be8161480d565b60ff8116811461449157600080fd5b805161297481614a32565b600082601f830112614a5d57600080fd5b8151614a6b61475e82614729565b818152846020838601011115614a8057600080fd5b614a918260208301602087016144c5565b949350505050565b600060e08284031215614aab57600080fd5b614ab36146d1565b9050614abe82614a0a565b8152614acc60208301614a0a565b6020820152614add60408301614a41565b6040820152614aee606083016149e2565b6060820152614aff60808301614998565b6080820152614b1060a08301614998565b60a082015260c08201516001600160401b03811115614b2e57600080fd5b614b3a84828501614a4c565b60c08301525092915050565b60008060408385031215614b5957600080fd5b82516001600160401b0380821115614b7057600080fd5b614b7c86838701614a99565b93506020850151915080821115614b9257600080fd5b50614b9f85828601614a4c565b9150509250929050565b600060208284031215614bbb57600080fd5b5051919050565b600060208284031215614bd457600080fd5b81516001600160401b03811115614bea57600080fd5b614a9184828501614a99565b604081526000614c0960408301856144e9565b905082151560208301529392505050565b6001600160a01b0383168152604060208201819052600090614a91908301846144e9565b600060208284031215614c5057600080fd5b81516144be816145d1565b634e487b7160e01b600052603260045260246000fd5b600060208284031215614c8357600080fd5b81516144be81614a32565b600060208284031215614ca057600080fd5b815164ffffffffff811681146144be57600080fd5b60008060408385031215614cc857600080fd5b8251614cd3816145bc565b6020840151909250614802816145bc565b6001600160a01b038216815260406020820181905260089082015267496e7374616e636560c01b60608201526000608082016144be565b6001600160a01b0382168152604060208201819052600d908201526c213ab7323632a6b0b730b3b2b960991b60608201526000608082016144be565b600081518084526020808501945080840160005b83811015614d915781516001600160e01b03191687529582019590820190600101614d6b565b509495945050505050565b606081526000614dc4606083016008815267496e7374616e636560c01b602082015260400190565b8281036020840152614dd68186614d57565b9150506001600160401b03831660408301529392505050565b606081526000614dc460608301600d81526c213ab7323632a6b0b730b3b2b960991b602082015260400190565b601f821115612af557600081815260208120601f850160051c81016020861015614e435750805b601f850160051c820191505b81811015614e6257828155600101614e4f565b505050505050565b81516001600160401b03811115614e8357614e836146bb565b614e9781614e91845461495e565b84614e1c565b602080601f831160018114614ecc5760008415614eb45750858301515b600019600386901b1c1916600185901b178555614e62565b600085815260208120601f198616915b82811015614efb57888601518255948401946001909101908401614edc565b5085821015614f195787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212208f4e706ab4b9daff5650c35de8ac90bacf457d38f2057f840b2f8e1ddca579e864736f6c63430008140033",
767
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c8063872309c711610104578063c22f980d116100a2578063eb59c6b111610071578063eb59c6b114610536578063edabac0314610547578063eeff428e14610558578063feec1190146105a357600080fd5b8063c22f980d146104f7578063cde749f41461050a578063cf7a1d7714610512578063e338e27b1461052557600080fd5b8063a745e3df116100de578063a745e3df1461049c578063b3c65015146104af578063b68d1809146104cf578063b88da759146104e457600080fd5b8063872309c714610465578063893d20e81461046d578063946dfcfe1461047557600080fd5b80633bd516ef116101715780635ab1bd531161014b5780635ab1bd531461041657806363709eaf14610427578063644c45e01461043a57806386ebbf421461045257600080fd5b80633bd516ef146102bf5780634d459c90146102ea5780634f4213331461040357600080fd5b8063103bd5da116101ad578063103bd5da14610248578063138461e01461025b5780631eff4b22146102655780632b440bc91461029a57600080fd5b806301ffc9a7146101d45780630d8e6e2c146102165780630fec111c14610232575b600080fd5b6102016101e2366004614494565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61021e6105b6565b60405162ffffff909116815260200161020d565b61023a610640565b60405161020d929190614515565b6102016102563660046145e6565b6107c2565b6102636108a8565b005b61028c7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161020d565b6003546001600160a01b03165b6040516001600160a01b03909116815260200161020d565b6102d26102cd366004614631565b610aca565b6040516001600160601b03909116815260200161020d565b6103a66102f836600461469e565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020614f4a83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a00161020d565b61020161041136600461469e565b61122c565b6001546001600160a01b03166102a7565b6102636104353660046147bc565b6112df565b600154600160a01b90046001600160601b03166102d2565b610263610460366004614822565b61156d565b61028c600081565b6102a7611743565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed9015461028c565b6102636104aa366004614883565b61185c565b6104b76119b6565b6040516001600160401b03909116815260200161020d565b60465b60405160ff909116815260200161020d565b61021e6104f23660046148ee565b6119d7565b610263610505366004614907565b611a28565b6104d2611c36565b610263610520366004614883565b611cb9565b6004546001600160a01b03166102a7565b6006546001600160a01b03166102a7565b6005546001600160a01b03166102a7565b610560611dc2565b604080516001600160a01b03968716815294861660208601526001600160601b03909316928401929092528316606083015291909116608082015260a00161020d565b6102636105b1366004614924565b6123e0565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610617573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063b9190614941565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806106c36001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161070b611743565b6001600160a01b031681526020018260010180546107289061495e565b80601f01602080910402602001604051908101604052809291908181526020018280546107549061495e565b80156107a15780601f10610776576101008083540402835291602001916107a1565b820191906000526020600020905b81548152906001019060200180831161078457829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6000808290506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610808573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061082c91906149a3565b6040516368fc2b7760e11b81529091506001600160a01b0382169063d1f856ee9061085d9088908a906004016149c0565b602060405180830381865afa15801561087a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089e91906149ed565b9695505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561090a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092e91906149ed565b15610975576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b031661099e5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156109e7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0b91906149ed565b610a33576040516372657a5160e01b81526001600160a01b038216600482015260240161096c565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610a7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa19190614a15565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6000610ad4611743565b6001600160a01b0316336001600160a01b031614610b075760405163700dd81160e01b815233600482015260240161096c565b6003546001600160a01b031615610b785760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b606482015260840161096c565b6004546001600160a01b031615610be35760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b606482015260840161096c565b6006546001600160a01b031615610c545760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030343a42554e444c455f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b606482015260840161096c565b6001600160a01b038516610cb45760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030353a4143434553535f4d414e414745525f5a45526044820152604f60f81b606482015260840161096c565b6001600160a01b038416610d0a5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030363a494e5354414e43455f5a45524f0000000000604482015260640161096c565b6001600160a01b038316610d6b5760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3030373a494e5354414e43455f5245414445525f5a45604482015261524f60f01b606482015260840161096c565b6001600160a01b038216610dcb5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030383a42554e444c455f4d414e414745525f5a45526044820152604f60f81b606482015260840161096c565b600084905060008490506000849050876001600160a01b0316836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e4691906149a3565b6001600160a01b031614610eae5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030393a494e5354414e43455f415554484f524954596044820152680be9a92a69a82a886960bb1b606482015260840161096c565b826001600160a01b0316826001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ef6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1a91906149a3565b6001600160a01b031614610f885760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031303a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b606482015260840161096c565b826001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fd0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff491906149a3565b6001600160a01b0316146110615760405162461bcd60e51b815260206004820152602e60248201527f4552524f523a4352442d3031313a42554e444c455f4d414e414745525f494e5360448201526d0a8829c868abe9a92a69a82a886960931b606482015260840161096c565b600380546001600160a01b03199081166001600160a01b038b8116919091179092556004805482168a8416179055600580548216898416179055600680549091168783161790556001546000911663d39e604360286110be611c36565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611103573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112791906149a3565b6004549091506001600160a01b0390811690600090831663026bc43b8361114c611743565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016000604051808303816000875af1158015611199573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111c19190810190614b46565b50905080600001519650816001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561120657600080fd5b505af115801561121a573d6000803e3d6000fd5b50505050505050505050949350505050565b600080600080516020614f4a83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af41580156112b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112d89190614ba9565b1192915050565b3360006112f46001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038481166004830152919250600091831690638b09a5f090602401600060405180830381865afa158015611340573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113689190810190614bc2565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156113c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ea91906149ed565b156114135760405163aef351c360e01b81526001600160a01b038416600482015260240161096c565b60208101516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa158015611469573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114919190810190614bc2565b60800151905060008190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150091906149a3565b604051634222cc2360e01b81529091506001600160a01b03821690634222cc2390611531908b908b90600401614bf6565b600060405180830381600087803b15801561154b57600080fd5b505af115801561155f573d6000803e3d6000fd5b505050505050505050505050565b336115806001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa1580156115c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ec91906149ed565b611614576040516302613e9f60e51b81526001600160a01b038216600482015260240161096c565b60006116286001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561167b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116a39190810190614bc2565b90506000816080015190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116ee573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061171291906149a3565b6040516317ea2ab560e21b81529091506001600160a01b03821690635fa8aad490611531908a908a90600401614c1a565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156117a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117cc91906149ed565b1561184c57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015611828573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063b91906149a3565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c61187e6105b6565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156118be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e29190614c3e565b600080516020614f2a8339815191528054600160401b900460ff1680611915575080546001600160401b03808416911610155b156119335760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561195e8585612660565b611967836128ff565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b600061063b600080516020614f2a833981519152546001600160401b031690565b6000600080516020614f4a83398151915260010182815481106119fc576119fc614c5b565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000611a3c6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611a8f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ab79190810190614bc2565b90506000816080015190506000816001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b02573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2691906149a3565b9050336001600160a01b03821614611b53576040516302613e9f60e51b815233600482015260240161096c565b600554600090611b6b906001600160a01b0316612907565b60405163485cc95560e01b81526001600160a01b03878116600483015285811660248301529192509082169063485cc95590604401600060405180830381600087803b158015611bba57600080fd5b505af1158015611bce573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528616925063f7bc431c91506024015b600060405180830381600087803b158015611c1657600080fd5b505af1158015611c2a573d6000803e3d6000fd5b50505050505050505050565b6000611c406105b6565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611c95573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063b9190614c71565b600080516020614f2a8339815191528054600160401b810460ff1615906001600160401b0316600081158015611cec5750825b90506000826001600160401b03166001148015611d085750303b155b905081158015611d16575080155b15611d345760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611d5e57845460ff60401b1916600160401b1785555b611d688888612660565b611d728787612979565b8315611db857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6000808080803381611ddc6001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b03821660048201819052919250829160009163d272ac1e90602401602060405180830381865afa158015611e28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e4c9190614a15565b905060006001600160a01b03841663d39e60436028611e69611c36565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611eae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ed291906149a3565b6003549091508190611eec906001600160a01b0316612907565b604051637bee8e7d60e11b8152306004820152909b506001600160a01b038c169063f7dd1cfa90602401600060405180830381600087803b158015611f3057600080fd5b505af1158015611f44573d6000803e3d6000fd5b5050600454611f5e92506001600160a01b03169050612907565b60405163976b0a7760e01b81526001600160a01b038d8116600483015286811660248301526001600160601b0386166044830152336064830152919b50908b169063976b0a7790608401600060405180830381600087803b158015611fc257600080fd5b505af1158015611fd6573d6000803e3d6000fd5b5050600554611ff092506001600160a01b03169050612907565b60405163485cc95560e01b81526001600160a01b0386811660048301528c811660248301529199509089169063485cc95590604401600060405180830381600087803b15801561203f57600080fd5b505af1158015612053573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b038b811660048301528d16925063f7bc431c9150602401600060405180830381600087803b15801561209a57600080fd5b505af11580156120ae573d6000803e3d6000fd5b50506006546120c892506001600160a01b03169050612907565b60405163c0c53b8b60e01b81526001600160a01b038d8116600483015286811660248301528c811660448301529198509088169063c0c53b8b90606401600060405180830381600087803b15801561211f57600080fd5b505af1158015612133573d6000803e3d6000fd5b505060405162422c9d60e81b81526001600160a01b038a811660048301528d16925063422c9d009150602401600060405180830381600087803b15801561217957600080fd5b505af115801561218d573d6000803e3d6000fd5b5050505061219c8b8b89612aa4565b8a6001600160a01b031663b428b0b06121b3612afa565b886040518363ffffffff1660e01b81526004016121d19291906149c0565b6020604051808303816000875af11580156121f0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061221491906149ed565b508a6001600160a01b031663b7d2b16261222c612afa565b306040518363ffffffff1660e01b815260040161224a9291906149c0565b6020604051808303816000875af1158015612269573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061228d91906149ed565b5060405163026bc43b60e01b81526001600160a01b038b8116600483015287811660248301526000919083169063026bc43b906044016000604051808303816000875af11580156122e2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261230a9190810190614b46565b509050806000015199508a6001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561234f57600080fd5b505af1158015612363573d6000803e3d6000fd5b505050507f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f38c8c8b8d6040516123ca94939291906001600160a01b0394851681529284166020840152921660408201526001600160601b0391909116606082015260800190565b60405180910390a1505050505050509091929394565b6123e8611743565b6001600160a01b0316336001600160a01b03161461241b5760405163700dd81160e01b815233600482015260240161096c565b6005546001600160a01b03166124885760405162461bcd60e51b815260206004820152602c60248201527f4552524f523a4352442d3030333a494e5354414e43455f5245414445525f4d4160448201526b14d5115497d393d517d4d15560a21b606482015260840161096c565b6001600160a01b0381166124e95760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3031323a494e5354414e43455f5245414445525f5a45604482015261524f60f01b606482015260840161096c565b6005546001600160a01b03908116908216036125605760405162461bcd60e51b815260206004820152603060248201527f4552524f523a4352442d3031343a494e5354414e43455f5245414445525f4d4160448201526f535445525f53414d455f41535f4e455760801b606482015260840161096c565b600480546040805163379ed74560e21b8152905184936001600160a01b039384169385169263de7b5d1492818301926020928290030181865afa1580156125ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125cf91906149a3565b6001600160a01b03161461263d5760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031353a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b606482015260840161096c565b50600580546001600160a01b0319166001600160a01b0392909216919091179055565b612668612b72565b600080516020614f4a8339815191526000612698600080516020614f2a833981519152546001600160401b031690565b905060006126a46105b6565b9050816001600160401b03166001036126d15760028301805462ffffff191662ffffff831617905561271f565b600283015462ffffff9081169082161161271f5760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b604482015260640161096c565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af41580156127d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127f79190614c8e565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906119a79083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101cf612b72565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116612974576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600080516020614f2a8339815191528054600160401b810460ff1615906001600160401b03166000811580156129ac5750825b90506000826001600160401b031660011480156129c85750303b155b9050811580156129d6575080155b156129f45760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315612a1e57845460ff60401b1916600160401b1785555b60008087806020019051810190612a359190614cb5565b92509050612a43818a612bab565b612a53639db409fb60e01b612c16565b50508315612a9b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b612aad83612c3b565b612ab8838383613192565b612ac2838361324a565b612acc8383613459565b612ad6838361364c565b612ae08383613899565b612aeb838383613a78565b612af58383613dea565b505050565b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015612b4e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063b9190614c3e565b600080516020614f2a83398151915254600160401b900460ff16612ba957604051631afcd79f60e31b815260040160405180910390fd5b565b60006046612bb7611c36565b6040805160ff9384166020820152929091169082015260600160405160208183030381529060405290506000612bec84613f5a565b90506000612bff8583603c848888613fcb565b612c0f637b6a51fd60e01b612c16565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b806001600160a01b0316635d66f90a612c52614097565b604080516001600160e01b031960e085901b1681526001600160401b03909216600483015260248201526015604482015274446973747269627574696f6e4f776e6572526f6c6560581b6064820152608401600060405180830381600087803b158015612cbe57600080fd5b505af1158015612cd2573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612ced6140d2565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152600d60448201526c506f6f6c4f776e6572526f6c6560981b6064820152608401600060405180830381600087803b158015612d5157600080fd5b505af1158015612d65573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612d8061410e565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601060448201526f50726f647563744f776e6572526f6c6560801b6064820152608401600060405180830381600087803b158015612de757600080fd5b505af1158015612dfb573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612e1661414a565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601760448201527f446973747269627574696f6e53657276696365526f6c650000000000000000006064820152608401600060405180830381600087803b158015612e8a57600080fd5b505af1158015612e9e573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612eb9614186565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152600f60448201526e506f6f6c53657276696365526f6c6560881b6064820152608401600060405180830381600087803b158015612f1f57600080fd5b505af1158015612f33573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612f4e6141c2565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601260448201527150726f6475637453657276696365526f6c6560701b6064820152608401600060405180830381600087803b158015612fb757600080fd5b505af1158015612fcb573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612fe66141fe565b604080516001600160e01b031960e085901b1681526001600160401b03909216600483015260248201526011604482015270506f6c69637953657276696365526f6c6560781b6064820152608401600060405180830381600087803b15801561304e57600080fd5b505af1158015613062573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a61307d61423a565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601160448201527042756e646c6553657276696365526f6c6560781b6064820152608401600060405180830381600087803b1580156130e557600080fd5b505af11580156130f9573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a613114614276565b604080516001600160e01b031960e085901b1681526001600160401b03909216600483015260248201526013604482015272496e7374616e636553657276696365526f6c6560681b6064820152608401600060405180830381600087803b15801561317e57600080fd5b505af1158015612c0f573d6000803e3d6000fd5b60405163044ec4c360e41b81526001600160a01b038416906344ec4c30906131be908590600401614ce4565b600060405180830381600087803b1580156131d857600080fd5b505af11580156131ec573d6000803e3d6000fd5b505060405163044ec4c360e41b81526001600160a01b03861692506344ec4c30915061321c908490600401614d1b565b600060405180830381600087803b15801561323657600080fd5b505af1158015612a9b573d6000803e3d6000fd5b600061325e6001546001600160a01b031690565b905060006001600160a01b03821663d39e6043607861327b611c36565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156132c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132e491906149a3565b9050836001600160a01b031663b428b0b06132fd61414a565b836040518363ffffffff1660e01b815260040161331b9291906149c0565b6020604051808303816000875af115801561333a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061335e91906149ed565b50604080516002808252606082018352600092602083019080368337019050509050630b24cf5f60e01b8160008151811061339b5761339b614c5b565b6001600160e01b031990921660209283029190910190910152805163bd5947e360e01b90829060019081106133d2576133d2614c5b565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166329db8c3d8261340361414a565b6040518363ffffffff1660e01b8152600401613420929190614d9c565b600060405180830381600087803b15801561343a57600080fd5b505af115801561344e573d6000803e3d6000fd5b505050505050505050565b6001546000906001600160a01b031663d39e6043608c613477611c36565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156134bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134e091906149a3565b9050826001600160a01b031663b428b0b06134f9614186565b836040518363ffffffff1660e01b81526004016135179291906149c0565b6020604051808303816000875af1158015613536573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061355a91906149ed565b5060408051600480825260a082019092526000916020820160808036833701905050905063e7cd37d460e01b8160008151811061359957613599614c5b565b6001600160e01b0319909216602092830291909101909101528051633055195560e11b90829060019081106135d0576135d0614c5b565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d82613601614186565b6040518363ffffffff1660e01b815260040161361e929190614d9c565b600060405180830381600087803b15801561363857600080fd5b505af1158015611db8573d6000803e3d6000fd5b6001546000906001600160a01b031663d39e6043606e61366a611c36565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156136af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136d391906149a3565b9050826001600160a01b031663b428b0b06136ec6141c2565b836040518363ffffffff1660e01b815260040161370a9291906149c0565b6020604051808303816000875af1158015613729573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061374d91906149ed565b5060408051600580825260c082019092526000916020820160a0803683370190505090506391ff6eaa60e01b8160008151811061378c5761378c614c5b565b6001600160e01b03199092166020928302919091019091015280516354e750a160e11b90829060019081106137c3576137c3614c5b565b6001600160e01b03199092166020928302919091019091015280516317b0844560e11b90829060029081106137fa576137fa614c5b565b6001600160e01b03199092166020928302919091019091015280516314eddc0360e31b908290600390811061383157613831614c5b565b6001600160e01b0319909216602092830291909101909101528051633e77a42160e11b908290600490811061386857613868614c5b565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d826136016141c2565b6001546000906001600160a01b031663d39e604360d26138b7611c36565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156138fc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061392091906149a3565b9050826001600160a01b031663b428b0b06139396141fe565b836040518363ffffffff1660e01b81526004016139579291906149c0565b6020604051808303816000875af1158015613976573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061399a91906149ed565b50604080516003808252608082019092526000916020820160608036833701905050905063bc8d400060e01b816000815181106139d9576139d9614c5b565b6001600160e01b0319909216602092830291909101909101528051634d4b06a960e11b9082906001908110613a1057613a10614c5b565b6001600160e01b0319909216602092830291909101909101528051631750d17360e21b9082906002908110613a4757613a47614c5b565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d826136016141fe565b6001546000906001600160a01b031663d39e604360dc613a96611c36565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613adb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613aff91906149a3565b9050836001600160a01b031663b428b0b0613b1861423a565b836040518363ffffffff1660e01b8152600401613b369291906149c0565b6020604051808303816000875af1158015613b55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b7991906149ed565b50604080516002808252606082018352600092602083019080368337019050509050636071a68e60e01b81600081518110613bb657613bb6614c5b565b6001600160e01b03199092166020928302919091019091015280516307f8b57360e31b9082906001908110613bed57613bed614c5b565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166329db8c3d82613c1e61423a565b6040518363ffffffff1660e01b8152600401613c3b929190614d9c565b600060405180830381600087803b158015613c5557600080fd5b505af1158015613c69573d6000803e3d6000fd5b506000925060059150613c799050565b604051908082528060200260200182016040528015613ca2578160200160208202803683370190505b509050630cc7e61460e01b81600081518110613cc057613cc0614c5b565b6001600160e01b0319909216602092830291909101909101528051631351fccf60e31b9082906001908110613cf757613cf7614c5b565b6001600160e01b03199092166020928302919091019091015280516346f0e8a760e11b9082906002908110613d2e57613d2e614c5b565b6001600160e01b031990921660209283029190910190910152805163b5346af560e01b9082906003908110613d6557613d65614c5b565b6001600160e01b03199092166020928302919091019091015280516306fa456560e01b9082906004908110613d9c57613d9c614c5b565b6001600160e01b0319909216602092830291909101909101526001600160a01b0386166329db8c3d82613dcd61423a565b6040518363ffffffff1660e01b8152600401611bfc929190614def565b6001546000906001600160a01b031663d39e60436046613e08611c36565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613e4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e7191906149a3565b9050826001600160a01b031663b428b0b0613e8a614276565b836040518363ffffffff1660e01b8152600401613ea89291906149c0565b6020604051808303816000875af1158015613ec7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613eeb91906149ed565b506040805160018082528183019092526000916020808301908036833701905050905063f7bc431c60e01b81600081518110613f2957613f29614c5b565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d82613601614276565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015613fa1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613fc59190614a15565b92915050565b61400c6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61401682876142b2565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016140868382614e6a565b50612a9b6303fb044760e21b612c16565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612b31565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612b31565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612b31565b6040516368aebf7b60e01b8152610834600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612b31565b6040516368aebf7b60e01b8152610898600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612b31565b6040516368aebf7b60e01b81526108fc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612b31565b6040516368aebf7b60e01b8152610960600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612b31565b6040516368aebf7b60e01b81526109c4600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612b31565b6040516368aebf7b60e01b81526107d0600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612b31565b6001600160a01b0382166143085760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e657220697320300000604482015260640161096c565b600280546001600160a01b0319166001600160a01b03841617905561432c81614330565b5050565b6001546001600160a01b0316156143695760015460405163fcdbf2d960e01b81526001600160a01b03909116600482015260240161096c565b6001600160a01b0381166143905760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036143c65760405163fdeac91f60e01b81526001600160a01b038216600482015260240161096c565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263102da10360e01b60048201526301ffc9a790602401602060405180830381865afa925050508015614440575060408051601f3d908101601f1916820190925261443d918101906149ed565b60015b6144685760405163fdeac91f60e01b81526001600160a01b038216600482015260240161096c565b8061432c5760405163fdeac91f60e01b81526001600160a01b038316600482015260240161096c565b50565b6000602082840312156144a657600080fd5b81356001600160e01b0319811681146144be57600080fd5b9392505050565b60005b838110156144e05781810151838201526020016144c8565b50506000910152565b600081518084526145018160208601602086016144c5565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161455960a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e061010084015261459f6101208401826144e9565b905082810360208401526145b381856144e9565b95945050505050565b6001600160a01b038116811461449157600080fd5b6001600160401b038116811461449157600080fd5b6000806000606084860312156145fb57600080fd5b8335614606816145bc565b92506020840135614616816145d1565b91506040840135614626816145bc565b809150509250925092565b6000806000806080858703121561464757600080fd5b8435614652816145bc565b93506020850135614662816145bc565b92506040850135614672816145bc565b91506060850135614682816145bc565b939692955090935050565b62ffffff8116811461449157600080fd5b6000602082840312156146b057600080fd5b81356144be8161468d565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156146f3576146f36146bb565b60405290565b604051601f8201601f191681016001600160401b0381118282101715614721576147216146bb565b604052919050565b60006001600160401b03821115614742576147426146bb565b50601f01601f191660200190565b600061476361475e84614729565b6146f9565b905082815283838301111561477757600080fd5b828260208301376000602084830101529392505050565b600082601f83011261479f57600080fd5b6144be83833560208501614750565b801515811461449157600080fd5b600080604083850312156147cf57600080fd5b82356001600160401b038111156147e557600080fd5b6147f18582860161478e565b9250506020830135614802816147ae565b809150509250929050565b6001600160601b038116811461449157600080fd5b60008060006060848603121561483757600080fd5b83356148428161480d565b92506020840135614852816145bc565b915060408401356001600160401b0381111561486d57600080fd5b6148798682870161478e565b9150509250925092565b60008060006060848603121561489857600080fd5b83356148a3816145bc565b925060208401356148b3816145bc565b915060408401356001600160401b038111156148ce57600080fd5b8401601f810186136148df57600080fd5b61487986823560208401614750565b60006020828403121561490057600080fd5b5035919050565b60006020828403121561491957600080fd5b81356144be8161480d565b60006020828403121561493657600080fd5b81356144be816145bc565b60006020828403121561495357600080fd5b81516144be8161468d565b600181811c9082168061497257607f821691505b60208210810361499257634e487b7160e01b600052602260045260246000fd5b50919050565b8051612974816145bc565b6000602082840312156149b557600080fd5b81516144be816145bc565b6001600160401b039290921682526001600160a01b0316602082015260400190565b8051612974816147ae565b6000602082840312156149ff57600080fd5b81516144be816147ae565b80516129748161480d565b600060208284031215614a2757600080fd5b81516144be8161480d565b60ff8116811461449157600080fd5b805161297481614a32565b600082601f830112614a5d57600080fd5b8151614a6b61475e82614729565b818152846020838601011115614a8057600080fd5b614a918260208301602087016144c5565b949350505050565b600060e08284031215614aab57600080fd5b614ab36146d1565b9050614abe82614a0a565b8152614acc60208301614a0a565b6020820152614add60408301614a41565b6040820152614aee606083016149e2565b6060820152614aff60808301614998565b6080820152614b1060a08301614998565b60a082015260c08201516001600160401b03811115614b2e57600080fd5b614b3a84828501614a4c565b60c08301525092915050565b60008060408385031215614b5957600080fd5b82516001600160401b0380821115614b7057600080fd5b614b7c86838701614a99565b93506020850151915080821115614b9257600080fd5b50614b9f85828601614a4c565b9150509250929050565b600060208284031215614bbb57600080fd5b5051919050565b600060208284031215614bd457600080fd5b81516001600160401b03811115614bea57600080fd5b614a9184828501614a99565b604081526000614c0960408301856144e9565b905082151560208301529392505050565b6001600160a01b0383168152604060208201819052600090614a91908301846144e9565b600060208284031215614c5057600080fd5b81516144be816145d1565b634e487b7160e01b600052603260045260246000fd5b600060208284031215614c8357600080fd5b81516144be81614a32565b600060208284031215614ca057600080fd5b815164ffffffffff811681146144be57600080fd5b60008060408385031215614cc857600080fd5b8251614cd3816145bc565b6020840151909250614802816145bc565b6001600160a01b038216815260406020820181905260089082015267496e7374616e636560c01b60608201526000608082016144be565b6001600160a01b0382168152604060208201819052600d908201526c213ab7323632a6b0b730b3b2b960991b60608201526000608082016144be565b600081518084526020808501945080840160005b83811015614d915781516001600160e01b03191687529582019590820190600101614d6b565b509495945050505050565b606081526000614dc4606083016008815267496e7374616e636560c01b602082015260400190565b8281036020840152614dd68186614d57565b9150506001600160401b03831660408301529392505050565b606081526000614dc460608301600d81526c213ab7323632a6b0b730b3b2b960991b602082015260400190565b601f821115612af557600081815260208120601f850160051c81016020861015614e435750805b601f850160051c820191505b81811015614e6257828155600101614e4f565b505050505050565b81516001600160401b03811115614e8357614e836146bb565b614e9781614e91845461495e565b84614e1c565b602080601f831160018114614ecc5760008415614eb45750858301515b600019600386901b1c1916600185901b178555614e62565b600085815260208120601f198616915b82811015614efb57888601518255948401946001909101908401614edc565b5085821015614f195787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212208f4e706ab4b9daff5650c35de8ac90bacf457d38f2057f840b2f8e1ddca579e864736f6c63430008140033",
647
768
  "linkReferences": {
648
769
  "contracts/types/Blocknumber.sol": {
649
770
  "BlocknumberLib": [
650
771
  {
651
772
  "length": 20,
652
- "start": 2851
773
+ "start": 5044
653
774
  }
654
775
  ]
655
776
  },
@@ -657,11 +778,59 @@
657
778
  "NftIdLib": [
658
779
  {
659
780
  "length": 20,
660
- "start": 2267
781
+ "start": 2570
782
+ },
783
+ {
784
+ "length": 20,
785
+ "start": 5318
786
+ },
787
+ {
788
+ "length": 20,
789
+ "start": 6312
790
+ }
791
+ ]
792
+ },
793
+ "contracts/types/RoleId.sol": {
794
+ "RoleIdLib": [
795
+ {
796
+ "length": 20,
797
+ "start": 11341
798
+ },
799
+ {
800
+ "length": 20,
801
+ "start": 16874
802
+ },
803
+ {
804
+ "length": 20,
805
+ "start": 16934
806
+ },
807
+ {
808
+ "length": 20,
809
+ "start": 16994
810
+ },
811
+ {
812
+ "length": 20,
813
+ "start": 17054
814
+ },
815
+ {
816
+ "length": 20,
817
+ "start": 17114
661
818
  },
662
819
  {
663
820
  "length": 20,
664
- "start": 3283
821
+ "start": 17174
822
+ },
823
+ {
824
+ "length": 20,
825
+ "start": 17234
826
+ },
827
+ {
828
+ "length": 20,
829
+ "start": 17294
830
+ },
831
+ {
832
+ "length": 20,
833
+ "start": 17354
665
834
  }
666
835
  ]
667
836
  },
@@ -669,7 +838,7 @@
669
838
  "TimestampLib": [
670
839
  {
671
840
  "length": 20,
672
- "start": 5978
841
+ "start": 10451
673
842
  }
674
843
  ]
675
844
  },
@@ -677,23 +846,15 @@
677
846
  "VersionLib": [
678
847
  {
679
848
  "length": 20,
680
- "start": 1742
681
- },
682
- {
683
- "length": 20,
684
- "start": 3523
685
- },
686
- {
687
- "length": 20,
688
- "start": 4018
849
+ "start": 1815
689
850
  },
690
851
  {
691
852
  "length": 20,
692
- "start": 4705
853
+ "start": 6552
693
854
  },
694
855
  {
695
856
  "length": 20,
696
- "start": 4826
857
+ "start": 7573
697
858
  }
698
859
  ]
699
860
  }
@@ -703,7 +864,7 @@
703
864
  "BlocknumberLib": [
704
865
  {
705
866
  "length": 20,
706
- "start": 2543
867
+ "start": 4730
707
868
  }
708
869
  ]
709
870
  },
@@ -711,11 +872,59 @@
711
872
  "NftIdLib": [
712
873
  {
713
874
  "length": 20,
714
- "start": 1959
875
+ "start": 2256
876
+ },
877
+ {
878
+ "length": 20,
879
+ "start": 5004
880
+ },
881
+ {
882
+ "length": 20,
883
+ "start": 5998
884
+ }
885
+ ]
886
+ },
887
+ "contracts/types/RoleId.sol": {
888
+ "RoleIdLib": [
889
+ {
890
+ "length": 20,
891
+ "start": 11027
715
892
  },
716
893
  {
717
894
  "length": 20,
718
- "start": 2975
895
+ "start": 16560
896
+ },
897
+ {
898
+ "length": 20,
899
+ "start": 16620
900
+ },
901
+ {
902
+ "length": 20,
903
+ "start": 16680
904
+ },
905
+ {
906
+ "length": 20,
907
+ "start": 16740
908
+ },
909
+ {
910
+ "length": 20,
911
+ "start": 16800
912
+ },
913
+ {
914
+ "length": 20,
915
+ "start": 16860
916
+ },
917
+ {
918
+ "length": 20,
919
+ "start": 16920
920
+ },
921
+ {
922
+ "length": 20,
923
+ "start": 16980
924
+ },
925
+ {
926
+ "length": 20,
927
+ "start": 17040
719
928
  }
720
929
  ]
721
930
  },
@@ -723,7 +932,7 @@
723
932
  "TimestampLib": [
724
933
  {
725
934
  "length": 20,
726
- "start": 5670
935
+ "start": 10137
727
936
  }
728
937
  ]
729
938
  },
@@ -731,23 +940,15 @@
731
940
  "VersionLib": [
732
941
  {
733
942
  "length": 20,
734
- "start": 1434
735
- },
736
- {
737
- "length": 20,
738
- "start": 3215
739
- },
740
- {
741
- "length": 20,
742
- "start": 3710
943
+ "start": 1501
743
944
  },
744
945
  {
745
946
  "length": 20,
746
- "start": 4397
947
+ "start": 6238
747
948
  },
748
949
  {
749
950
  "length": 20,
750
- "start": 4518
951
+ "start": 7259
751
952
  }
752
953
  ]
753
954
  }