@etherisc/gif-next 0.0.2-ce8407f-016 → 0.0.2-d243ae6-520

Sign up to get free protection for your applications and to get access to all the features.
Files changed (221) hide show
  1. package/README.md +104 -1
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +4 -0
  3. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +314 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +610 -0
  6. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
  7. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +26 -0
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +152 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +249 -0
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +157 -0
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +4 -0
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +774 -0
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +4 -0
  17. package/artifacts/contracts/components/Product.sol/Product.json +754 -0
  18. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +4 -0
  19. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +66 -0
  20. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +4 -0
  21. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +24 -0
  22. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +4 -0
  23. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +42 -0
  24. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  35. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  36. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  37. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  38. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  39. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  40. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  41. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +1 -1
  42. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.json +13 -0
  43. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +1 -1
  44. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +15 -2
  45. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +1 -1
  46. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  47. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +342 -1
  48. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  49. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +480 -0
  50. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  51. package/artifacts/contracts/instance/Instance.sol/Instance.json +489 -493
  52. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  53. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +45 -32
  54. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  55. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +438 -33
  56. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  57. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +654 -16
  58. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  59. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +432 -0
  60. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +4 -0
  61. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +481 -0
  62. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +4 -0
  63. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +113 -0
  64. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  65. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +0 -77
  66. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  67. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  68. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +10 -244
  69. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  70. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  71. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  72. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  73. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  74. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  75. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  76. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  77. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +4 -0
  78. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +827 -0
  79. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +4 -0
  80. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +466 -0
  81. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  82. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +446 -0
  83. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
  84. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +561 -0
  85. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
  86. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +751 -0
  87. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  88. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +47 -2
  89. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  90. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +41 -161
  91. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  92. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +134 -7
  93. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  94. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  95. package/artifacts/contracts/registry/Registry.sol/Registry.json +62 -190
  96. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  97. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +287 -39
  98. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  99. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +61 -33
  100. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  101. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  102. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  103. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  104. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  105. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  106. package/artifacts/contracts/{instance/base → shared}/IService.sol/IService.json +1 -1
  107. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  108. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  109. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +2 -2
  110. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  111. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +2 -2
  112. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  113. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +6 -6
  114. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +4 -0
  115. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +442 -0
  116. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  117. package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → shared/Service.sol/Service.json} +2 -2
  118. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  119. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  120. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  121. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  122. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  123. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  124. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  125. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  126. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +6 -6
  127. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  128. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +111 -5
  129. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  130. package/artifacts/contracts/test/TestService.sol/TestService.json +17 -17
  131. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  132. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  133. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  134. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  135. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +2 -2
  136. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  137. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  138. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  139. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  140. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  141. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  142. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  143. package/artifacts/contracts/types/Fee.sol/FeeLib.json +4 -4
  144. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  145. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  146. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  147. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  148. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  149. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  150. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  151. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  152. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  153. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  154. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  155. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  156. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  157. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  158. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  159. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  160. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  161. package/contracts/components/BaseComponent.sol +86 -0
  162. package/contracts/components/Distribution.sol +166 -0
  163. package/contracts/components/IBaseComponent.sol +7 -2
  164. package/contracts/components/IDistributionComponent.sol +43 -0
  165. package/contracts/components/IPoolComponent.sol +62 -0
  166. package/contracts/components/IProductComponent.sol +35 -0
  167. package/contracts/components/Pool.sol +259 -0
  168. package/contracts/components/Product.sol +297 -0
  169. package/contracts/experiment/cloning/Cloner.sol +47 -0
  170. package/contracts/instance/AccessManagedSimple.sol +12 -4
  171. package/contracts/instance/AccessManagerSimple.sol +12 -2
  172. package/contracts/instance/IAccessManagerSimple.sol +1 -1
  173. package/contracts/instance/IInstance.sol +23 -1
  174. package/contracts/instance/IInstanceService.sol +30 -0
  175. package/contracts/instance/Instance.sol +59 -9
  176. package/contracts/instance/InstanceAccessManager.sol +2 -2
  177. package/contracts/instance/InstanceReader.sol +63 -8
  178. package/contracts/instance/InstanceService.sol +111 -18
  179. package/contracts/instance/InstanceServiceManager.sol +56 -0
  180. package/contracts/instance/base/ComponentServiceBase.sol +49 -0
  181. package/contracts/instance/base/IInstanceBase.sol +23 -0
  182. package/contracts/instance/base/IKeyValueStore.sol +5 -4
  183. package/contracts/instance/base/KeyValueStore.sol +4 -20
  184. package/contracts/instance/module/IAccess.sol +2 -2
  185. package/contracts/instance/module/ISetup.sol +3 -1
  186. package/contracts/instance/module/ITreasury.sol +1 -1
  187. package/contracts/instance/service/ComponentOwnerService.sol +317 -0
  188. package/contracts/instance/service/IComponentOwnerService.sol +20 -0
  189. package/contracts/instance/service/IDistributionService.sol +12 -0
  190. package/contracts/instance/service/IPoolService.sol +37 -0
  191. package/contracts/instance/service/IProductService.sol +107 -0
  192. package/contracts/registry/ChainNft.sol +40 -25
  193. package/contracts/registry/IRegistry.sol +5 -20
  194. package/contracts/registry/IRegistryService.sol +16 -10
  195. package/contracts/registry/Registry.sol +87 -155
  196. package/contracts/registry/RegistryService.sol +182 -107
  197. package/contracts/registry/RegistryServiceManager.sol +23 -2
  198. package/contracts/shared/ERC165.sol +1 -1
  199. package/contracts/shared/IRegisterable.sol +1 -1
  200. package/contracts/{instance/base → shared}/IService.sol +3 -3
  201. package/contracts/shared/ProxyManager.sol +3 -3
  202. package/contracts/shared/Registerable.sol +2 -2
  203. package/contracts/shared/RegisterableUpgradable.sol +16 -0
  204. package/contracts/shared/Service.sol +54 -0
  205. package/contracts/shared/TokenHandler.sol +2 -2
  206. package/contracts/shared/UpgradableProxyWithAdmin.sol +2 -2
  207. package/contracts/shared/Versionable.sol +1 -1
  208. package/contracts/test/TestFee.sol +2 -2
  209. package/contracts/test/TestRoleId.sol +6 -6
  210. package/contracts/test/TestService.sol +3 -5
  211. package/contracts/types/Fee.sol +3 -3
  212. package/contracts/types/RoleId.sol +11 -4
  213. package/contracts/types/UFixed.sol +128 -12
  214. package/package.json +4 -3
  215. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  216. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  217. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  218. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -457
  219. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  220. package/contracts/instance/base/ServiceBase.sol +0 -44
  221. package/contracts/registry/IChainNft.sol +0 -22
@@ -43,6 +43,64 @@
43
43
  "stateMutability": "view",
44
44
  "type": "function"
45
45
  },
46
+ {
47
+ "inputs": [
48
+ {
49
+ "internalType": "NftId",
50
+ "name": "distributionNftId",
51
+ "type": "uint96"
52
+ }
53
+ ],
54
+ "name": "getDistributionSetupInfo",
55
+ "outputs": [
56
+ {
57
+ "components": [
58
+ {
59
+ "internalType": "NftId",
60
+ "name": "productNftId",
61
+ "type": "uint96"
62
+ },
63
+ {
64
+ "internalType": "contract TokenHandler",
65
+ "name": "tokenHandler",
66
+ "type": "address"
67
+ },
68
+ {
69
+ "components": [
70
+ {
71
+ "internalType": "UFixed",
72
+ "name": "fractionalFee",
73
+ "type": "uint256"
74
+ },
75
+ {
76
+ "internalType": "uint256",
77
+ "name": "fixedFee",
78
+ "type": "uint256"
79
+ }
80
+ ],
81
+ "internalType": "struct Fee",
82
+ "name": "distributionFee",
83
+ "type": "tuple"
84
+ },
85
+ {
86
+ "internalType": "bool",
87
+ "name": "isIntercepting",
88
+ "type": "bool"
89
+ },
90
+ {
91
+ "internalType": "address",
92
+ "name": "wallet",
93
+ "type": "address"
94
+ }
95
+ ],
96
+ "internalType": "struct ISetup.DistributionSetupInfo",
97
+ "name": "info",
98
+ "type": "tuple"
99
+ }
100
+ ],
101
+ "stateMutability": "view",
102
+ "type": "function"
103
+ },
46
104
  {
47
105
  "inputs": [
48
106
  {
@@ -331,6 +389,246 @@
331
389
  "stateMutability": "view",
332
390
  "type": "function"
333
391
  },
392
+ {
393
+ "inputs": [
394
+ {
395
+ "internalType": "NftId",
396
+ "name": "poolNftId",
397
+ "type": "uint96"
398
+ }
399
+ ],
400
+ "name": "getPoolSetupInfo",
401
+ "outputs": [
402
+ {
403
+ "components": [
404
+ {
405
+ "internalType": "NftId",
406
+ "name": "productNftId",
407
+ "type": "uint96"
408
+ },
409
+ {
410
+ "internalType": "contract TokenHandler",
411
+ "name": "tokenHandler",
412
+ "type": "address"
413
+ },
414
+ {
415
+ "internalType": "UFixed",
416
+ "name": "collateralizationLevel",
417
+ "type": "uint256"
418
+ },
419
+ {
420
+ "components": [
421
+ {
422
+ "internalType": "UFixed",
423
+ "name": "fractionalFee",
424
+ "type": "uint256"
425
+ },
426
+ {
427
+ "internalType": "uint256",
428
+ "name": "fixedFee",
429
+ "type": "uint256"
430
+ }
431
+ ],
432
+ "internalType": "struct Fee",
433
+ "name": "poolFee",
434
+ "type": "tuple"
435
+ },
436
+ {
437
+ "components": [
438
+ {
439
+ "internalType": "UFixed",
440
+ "name": "fractionalFee",
441
+ "type": "uint256"
442
+ },
443
+ {
444
+ "internalType": "uint256",
445
+ "name": "fixedFee",
446
+ "type": "uint256"
447
+ }
448
+ ],
449
+ "internalType": "struct Fee",
450
+ "name": "stakingFee",
451
+ "type": "tuple"
452
+ },
453
+ {
454
+ "components": [
455
+ {
456
+ "internalType": "UFixed",
457
+ "name": "fractionalFee",
458
+ "type": "uint256"
459
+ },
460
+ {
461
+ "internalType": "uint256",
462
+ "name": "fixedFee",
463
+ "type": "uint256"
464
+ }
465
+ ],
466
+ "internalType": "struct Fee",
467
+ "name": "performanceFee",
468
+ "type": "tuple"
469
+ },
470
+ {
471
+ "internalType": "bool",
472
+ "name": "isIntercepting",
473
+ "type": "bool"
474
+ },
475
+ {
476
+ "internalType": "address",
477
+ "name": "wallet",
478
+ "type": "address"
479
+ }
480
+ ],
481
+ "internalType": "struct ISetup.PoolSetupInfo",
482
+ "name": "info",
483
+ "type": "tuple"
484
+ }
485
+ ],
486
+ "stateMutability": "view",
487
+ "type": "function"
488
+ },
489
+ {
490
+ "inputs": [
491
+ {
492
+ "internalType": "NftId",
493
+ "name": "productNftId",
494
+ "type": "uint96"
495
+ }
496
+ ],
497
+ "name": "getProductSetupInfo",
498
+ "outputs": [
499
+ {
500
+ "components": [
501
+ {
502
+ "internalType": "contract IERC20Metadata",
503
+ "name": "token",
504
+ "type": "address"
505
+ },
506
+ {
507
+ "internalType": "contract TokenHandler",
508
+ "name": "tokenHandler",
509
+ "type": "address"
510
+ },
511
+ {
512
+ "internalType": "NftId",
513
+ "name": "distributionNftId",
514
+ "type": "uint96"
515
+ },
516
+ {
517
+ "internalType": "NftId",
518
+ "name": "poolNftId",
519
+ "type": "uint96"
520
+ },
521
+ {
522
+ "components": [
523
+ {
524
+ "internalType": "UFixed",
525
+ "name": "fractionalFee",
526
+ "type": "uint256"
527
+ },
528
+ {
529
+ "internalType": "uint256",
530
+ "name": "fixedFee",
531
+ "type": "uint256"
532
+ }
533
+ ],
534
+ "internalType": "struct Fee",
535
+ "name": "distributionFee",
536
+ "type": "tuple"
537
+ },
538
+ {
539
+ "components": [
540
+ {
541
+ "internalType": "UFixed",
542
+ "name": "fractionalFee",
543
+ "type": "uint256"
544
+ },
545
+ {
546
+ "internalType": "uint256",
547
+ "name": "fixedFee",
548
+ "type": "uint256"
549
+ }
550
+ ],
551
+ "internalType": "struct Fee",
552
+ "name": "productFee",
553
+ "type": "tuple"
554
+ },
555
+ {
556
+ "components": [
557
+ {
558
+ "internalType": "UFixed",
559
+ "name": "fractionalFee",
560
+ "type": "uint256"
561
+ },
562
+ {
563
+ "internalType": "uint256",
564
+ "name": "fixedFee",
565
+ "type": "uint256"
566
+ }
567
+ ],
568
+ "internalType": "struct Fee",
569
+ "name": "processingFee",
570
+ "type": "tuple"
571
+ },
572
+ {
573
+ "components": [
574
+ {
575
+ "internalType": "UFixed",
576
+ "name": "fractionalFee",
577
+ "type": "uint256"
578
+ },
579
+ {
580
+ "internalType": "uint256",
581
+ "name": "fixedFee",
582
+ "type": "uint256"
583
+ }
584
+ ],
585
+ "internalType": "struct Fee",
586
+ "name": "poolFee",
587
+ "type": "tuple"
588
+ },
589
+ {
590
+ "components": [
591
+ {
592
+ "internalType": "UFixed",
593
+ "name": "fractionalFee",
594
+ "type": "uint256"
595
+ },
596
+ {
597
+ "internalType": "uint256",
598
+ "name": "fixedFee",
599
+ "type": "uint256"
600
+ }
601
+ ],
602
+ "internalType": "struct Fee",
603
+ "name": "stakingFee",
604
+ "type": "tuple"
605
+ },
606
+ {
607
+ "components": [
608
+ {
609
+ "internalType": "UFixed",
610
+ "name": "fractionalFee",
611
+ "type": "uint256"
612
+ },
613
+ {
614
+ "internalType": "uint256",
615
+ "name": "fixedFee",
616
+ "type": "uint256"
617
+ }
618
+ ],
619
+ "internalType": "struct Fee",
620
+ "name": "performanceFee",
621
+ "type": "tuple"
622
+ }
623
+ ],
624
+ "internalType": "struct ISetup.ProductSetupInfo",
625
+ "name": "info",
626
+ "type": "tuple"
627
+ }
628
+ ],
629
+ "stateMutability": "view",
630
+ "type": "function"
631
+ },
334
632
  {
335
633
  "inputs": [
336
634
  {
@@ -580,6 +878,43 @@
580
878
  "stateMutability": "view",
581
879
  "type": "function"
582
880
  },
881
+ {
882
+ "inputs": [
883
+ {
884
+ "internalType": "address",
885
+ "name": "registry",
886
+ "type": "address"
887
+ },
888
+ {
889
+ "internalType": "NftId",
890
+ "name": "instanceNftId",
891
+ "type": "uint96"
892
+ }
893
+ ],
894
+ "name": "initialize",
895
+ "outputs": [],
896
+ "stateMutability": "nonpayable",
897
+ "type": "function"
898
+ },
899
+ {
900
+ "inputs": [
901
+ {
902
+ "internalType": "NftId",
903
+ "name": "distributionNftId",
904
+ "type": "uint96"
905
+ }
906
+ ],
907
+ "name": "toDistributionKey",
908
+ "outputs": [
909
+ {
910
+ "internalType": "Key32",
911
+ "name": "",
912
+ "type": "bytes32"
913
+ }
914
+ ],
915
+ "stateMutability": "pure",
916
+ "type": "function"
917
+ },
583
918
  {
584
919
  "inputs": [
585
920
  {
@@ -637,6 +972,44 @@
637
972
  "stateMutability": "pure",
638
973
  "type": "function"
639
974
  },
975
+ {
976
+ "inputs": [
977
+ {
978
+ "internalType": "NftId",
979
+ "name": "poolNftId",
980
+ "type": "uint96"
981
+ }
982
+ ],
983
+ "name": "toPoolKey",
984
+ "outputs": [
985
+ {
986
+ "internalType": "Key32",
987
+ "name": "",
988
+ "type": "bytes32"
989
+ }
990
+ ],
991
+ "stateMutability": "pure",
992
+ "type": "function"
993
+ },
994
+ {
995
+ "inputs": [
996
+ {
997
+ "internalType": "NftId",
998
+ "name": "productNftId",
999
+ "type": "uint96"
1000
+ }
1001
+ ],
1002
+ "name": "toProductKey",
1003
+ "outputs": [
1004
+ {
1005
+ "internalType": "Key32",
1006
+ "name": "",
1007
+ "type": "bytes32"
1008
+ }
1009
+ ],
1010
+ "stateMutability": "pure",
1011
+ "type": "function"
1012
+ },
640
1013
  {
641
1014
  "inputs": [
642
1015
  {
@@ -705,14 +1078,14 @@
705
1078
  "type": "function"
706
1079
  }
707
1080
  ],
708
- "bytecode": "0x60806040523480156200001157600080fd5b50604051620024c4380380620024c48339810160408190526200003491620002e0565b6001600160a01b038216620000905760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620000e9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200010f919062000329565b6200015d5760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f00000000000000604482015260640162000087565b6001600160601b03818116600160a01b9081026001600160a01b0385811682811760008181556040516305247a1760e51b81529590910490951660048501529116179063a48f42e090602401600060405180830381865afa158015620001c7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620001f1919081019062000461565b90506200021781604001516200020c620002a660201b60201c565b60ff90811691161490565b6200026f5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b606482015260840162000087565b60800151600180546001600160a01b039092166001600160a01b031992831681179091556002805490921617905550620005479050565b604690565b80516001600160a01b0381168114620002c357600080fd5b919050565b80516001600160601b0381168114620002c357600080fd5b60008060408385031215620002f457600080fd5b620002ff83620002ab565b91506200030f60208401620002c8565b90509250929050565b80518015158114620002c357600080fd5b6000602082840312156200033c57600080fd5b620003478262000318565b9392505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156200038957620003896200034e565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620003ba57620003ba6200034e565b604052919050565b805160ff81168114620002c357600080fd5b600082601f830112620003e657600080fd5b81516001600160401b038111156200040257620004026200034e565b602062000418601f8301601f191682016200038f565b82815285828487010111156200042d57600080fd5b60005b838110156200044d57858101830151828201840152820162000430565b506000928101909101919091529392505050565b6000602082840312156200047457600080fd5b81516001600160401b03808211156200048c57600080fd5b9083019060e08286031215620004a157600080fd5b620004ab62000364565b620004b683620002c8565b8152620004c660208401620002c8565b6020820152620004d960408401620003c2565b6040820152620004ec6060840162000318565b6060820152620004ff60808401620002ab565b60808201526200051260a08401620002ab565b60a082015260c0830151828111156200052a57600080fd5b6200053887828601620003d4565b60c08301525095945050505050565b611f6d80620005576000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c8063887b1fa9116100a2578063bd7d9d8511610071578063bd7d9d8514610306578063d06458c614610326578063d4cda0d814610346578063de7b5d1414610357578063f2b246c31461036857600080fd5b8063887b1fa914610224578063a310e2a314610244578063a5961b4c1461026f578063b82d7ef5146102dc57600080fd5b80633f093cd6116100e95780633f093cd61461019457806344aa6836146101c057806364eb3a9b146101d35780637e54602a146101e65780637e798669146101f957600080fd5b80631488c8451461011b5780631d3be4771461014157806325d037431461016157806327b1d79214610174575b600080fd5b61012e6101293660046110b8565b610388565b6040519081526020015b60405180910390f35b61015461014f366004611107565b61040e565b6040516101389190611174565b61012e61016f366004611224565b610560565b610187610182366004611224565b610600565b6040516101389190611241565b6101a76101a23660046113a6565b6106ba565b6040516001600160c01b03199091168152602001610138565b61012e6101ce366004611438565b610737565b61012e6101e1366004611224565b610772565b61012e6101f4366004611224565b61079f565b600054600160a01b90046001600160601b03166040516001600160601b039091168152602001610138565b610237610232366004611107565b6107cc565b6040516101389190611451565b610257610252366004611224565b6108f5565b6040516001600160a01b039091168152602001610138565b61028261027d366004611438565b6109a3565b6040516101389190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b6102ef6102ea366004611107565b610a37565b6040805192835260ff909116602083015201610138565b610319610314366004611224565b610cdf565b604051610138919061147f565b610339610334366004611107565b610dfd565b60405161013891906115d7565b6002546001600160a01b0316610257565b6001546001600160a01b0316610257565b61037b610376366004611224565b610f70565b6040516101389190611687565b604051631488c84560e01b815260048101839052600082810b60248301529073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__90631488c84590604401602060405180830381865af41580156103e3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610407919061178c565b9392505050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af41580156104b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d9919061178c565b6040518263ffffffff1660e01b81526004016104f791815260200190565b600060405180830381865afa158015610514573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261053c91908101906117ea565b80519091501561055a57808060200190518101906104079190611860565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af41580156105d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fa919061178c565b92915050565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f6106398561079f565b6040518263ffffffff1660e01b815260040161065791815260200190565b600060405180830381865afa158015610674573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261069c91908101906117ea565b80519091501561055a57808060200190518101906104079190611959565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906106f690869086906004016119ff565b602060405180830381865af4158015610713573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104079190611a21565b604051632255341b60e11b81526004810182905260009073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__906344aa6836906024016105b9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d2610589565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610589565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610850573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610874919061178c565b6040518263ffffffff1660e01b815260040161089291815260200190565b600060405180830381865afa1580156108af573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108d791908101906117ea565b80519091501561055a57808060200190518101906104079190611a3e565b60025460009081906001600160a01b03166354f6127f61091485610560565b6040518263ffffffff1660e01b815260040161093291815260200190565b600060405180830381865afa15801561094f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261097791908101906117ea565b80519091501561055a576000818060200190518101906109979190611b0d565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610a13573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fa9190611bed565b6000806000610a458461040e565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610aa4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac89190611c84565b15610b475773__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610b16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3a919061178c565b60645b9250925050915091565b610bcb8160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610b98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bbc9190611c9f565b64ffffffffff90811691161090565b15610c445773__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610c19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3d919061178c565b606e610b3d565b806060015163ffffffff16816080015163ffffffff1610610cd35773__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610ca8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ccc919061178c565b6078610b3d565b6040810151600a610b3d565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f610d7c85610772565b6040518263ffffffff1660e01b8152600401610d9a91815260200190565b600060405180830381865afa158015610db7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ddf91908101906117ea565b80519091501561055a57808060200190518101906104079190611ccc565b610e5c60405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015610ecb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eef919061178c565b6040518263ffffffff1660e01b8152600401610f0d91815260200190565b600060405180830381865afa158015610f2a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f5291908101906117ea565b80519091501561055a57808060200190518101906104079190611e40565b61101a604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6002546000906001600160a01b03166354f6127f61103785610560565b6040518263ffffffff1660e01b815260040161105591815260200190565b600060405180830381865afa158015611072573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261109a91908101906117ea565b80519091501561055a57808060200190518101906104079190611b0d565b600080604083850312156110cb57600080fd5b8235915060208301358060000b81146110e357600080fd5b809150509250929050565b6001600160c01b03198116811461110457600080fd5b50565b60006020828403121561111957600080fd5b8135610407816110ee565b60005b8381101561113f578181015183820152602001611127565b50506000910152565b60008151808452611160816020860160208601611124565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526111a4610100840182611148565b90506040840151606084015263ffffffff606085015116608084015260808401516111d760a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526112068282611148565b95945050505050565b6001600160601b038116811461110457600080fd5b60006020828403121561123657600080fd5b81356104078161120f565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160608084015261127e6080840182611148565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156112be576112be611286565b60405290565b604080519081016001600160401b03811182821017156112be576112be611286565b60405161014081016001600160401b03811182821017156112be576112be611286565b60405161020081016001600160401b03811182821017156112be576112be611286565b60405161012081016001600160401b03811182821017156112be576112be611286565b604051601f8201601f191681016001600160401b038111828210171561137757611377611286565b604052919050565b60006001600160401b0382111561139857611398611286565b50601f01601f191660200190565b600080604083850312156113b957600080fd5b82356113c48161120f565b915060208301356001600160401b038111156113df57600080fd5b8301601f810185136113f057600080fd5b80356114036113fe8261137f565b61134f565b81815286602083850101111561141857600080fd5b816020840160208301376000602083830101528093505050509250929050565b60006020828403121561144a57600080fd5b5035919050565b602081526001600160601b0382511660208201526000602083015160408084015261127e6060840182611148565b602081526114996020820183516001600160601b03169052565b600060208301516114b560408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e0830151610100818185015280850151915050610200610120818186015261152d610220860184611148565b9250808601519050610140601f19868503018187015261154d8483611148565b9350808701519150506101606115688187018361ffff169052565b860151905061018061157f8682018361ffff169052565b8601516101a08681019190915286015190506101c06115a68187018364ffffffffff169052565b86015190506101e06115c08682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b60208152600082516101208060208501526115f6610140850183611148565b9150602085015160408501526040850151606085015260608501516080850152608085015161162d60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006116638187018315159052565b860151858403601f190183870152905061167d8382611148565b9695505050505050565b81516001600160a01b03168152610200810160208301516116b360208401826001600160a01b03169052565b5060408301516116ce60408401826001600160601b03169052565b5060608301516116e960608401826001600160601b03169052565b506080830151611706608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c083015161010061173c8185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a08501526101209094015180516101c0850152909301516101e090920191909152919050565b60006020828403121561179e57600080fd5b5051919050565b600082601f8301126117b657600080fd5b81516117c46113fe8261137f565b8181528460208386010111156117d957600080fd5b61127e826020830160208701611124565b6000602082840312156117fc57600080fd5b81516001600160401b0381111561181257600080fd5b61127e848285016117a5565b80516118298161120f565b919050565b63ffffffff8116811461110457600080fd5b80516118298161182e565b805164ffffffffff8116811461182957600080fd5b60006020828403121561187257600080fd5b81516001600160401b038082111561188957600080fd5b9083019060e0828603121561189d57600080fd5b6118a561129c565b6118ae8361181e565b81526020830151828111156118c257600080fd5b6118ce878286016117a5565b602083015250604083015160408201526118ea60608401611840565b60608201526118fb60808401611840565b608082015261190c60a0840161184b565b60a082015260c08301518281111561192357600080fd5b61192f878286016117a5565b60c08301525095945050505050565b8051611829816110ee565b8051801515811461182957600080fd5b60006020828403121561196b57600080fd5b81516001600160401b038082111561198257600080fd5b908301906060828603121561199657600080fd5b6040516060810181811083821117156119b1576119b1611286565b60405282516119bf816110ee565b81526119cd60208401611949565b60208201526040830151828111156119e457600080fd5b6119f0878286016117a5565b60408301525095945050505050565b6001600160601b038316815260406020820152600061127e6040830184611148565b600060208284031215611a3357600080fd5b8151610407816110ee565b600060208284031215611a5057600080fd5b81516001600160401b0380821115611a6757600080fd5b9083019060408286031215611a7b57600080fd5b611a836112c4565b8251611a8e8161120f565b8152602083015182811115611aa257600080fd5b611aae878286016117a5565b60208301525095945050505050565b6001600160a01b038116811461110457600080fd5b805161182981611abd565b600060408284031215611aef57600080fd5b611af76112c4565b9050815181526020820151602082015292915050565b60006102008284031215611b2057600080fd5b611b286112e6565b611b3183611ad2565b8152611b3f60208401611ad2565b6020820152611b506040840161181e565b6040820152611b616060840161181e565b6060820152611b738460808501611add565b6080820152611b858460c08501611add565b60a0820152610100611b9985828601611add565b60c0830152611bac856101408601611add565b60e0830152611bbf856101808601611add565b90820152611bd1846101c08501611add565b6101208201529392505050565b60ff8116811461110457600080fd5b600060a08284031215611bff57600080fd5b60405160a081018181106001600160401b0382111715611c2157611c21611286565b6040528251611c2f81611bde565b81526020830151611c3f81611bde565b60208201526040830151611c5281611abd565b60408201526060830151611c658161182e565b60608201526080830151611c788161182e565b60808201529392505050565b600060208284031215611c9657600080fd5b61040782611949565b600060208284031215611cb157600080fd5b6104078261184b565b805161ffff8116811461182957600080fd5b600060208284031215611cde57600080fd5b81516001600160401b0380821115611cf557600080fd5b908301906102008286031215611d0a57600080fd5b611d12611309565b611d1b8361181e565b8152611d296020840161181e565b6020820152611d3a6040840161193e565b6040820152611d4b6060840161193e565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015183811115611d8c57600080fd5b611d98888287016117a5565b8284015250506101208084015183811115611db257600080fd5b611dbe888287016117a5565b8284015250506101409150611dd4828401611cba565b828201526101609150611de8828401611cba565b82820152610180915081830151828201526101a09150611e0982840161184b565b828201526101c09150611e1d82840161184b565b828201526101e09150611e3182840161184b565b91810191909152949350505050565b600060208284031215611e5257600080fd5b81516001600160401b0380821115611e6957600080fd5b908301906101208286031215611e7e57600080fd5b611e8661132c565b825182811115611e9557600080fd5b611ea1878286016117a5565b825250602083015160208201526040830151604082015260608301516060820152611ece60808401611840565b6080820152611edf60a08401611840565b60a0820152611ef060c08401611949565b60c0820152611f0160e08401611949565b60e08201526101008084015183811115611f1a57600080fd5b611f26888287016117a5565b91830191909152509594505050505056fea264697066735822122042758ecb9e797d2c81d4cc12d8f6e745b0b61b6f8856c08b4a698b74f08f23ce64736f6c63430008140033",
709
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101165760003560e01c8063887b1fa9116100a2578063bd7d9d8511610071578063bd7d9d8514610306578063d06458c614610326578063d4cda0d814610346578063de7b5d1414610357578063f2b246c31461036857600080fd5b8063887b1fa914610224578063a310e2a314610244578063a5961b4c1461026f578063b82d7ef5146102dc57600080fd5b80633f093cd6116100e95780633f093cd61461019457806344aa6836146101c057806364eb3a9b146101d35780637e54602a146101e65780637e798669146101f957600080fd5b80631488c8451461011b5780631d3be4771461014157806325d037431461016157806327b1d79214610174575b600080fd5b61012e6101293660046110b8565b610388565b6040519081526020015b60405180910390f35b61015461014f366004611107565b61040e565b6040516101389190611174565b61012e61016f366004611224565b610560565b610187610182366004611224565b610600565b6040516101389190611241565b6101a76101a23660046113a6565b6106ba565b6040516001600160c01b03199091168152602001610138565b61012e6101ce366004611438565b610737565b61012e6101e1366004611224565b610772565b61012e6101f4366004611224565b61079f565b600054600160a01b90046001600160601b03166040516001600160601b039091168152602001610138565b610237610232366004611107565b6107cc565b6040516101389190611451565b610257610252366004611224565b6108f5565b6040516001600160a01b039091168152602001610138565b61028261027d366004611438565b6109a3565b6040516101389190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b6102ef6102ea366004611107565b610a37565b6040805192835260ff909116602083015201610138565b610319610314366004611224565b610cdf565b604051610138919061147f565b610339610334366004611107565b610dfd565b60405161013891906115d7565b6002546001600160a01b0316610257565b6001546001600160a01b0316610257565b61037b610376366004611224565b610f70565b6040516101389190611687565b604051631488c84560e01b815260048101839052600082810b60248301529073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__90631488c84590604401602060405180830381865af41580156103e3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610407919061178c565b9392505050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af41580156104b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d9919061178c565b6040518263ffffffff1660e01b81526004016104f791815260200190565b600060405180830381865afa158015610514573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261053c91908101906117ea565b80519091501561055a57808060200190518101906104079190611860565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af41580156105d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fa919061178c565b92915050565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f6106398561079f565b6040518263ffffffff1660e01b815260040161065791815260200190565b600060405180830381865afa158015610674573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261069c91908101906117ea565b80519091501561055a57808060200190518101906104079190611959565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906106f690869086906004016119ff565b602060405180830381865af4158015610713573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104079190611a21565b604051632255341b60e11b81526004810182905260009073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__906344aa6836906024016105b9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d2610589565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610589565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610850573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610874919061178c565b6040518263ffffffff1660e01b815260040161089291815260200190565b600060405180830381865afa1580156108af573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108d791908101906117ea565b80519091501561055a57808060200190518101906104079190611a3e565b60025460009081906001600160a01b03166354f6127f61091485610560565b6040518263ffffffff1660e01b815260040161093291815260200190565b600060405180830381865afa15801561094f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261097791908101906117ea565b80519091501561055a576000818060200190518101906109979190611b0d565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610a13573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fa9190611bed565b6000806000610a458461040e565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610aa4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac89190611c84565b15610b475773__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610b16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3a919061178c565b60645b9250925050915091565b610bcb8160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610b98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bbc9190611c9f565b64ffffffffff90811691161090565b15610c445773__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610c19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3d919061178c565b606e610b3d565b806060015163ffffffff16816080015163ffffffff1610610cd35773__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610ca8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ccc919061178c565b6078610b3d565b6040810151600a610b3d565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f610d7c85610772565b6040518263ffffffff1660e01b8152600401610d9a91815260200190565b600060405180830381865afa158015610db7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ddf91908101906117ea565b80519091501561055a57808060200190518101906104079190611ccc565b610e5c60405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015610ecb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eef919061178c565b6040518263ffffffff1660e01b8152600401610f0d91815260200190565b600060405180830381865afa158015610f2a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f5291908101906117ea565b80519091501561055a57808060200190518101906104079190611e40565b61101a604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6002546000906001600160a01b03166354f6127f61103785610560565b6040518263ffffffff1660e01b815260040161105591815260200190565b600060405180830381865afa158015611072573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261109a91908101906117ea565b80519091501561055a57808060200190518101906104079190611b0d565b600080604083850312156110cb57600080fd5b8235915060208301358060000b81146110e357600080fd5b809150509250929050565b6001600160c01b03198116811461110457600080fd5b50565b60006020828403121561111957600080fd5b8135610407816110ee565b60005b8381101561113f578181015183820152602001611127565b50506000910152565b60008151808452611160816020860160208601611124565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526111a4610100840182611148565b90506040840151606084015263ffffffff606085015116608084015260808401516111d760a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526112068282611148565b95945050505050565b6001600160601b038116811461110457600080fd5b60006020828403121561123657600080fd5b81356104078161120f565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160608084015261127e6080840182611148565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156112be576112be611286565b60405290565b604080519081016001600160401b03811182821017156112be576112be611286565b60405161014081016001600160401b03811182821017156112be576112be611286565b60405161020081016001600160401b03811182821017156112be576112be611286565b60405161012081016001600160401b03811182821017156112be576112be611286565b604051601f8201601f191681016001600160401b038111828210171561137757611377611286565b604052919050565b60006001600160401b0382111561139857611398611286565b50601f01601f191660200190565b600080604083850312156113b957600080fd5b82356113c48161120f565b915060208301356001600160401b038111156113df57600080fd5b8301601f810185136113f057600080fd5b80356114036113fe8261137f565b61134f565b81815286602083850101111561141857600080fd5b816020840160208301376000602083830101528093505050509250929050565b60006020828403121561144a57600080fd5b5035919050565b602081526001600160601b0382511660208201526000602083015160408084015261127e6060840182611148565b602081526114996020820183516001600160601b03169052565b600060208301516114b560408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e0830151610100818185015280850151915050610200610120818186015261152d610220860184611148565b9250808601519050610140601f19868503018187015261154d8483611148565b9350808701519150506101606115688187018361ffff169052565b860151905061018061157f8682018361ffff169052565b8601516101a08681019190915286015190506101c06115a68187018364ffffffffff169052565b86015190506101e06115c08682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b60208152600082516101208060208501526115f6610140850183611148565b9150602085015160408501526040850151606085015260608501516080850152608085015161162d60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006116638187018315159052565b860151858403601f190183870152905061167d8382611148565b9695505050505050565b81516001600160a01b03168152610200810160208301516116b360208401826001600160a01b03169052565b5060408301516116ce60408401826001600160601b03169052565b5060608301516116e960608401826001600160601b03169052565b506080830151611706608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c083015161010061173c8185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a08501526101209094015180516101c0850152909301516101e090920191909152919050565b60006020828403121561179e57600080fd5b5051919050565b600082601f8301126117b657600080fd5b81516117c46113fe8261137f565b8181528460208386010111156117d957600080fd5b61127e826020830160208701611124565b6000602082840312156117fc57600080fd5b81516001600160401b0381111561181257600080fd5b61127e848285016117a5565b80516118298161120f565b919050565b63ffffffff8116811461110457600080fd5b80516118298161182e565b805164ffffffffff8116811461182957600080fd5b60006020828403121561187257600080fd5b81516001600160401b038082111561188957600080fd5b9083019060e0828603121561189d57600080fd5b6118a561129c565b6118ae8361181e565b81526020830151828111156118c257600080fd5b6118ce878286016117a5565b602083015250604083015160408201526118ea60608401611840565b60608201526118fb60808401611840565b608082015261190c60a0840161184b565b60a082015260c08301518281111561192357600080fd5b61192f878286016117a5565b60c08301525095945050505050565b8051611829816110ee565b8051801515811461182957600080fd5b60006020828403121561196b57600080fd5b81516001600160401b038082111561198257600080fd5b908301906060828603121561199657600080fd5b6040516060810181811083821117156119b1576119b1611286565b60405282516119bf816110ee565b81526119cd60208401611949565b60208201526040830151828111156119e457600080fd5b6119f0878286016117a5565b60408301525095945050505050565b6001600160601b038316815260406020820152600061127e6040830184611148565b600060208284031215611a3357600080fd5b8151610407816110ee565b600060208284031215611a5057600080fd5b81516001600160401b0380821115611a6757600080fd5b9083019060408286031215611a7b57600080fd5b611a836112c4565b8251611a8e8161120f565b8152602083015182811115611aa257600080fd5b611aae878286016117a5565b60208301525095945050505050565b6001600160a01b038116811461110457600080fd5b805161182981611abd565b600060408284031215611aef57600080fd5b611af76112c4565b9050815181526020820151602082015292915050565b60006102008284031215611b2057600080fd5b611b286112e6565b611b3183611ad2565b8152611b3f60208401611ad2565b6020820152611b506040840161181e565b6040820152611b616060840161181e565b6060820152611b738460808501611add565b6080820152611b858460c08501611add565b60a0820152610100611b9985828601611add565b60c0830152611bac856101408601611add565b60e0830152611bbf856101808601611add565b90820152611bd1846101c08501611add565b6101208201529392505050565b60ff8116811461110457600080fd5b600060a08284031215611bff57600080fd5b60405160a081018181106001600160401b0382111715611c2157611c21611286565b6040528251611c2f81611bde565b81526020830151611c3f81611bde565b60208201526040830151611c5281611abd565b60408201526060830151611c658161182e565b60608201526080830151611c788161182e565b60808201529392505050565b600060208284031215611c9657600080fd5b61040782611949565b600060208284031215611cb157600080fd5b6104078261184b565b805161ffff8116811461182957600080fd5b600060208284031215611cde57600080fd5b81516001600160401b0380821115611cf557600080fd5b908301906102008286031215611d0a57600080fd5b611d12611309565b611d1b8361181e565b8152611d296020840161181e565b6020820152611d3a6040840161193e565b6040820152611d4b6060840161193e565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015183811115611d8c57600080fd5b611d98888287016117a5565b8284015250506101208084015183811115611db257600080fd5b611dbe888287016117a5565b8284015250506101409150611dd4828401611cba565b828201526101609150611de8828401611cba565b82820152610180915081830151828201526101a09150611e0982840161184b565b828201526101c09150611e1d82840161184b565b828201526101e09150611e3182840161184b565b91810191909152949350505050565b600060208284031215611e5257600080fd5b81516001600160401b0380821115611e6957600080fd5b908301906101208286031215611e7e57600080fd5b611e8661132c565b825182811115611e9557600080fd5b611ea1878286016117a5565b825250602083015160208201526040830151604082015260608301516060820152611ece60808401611840565b6080820152611edf60a08401611840565b60a0820152611ef060c08401611949565b60c0820152611f0160e08401611949565b60e08201526101008084015183811115611f1a57600080fd5b611f26888287016117a5565b91830191909152509594505050505056fea264697066735822122042758ecb9e797d2c81d4cc12d8f6e745b0b61b6f8856c08b4a698b74f08f23ce64736f6c63430008140033",
1081
+ "bytecode": "0x60806040523480156200001157600080fd5b5060405162002f3c38038062002f3c83398101604081905262000034916200038e565b62000040828262000048565b5050620005f5565b60005460ff1615620000ab5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b038216620001035760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f00000000006044820152606401620000a2565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156200015c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001829190620003d7565b620001d05760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f000000000000006044820152606401620000a2565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546001600160601b0319166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801562000257573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200028191908101906200050f565b9050620002a781604001516200029c6200035460201b60201c565b60ff90811691161490565b620002ff5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b6064820152608401620000a2565b60800151600180546001600160601b03166c010000000000000000000000006001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b604690565b80516001600160a01b03811681146200037157600080fd5b919050565b80516001600160601b03811681146200037157600080fd5b60008060408385031215620003a257600080fd5b620003ad8362000359565b9150620003bd6020840162000376565b90509250929050565b805180151581146200037157600080fd5b600060208284031215620003ea57600080fd5b620003f582620003c6565b9392505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715620004375762000437620003fc565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620004685762000468620003fc565b604052919050565b805160ff811681146200037157600080fd5b600082601f8301126200049457600080fd5b81516001600160401b03811115620004b057620004b0620003fc565b6020620004c6601f8301601f191682016200043d565b8281528582848701011115620004db57600080fd5b60005b83811015620004fb578581018301518282018401528201620004de565b506000928101909101919091529392505050565b6000602082840312156200052257600080fd5b81516001600160401b03808211156200053a57600080fd5b9083019060e082860312156200054f57600080fd5b6200055962000412565b620005648362000376565b8152620005746020840162000376565b6020820152620005876040840162000470565b60408201526200059a60608401620003c6565b6060820152620005ad6080840162000359565b6080820152620005c060a0840162000359565b60a082015260c083015182811115620005d857600080fd5b620005e68782860162000482565b60c08301525095945050505050565b61293780620006056000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c8063887b1fa9116100de578063bd7d9d8511610097578063dd26287a11610071578063dd26287a1461047c578063de7b5d141461048f578063f2a41374146104a7578063f2b246c3146104bc57600080fd5b8063bd7d9d851461042b578063d06458c61461044b578063d4cda0d81461046b57600080fd5b8063887b1fa9146102b757806390af7064146102d75780639ad69c67146102f7578063a310e2a314610369578063a5961b4c14610394578063b82d7ef51461040157600080fd5b806344aa68361161013057806344aa68361461023057806355e343a91461024357806364eb3a9b146102635780637bfd3217146102765780637e54602a146102895780637e7986691461029c57600080fd5b80631488c845146101785780631d3be4771461019e57806325d03743146101be57806327b1d792146101d157806335898f5d146101f15780633f093cd614610204575b600080fd5b61018b6101863660046117aa565b6104cf565b6040519081526020015b60405180910390f35b6101b16101ac3660046117f9565b610557565b6040516101959190611866565b61018b6101cc366004611916565b6106b0565b6101e46101df366004611916565b61074a565b6040516101959190611933565b61018b6101ff366004611916565b610804565b610217610212366004611add565b610831565b6040516001600160c01b03199091168152602001610195565b61018b61023e366004611b6f565b6108ae565b610256610251366004611916565b6108e9565b6040516101959190611b88565b61018b610271366004611916565b61098f565b61018b610284366004611916565b6109bc565b61018b610297366004611916565b6109e9565b6001546040516001600160601b039091168152602001610195565b6102ca6102c53660046117f9565b610a16565b6040516101959190611c2d565b6102ea6102e5366004611916565b610b3f565b6040516101959190611d58565b61030a610305366004611916565b610be5565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c001610195565b61037c610377366004611916565b610c8b565b6040516001600160a01b039091168152602001610195565b6103a76103a2366004611b6f565b610d39565b6040516101959190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61041461040f3660046117f9565b610dcd565b6040805192835260ff909116602083015201610195565b61043e610439366004611916565b611075565b6040516101959190611d67565b61045e6104593660046117f9565b611193565b6040516101959190611ebf565b6002546001600160a01b031661037c565b61018b61048a366004611916565b611306565b600154600160601b90046001600160a01b031661037c565b6104ba6104b5366004611f84565b611333565b005b6102ea6104ca366004611916565b611625565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af415801561052a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054e9190611fb2565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af41580156105fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106229190611fb2565b6040518263ffffffff1660e01b815260040161064091815260200190565b600060405180830381865afa15801561065d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106859190810190612010565b8051909150156106aa57808060200190518101906106a39190612086565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610726573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105519190611fb2565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f610783856109e9565b6040518263ffffffff1660e01b81526004016107a191815260200190565b600060405180830381865afa1580156107be573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107e69190810190612010565b8051909150156106aa57808060200190518101906106a3919061217f565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660786106d9565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd69061086d9086908690600401612225565b602060405180830381865af415801561088a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054e9190612247565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401610709565b6108f161164a565b6002546000906001600160a01b03166354f6127f61090e85611306565b6040518263ffffffff1660e01b815260040161092c91815260200190565b600060405180830381865afa158015610949573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109719190810190612010565b8051909150156106aa57808060200190518101906106a3919061229f565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d26106d9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e6106d9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a6106d9565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610a9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610abe9190611fb2565b6040518263ffffffff1660e01b8152600401610adc91815260200190565b600060405180830381865afa158015610af9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b219190810190612010565b8051909150156106aa57808060200190518101906106a39190612341565b610b476116bb565b6002546000906001600160a01b03166354f6127f610b64856109bc565b6040518263ffffffff1660e01b8152600401610b8291815260200190565b600060405180830381865afa158015610b9f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bc79190810190612010565b8051909150156106aa57808060200190518101906106a39190612492565b610bed611762565b6002546000906001600160a01b03166354f6127f610c0a85610804565b6040518263ffffffff1660e01b8152600401610c2891815260200190565b600060405180830381865afa158015610c45573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c6d9190810190612010565b8051909150156106aa57808060200190518101906106a391906124af565b60025460009081906001600160a01b03166354f6127f610caa856106b0565b6040518263ffffffff1660e01b8152600401610cc891815260200190565b600060405180830381865afa158015610ce5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d0d9190810190612010565b8051909150156106aa57600081806020019051810190610d2d9190612492565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610da9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105519190612540565b6000806000610ddb84610557565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610e3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5e91906125ae565b15610edd5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610eac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed09190611fb2565b60645b9250925050915091565b610f618160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610f2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5291906125c9565b64ffffffffff90811691161090565b15610fda5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610faf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd39190611fb2565b606e610ed3565b806060015163ffffffff16816080015163ffffffff16106110695773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561103e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110629190611fb2565b6078610ed3565b6040810151600a610ed3565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f6111128561098f565b6040518263ffffffff1660e01b815260040161113091815260200190565b600060405180830381865afa15801561114d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111759190810190612010565b8051909150156106aa57808060200190518101906106a391906125f6565b6111f260405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611261573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112859190611fb2565b6040518263ffffffff1660e01b81526004016112a391815260200190565b600060405180830381865afa1580156112c0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112e89190810190612010565b8051909150156106aa57808060200190518101906106a3919061276a565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c6106d9565b60005460ff16156113955760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0382166113eb5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f0000000000604482015260640161138c565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611443573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061146791906125ae565b6114b35760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f00000000000000604482015260640161138c565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546bffffffffffffffffffffffff19166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801561153e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115669190810190612861565b90506115838160400151611578604690565b60ff90811691161490565b6115d95760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b606482015260840161138c565b60800151600180546001600160601b0316600160601b6001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b61162d6116bb565b6002546000906001600160a01b03166354f6127f610b64856106b0565b60408051610100810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a08201905b815260006020820181905260409091015290565b604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b031681526020016116a7604051806040016040528060008152602001600081525090565b600080604083850312156117bd57600080fd5b8235915060208301358060000b81146117d557600080fd5b809150509250929050565b6001600160c01b0319811681146117f657600080fd5b50565b60006020828403121561180b57600080fd5b81356106a3816117e0565b60005b83811015611831578181015183820152602001611819565b50506000910152565b60008151808452611852816020860160208601611816565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e0604084015261189661010084018261183a565b90506040840151606084015263ffffffff606085015116608084015260808401516118c960a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526118f8828261183a565b95945050505050565b6001600160601b03811681146117f657600080fd5b60006020828403121561192857600080fd5b81356106a381611901565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611970608084018261183a565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156119b0576119b0611978565b60405290565b604080519081016001600160401b03811182821017156119b0576119b0611978565b60405161010081016001600160401b03811182821017156119b0576119b0611978565b60405161014081016001600160401b03811182821017156119b0576119b0611978565b60405160a081016001600160401b03811182821017156119b0576119b0611978565b60405161020081016001600160401b03811182821017156119b0576119b0611978565b60405161012081016001600160401b03811182821017156119b0576119b0611978565b604051601f8201601f191681016001600160401b0381118282101715611aae57611aae611978565b604052919050565b60006001600160401b03821115611acf57611acf611978565b50601f01601f191660200190565b60008060408385031215611af057600080fd5b8235611afb81611901565b915060208301356001600160401b03811115611b1657600080fd5b8301601f81018513611b2757600080fd5b8035611b3a611b3582611ab6565b611a86565b818152866020838501011115611b4f57600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611b8157600080fd5b5035919050565b81516001600160601b031681526020808301516001600160a01b03169082015260408083015190820152606080830151610160830191611bd49084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b0381166101408401525092915050565b602081526001600160601b03825116602082015260006020830151604080840152611970606084018261183a565b80516001600160a01b031682526020810151611c8260208401826001600160a01b03169052565b506040810151611c9d60408401826001600160601b03169052565b506060810151611cb860608401826001600160601b03169052565b506080810151611cd5608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c0810151610100611d0b8185018380518252602090810151910152565b60e0830151805161014086015260208101516101608601529150820151805161018085015260208101516101a0850152905050610120015180516101c0830152602001516101e090910152565b61020081016105518284611c5b565b60208152611d816020820183516001600160601b03169052565b60006020830151611d9d60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101008181850152808501519150506102006101208181860152611e1561022086018461183a565b9250808601519050610140601f198685030181870152611e35848361183a565b935080870151915050610160611e508187018361ffff169052565b8601519050610180611e678682018361ffff169052565b8601516101a08681019190915286015190506101c0611e8e8187018364ffffffffff169052565b86015190506101e0611ea88682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6020815260008251610120806020850152611ede61014085018361183a565b91506020850151604085015260408501516060850152606085015160808501526080850151611f1560a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100611f4b8187018315159052565b860151858403601f1901838701529050611f65838261183a565b9695505050505050565b6001600160a01b03811681146117f657600080fd5b60008060408385031215611f9757600080fd5b8235611fa281611f6f565b915060208301356117d581611901565b600060208284031215611fc457600080fd5b5051919050565b600082601f830112611fdc57600080fd5b8151611fea611b3582611ab6565b818152846020838601011115611fff57600080fd5b611970826020830160208701611816565b60006020828403121561202257600080fd5b81516001600160401b0381111561203857600080fd5b61197084828501611fcb565b805161204f81611901565b919050565b63ffffffff811681146117f657600080fd5b805161204f81612054565b805164ffffffffff8116811461204f57600080fd5b60006020828403121561209857600080fd5b81516001600160401b03808211156120af57600080fd5b9083019060e082860312156120c357600080fd5b6120cb61198e565b6120d483612044565b81526020830151828111156120e857600080fd5b6120f487828601611fcb565b6020830152506040830151604082015261211060608401612066565b606082015261212160808401612066565b608082015261213260a08401612071565b60a082015260c08301518281111561214957600080fd5b61215587828601611fcb565b60c08301525095945050505050565b805161204f816117e0565b8051801515811461204f57600080fd5b60006020828403121561219157600080fd5b81516001600160401b03808211156121a857600080fd5b90830190606082860312156121bc57600080fd5b6040516060810181811083821117156121d7576121d7611978565b60405282516121e5816117e0565b81526121f36020840161216f565b602082015260408301518281111561220a57600080fd5b61221687828601611fcb565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611970604083018461183a565b60006020828403121561225957600080fd5b81516106a3816117e0565b805161204f81611f6f565b60006040828403121561228157600080fd5b6122896119b6565b9050815181526020820151602082015292915050565b600061016082840312156122b257600080fd5b6122ba6119d8565b6122c383612044565b81526122d160208401612264565b6020820152604083015160408201526122ed846060850161226f565b60608201526122ff8460a0850161226f565b60808201526123118460e0850161226f565b60a0820152612323610120840161216f565b60c08201526123356101408401612264565b60e08201529392505050565b60006020828403121561235357600080fd5b81516001600160401b038082111561236a57600080fd5b908301906040828603121561237e57600080fd5b6123866119b6565b825161239181611901565b81526020830151828111156123a557600080fd5b6123b187828601611fcb565b60208301525095945050505050565b600061020082840312156123d357600080fd5b6123db6119fb565b90506123e682612264565b81526123f460208301612264565b602082015261240560408301612044565b604082015261241660608301612044565b6060820152612428836080840161226f565b608082015261243a8360c0840161226f565b60a082015261010061244e8482850161226f565b60c083015261246184610140850161226f565b60e083015261247484610180850161226f565b90820152612486836101c0840161226f565b61012082015292915050565b600061020082840312156124a557600080fd5b61054e83836123c0565b600060c082840312156124c157600080fd5b6124c9611a1e565b82516124d481611901565b815260208301516124e481611f6f565b60208201526124f6846040850161226f565b60408201526125076080840161216f565b606082015260a083015161251a81611f6f565b60808201529392505050565b60ff811681146117f657600080fd5b805161204f81612526565b600060a0828403121561255257600080fd5b61255a611a1e565b825161256581612526565b8152602083015161257581612526565b6020820152604083015161258881611f6f565b6040820152606083015161259b81612054565b6060820152608083015161251a81612054565b6000602082840312156125c057600080fd5b61054e8261216f565b6000602082840312156125db57600080fd5b61054e82612071565b805161ffff8116811461204f57600080fd5b60006020828403121561260857600080fd5b81516001600160401b038082111561261f57600080fd5b90830190610200828603121561263457600080fd5b61263c611a40565b61264583612044565b815261265360208401612044565b602082015261266460408401612164565b604082015261267560608401612164565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e082015261010080840151838111156126b657600080fd5b6126c288828701611fcb565b82840152505061012080840151838111156126dc57600080fd5b6126e888828701611fcb565b82840152505061014091506126fe8284016125e4565b8282015261016091506127128284016125e4565b82820152610180915081830151828201526101a09150612733828401612071565b828201526101c09150612747828401612071565b828201526101e0915061275b828401612071565b91810191909152949350505050565b60006020828403121561277c57600080fd5b81516001600160401b038082111561279357600080fd5b9083019061012082860312156127a857600080fd5b6127b0611a63565b8251828111156127bf57600080fd5b6127cb87828601611fcb565b8252506020830151602082015260408301516040820152606083015160608201526127f860808401612066565b608082015261280960a08401612066565b60a082015261281a60c0840161216f565b60c082015261282b60e0840161216f565b60e0820152610100808401518381111561284457600080fd5b61285088828701611fcb565b918301919091525095945050505050565b60006020828403121561287357600080fd5b81516001600160401b038082111561288a57600080fd5b9083019060e0828603121561289e57600080fd5b6128a661198e565b6128af83612044565b81526128bd60208401612044565b60208201526128ce60408401612535565b60408201526128df6060840161216f565b60608201526128f060808401612264565b608082015261213260a0840161226456fea2646970667358221220f0fea64557c12a063d0a78dc529436392504c3dee21c2b680ee53b9fe590610b64736f6c63430008140033",
1082
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101735760003560e01c8063887b1fa9116100de578063bd7d9d8511610097578063dd26287a11610071578063dd26287a1461047c578063de7b5d141461048f578063f2a41374146104a7578063f2b246c3146104bc57600080fd5b8063bd7d9d851461042b578063d06458c61461044b578063d4cda0d81461046b57600080fd5b8063887b1fa9146102b757806390af7064146102d75780639ad69c67146102f7578063a310e2a314610369578063a5961b4c14610394578063b82d7ef51461040157600080fd5b806344aa68361161013057806344aa68361461023057806355e343a91461024357806364eb3a9b146102635780637bfd3217146102765780637e54602a146102895780637e7986691461029c57600080fd5b80631488c845146101785780631d3be4771461019e57806325d03743146101be57806327b1d792146101d157806335898f5d146101f15780633f093cd614610204575b600080fd5b61018b6101863660046117aa565b6104cf565b6040519081526020015b60405180910390f35b6101b16101ac3660046117f9565b610557565b6040516101959190611866565b61018b6101cc366004611916565b6106b0565b6101e46101df366004611916565b61074a565b6040516101959190611933565b61018b6101ff366004611916565b610804565b610217610212366004611add565b610831565b6040516001600160c01b03199091168152602001610195565b61018b61023e366004611b6f565b6108ae565b610256610251366004611916565b6108e9565b6040516101959190611b88565b61018b610271366004611916565b61098f565b61018b610284366004611916565b6109bc565b61018b610297366004611916565b6109e9565b6001546040516001600160601b039091168152602001610195565b6102ca6102c53660046117f9565b610a16565b6040516101959190611c2d565b6102ea6102e5366004611916565b610b3f565b6040516101959190611d58565b61030a610305366004611916565b610be5565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c001610195565b61037c610377366004611916565b610c8b565b6040516001600160a01b039091168152602001610195565b6103a76103a2366004611b6f565b610d39565b6040516101959190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61041461040f3660046117f9565b610dcd565b6040805192835260ff909116602083015201610195565b61043e610439366004611916565b611075565b6040516101959190611d67565b61045e6104593660046117f9565b611193565b6040516101959190611ebf565b6002546001600160a01b031661037c565b61018b61048a366004611916565b611306565b600154600160601b90046001600160a01b031661037c565b6104ba6104b5366004611f84565b611333565b005b6102ea6104ca366004611916565b611625565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af415801561052a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054e9190611fb2565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af41580156105fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106229190611fb2565b6040518263ffffffff1660e01b815260040161064091815260200190565b600060405180830381865afa15801561065d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106859190810190612010565b8051909150156106aa57808060200190518101906106a39190612086565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610726573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105519190611fb2565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f610783856109e9565b6040518263ffffffff1660e01b81526004016107a191815260200190565b600060405180830381865afa1580156107be573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107e69190810190612010565b8051909150156106aa57808060200190518101906106a3919061217f565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660786106d9565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd69061086d9086908690600401612225565b602060405180830381865af415801561088a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054e9190612247565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401610709565b6108f161164a565b6002546000906001600160a01b03166354f6127f61090e85611306565b6040518263ffffffff1660e01b815260040161092c91815260200190565b600060405180830381865afa158015610949573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109719190810190612010565b8051909150156106aa57808060200190518101906106a3919061229f565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d26106d9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e6106d9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a6106d9565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610a9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610abe9190611fb2565b6040518263ffffffff1660e01b8152600401610adc91815260200190565b600060405180830381865afa158015610af9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b219190810190612010565b8051909150156106aa57808060200190518101906106a39190612341565b610b476116bb565b6002546000906001600160a01b03166354f6127f610b64856109bc565b6040518263ffffffff1660e01b8152600401610b8291815260200190565b600060405180830381865afa158015610b9f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bc79190810190612010565b8051909150156106aa57808060200190518101906106a39190612492565b610bed611762565b6002546000906001600160a01b03166354f6127f610c0a85610804565b6040518263ffffffff1660e01b8152600401610c2891815260200190565b600060405180830381865afa158015610c45573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c6d9190810190612010565b8051909150156106aa57808060200190518101906106a391906124af565b60025460009081906001600160a01b03166354f6127f610caa856106b0565b6040518263ffffffff1660e01b8152600401610cc891815260200190565b600060405180830381865afa158015610ce5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d0d9190810190612010565b8051909150156106aa57600081806020019051810190610d2d9190612492565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610da9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105519190612540565b6000806000610ddb84610557565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610e3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5e91906125ae565b15610edd5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610eac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed09190611fb2565b60645b9250925050915091565b610f618160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610f2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5291906125c9565b64ffffffffff90811691161090565b15610fda5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610faf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd39190611fb2565b606e610ed3565b806060015163ffffffff16816080015163ffffffff16106110695773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561103e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110629190611fb2565b6078610ed3565b6040810151600a610ed3565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f6111128561098f565b6040518263ffffffff1660e01b815260040161113091815260200190565b600060405180830381865afa15801561114d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111759190810190612010565b8051909150156106aa57808060200190518101906106a391906125f6565b6111f260405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611261573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112859190611fb2565b6040518263ffffffff1660e01b81526004016112a391815260200190565b600060405180830381865afa1580156112c0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112e89190810190612010565b8051909150156106aa57808060200190518101906106a3919061276a565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c6106d9565b60005460ff16156113955760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0382166113eb5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f0000000000604482015260640161138c565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611443573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061146791906125ae565b6114b35760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f00000000000000604482015260640161138c565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546bffffffffffffffffffffffff19166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801561153e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115669190810190612861565b90506115838160400151611578604690565b60ff90811691161490565b6115d95760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b606482015260840161138c565b60800151600180546001600160601b0316600160601b6001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b61162d6116bb565b6002546000906001600160a01b03166354f6127f610b64856106b0565b60408051610100810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a08201905b815260006020820181905260409091015290565b604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b031681526020016116a7604051806040016040528060008152602001600081525090565b600080604083850312156117bd57600080fd5b8235915060208301358060000b81146117d557600080fd5b809150509250929050565b6001600160c01b0319811681146117f657600080fd5b50565b60006020828403121561180b57600080fd5b81356106a3816117e0565b60005b83811015611831578181015183820152602001611819565b50506000910152565b60008151808452611852816020860160208601611816565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e0604084015261189661010084018261183a565b90506040840151606084015263ffffffff606085015116608084015260808401516118c960a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526118f8828261183a565b95945050505050565b6001600160601b03811681146117f657600080fd5b60006020828403121561192857600080fd5b81356106a381611901565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611970608084018261183a565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156119b0576119b0611978565b60405290565b604080519081016001600160401b03811182821017156119b0576119b0611978565b60405161010081016001600160401b03811182821017156119b0576119b0611978565b60405161014081016001600160401b03811182821017156119b0576119b0611978565b60405160a081016001600160401b03811182821017156119b0576119b0611978565b60405161020081016001600160401b03811182821017156119b0576119b0611978565b60405161012081016001600160401b03811182821017156119b0576119b0611978565b604051601f8201601f191681016001600160401b0381118282101715611aae57611aae611978565b604052919050565b60006001600160401b03821115611acf57611acf611978565b50601f01601f191660200190565b60008060408385031215611af057600080fd5b8235611afb81611901565b915060208301356001600160401b03811115611b1657600080fd5b8301601f81018513611b2757600080fd5b8035611b3a611b3582611ab6565b611a86565b818152866020838501011115611b4f57600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611b8157600080fd5b5035919050565b81516001600160601b031681526020808301516001600160a01b03169082015260408083015190820152606080830151610160830191611bd49084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b0381166101408401525092915050565b602081526001600160601b03825116602082015260006020830151604080840152611970606084018261183a565b80516001600160a01b031682526020810151611c8260208401826001600160a01b03169052565b506040810151611c9d60408401826001600160601b03169052565b506060810151611cb860608401826001600160601b03169052565b506080810151611cd5608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c0810151610100611d0b8185018380518252602090810151910152565b60e0830151805161014086015260208101516101608601529150820151805161018085015260208101516101a0850152905050610120015180516101c0830152602001516101e090910152565b61020081016105518284611c5b565b60208152611d816020820183516001600160601b03169052565b60006020830151611d9d60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101008181850152808501519150506102006101208181860152611e1561022086018461183a565b9250808601519050610140601f198685030181870152611e35848361183a565b935080870151915050610160611e508187018361ffff169052565b8601519050610180611e678682018361ffff169052565b8601516101a08681019190915286015190506101c0611e8e8187018364ffffffffff169052565b86015190506101e0611ea88682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6020815260008251610120806020850152611ede61014085018361183a565b91506020850151604085015260408501516060850152606085015160808501526080850151611f1560a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100611f4b8187018315159052565b860151858403601f1901838701529050611f65838261183a565b9695505050505050565b6001600160a01b03811681146117f657600080fd5b60008060408385031215611f9757600080fd5b8235611fa281611f6f565b915060208301356117d581611901565b600060208284031215611fc457600080fd5b5051919050565b600082601f830112611fdc57600080fd5b8151611fea611b3582611ab6565b818152846020838601011115611fff57600080fd5b611970826020830160208701611816565b60006020828403121561202257600080fd5b81516001600160401b0381111561203857600080fd5b61197084828501611fcb565b805161204f81611901565b919050565b63ffffffff811681146117f657600080fd5b805161204f81612054565b805164ffffffffff8116811461204f57600080fd5b60006020828403121561209857600080fd5b81516001600160401b03808211156120af57600080fd5b9083019060e082860312156120c357600080fd5b6120cb61198e565b6120d483612044565b81526020830151828111156120e857600080fd5b6120f487828601611fcb565b6020830152506040830151604082015261211060608401612066565b606082015261212160808401612066565b608082015261213260a08401612071565b60a082015260c08301518281111561214957600080fd5b61215587828601611fcb565b60c08301525095945050505050565b805161204f816117e0565b8051801515811461204f57600080fd5b60006020828403121561219157600080fd5b81516001600160401b03808211156121a857600080fd5b90830190606082860312156121bc57600080fd5b6040516060810181811083821117156121d7576121d7611978565b60405282516121e5816117e0565b81526121f36020840161216f565b602082015260408301518281111561220a57600080fd5b61221687828601611fcb565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611970604083018461183a565b60006020828403121561225957600080fd5b81516106a3816117e0565b805161204f81611f6f565b60006040828403121561228157600080fd5b6122896119b6565b9050815181526020820151602082015292915050565b600061016082840312156122b257600080fd5b6122ba6119d8565b6122c383612044565b81526122d160208401612264565b6020820152604083015160408201526122ed846060850161226f565b60608201526122ff8460a0850161226f565b60808201526123118460e0850161226f565b60a0820152612323610120840161216f565b60c08201526123356101408401612264565b60e08201529392505050565b60006020828403121561235357600080fd5b81516001600160401b038082111561236a57600080fd5b908301906040828603121561237e57600080fd5b6123866119b6565b825161239181611901565b81526020830151828111156123a557600080fd5b6123b187828601611fcb565b60208301525095945050505050565b600061020082840312156123d357600080fd5b6123db6119fb565b90506123e682612264565b81526123f460208301612264565b602082015261240560408301612044565b604082015261241660608301612044565b6060820152612428836080840161226f565b608082015261243a8360c0840161226f565b60a082015261010061244e8482850161226f565b60c083015261246184610140850161226f565b60e083015261247484610180850161226f565b90820152612486836101c0840161226f565b61012082015292915050565b600061020082840312156124a557600080fd5b61054e83836123c0565b600060c082840312156124c157600080fd5b6124c9611a1e565b82516124d481611901565b815260208301516124e481611f6f565b60208201526124f6846040850161226f565b60408201526125076080840161216f565b606082015260a083015161251a81611f6f565b60808201529392505050565b60ff811681146117f657600080fd5b805161204f81612526565b600060a0828403121561255257600080fd5b61255a611a1e565b825161256581612526565b8152602083015161257581612526565b6020820152604083015161258881611f6f565b6040820152606083015161259b81612054565b6060820152608083015161251a81612054565b6000602082840312156125c057600080fd5b61054e8261216f565b6000602082840312156125db57600080fd5b61054e82612071565b805161ffff8116811461204f57600080fd5b60006020828403121561260857600080fd5b81516001600160401b038082111561261f57600080fd5b90830190610200828603121561263457600080fd5b61263c611a40565b61264583612044565b815261265360208401612044565b602082015261266460408401612164565b604082015261267560608401612164565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e082015261010080840151838111156126b657600080fd5b6126c288828701611fcb565b82840152505061012080840151838111156126dc57600080fd5b6126e888828701611fcb565b82840152505061014091506126fe8284016125e4565b8282015261016091506127128284016125e4565b82820152610180915081830151828201526101a09150612733828401612071565b828201526101c09150612747828401612071565b828201526101e0915061275b828401612071565b91810191909152949350505050565b60006020828403121561277c57600080fd5b81516001600160401b038082111561279357600080fd5b9083019061012082860312156127a857600080fd5b6127b0611a63565b8251828111156127bf57600080fd5b6127cb87828601611fcb565b8252506020830151602082015260408301516040820152606083015160608201526127f860808401612066565b608082015261280960a08401612066565b60a082015261281a60c0840161216f565b60c082015261282b60e0840161216f565b60e0820152610100808401518381111561284457600080fd5b61285088828701611fcb565b918301919091525095945050505050565b60006020828403121561287357600080fd5b81516001600160401b038082111561288a57600080fd5b9083019060e0828603121561289e57600080fd5b6128a661198e565b6128af83612044565b81526128bd60208401612044565b60208201526128ce60408401612535565b60408201526128df6060840161216f565b60608201526128f060808401612264565b608082015261213260a0840161226456fea2646970667358221220f0fea64557c12a063d0a78dc529436392504c3dee21c2b680ee53b9fe590610b64736f6c63430008140033",
710
1083
  "linkReferences": {
711
1084
  "contracts/types/DistributorType.sol": {
712
1085
  "DistributorTypeLib": [
713
1086
  {
714
1087
  "length": 20,
715
- "start": 5096
1088
+ "start": 6188
716
1089
  }
717
1090
  ]
718
1091
  },
@@ -720,19 +1093,35 @@
720
1093
  "NftIdLib": [
721
1094
  {
722
1095
  "length": 20,
723
- "start": 174
1096
+ "start": 289
724
1097
  },
725
1098
  {
726
1099
  "length": 20,
727
- "start": 2747
1100
+ "start": 3257
728
1101
  },
729
1102
  {
730
1103
  "length": 20,
731
- "start": 3277
1104
+ "start": 3597
732
1105
  },
733
1106
  {
734
1107
  "length": 20,
735
- "start": 3322
1108
+ "start": 3992
1109
+ },
1110
+ {
1111
+ "length": 20,
1112
+ "start": 4037
1113
+ },
1114
+ {
1115
+ "length": 20,
1116
+ "start": 4082
1117
+ },
1118
+ {
1119
+ "length": 20,
1120
+ "start": 6415
1121
+ },
1122
+ {
1123
+ "length": 20,
1124
+ "start": 6670
736
1125
  }
737
1126
  ]
738
1127
  },
@@ -740,11 +1129,11 @@
740
1129
  "ReferralLib": [
741
1130
  {
742
1131
  "length": 20,
743
- "start": 2514
1132
+ "start": 3017
744
1133
  },
745
1134
  {
746
1135
  "length": 20,
747
- "start": 3107
1136
+ "start": 3656
748
1137
  }
749
1138
  ]
750
1139
  },
@@ -752,7 +1141,7 @@
752
1141
  "RiskIdLib": [
753
1142
  {
754
1143
  "length": 20,
755
- "start": 3437
1144
+ "start": 4197
756
1145
  }
757
1146
  ]
758
1147
  },
@@ -760,35 +1149,35 @@
760
1149
  "TimestampLib": [
761
1150
  {
762
1151
  "length": 20,
763
- "start": 4033
1152
+ "start": 5125
764
1153
  },
765
1154
  {
766
1155
  "length": 20,
767
- "start": 4264
1156
+ "start": 5356
768
1157
  }
769
1158
  ]
770
1159
  },
771
1160
  "contracts/types/UFixed.sol": {
772
- "UFixedMathLib": [
1161
+ "UFixedLib": [
773
1162
  {
774
1163
  "length": 20,
775
- "start": 2304
1164
+ "start": 2805
776
1165
  },
777
1166
  {
778
1167
  "length": 20,
779
- "start": 3239
1168
+ "start": 3788
780
1169
  },
781
1170
  {
782
1171
  "length": 20,
783
- "start": 4134
1172
+ "start": 5226
784
1173
  },
785
1174
  {
786
1175
  "length": 20,
787
- "start": 4393
1176
+ "start": 5485
788
1177
  },
789
1178
  {
790
1179
  "length": 20,
791
- "start": 4536
1180
+ "start": 5628
792
1181
  }
793
1182
  ]
794
1183
  }
@@ -798,7 +1187,7 @@
798
1187
  "DistributorTypeLib": [
799
1188
  {
800
1189
  "length": 20,
801
- "start": 3729
1190
+ "start": 4647
802
1191
  }
803
1192
  ]
804
1193
  },
@@ -806,15 +1195,31 @@
806
1195
  "NftIdLib": [
807
1196
  {
808
1197
  "length": 20,
809
- "start": 1380
1198
+ "start": 1716
1199
+ },
1200
+ {
1201
+ "length": 20,
1202
+ "start": 2056
1203
+ },
1204
+ {
1205
+ "length": 20,
1206
+ "start": 2451
1207
+ },
1208
+ {
1209
+ "length": 20,
1210
+ "start": 2496
1211
+ },
1212
+ {
1213
+ "length": 20,
1214
+ "start": 2541
810
1215
  },
811
1216
  {
812
1217
  "length": 20,
813
- "start": 1910
1218
+ "start": 4874
814
1219
  },
815
1220
  {
816
1221
  "length": 20,
817
- "start": 1955
1222
+ "start": 5129
818
1223
  }
819
1224
  ]
820
1225
  },
@@ -822,11 +1227,11 @@
822
1227
  "ReferralLib": [
823
1228
  {
824
1229
  "length": 20,
825
- "start": 1147
1230
+ "start": 1476
826
1231
  },
827
1232
  {
828
1233
  "length": 20,
829
- "start": 1740
1234
+ "start": 2115
830
1235
  }
831
1236
  ]
832
1237
  },
@@ -834,7 +1239,7 @@
834
1239
  "RiskIdLib": [
835
1240
  {
836
1241
  "length": 20,
837
- "start": 2070
1242
+ "start": 2656
838
1243
  }
839
1244
  ]
840
1245
  },
@@ -842,35 +1247,35 @@
842
1247
  "TimestampLib": [
843
1248
  {
844
1249
  "length": 20,
845
- "start": 2666
1250
+ "start": 3584
846
1251
  },
847
1252
  {
848
1253
  "length": 20,
849
- "start": 2897
1254
+ "start": 3815
850
1255
  }
851
1256
  ]
852
1257
  },
853
1258
  "contracts/types/UFixed.sol": {
854
- "UFixedMathLib": [
1259
+ "UFixedLib": [
855
1260
  {
856
1261
  "length": 20,
857
- "start": 937
1262
+ "start": 1264
858
1263
  },
859
1264
  {
860
1265
  "length": 20,
861
- "start": 1872
1266
+ "start": 2247
862
1267
  },
863
1268
  {
864
1269
  "length": 20,
865
- "start": 2767
1270
+ "start": 3685
866
1271
  },
867
1272
  {
868
1273
  "length": 20,
869
- "start": 3026
1274
+ "start": 3944
870
1275
  },
871
1276
  {
872
1277
  "length": 20,
873
- "start": 3169
1278
+ "start": 4087
874
1279
  }
875
1280
  ]
876
1281
  }