@etherisc/gif-next 0.0.2-e922e07-736 → 0.0.2-e9a637d-547

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