@etherisc/gif-next 0.0.2-d2fd9d7-008 → 0.0.2-d30275e-758
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +28 -14
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/components/Component.sol/Component.json +842 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +946 -219
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IComponent.sol/IComponent.json +605 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +848 -31
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +846 -57
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +682 -9
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +806 -243
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +632 -194
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +69 -66
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +5 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +303 -1340
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +337 -168
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +439 -3102
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +609 -178
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +124 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +251 -270
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +457 -402
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +292 -131
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2663 -0
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +11 -27
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/instance/base/{ComponentServiceBase.sol/ComponentServiceBase.json → ComponentService.sol/ComponentService.json} +277 -178
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +71 -45
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +902 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +649 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1326 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +725 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1072 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +685 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1022 -223
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +392 -79
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IApplicationService.sol/IApplicationService.json} +235 -200
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +714 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +602 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +585 -160
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +969 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +536 -304
- package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.dbg.json +4 -0
- package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → instance/service/IPricingService.sol/IPricingService.json} +248 -172
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +78 -388
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1575 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +741 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +832 -400
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +338 -93
- package/artifacts/contracts/instance/service/PricingService.sol/PricingService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PricingService.sol/PricingService.json +988 -0
- package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.json +689 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +289 -564
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +289 -124
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +244 -133
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +149 -230
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +257 -235
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +200 -335
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +298 -145
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +141 -53
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -34
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +86 -172
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -27
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -61
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +191 -163
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +129 -51
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +210 -214
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
- package/artifacts/contracts/types/Amount.sol/AmountLib.json +209 -0
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +179 -0
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +40 -9
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +209 -0
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
- package/contracts/components/Component.sol +253 -0
- package/contracts/components/Distribution.sol +204 -83
- package/contracts/components/IComponent.sol +76 -0
- package/contracts/components/IDistributionComponent.sol +44 -17
- package/contracts/components/IPoolComponent.sol +88 -41
- package/contracts/components/IProductComponent.sol +10 -5
- package/contracts/components/Pool.sol +217 -182
- package/contracts/components/Product.sol +248 -163
- package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
- package/contracts/instance/BundleManager.sol +17 -20
- package/contracts/instance/Cloneable.sol +7 -2
- package/contracts/instance/IInstance.sol +57 -33
- package/contracts/instance/IInstanceService.sol +56 -9
- package/contracts/instance/Instance.sol +150 -367
- package/contracts/instance/InstanceAccessManager.sol +430 -177
- package/contracts/instance/InstanceAuthorizationsLib.sol +300 -0
- package/contracts/instance/InstanceReader.sol +44 -39
- package/contracts/instance/InstanceService.sol +243 -166
- package/contracts/instance/InstanceServiceManager.sol +6 -9
- package/contracts/instance/InstanceStore.sol +208 -0
- package/contracts/instance/ObjectManager.sol +11 -24
- package/contracts/instance/base/ComponentService.sol +148 -0
- package/contracts/instance/base/KeyValueStore.sol +13 -5
- package/contracts/instance/base/Lifecycle.sol +23 -6
- package/contracts/instance/module/IAccess.sol +36 -20
- package/contracts/instance/module/IBundle.sol +8 -5
- package/contracts/instance/module/IComponents.sol +41 -0
- package/contracts/instance/module/IDistribution.sol +2 -0
- package/contracts/instance/module/IPolicy.sol +41 -9
- package/contracts/instance/module/ISetup.sol +7 -20
- package/contracts/instance/service/ApplicationService.sol +185 -0
- package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
- package/contracts/instance/service/BundleService.sol +440 -0
- package/contracts/instance/service/BundleServiceManager.sol +51 -0
- package/contracts/instance/service/ClaimService.sol +239 -0
- package/contracts/instance/service/ClaimServiceManager.sol +35 -0
- package/contracts/instance/service/DistributionService.sol +287 -33
- package/contracts/instance/service/DistributionServiceManager.sol +7 -10
- package/contracts/instance/service/IApplicationService.sol +61 -0
- package/contracts/instance/service/IBundleService.sol +102 -0
- package/contracts/instance/service/IClaimService.sol +92 -0
- package/contracts/instance/service/IDistributionService.sol +74 -1
- package/contracts/instance/service/IPolicyService.sol +139 -0
- package/contracts/instance/service/IPoolService.sol +76 -25
- package/contracts/instance/service/IPricingService.sol +36 -0
- package/contracts/instance/service/IProductService.sol +2 -72
- package/contracts/instance/service/PolicyService.sol +577 -0
- package/contracts/instance/service/PolicyServiceManager.sol +54 -0
- package/contracts/instance/service/PoolService.sol +232 -183
- package/contracts/instance/service/PoolServiceManager.sol +6 -9
- package/contracts/instance/service/PricingService.sol +275 -0
- package/contracts/instance/service/PricingServiceManager.sol +51 -0
- package/contracts/instance/service/ProductService.sol +109 -469
- package/contracts/instance/service/ProductServiceManager.sol +2 -2
- package/contracts/registry/ChainNft.sol +9 -1
- package/contracts/registry/IRegistry.sol +39 -19
- package/contracts/registry/IRegistryService.sol +31 -13
- package/contracts/registry/ITransferInterceptor.sol +1 -0
- package/contracts/registry/Registry.sol +243 -224
- package/contracts/registry/RegistryAccessManager.sol +216 -0
- package/contracts/registry/RegistryService.sol +101 -173
- package/contracts/registry/RegistryServiceManager.sol +21 -39
- package/contracts/registry/ReleaseManager.sol +324 -0
- package/contracts/registry/TokenRegistry.sol +22 -17
- package/contracts/shared/ERC165.sol +14 -12
- package/contracts/shared/INftOwnable.sol +11 -10
- package/contracts/shared/IPolicyHolder.sol +26 -0
- package/contracts/shared/IRegisterable.sol +4 -6
- package/contracts/shared/IRegistryLinked.sol +12 -0
- package/contracts/shared/IService.sol +5 -4
- package/contracts/shared/IVersionable.sol +4 -47
- package/contracts/shared/NftOwnable.sol +66 -80
- package/contracts/shared/PolicyHolder.sol +81 -0
- package/contracts/shared/ProxyManager.sol +100 -25
- package/contracts/shared/Registerable.sol +16 -32
- package/contracts/shared/RegistryLinked.sol +48 -0
- package/contracts/shared/Service.sol +41 -24
- package/contracts/shared/TokenHandler.sol +11 -5
- package/contracts/shared/Versionable.sol +4 -92
- package/contracts/test/TestRegisterable.sol +1 -1
- package/contracts/test/TestService.sol +4 -3
- package/contracts/types/Amount.sol +70 -0
- package/contracts/types/Blocknumber.sol +1 -0
- package/contracts/types/ClaimId.sol +75 -0
- package/contracts/types/DistributorType.sol +2 -2
- package/contracts/types/Fee.sol +13 -5
- package/contracts/types/NftId.sol +8 -0
- package/contracts/types/ObjectType.sol +16 -7
- package/contracts/types/PayoutId.sol +82 -0
- package/contracts/types/Referral.sol +4 -0
- package/contracts/types/RoleId.sol +26 -19
- package/contracts/types/Seconds.sol +54 -0
- package/contracts/types/StateId.sol +7 -2
- package/contracts/types/Timestamp.sol +18 -13
- package/contracts/types/UFixed.sol +1 -0
- package/contracts/types/Version.sol +1 -0
- package/package.json +3 -3
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
- package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.json +0 -101
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
- package/contracts/components/BaseComponent.sol +0 -91
- package/contracts/components/IBaseComponent.sol +0 -25
- package/contracts/experiment/cloning/Cloner.sol +0 -47
- package/contracts/experiment/errors/Require.sol +0 -38
- package/contracts/experiment/errors/Revert.sol +0 -44
- package/contracts/experiment/inheritance/A.sol +0 -53
- package/contracts/experiment/inheritance/B.sol +0 -28
- package/contracts/experiment/inheritance/C.sol +0 -34
- package/contracts/experiment/inheritance/IA.sol +0 -13
- package/contracts/experiment/inheritance/IB.sol +0 -10
- package/contracts/experiment/inheritance/IC.sol +0 -12
- package/contracts/experiment/statemachine/Dummy.sol +0 -27
- package/contracts/experiment/statemachine/ISM.sol +0 -25
- package/contracts/experiment/statemachine/SM.sol +0 -57
- package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
- package/contracts/experiment/types/TypeA.sol +0 -47
- package/contracts/experiment/types/TypeB.sol +0 -29
- package/contracts/instance/AccessManagedSimple.sol +0 -115
- package/contracts/instance/AccessManagerSimple.sol +0 -692
- package/contracts/instance/IAccessManagerSimple.sol +0 -391
- package/contracts/instance/base/ComponentServiceBase.sol +0 -134
- package/contracts/instance/base/IInstanceBase.sol +0 -23
- package/contracts/instance/service/ComponentOwnerService.sol +0 -317
- package/contracts/instance/service/IComponentOwnerService.sol +0 -20
- package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -0,0 +1,2663 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "InstanceStore",
|
4
|
+
"sourceName": "contracts/instance/InstanceStore.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "authority",
|
11
|
+
"type": "address"
|
12
|
+
}
|
13
|
+
],
|
14
|
+
"name": "AccessManagedInvalidAuthority",
|
15
|
+
"type": "error"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"inputs": [
|
19
|
+
{
|
20
|
+
"internalType": "address",
|
21
|
+
"name": "caller",
|
22
|
+
"type": "address"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"internalType": "uint32",
|
26
|
+
"name": "delay",
|
27
|
+
"type": "uint32"
|
28
|
+
}
|
29
|
+
],
|
30
|
+
"name": "AccessManagedRequiredDelay",
|
31
|
+
"type": "error"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"inputs": [
|
35
|
+
{
|
36
|
+
"internalType": "address",
|
37
|
+
"name": "caller",
|
38
|
+
"type": "address"
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"name": "AccessManagedUnauthorized",
|
42
|
+
"type": "error"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"inputs": [
|
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
|
+
{
|
66
|
+
"inputs": [
|
67
|
+
{
|
68
|
+
"internalType": "NftId",
|
69
|
+
"name": "nftId",
|
70
|
+
"type": "uint96"
|
71
|
+
},
|
72
|
+
{
|
73
|
+
"internalType": "ObjectType",
|
74
|
+
"name": "objectType",
|
75
|
+
"type": "uint8"
|
76
|
+
}
|
77
|
+
],
|
78
|
+
"name": "ErrorNoLifecycle",
|
79
|
+
"type": "error"
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"inputs": [],
|
83
|
+
"name": "InvalidInitialization",
|
84
|
+
"type": "error"
|
85
|
+
},
|
86
|
+
{
|
87
|
+
"inputs": [],
|
88
|
+
"name": "NotInitializing",
|
89
|
+
"type": "error"
|
90
|
+
},
|
91
|
+
{
|
92
|
+
"anonymous": false,
|
93
|
+
"inputs": [
|
94
|
+
{
|
95
|
+
"indexed": false,
|
96
|
+
"internalType": "address",
|
97
|
+
"name": "authority",
|
98
|
+
"type": "address"
|
99
|
+
}
|
100
|
+
],
|
101
|
+
"name": "AuthorityUpdated",
|
102
|
+
"type": "event"
|
103
|
+
},
|
104
|
+
{
|
105
|
+
"anonymous": false,
|
106
|
+
"inputs": [
|
107
|
+
{
|
108
|
+
"indexed": false,
|
109
|
+
"internalType": "uint64",
|
110
|
+
"name": "version",
|
111
|
+
"type": "uint64"
|
112
|
+
}
|
113
|
+
],
|
114
|
+
"name": "Initialized",
|
115
|
+
"type": "event"
|
116
|
+
},
|
117
|
+
{
|
118
|
+
"anonymous": false,
|
119
|
+
"inputs": [
|
120
|
+
{
|
121
|
+
"indexed": false,
|
122
|
+
"internalType": "ObjectType",
|
123
|
+
"name": "objectType",
|
124
|
+
"type": "uint8"
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"indexed": false,
|
128
|
+
"internalType": "KeyId",
|
129
|
+
"name": "keyId",
|
130
|
+
"type": "bytes31"
|
131
|
+
},
|
132
|
+
{
|
133
|
+
"indexed": false,
|
134
|
+
"internalType": "StateId",
|
135
|
+
"name": "state",
|
136
|
+
"type": "uint8"
|
137
|
+
},
|
138
|
+
{
|
139
|
+
"indexed": false,
|
140
|
+
"internalType": "address",
|
141
|
+
"name": "createdBy",
|
142
|
+
"type": "address"
|
143
|
+
},
|
144
|
+
{
|
145
|
+
"indexed": false,
|
146
|
+
"internalType": "address",
|
147
|
+
"name": "txOrigin",
|
148
|
+
"type": "address"
|
149
|
+
}
|
150
|
+
],
|
151
|
+
"name": "LogInfoCreated",
|
152
|
+
"type": "event"
|
153
|
+
},
|
154
|
+
{
|
155
|
+
"anonymous": false,
|
156
|
+
"inputs": [
|
157
|
+
{
|
158
|
+
"indexed": false,
|
159
|
+
"internalType": "ObjectType",
|
160
|
+
"name": "objectType",
|
161
|
+
"type": "uint8"
|
162
|
+
},
|
163
|
+
{
|
164
|
+
"indexed": false,
|
165
|
+
"internalType": "KeyId",
|
166
|
+
"name": "keyId",
|
167
|
+
"type": "bytes31"
|
168
|
+
},
|
169
|
+
{
|
170
|
+
"indexed": false,
|
171
|
+
"internalType": "StateId",
|
172
|
+
"name": "state",
|
173
|
+
"type": "uint8"
|
174
|
+
},
|
175
|
+
{
|
176
|
+
"indexed": false,
|
177
|
+
"internalType": "address",
|
178
|
+
"name": "updatedBy",
|
179
|
+
"type": "address"
|
180
|
+
},
|
181
|
+
{
|
182
|
+
"indexed": false,
|
183
|
+
"internalType": "address",
|
184
|
+
"name": "txOrigin",
|
185
|
+
"type": "address"
|
186
|
+
},
|
187
|
+
{
|
188
|
+
"indexed": false,
|
189
|
+
"internalType": "Blocknumber",
|
190
|
+
"name": "lastUpdatedIn",
|
191
|
+
"type": "uint32"
|
192
|
+
}
|
193
|
+
],
|
194
|
+
"name": "LogInfoUpdated",
|
195
|
+
"type": "event"
|
196
|
+
},
|
197
|
+
{
|
198
|
+
"anonymous": false,
|
199
|
+
"inputs": [
|
200
|
+
{
|
201
|
+
"indexed": false,
|
202
|
+
"internalType": "ObjectType",
|
203
|
+
"name": "objectType",
|
204
|
+
"type": "uint8"
|
205
|
+
},
|
206
|
+
{
|
207
|
+
"indexed": false,
|
208
|
+
"internalType": "KeyId",
|
209
|
+
"name": "keyId",
|
210
|
+
"type": "bytes31"
|
211
|
+
},
|
212
|
+
{
|
213
|
+
"indexed": false,
|
214
|
+
"internalType": "StateId",
|
215
|
+
"name": "stateOld",
|
216
|
+
"type": "uint8"
|
217
|
+
},
|
218
|
+
{
|
219
|
+
"indexed": false,
|
220
|
+
"internalType": "StateId",
|
221
|
+
"name": "stateNew",
|
222
|
+
"type": "uint8"
|
223
|
+
},
|
224
|
+
{
|
225
|
+
"indexed": false,
|
226
|
+
"internalType": "address",
|
227
|
+
"name": "updatedBy",
|
228
|
+
"type": "address"
|
229
|
+
},
|
230
|
+
{
|
231
|
+
"indexed": false,
|
232
|
+
"internalType": "address",
|
233
|
+
"name": "txOrigin",
|
234
|
+
"type": "address"
|
235
|
+
},
|
236
|
+
{
|
237
|
+
"indexed": false,
|
238
|
+
"internalType": "Blocknumber",
|
239
|
+
"name": "lastUpdatedIn",
|
240
|
+
"type": "uint32"
|
241
|
+
}
|
242
|
+
],
|
243
|
+
"name": "LogStateUpdated",
|
244
|
+
"type": "event"
|
245
|
+
},
|
246
|
+
{
|
247
|
+
"inputs": [],
|
248
|
+
"name": "authority",
|
249
|
+
"outputs": [
|
250
|
+
{
|
251
|
+
"internalType": "address",
|
252
|
+
"name": "",
|
253
|
+
"type": "address"
|
254
|
+
}
|
255
|
+
],
|
256
|
+
"stateMutability": "view",
|
257
|
+
"type": "function"
|
258
|
+
},
|
259
|
+
{
|
260
|
+
"inputs": [
|
261
|
+
{
|
262
|
+
"internalType": "ObjectType",
|
263
|
+
"name": "objectType",
|
264
|
+
"type": "uint8"
|
265
|
+
},
|
266
|
+
{
|
267
|
+
"internalType": "StateId",
|
268
|
+
"name": "fromId",
|
269
|
+
"type": "uint8"
|
270
|
+
},
|
271
|
+
{
|
272
|
+
"internalType": "StateId",
|
273
|
+
"name": "toId",
|
274
|
+
"type": "uint8"
|
275
|
+
}
|
276
|
+
],
|
277
|
+
"name": "checkTransition",
|
278
|
+
"outputs": [],
|
279
|
+
"stateMutability": "view",
|
280
|
+
"type": "function"
|
281
|
+
},
|
282
|
+
{
|
283
|
+
"inputs": [
|
284
|
+
{
|
285
|
+
"internalType": "NftId",
|
286
|
+
"name": "applicationNftId",
|
287
|
+
"type": "uint96"
|
288
|
+
},
|
289
|
+
{
|
290
|
+
"components": [
|
291
|
+
{
|
292
|
+
"internalType": "NftId",
|
293
|
+
"name": "productNftId",
|
294
|
+
"type": "uint96"
|
295
|
+
},
|
296
|
+
{
|
297
|
+
"internalType": "NftId",
|
298
|
+
"name": "bundleNftId",
|
299
|
+
"type": "uint96"
|
300
|
+
},
|
301
|
+
{
|
302
|
+
"internalType": "ReferralId",
|
303
|
+
"name": "referralId",
|
304
|
+
"type": "bytes8"
|
305
|
+
},
|
306
|
+
{
|
307
|
+
"internalType": "RiskId",
|
308
|
+
"name": "riskId",
|
309
|
+
"type": "bytes8"
|
310
|
+
},
|
311
|
+
{
|
312
|
+
"internalType": "uint256",
|
313
|
+
"name": "sumInsuredAmount",
|
314
|
+
"type": "uint256"
|
315
|
+
},
|
316
|
+
{
|
317
|
+
"internalType": "uint256",
|
318
|
+
"name": "premiumAmount",
|
319
|
+
"type": "uint256"
|
320
|
+
},
|
321
|
+
{
|
322
|
+
"internalType": "uint256",
|
323
|
+
"name": "premiumPaidAmount",
|
324
|
+
"type": "uint256"
|
325
|
+
},
|
326
|
+
{
|
327
|
+
"internalType": "Seconds",
|
328
|
+
"name": "lifetime",
|
329
|
+
"type": "uint40"
|
330
|
+
},
|
331
|
+
{
|
332
|
+
"internalType": "bytes",
|
333
|
+
"name": "applicationData",
|
334
|
+
"type": "bytes"
|
335
|
+
},
|
336
|
+
{
|
337
|
+
"internalType": "bytes",
|
338
|
+
"name": "policyData",
|
339
|
+
"type": "bytes"
|
340
|
+
},
|
341
|
+
{
|
342
|
+
"internalType": "uint16",
|
343
|
+
"name": "claimsCount",
|
344
|
+
"type": "uint16"
|
345
|
+
},
|
346
|
+
{
|
347
|
+
"internalType": "uint16",
|
348
|
+
"name": "openClaimsCount",
|
349
|
+
"type": "uint16"
|
350
|
+
},
|
351
|
+
{
|
352
|
+
"internalType": "Amount",
|
353
|
+
"name": "payoutAmount",
|
354
|
+
"type": "uint96"
|
355
|
+
},
|
356
|
+
{
|
357
|
+
"internalType": "Timestamp",
|
358
|
+
"name": "activatedAt",
|
359
|
+
"type": "uint40"
|
360
|
+
},
|
361
|
+
{
|
362
|
+
"internalType": "Timestamp",
|
363
|
+
"name": "expiredAt",
|
364
|
+
"type": "uint40"
|
365
|
+
},
|
366
|
+
{
|
367
|
+
"internalType": "Timestamp",
|
368
|
+
"name": "closedAt",
|
369
|
+
"type": "uint40"
|
370
|
+
}
|
371
|
+
],
|
372
|
+
"internalType": "struct IPolicy.PolicyInfo",
|
373
|
+
"name": "policy",
|
374
|
+
"type": "tuple"
|
375
|
+
}
|
376
|
+
],
|
377
|
+
"name": "createApplication",
|
378
|
+
"outputs": [],
|
379
|
+
"stateMutability": "nonpayable",
|
380
|
+
"type": "function"
|
381
|
+
},
|
382
|
+
{
|
383
|
+
"inputs": [
|
384
|
+
{
|
385
|
+
"internalType": "NftId",
|
386
|
+
"name": "bundleNftId",
|
387
|
+
"type": "uint96"
|
388
|
+
},
|
389
|
+
{
|
390
|
+
"components": [
|
391
|
+
{
|
392
|
+
"internalType": "NftId",
|
393
|
+
"name": "poolNftId",
|
394
|
+
"type": "uint96"
|
395
|
+
},
|
396
|
+
{
|
397
|
+
"components": [
|
398
|
+
{
|
399
|
+
"internalType": "UFixed",
|
400
|
+
"name": "fractionalFee",
|
401
|
+
"type": "uint256"
|
402
|
+
},
|
403
|
+
{
|
404
|
+
"internalType": "uint256",
|
405
|
+
"name": "fixedFee",
|
406
|
+
"type": "uint256"
|
407
|
+
}
|
408
|
+
],
|
409
|
+
"internalType": "struct Fee",
|
410
|
+
"name": "fee",
|
411
|
+
"type": "tuple"
|
412
|
+
},
|
413
|
+
{
|
414
|
+
"internalType": "bytes",
|
415
|
+
"name": "filter",
|
416
|
+
"type": "bytes"
|
417
|
+
},
|
418
|
+
{
|
419
|
+
"internalType": "Amount",
|
420
|
+
"name": "capitalAmount",
|
421
|
+
"type": "uint96"
|
422
|
+
},
|
423
|
+
{
|
424
|
+
"internalType": "Amount",
|
425
|
+
"name": "lockedAmount",
|
426
|
+
"type": "uint96"
|
427
|
+
},
|
428
|
+
{
|
429
|
+
"internalType": "Amount",
|
430
|
+
"name": "feeAmount",
|
431
|
+
"type": "uint96"
|
432
|
+
},
|
433
|
+
{
|
434
|
+
"internalType": "Seconds",
|
435
|
+
"name": "lifetime",
|
436
|
+
"type": "uint40"
|
437
|
+
},
|
438
|
+
{
|
439
|
+
"internalType": "Timestamp",
|
440
|
+
"name": "expiredAt",
|
441
|
+
"type": "uint40"
|
442
|
+
},
|
443
|
+
{
|
444
|
+
"internalType": "Timestamp",
|
445
|
+
"name": "closedAt",
|
446
|
+
"type": "uint40"
|
447
|
+
}
|
448
|
+
],
|
449
|
+
"internalType": "struct IBundle.BundleInfo",
|
450
|
+
"name": "bundle",
|
451
|
+
"type": "tuple"
|
452
|
+
}
|
453
|
+
],
|
454
|
+
"name": "createBundle",
|
455
|
+
"outputs": [],
|
456
|
+
"stateMutability": "nonpayable",
|
457
|
+
"type": "function"
|
458
|
+
},
|
459
|
+
{
|
460
|
+
"inputs": [
|
461
|
+
{
|
462
|
+
"internalType": "NftId",
|
463
|
+
"name": "policyNftId",
|
464
|
+
"type": "uint96"
|
465
|
+
},
|
466
|
+
{
|
467
|
+
"internalType": "ClaimId",
|
468
|
+
"name": "claimId",
|
469
|
+
"type": "uint16"
|
470
|
+
},
|
471
|
+
{
|
472
|
+
"components": [
|
473
|
+
{
|
474
|
+
"internalType": "Amount",
|
475
|
+
"name": "claimAmount",
|
476
|
+
"type": "uint96"
|
477
|
+
},
|
478
|
+
{
|
479
|
+
"internalType": "Amount",
|
480
|
+
"name": "paidAmount",
|
481
|
+
"type": "uint96"
|
482
|
+
},
|
483
|
+
{
|
484
|
+
"internalType": "uint8",
|
485
|
+
"name": "payoutsCount",
|
486
|
+
"type": "uint8"
|
487
|
+
},
|
488
|
+
{
|
489
|
+
"internalType": "uint8",
|
490
|
+
"name": "openPayoutsCount",
|
491
|
+
"type": "uint8"
|
492
|
+
},
|
493
|
+
{
|
494
|
+
"internalType": "bytes",
|
495
|
+
"name": "data",
|
496
|
+
"type": "bytes"
|
497
|
+
},
|
498
|
+
{
|
499
|
+
"internalType": "Timestamp",
|
500
|
+
"name": "closedAt",
|
501
|
+
"type": "uint40"
|
502
|
+
}
|
503
|
+
],
|
504
|
+
"internalType": "struct IPolicy.ClaimInfo",
|
505
|
+
"name": "claim",
|
506
|
+
"type": "tuple"
|
507
|
+
}
|
508
|
+
],
|
509
|
+
"name": "createClaim",
|
510
|
+
"outputs": [],
|
511
|
+
"stateMutability": "nonpayable",
|
512
|
+
"type": "function"
|
513
|
+
},
|
514
|
+
{
|
515
|
+
"inputs": [
|
516
|
+
{
|
517
|
+
"internalType": "NftId",
|
518
|
+
"name": "distributionNftId",
|
519
|
+
"type": "uint96"
|
520
|
+
},
|
521
|
+
{
|
522
|
+
"components": [
|
523
|
+
{
|
524
|
+
"internalType": "NftId",
|
525
|
+
"name": "productNftId",
|
526
|
+
"type": "uint96"
|
527
|
+
},
|
528
|
+
{
|
529
|
+
"internalType": "contract TokenHandler",
|
530
|
+
"name": "tokenHandler",
|
531
|
+
"type": "address"
|
532
|
+
},
|
533
|
+
{
|
534
|
+
"components": [
|
535
|
+
{
|
536
|
+
"internalType": "UFixed",
|
537
|
+
"name": "fractionalFee",
|
538
|
+
"type": "uint256"
|
539
|
+
},
|
540
|
+
{
|
541
|
+
"internalType": "uint256",
|
542
|
+
"name": "fixedFee",
|
543
|
+
"type": "uint256"
|
544
|
+
}
|
545
|
+
],
|
546
|
+
"internalType": "struct Fee",
|
547
|
+
"name": "minDistributionOwnerFee",
|
548
|
+
"type": "tuple"
|
549
|
+
},
|
550
|
+
{
|
551
|
+
"components": [
|
552
|
+
{
|
553
|
+
"internalType": "UFixed",
|
554
|
+
"name": "fractionalFee",
|
555
|
+
"type": "uint256"
|
556
|
+
},
|
557
|
+
{
|
558
|
+
"internalType": "uint256",
|
559
|
+
"name": "fixedFee",
|
560
|
+
"type": "uint256"
|
561
|
+
}
|
562
|
+
],
|
563
|
+
"internalType": "struct Fee",
|
564
|
+
"name": "distributionFee",
|
565
|
+
"type": "tuple"
|
566
|
+
},
|
567
|
+
{
|
568
|
+
"internalType": "address",
|
569
|
+
"name": "wallet",
|
570
|
+
"type": "address"
|
571
|
+
},
|
572
|
+
{
|
573
|
+
"internalType": "uint256",
|
574
|
+
"name": "sumDistributionOwnerFees",
|
575
|
+
"type": "uint256"
|
576
|
+
}
|
577
|
+
],
|
578
|
+
"internalType": "struct ISetup.DistributionSetupInfo",
|
579
|
+
"name": "setup",
|
580
|
+
"type": "tuple"
|
581
|
+
}
|
582
|
+
],
|
583
|
+
"name": "createDistributionSetup",
|
584
|
+
"outputs": [],
|
585
|
+
"stateMutability": "nonpayable",
|
586
|
+
"type": "function"
|
587
|
+
},
|
588
|
+
{
|
589
|
+
"inputs": [
|
590
|
+
{
|
591
|
+
"internalType": "NftId",
|
592
|
+
"name": "distributorNftId",
|
593
|
+
"type": "uint96"
|
594
|
+
},
|
595
|
+
{
|
596
|
+
"components": [
|
597
|
+
{
|
598
|
+
"internalType": "DistributorType",
|
599
|
+
"name": "distributorType",
|
600
|
+
"type": "bytes8"
|
601
|
+
},
|
602
|
+
{
|
603
|
+
"internalType": "bool",
|
604
|
+
"name": "active",
|
605
|
+
"type": "bool"
|
606
|
+
},
|
607
|
+
{
|
608
|
+
"internalType": "bytes",
|
609
|
+
"name": "data",
|
610
|
+
"type": "bytes"
|
611
|
+
},
|
612
|
+
{
|
613
|
+
"internalType": "uint256",
|
614
|
+
"name": "sumCommisions",
|
615
|
+
"type": "uint256"
|
616
|
+
},
|
617
|
+
{
|
618
|
+
"internalType": "uint256",
|
619
|
+
"name": "numPoliciesSold",
|
620
|
+
"type": "uint256"
|
621
|
+
}
|
622
|
+
],
|
623
|
+
"internalType": "struct IDistribution.DistributorInfo",
|
624
|
+
"name": "info",
|
625
|
+
"type": "tuple"
|
626
|
+
}
|
627
|
+
],
|
628
|
+
"name": "createDistributor",
|
629
|
+
"outputs": [],
|
630
|
+
"stateMutability": "nonpayable",
|
631
|
+
"type": "function"
|
632
|
+
},
|
633
|
+
{
|
634
|
+
"inputs": [
|
635
|
+
{
|
636
|
+
"internalType": "DistributorType",
|
637
|
+
"name": "distributorType",
|
638
|
+
"type": "bytes8"
|
639
|
+
},
|
640
|
+
{
|
641
|
+
"components": [
|
642
|
+
{
|
643
|
+
"internalType": "string",
|
644
|
+
"name": "name",
|
645
|
+
"type": "string"
|
646
|
+
},
|
647
|
+
{
|
648
|
+
"internalType": "UFixed",
|
649
|
+
"name": "minDiscountPercentage",
|
650
|
+
"type": "uint256"
|
651
|
+
},
|
652
|
+
{
|
653
|
+
"internalType": "UFixed",
|
654
|
+
"name": "maxDiscountPercentage",
|
655
|
+
"type": "uint256"
|
656
|
+
},
|
657
|
+
{
|
658
|
+
"internalType": "UFixed",
|
659
|
+
"name": "commissionPercentage",
|
660
|
+
"type": "uint256"
|
661
|
+
},
|
662
|
+
{
|
663
|
+
"internalType": "uint32",
|
664
|
+
"name": "maxReferralCount",
|
665
|
+
"type": "uint32"
|
666
|
+
},
|
667
|
+
{
|
668
|
+
"internalType": "uint32",
|
669
|
+
"name": "maxReferralLifetime",
|
670
|
+
"type": "uint32"
|
671
|
+
},
|
672
|
+
{
|
673
|
+
"internalType": "bool",
|
674
|
+
"name": "allowSelfReferrals",
|
675
|
+
"type": "bool"
|
676
|
+
},
|
677
|
+
{
|
678
|
+
"internalType": "bool",
|
679
|
+
"name": "allowRenewals",
|
680
|
+
"type": "bool"
|
681
|
+
},
|
682
|
+
{
|
683
|
+
"internalType": "bytes",
|
684
|
+
"name": "data",
|
685
|
+
"type": "bytes"
|
686
|
+
}
|
687
|
+
],
|
688
|
+
"internalType": "struct IDistribution.DistributorTypeInfo",
|
689
|
+
"name": "info",
|
690
|
+
"type": "tuple"
|
691
|
+
}
|
692
|
+
],
|
693
|
+
"name": "createDistributorType",
|
694
|
+
"outputs": [],
|
695
|
+
"stateMutability": "nonpayable",
|
696
|
+
"type": "function"
|
697
|
+
},
|
698
|
+
{
|
699
|
+
"inputs": [
|
700
|
+
{
|
701
|
+
"internalType": "NftId",
|
702
|
+
"name": "policyNftId",
|
703
|
+
"type": "uint96"
|
704
|
+
},
|
705
|
+
{
|
706
|
+
"internalType": "PayoutId",
|
707
|
+
"name": "payoutId",
|
708
|
+
"type": "uint24"
|
709
|
+
},
|
710
|
+
{
|
711
|
+
"components": [
|
712
|
+
{
|
713
|
+
"internalType": "ClaimId",
|
714
|
+
"name": "claimId",
|
715
|
+
"type": "uint16"
|
716
|
+
},
|
717
|
+
{
|
718
|
+
"internalType": "Amount",
|
719
|
+
"name": "amount",
|
720
|
+
"type": "uint96"
|
721
|
+
},
|
722
|
+
{
|
723
|
+
"internalType": "bytes",
|
724
|
+
"name": "data",
|
725
|
+
"type": "bytes"
|
726
|
+
},
|
727
|
+
{
|
728
|
+
"internalType": "Timestamp",
|
729
|
+
"name": "paidAt",
|
730
|
+
"type": "uint40"
|
731
|
+
}
|
732
|
+
],
|
733
|
+
"internalType": "struct IPolicy.PayoutInfo",
|
734
|
+
"name": "payout",
|
735
|
+
"type": "tuple"
|
736
|
+
}
|
737
|
+
],
|
738
|
+
"name": "createPayout",
|
739
|
+
"outputs": [],
|
740
|
+
"stateMutability": "nonpayable",
|
741
|
+
"type": "function"
|
742
|
+
},
|
743
|
+
{
|
744
|
+
"inputs": [
|
745
|
+
{
|
746
|
+
"internalType": "NftId",
|
747
|
+
"name": "poolNftId",
|
748
|
+
"type": "uint96"
|
749
|
+
},
|
750
|
+
{
|
751
|
+
"components": [
|
752
|
+
{
|
753
|
+
"internalType": "string",
|
754
|
+
"name": "name",
|
755
|
+
"type": "string"
|
756
|
+
},
|
757
|
+
{
|
758
|
+
"internalType": "contract IERC20Metadata",
|
759
|
+
"name": "token",
|
760
|
+
"type": "address"
|
761
|
+
},
|
762
|
+
{
|
763
|
+
"internalType": "contract TokenHandler",
|
764
|
+
"name": "tokenHandler",
|
765
|
+
"type": "address"
|
766
|
+
},
|
767
|
+
{
|
768
|
+
"internalType": "address",
|
769
|
+
"name": "wallet",
|
770
|
+
"type": "address"
|
771
|
+
},
|
772
|
+
{
|
773
|
+
"internalType": "Amount",
|
774
|
+
"name": "balanceAmount",
|
775
|
+
"type": "uint96"
|
776
|
+
},
|
777
|
+
{
|
778
|
+
"internalType": "Amount",
|
779
|
+
"name": "feeAmount",
|
780
|
+
"type": "uint96"
|
781
|
+
},
|
782
|
+
{
|
783
|
+
"internalType": "bytes",
|
784
|
+
"name": "data",
|
785
|
+
"type": "bytes"
|
786
|
+
}
|
787
|
+
],
|
788
|
+
"internalType": "struct IComponents.ComponentInfo",
|
789
|
+
"name": "info",
|
790
|
+
"type": "tuple"
|
791
|
+
}
|
792
|
+
],
|
793
|
+
"name": "createPoolSetup",
|
794
|
+
"outputs": [],
|
795
|
+
"stateMutability": "nonpayable",
|
796
|
+
"type": "function"
|
797
|
+
},
|
798
|
+
{
|
799
|
+
"inputs": [
|
800
|
+
{
|
801
|
+
"internalType": "NftId",
|
802
|
+
"name": "productNftId",
|
803
|
+
"type": "uint96"
|
804
|
+
},
|
805
|
+
{
|
806
|
+
"components": [
|
807
|
+
{
|
808
|
+
"internalType": "contract IERC20Metadata",
|
809
|
+
"name": "token",
|
810
|
+
"type": "address"
|
811
|
+
},
|
812
|
+
{
|
813
|
+
"internalType": "contract TokenHandler",
|
814
|
+
"name": "tokenHandler",
|
815
|
+
"type": "address"
|
816
|
+
},
|
817
|
+
{
|
818
|
+
"internalType": "NftId",
|
819
|
+
"name": "distributionNftId",
|
820
|
+
"type": "uint96"
|
821
|
+
},
|
822
|
+
{
|
823
|
+
"internalType": "NftId",
|
824
|
+
"name": "poolNftId",
|
825
|
+
"type": "uint96"
|
826
|
+
},
|
827
|
+
{
|
828
|
+
"components": [
|
829
|
+
{
|
830
|
+
"internalType": "UFixed",
|
831
|
+
"name": "fractionalFee",
|
832
|
+
"type": "uint256"
|
833
|
+
},
|
834
|
+
{
|
835
|
+
"internalType": "uint256",
|
836
|
+
"name": "fixedFee",
|
837
|
+
"type": "uint256"
|
838
|
+
}
|
839
|
+
],
|
840
|
+
"internalType": "struct Fee",
|
841
|
+
"name": "productFee",
|
842
|
+
"type": "tuple"
|
843
|
+
},
|
844
|
+
{
|
845
|
+
"components": [
|
846
|
+
{
|
847
|
+
"internalType": "UFixed",
|
848
|
+
"name": "fractionalFee",
|
849
|
+
"type": "uint256"
|
850
|
+
},
|
851
|
+
{
|
852
|
+
"internalType": "uint256",
|
853
|
+
"name": "fixedFee",
|
854
|
+
"type": "uint256"
|
855
|
+
}
|
856
|
+
],
|
857
|
+
"internalType": "struct Fee",
|
858
|
+
"name": "processingFee",
|
859
|
+
"type": "tuple"
|
860
|
+
},
|
861
|
+
{
|
862
|
+
"internalType": "bool",
|
863
|
+
"name": "isIntercepting",
|
864
|
+
"type": "bool"
|
865
|
+
},
|
866
|
+
{
|
867
|
+
"internalType": "address",
|
868
|
+
"name": "wallet",
|
869
|
+
"type": "address"
|
870
|
+
}
|
871
|
+
],
|
872
|
+
"internalType": "struct ISetup.ProductSetupInfo",
|
873
|
+
"name": "setup",
|
874
|
+
"type": "tuple"
|
875
|
+
}
|
876
|
+
],
|
877
|
+
"name": "createProductSetup",
|
878
|
+
"outputs": [],
|
879
|
+
"stateMutability": "nonpayable",
|
880
|
+
"type": "function"
|
881
|
+
},
|
882
|
+
{
|
883
|
+
"inputs": [
|
884
|
+
{
|
885
|
+
"internalType": "ReferralId",
|
886
|
+
"name": "referralId",
|
887
|
+
"type": "bytes8"
|
888
|
+
},
|
889
|
+
{
|
890
|
+
"components": [
|
891
|
+
{
|
892
|
+
"internalType": "NftId",
|
893
|
+
"name": "distributorNftId",
|
894
|
+
"type": "uint96"
|
895
|
+
},
|
896
|
+
{
|
897
|
+
"internalType": "string",
|
898
|
+
"name": "referralCode",
|
899
|
+
"type": "string"
|
900
|
+
},
|
901
|
+
{
|
902
|
+
"internalType": "UFixed",
|
903
|
+
"name": "discountPercentage",
|
904
|
+
"type": "uint256"
|
905
|
+
},
|
906
|
+
{
|
907
|
+
"internalType": "uint32",
|
908
|
+
"name": "maxReferrals",
|
909
|
+
"type": "uint32"
|
910
|
+
},
|
911
|
+
{
|
912
|
+
"internalType": "uint32",
|
913
|
+
"name": "usedReferrals",
|
914
|
+
"type": "uint32"
|
915
|
+
},
|
916
|
+
{
|
917
|
+
"internalType": "Timestamp",
|
918
|
+
"name": "expiryAt",
|
919
|
+
"type": "uint40"
|
920
|
+
},
|
921
|
+
{
|
922
|
+
"internalType": "bytes",
|
923
|
+
"name": "data",
|
924
|
+
"type": "bytes"
|
925
|
+
}
|
926
|
+
],
|
927
|
+
"internalType": "struct IDistribution.ReferralInfo",
|
928
|
+
"name": "referralInfo",
|
929
|
+
"type": "tuple"
|
930
|
+
}
|
931
|
+
],
|
932
|
+
"name": "createReferral",
|
933
|
+
"outputs": [],
|
934
|
+
"stateMutability": "nonpayable",
|
935
|
+
"type": "function"
|
936
|
+
},
|
937
|
+
{
|
938
|
+
"inputs": [
|
939
|
+
{
|
940
|
+
"internalType": "RiskId",
|
941
|
+
"name": "riskId",
|
942
|
+
"type": "bytes8"
|
943
|
+
},
|
944
|
+
{
|
945
|
+
"components": [
|
946
|
+
{
|
947
|
+
"internalType": "NftId",
|
948
|
+
"name": "productNftId",
|
949
|
+
"type": "uint96"
|
950
|
+
},
|
951
|
+
{
|
952
|
+
"internalType": "bytes",
|
953
|
+
"name": "data",
|
954
|
+
"type": "bytes"
|
955
|
+
}
|
956
|
+
],
|
957
|
+
"internalType": "struct IRisk.RiskInfo",
|
958
|
+
"name": "risk",
|
959
|
+
"type": "tuple"
|
960
|
+
}
|
961
|
+
],
|
962
|
+
"name": "createRisk",
|
963
|
+
"outputs": [],
|
964
|
+
"stateMutability": "nonpayable",
|
965
|
+
"type": "function"
|
966
|
+
},
|
967
|
+
{
|
968
|
+
"inputs": [
|
969
|
+
{
|
970
|
+
"internalType": "Key32",
|
971
|
+
"name": "key32",
|
972
|
+
"type": "bytes32"
|
973
|
+
}
|
974
|
+
],
|
975
|
+
"name": "exists",
|
976
|
+
"outputs": [
|
977
|
+
{
|
978
|
+
"internalType": "bool",
|
979
|
+
"name": "",
|
980
|
+
"type": "bool"
|
981
|
+
}
|
982
|
+
],
|
983
|
+
"stateMutability": "view",
|
984
|
+
"type": "function"
|
985
|
+
},
|
986
|
+
{
|
987
|
+
"inputs": [
|
988
|
+
{
|
989
|
+
"internalType": "Key32",
|
990
|
+
"name": "key32",
|
991
|
+
"type": "bytes32"
|
992
|
+
}
|
993
|
+
],
|
994
|
+
"name": "get",
|
995
|
+
"outputs": [
|
996
|
+
{
|
997
|
+
"components": [
|
998
|
+
{
|
999
|
+
"components": [
|
1000
|
+
{
|
1001
|
+
"internalType": "ObjectType",
|
1002
|
+
"name": "objectType",
|
1003
|
+
"type": "uint8"
|
1004
|
+
},
|
1005
|
+
{
|
1006
|
+
"internalType": "StateId",
|
1007
|
+
"name": "state",
|
1008
|
+
"type": "uint8"
|
1009
|
+
},
|
1010
|
+
{
|
1011
|
+
"internalType": "address",
|
1012
|
+
"name": "updatedBy",
|
1013
|
+
"type": "address"
|
1014
|
+
},
|
1015
|
+
{
|
1016
|
+
"internalType": "Blocknumber",
|
1017
|
+
"name": "updatedIn",
|
1018
|
+
"type": "uint32"
|
1019
|
+
},
|
1020
|
+
{
|
1021
|
+
"internalType": "Blocknumber",
|
1022
|
+
"name": "createdIn",
|
1023
|
+
"type": "uint32"
|
1024
|
+
}
|
1025
|
+
],
|
1026
|
+
"internalType": "struct IKeyValueStore.Metadata",
|
1027
|
+
"name": "metadata",
|
1028
|
+
"type": "tuple"
|
1029
|
+
},
|
1030
|
+
{
|
1031
|
+
"internalType": "bytes",
|
1032
|
+
"name": "data",
|
1033
|
+
"type": "bytes"
|
1034
|
+
}
|
1035
|
+
],
|
1036
|
+
"internalType": "struct IKeyValueStore.Value",
|
1037
|
+
"name": "value",
|
1038
|
+
"type": "tuple"
|
1039
|
+
}
|
1040
|
+
],
|
1041
|
+
"stateMutability": "view",
|
1042
|
+
"type": "function"
|
1043
|
+
},
|
1044
|
+
{
|
1045
|
+
"inputs": [
|
1046
|
+
{
|
1047
|
+
"internalType": "Key32",
|
1048
|
+
"name": "key32",
|
1049
|
+
"type": "bytes32"
|
1050
|
+
}
|
1051
|
+
],
|
1052
|
+
"name": "getData",
|
1053
|
+
"outputs": [
|
1054
|
+
{
|
1055
|
+
"internalType": "bytes",
|
1056
|
+
"name": "data",
|
1057
|
+
"type": "bytes"
|
1058
|
+
}
|
1059
|
+
],
|
1060
|
+
"stateMutability": "view",
|
1061
|
+
"type": "function"
|
1062
|
+
},
|
1063
|
+
{
|
1064
|
+
"inputs": [
|
1065
|
+
{
|
1066
|
+
"internalType": "ObjectType",
|
1067
|
+
"name": "objectType",
|
1068
|
+
"type": "uint8"
|
1069
|
+
}
|
1070
|
+
],
|
1071
|
+
"name": "getInitialState",
|
1072
|
+
"outputs": [
|
1073
|
+
{
|
1074
|
+
"internalType": "StateId",
|
1075
|
+
"name": "",
|
1076
|
+
"type": "uint8"
|
1077
|
+
}
|
1078
|
+
],
|
1079
|
+
"stateMutability": "view",
|
1080
|
+
"type": "function"
|
1081
|
+
},
|
1082
|
+
{
|
1083
|
+
"inputs": [
|
1084
|
+
{
|
1085
|
+
"internalType": "Key32",
|
1086
|
+
"name": "key32",
|
1087
|
+
"type": "bytes32"
|
1088
|
+
}
|
1089
|
+
],
|
1090
|
+
"name": "getMetadata",
|
1091
|
+
"outputs": [
|
1092
|
+
{
|
1093
|
+
"components": [
|
1094
|
+
{
|
1095
|
+
"internalType": "ObjectType",
|
1096
|
+
"name": "objectType",
|
1097
|
+
"type": "uint8"
|
1098
|
+
},
|
1099
|
+
{
|
1100
|
+
"internalType": "StateId",
|
1101
|
+
"name": "state",
|
1102
|
+
"type": "uint8"
|
1103
|
+
},
|
1104
|
+
{
|
1105
|
+
"internalType": "address",
|
1106
|
+
"name": "updatedBy",
|
1107
|
+
"type": "address"
|
1108
|
+
},
|
1109
|
+
{
|
1110
|
+
"internalType": "Blocknumber",
|
1111
|
+
"name": "updatedIn",
|
1112
|
+
"type": "uint32"
|
1113
|
+
},
|
1114
|
+
{
|
1115
|
+
"internalType": "Blocknumber",
|
1116
|
+
"name": "createdIn",
|
1117
|
+
"type": "uint32"
|
1118
|
+
}
|
1119
|
+
],
|
1120
|
+
"internalType": "struct IKeyValueStore.Metadata",
|
1121
|
+
"name": "metadata",
|
1122
|
+
"type": "tuple"
|
1123
|
+
}
|
1124
|
+
],
|
1125
|
+
"stateMutability": "view",
|
1126
|
+
"type": "function"
|
1127
|
+
},
|
1128
|
+
{
|
1129
|
+
"inputs": [
|
1130
|
+
{
|
1131
|
+
"internalType": "Key32",
|
1132
|
+
"name": "key32",
|
1133
|
+
"type": "bytes32"
|
1134
|
+
}
|
1135
|
+
],
|
1136
|
+
"name": "getState",
|
1137
|
+
"outputs": [
|
1138
|
+
{
|
1139
|
+
"internalType": "StateId",
|
1140
|
+
"name": "state",
|
1141
|
+
"type": "uint8"
|
1142
|
+
}
|
1143
|
+
],
|
1144
|
+
"stateMutability": "view",
|
1145
|
+
"type": "function"
|
1146
|
+
},
|
1147
|
+
{
|
1148
|
+
"inputs": [
|
1149
|
+
{
|
1150
|
+
"internalType": "ObjectType",
|
1151
|
+
"name": "objectType",
|
1152
|
+
"type": "uint8"
|
1153
|
+
}
|
1154
|
+
],
|
1155
|
+
"name": "hasLifecycle",
|
1156
|
+
"outputs": [
|
1157
|
+
{
|
1158
|
+
"internalType": "bool",
|
1159
|
+
"name": "",
|
1160
|
+
"type": "bool"
|
1161
|
+
}
|
1162
|
+
],
|
1163
|
+
"stateMutability": "view",
|
1164
|
+
"type": "function"
|
1165
|
+
},
|
1166
|
+
{
|
1167
|
+
"inputs": [
|
1168
|
+
{
|
1169
|
+
"internalType": "address",
|
1170
|
+
"name": "instance",
|
1171
|
+
"type": "address"
|
1172
|
+
}
|
1173
|
+
],
|
1174
|
+
"name": "initialize",
|
1175
|
+
"outputs": [],
|
1176
|
+
"stateMutability": "nonpayable",
|
1177
|
+
"type": "function"
|
1178
|
+
},
|
1179
|
+
{
|
1180
|
+
"inputs": [],
|
1181
|
+
"name": "initializeLifecycle",
|
1182
|
+
"outputs": [],
|
1183
|
+
"stateMutability": "nonpayable",
|
1184
|
+
"type": "function"
|
1185
|
+
},
|
1186
|
+
{
|
1187
|
+
"inputs": [],
|
1188
|
+
"name": "isConsumingScheduledOp",
|
1189
|
+
"outputs": [
|
1190
|
+
{
|
1191
|
+
"internalType": "bytes4",
|
1192
|
+
"name": "",
|
1193
|
+
"type": "bytes4"
|
1194
|
+
}
|
1195
|
+
],
|
1196
|
+
"stateMutability": "view",
|
1197
|
+
"type": "function"
|
1198
|
+
},
|
1199
|
+
{
|
1200
|
+
"inputs": [
|
1201
|
+
{
|
1202
|
+
"internalType": "ObjectType",
|
1203
|
+
"name": "objectType",
|
1204
|
+
"type": "uint8"
|
1205
|
+
},
|
1206
|
+
{
|
1207
|
+
"internalType": "StateId",
|
1208
|
+
"name": "fromId",
|
1209
|
+
"type": "uint8"
|
1210
|
+
},
|
1211
|
+
{
|
1212
|
+
"internalType": "StateId",
|
1213
|
+
"name": "toId",
|
1214
|
+
"type": "uint8"
|
1215
|
+
}
|
1216
|
+
],
|
1217
|
+
"name": "isValidTransition",
|
1218
|
+
"outputs": [
|
1219
|
+
{
|
1220
|
+
"internalType": "bool",
|
1221
|
+
"name": "",
|
1222
|
+
"type": "bool"
|
1223
|
+
}
|
1224
|
+
],
|
1225
|
+
"stateMutability": "view",
|
1226
|
+
"type": "function"
|
1227
|
+
},
|
1228
|
+
{
|
1229
|
+
"inputs": [
|
1230
|
+
{
|
1231
|
+
"internalType": "address",
|
1232
|
+
"name": "newAuthority",
|
1233
|
+
"type": "address"
|
1234
|
+
}
|
1235
|
+
],
|
1236
|
+
"name": "setAuthority",
|
1237
|
+
"outputs": [],
|
1238
|
+
"stateMutability": "nonpayable",
|
1239
|
+
"type": "function"
|
1240
|
+
},
|
1241
|
+
{
|
1242
|
+
"inputs": [
|
1243
|
+
{
|
1244
|
+
"internalType": "ObjectType",
|
1245
|
+
"name": "objectType",
|
1246
|
+
"type": "uint8"
|
1247
|
+
},
|
1248
|
+
{
|
1249
|
+
"internalType": "KeyId",
|
1250
|
+
"name": "id",
|
1251
|
+
"type": "bytes31"
|
1252
|
+
}
|
1253
|
+
],
|
1254
|
+
"name": "toKey32",
|
1255
|
+
"outputs": [
|
1256
|
+
{
|
1257
|
+
"internalType": "Key32",
|
1258
|
+
"name": "",
|
1259
|
+
"type": "bytes32"
|
1260
|
+
}
|
1261
|
+
],
|
1262
|
+
"stateMutability": "pure",
|
1263
|
+
"type": "function"
|
1264
|
+
},
|
1265
|
+
{
|
1266
|
+
"inputs": [
|
1267
|
+
{
|
1268
|
+
"internalType": "NftId",
|
1269
|
+
"name": "applicationNftId",
|
1270
|
+
"type": "uint96"
|
1271
|
+
},
|
1272
|
+
{
|
1273
|
+
"components": [
|
1274
|
+
{
|
1275
|
+
"internalType": "NftId",
|
1276
|
+
"name": "productNftId",
|
1277
|
+
"type": "uint96"
|
1278
|
+
},
|
1279
|
+
{
|
1280
|
+
"internalType": "NftId",
|
1281
|
+
"name": "bundleNftId",
|
1282
|
+
"type": "uint96"
|
1283
|
+
},
|
1284
|
+
{
|
1285
|
+
"internalType": "ReferralId",
|
1286
|
+
"name": "referralId",
|
1287
|
+
"type": "bytes8"
|
1288
|
+
},
|
1289
|
+
{
|
1290
|
+
"internalType": "RiskId",
|
1291
|
+
"name": "riskId",
|
1292
|
+
"type": "bytes8"
|
1293
|
+
},
|
1294
|
+
{
|
1295
|
+
"internalType": "uint256",
|
1296
|
+
"name": "sumInsuredAmount",
|
1297
|
+
"type": "uint256"
|
1298
|
+
},
|
1299
|
+
{
|
1300
|
+
"internalType": "uint256",
|
1301
|
+
"name": "premiumAmount",
|
1302
|
+
"type": "uint256"
|
1303
|
+
},
|
1304
|
+
{
|
1305
|
+
"internalType": "uint256",
|
1306
|
+
"name": "premiumPaidAmount",
|
1307
|
+
"type": "uint256"
|
1308
|
+
},
|
1309
|
+
{
|
1310
|
+
"internalType": "Seconds",
|
1311
|
+
"name": "lifetime",
|
1312
|
+
"type": "uint40"
|
1313
|
+
},
|
1314
|
+
{
|
1315
|
+
"internalType": "bytes",
|
1316
|
+
"name": "applicationData",
|
1317
|
+
"type": "bytes"
|
1318
|
+
},
|
1319
|
+
{
|
1320
|
+
"internalType": "bytes",
|
1321
|
+
"name": "policyData",
|
1322
|
+
"type": "bytes"
|
1323
|
+
},
|
1324
|
+
{
|
1325
|
+
"internalType": "uint16",
|
1326
|
+
"name": "claimsCount",
|
1327
|
+
"type": "uint16"
|
1328
|
+
},
|
1329
|
+
{
|
1330
|
+
"internalType": "uint16",
|
1331
|
+
"name": "openClaimsCount",
|
1332
|
+
"type": "uint16"
|
1333
|
+
},
|
1334
|
+
{
|
1335
|
+
"internalType": "Amount",
|
1336
|
+
"name": "payoutAmount",
|
1337
|
+
"type": "uint96"
|
1338
|
+
},
|
1339
|
+
{
|
1340
|
+
"internalType": "Timestamp",
|
1341
|
+
"name": "activatedAt",
|
1342
|
+
"type": "uint40"
|
1343
|
+
},
|
1344
|
+
{
|
1345
|
+
"internalType": "Timestamp",
|
1346
|
+
"name": "expiredAt",
|
1347
|
+
"type": "uint40"
|
1348
|
+
},
|
1349
|
+
{
|
1350
|
+
"internalType": "Timestamp",
|
1351
|
+
"name": "closedAt",
|
1352
|
+
"type": "uint40"
|
1353
|
+
}
|
1354
|
+
],
|
1355
|
+
"internalType": "struct IPolicy.PolicyInfo",
|
1356
|
+
"name": "policy",
|
1357
|
+
"type": "tuple"
|
1358
|
+
},
|
1359
|
+
{
|
1360
|
+
"internalType": "StateId",
|
1361
|
+
"name": "newState",
|
1362
|
+
"type": "uint8"
|
1363
|
+
}
|
1364
|
+
],
|
1365
|
+
"name": "updateApplication",
|
1366
|
+
"outputs": [],
|
1367
|
+
"stateMutability": "nonpayable",
|
1368
|
+
"type": "function"
|
1369
|
+
},
|
1370
|
+
{
|
1371
|
+
"inputs": [
|
1372
|
+
{
|
1373
|
+
"internalType": "NftId",
|
1374
|
+
"name": "applicationNftId",
|
1375
|
+
"type": "uint96"
|
1376
|
+
},
|
1377
|
+
{
|
1378
|
+
"internalType": "StateId",
|
1379
|
+
"name": "newState",
|
1380
|
+
"type": "uint8"
|
1381
|
+
}
|
1382
|
+
],
|
1383
|
+
"name": "updateApplicationState",
|
1384
|
+
"outputs": [],
|
1385
|
+
"stateMutability": "nonpayable",
|
1386
|
+
"type": "function"
|
1387
|
+
},
|
1388
|
+
{
|
1389
|
+
"inputs": [
|
1390
|
+
{
|
1391
|
+
"internalType": "NftId",
|
1392
|
+
"name": "bundleNftId",
|
1393
|
+
"type": "uint96"
|
1394
|
+
},
|
1395
|
+
{
|
1396
|
+
"components": [
|
1397
|
+
{
|
1398
|
+
"internalType": "NftId",
|
1399
|
+
"name": "poolNftId",
|
1400
|
+
"type": "uint96"
|
1401
|
+
},
|
1402
|
+
{
|
1403
|
+
"components": [
|
1404
|
+
{
|
1405
|
+
"internalType": "UFixed",
|
1406
|
+
"name": "fractionalFee",
|
1407
|
+
"type": "uint256"
|
1408
|
+
},
|
1409
|
+
{
|
1410
|
+
"internalType": "uint256",
|
1411
|
+
"name": "fixedFee",
|
1412
|
+
"type": "uint256"
|
1413
|
+
}
|
1414
|
+
],
|
1415
|
+
"internalType": "struct Fee",
|
1416
|
+
"name": "fee",
|
1417
|
+
"type": "tuple"
|
1418
|
+
},
|
1419
|
+
{
|
1420
|
+
"internalType": "bytes",
|
1421
|
+
"name": "filter",
|
1422
|
+
"type": "bytes"
|
1423
|
+
},
|
1424
|
+
{
|
1425
|
+
"internalType": "Amount",
|
1426
|
+
"name": "capitalAmount",
|
1427
|
+
"type": "uint96"
|
1428
|
+
},
|
1429
|
+
{
|
1430
|
+
"internalType": "Amount",
|
1431
|
+
"name": "lockedAmount",
|
1432
|
+
"type": "uint96"
|
1433
|
+
},
|
1434
|
+
{
|
1435
|
+
"internalType": "Amount",
|
1436
|
+
"name": "feeAmount",
|
1437
|
+
"type": "uint96"
|
1438
|
+
},
|
1439
|
+
{
|
1440
|
+
"internalType": "Seconds",
|
1441
|
+
"name": "lifetime",
|
1442
|
+
"type": "uint40"
|
1443
|
+
},
|
1444
|
+
{
|
1445
|
+
"internalType": "Timestamp",
|
1446
|
+
"name": "expiredAt",
|
1447
|
+
"type": "uint40"
|
1448
|
+
},
|
1449
|
+
{
|
1450
|
+
"internalType": "Timestamp",
|
1451
|
+
"name": "closedAt",
|
1452
|
+
"type": "uint40"
|
1453
|
+
}
|
1454
|
+
],
|
1455
|
+
"internalType": "struct IBundle.BundleInfo",
|
1456
|
+
"name": "bundle",
|
1457
|
+
"type": "tuple"
|
1458
|
+
},
|
1459
|
+
{
|
1460
|
+
"internalType": "StateId",
|
1461
|
+
"name": "newState",
|
1462
|
+
"type": "uint8"
|
1463
|
+
}
|
1464
|
+
],
|
1465
|
+
"name": "updateBundle",
|
1466
|
+
"outputs": [],
|
1467
|
+
"stateMutability": "nonpayable",
|
1468
|
+
"type": "function"
|
1469
|
+
},
|
1470
|
+
{
|
1471
|
+
"inputs": [
|
1472
|
+
{
|
1473
|
+
"internalType": "NftId",
|
1474
|
+
"name": "bundleNftId",
|
1475
|
+
"type": "uint96"
|
1476
|
+
},
|
1477
|
+
{
|
1478
|
+
"internalType": "StateId",
|
1479
|
+
"name": "newState",
|
1480
|
+
"type": "uint8"
|
1481
|
+
}
|
1482
|
+
],
|
1483
|
+
"name": "updateBundleState",
|
1484
|
+
"outputs": [],
|
1485
|
+
"stateMutability": "nonpayable",
|
1486
|
+
"type": "function"
|
1487
|
+
},
|
1488
|
+
{
|
1489
|
+
"inputs": [
|
1490
|
+
{
|
1491
|
+
"internalType": "NftId",
|
1492
|
+
"name": "policyNftId",
|
1493
|
+
"type": "uint96"
|
1494
|
+
},
|
1495
|
+
{
|
1496
|
+
"internalType": "ClaimId",
|
1497
|
+
"name": "claimId",
|
1498
|
+
"type": "uint16"
|
1499
|
+
},
|
1500
|
+
{
|
1501
|
+
"components": [
|
1502
|
+
{
|
1503
|
+
"internalType": "Amount",
|
1504
|
+
"name": "claimAmount",
|
1505
|
+
"type": "uint96"
|
1506
|
+
},
|
1507
|
+
{
|
1508
|
+
"internalType": "Amount",
|
1509
|
+
"name": "paidAmount",
|
1510
|
+
"type": "uint96"
|
1511
|
+
},
|
1512
|
+
{
|
1513
|
+
"internalType": "uint8",
|
1514
|
+
"name": "payoutsCount",
|
1515
|
+
"type": "uint8"
|
1516
|
+
},
|
1517
|
+
{
|
1518
|
+
"internalType": "uint8",
|
1519
|
+
"name": "openPayoutsCount",
|
1520
|
+
"type": "uint8"
|
1521
|
+
},
|
1522
|
+
{
|
1523
|
+
"internalType": "bytes",
|
1524
|
+
"name": "data",
|
1525
|
+
"type": "bytes"
|
1526
|
+
},
|
1527
|
+
{
|
1528
|
+
"internalType": "Timestamp",
|
1529
|
+
"name": "closedAt",
|
1530
|
+
"type": "uint40"
|
1531
|
+
}
|
1532
|
+
],
|
1533
|
+
"internalType": "struct IPolicy.ClaimInfo",
|
1534
|
+
"name": "claim",
|
1535
|
+
"type": "tuple"
|
1536
|
+
},
|
1537
|
+
{
|
1538
|
+
"internalType": "StateId",
|
1539
|
+
"name": "newState",
|
1540
|
+
"type": "uint8"
|
1541
|
+
}
|
1542
|
+
],
|
1543
|
+
"name": "updateClaim",
|
1544
|
+
"outputs": [],
|
1545
|
+
"stateMutability": "nonpayable",
|
1546
|
+
"type": "function"
|
1547
|
+
},
|
1548
|
+
{
|
1549
|
+
"inputs": [
|
1550
|
+
{
|
1551
|
+
"internalType": "NftId",
|
1552
|
+
"name": "policyNftId",
|
1553
|
+
"type": "uint96"
|
1554
|
+
},
|
1555
|
+
{
|
1556
|
+
"internalType": "ClaimId",
|
1557
|
+
"name": "claimId",
|
1558
|
+
"type": "uint16"
|
1559
|
+
},
|
1560
|
+
{
|
1561
|
+
"internalType": "StateId",
|
1562
|
+
"name": "newState",
|
1563
|
+
"type": "uint8"
|
1564
|
+
}
|
1565
|
+
],
|
1566
|
+
"name": "updateClaimState",
|
1567
|
+
"outputs": [],
|
1568
|
+
"stateMutability": "nonpayable",
|
1569
|
+
"type": "function"
|
1570
|
+
},
|
1571
|
+
{
|
1572
|
+
"inputs": [
|
1573
|
+
{
|
1574
|
+
"internalType": "NftId",
|
1575
|
+
"name": "distributionNftId",
|
1576
|
+
"type": "uint96"
|
1577
|
+
},
|
1578
|
+
{
|
1579
|
+
"components": [
|
1580
|
+
{
|
1581
|
+
"internalType": "NftId",
|
1582
|
+
"name": "productNftId",
|
1583
|
+
"type": "uint96"
|
1584
|
+
},
|
1585
|
+
{
|
1586
|
+
"internalType": "contract TokenHandler",
|
1587
|
+
"name": "tokenHandler",
|
1588
|
+
"type": "address"
|
1589
|
+
},
|
1590
|
+
{
|
1591
|
+
"components": [
|
1592
|
+
{
|
1593
|
+
"internalType": "UFixed",
|
1594
|
+
"name": "fractionalFee",
|
1595
|
+
"type": "uint256"
|
1596
|
+
},
|
1597
|
+
{
|
1598
|
+
"internalType": "uint256",
|
1599
|
+
"name": "fixedFee",
|
1600
|
+
"type": "uint256"
|
1601
|
+
}
|
1602
|
+
],
|
1603
|
+
"internalType": "struct Fee",
|
1604
|
+
"name": "minDistributionOwnerFee",
|
1605
|
+
"type": "tuple"
|
1606
|
+
},
|
1607
|
+
{
|
1608
|
+
"components": [
|
1609
|
+
{
|
1610
|
+
"internalType": "UFixed",
|
1611
|
+
"name": "fractionalFee",
|
1612
|
+
"type": "uint256"
|
1613
|
+
},
|
1614
|
+
{
|
1615
|
+
"internalType": "uint256",
|
1616
|
+
"name": "fixedFee",
|
1617
|
+
"type": "uint256"
|
1618
|
+
}
|
1619
|
+
],
|
1620
|
+
"internalType": "struct Fee",
|
1621
|
+
"name": "distributionFee",
|
1622
|
+
"type": "tuple"
|
1623
|
+
},
|
1624
|
+
{
|
1625
|
+
"internalType": "address",
|
1626
|
+
"name": "wallet",
|
1627
|
+
"type": "address"
|
1628
|
+
},
|
1629
|
+
{
|
1630
|
+
"internalType": "uint256",
|
1631
|
+
"name": "sumDistributionOwnerFees",
|
1632
|
+
"type": "uint256"
|
1633
|
+
}
|
1634
|
+
],
|
1635
|
+
"internalType": "struct ISetup.DistributionSetupInfo",
|
1636
|
+
"name": "setup",
|
1637
|
+
"type": "tuple"
|
1638
|
+
},
|
1639
|
+
{
|
1640
|
+
"internalType": "StateId",
|
1641
|
+
"name": "newState",
|
1642
|
+
"type": "uint8"
|
1643
|
+
}
|
1644
|
+
],
|
1645
|
+
"name": "updateDistributionSetup",
|
1646
|
+
"outputs": [],
|
1647
|
+
"stateMutability": "nonpayable",
|
1648
|
+
"type": "function"
|
1649
|
+
},
|
1650
|
+
{
|
1651
|
+
"inputs": [
|
1652
|
+
{
|
1653
|
+
"internalType": "NftId",
|
1654
|
+
"name": "distributionNftId",
|
1655
|
+
"type": "uint96"
|
1656
|
+
},
|
1657
|
+
{
|
1658
|
+
"internalType": "StateId",
|
1659
|
+
"name": "newState",
|
1660
|
+
"type": "uint8"
|
1661
|
+
}
|
1662
|
+
],
|
1663
|
+
"name": "updateDistributionSetupState",
|
1664
|
+
"outputs": [],
|
1665
|
+
"stateMutability": "nonpayable",
|
1666
|
+
"type": "function"
|
1667
|
+
},
|
1668
|
+
{
|
1669
|
+
"inputs": [
|
1670
|
+
{
|
1671
|
+
"internalType": "NftId",
|
1672
|
+
"name": "distributorNftId",
|
1673
|
+
"type": "uint96"
|
1674
|
+
},
|
1675
|
+
{
|
1676
|
+
"components": [
|
1677
|
+
{
|
1678
|
+
"internalType": "DistributorType",
|
1679
|
+
"name": "distributorType",
|
1680
|
+
"type": "bytes8"
|
1681
|
+
},
|
1682
|
+
{
|
1683
|
+
"internalType": "bool",
|
1684
|
+
"name": "active",
|
1685
|
+
"type": "bool"
|
1686
|
+
},
|
1687
|
+
{
|
1688
|
+
"internalType": "bytes",
|
1689
|
+
"name": "data",
|
1690
|
+
"type": "bytes"
|
1691
|
+
},
|
1692
|
+
{
|
1693
|
+
"internalType": "uint256",
|
1694
|
+
"name": "sumCommisions",
|
1695
|
+
"type": "uint256"
|
1696
|
+
},
|
1697
|
+
{
|
1698
|
+
"internalType": "uint256",
|
1699
|
+
"name": "numPoliciesSold",
|
1700
|
+
"type": "uint256"
|
1701
|
+
}
|
1702
|
+
],
|
1703
|
+
"internalType": "struct IDistribution.DistributorInfo",
|
1704
|
+
"name": "info",
|
1705
|
+
"type": "tuple"
|
1706
|
+
},
|
1707
|
+
{
|
1708
|
+
"internalType": "StateId",
|
1709
|
+
"name": "newState",
|
1710
|
+
"type": "uint8"
|
1711
|
+
}
|
1712
|
+
],
|
1713
|
+
"name": "updateDistributor",
|
1714
|
+
"outputs": [],
|
1715
|
+
"stateMutability": "nonpayable",
|
1716
|
+
"type": "function"
|
1717
|
+
},
|
1718
|
+
{
|
1719
|
+
"inputs": [
|
1720
|
+
{
|
1721
|
+
"internalType": "NftId",
|
1722
|
+
"name": "distributorNftId",
|
1723
|
+
"type": "uint96"
|
1724
|
+
},
|
1725
|
+
{
|
1726
|
+
"internalType": "StateId",
|
1727
|
+
"name": "newState",
|
1728
|
+
"type": "uint8"
|
1729
|
+
}
|
1730
|
+
],
|
1731
|
+
"name": "updateDistributorState",
|
1732
|
+
"outputs": [],
|
1733
|
+
"stateMutability": "nonpayable",
|
1734
|
+
"type": "function"
|
1735
|
+
},
|
1736
|
+
{
|
1737
|
+
"inputs": [
|
1738
|
+
{
|
1739
|
+
"internalType": "DistributorType",
|
1740
|
+
"name": "distributorType",
|
1741
|
+
"type": "bytes8"
|
1742
|
+
},
|
1743
|
+
{
|
1744
|
+
"components": [
|
1745
|
+
{
|
1746
|
+
"internalType": "string",
|
1747
|
+
"name": "name",
|
1748
|
+
"type": "string"
|
1749
|
+
},
|
1750
|
+
{
|
1751
|
+
"internalType": "UFixed",
|
1752
|
+
"name": "minDiscountPercentage",
|
1753
|
+
"type": "uint256"
|
1754
|
+
},
|
1755
|
+
{
|
1756
|
+
"internalType": "UFixed",
|
1757
|
+
"name": "maxDiscountPercentage",
|
1758
|
+
"type": "uint256"
|
1759
|
+
},
|
1760
|
+
{
|
1761
|
+
"internalType": "UFixed",
|
1762
|
+
"name": "commissionPercentage",
|
1763
|
+
"type": "uint256"
|
1764
|
+
},
|
1765
|
+
{
|
1766
|
+
"internalType": "uint32",
|
1767
|
+
"name": "maxReferralCount",
|
1768
|
+
"type": "uint32"
|
1769
|
+
},
|
1770
|
+
{
|
1771
|
+
"internalType": "uint32",
|
1772
|
+
"name": "maxReferralLifetime",
|
1773
|
+
"type": "uint32"
|
1774
|
+
},
|
1775
|
+
{
|
1776
|
+
"internalType": "bool",
|
1777
|
+
"name": "allowSelfReferrals",
|
1778
|
+
"type": "bool"
|
1779
|
+
},
|
1780
|
+
{
|
1781
|
+
"internalType": "bool",
|
1782
|
+
"name": "allowRenewals",
|
1783
|
+
"type": "bool"
|
1784
|
+
},
|
1785
|
+
{
|
1786
|
+
"internalType": "bytes",
|
1787
|
+
"name": "data",
|
1788
|
+
"type": "bytes"
|
1789
|
+
}
|
1790
|
+
],
|
1791
|
+
"internalType": "struct IDistribution.DistributorTypeInfo",
|
1792
|
+
"name": "info",
|
1793
|
+
"type": "tuple"
|
1794
|
+
},
|
1795
|
+
{
|
1796
|
+
"internalType": "StateId",
|
1797
|
+
"name": "newState",
|
1798
|
+
"type": "uint8"
|
1799
|
+
}
|
1800
|
+
],
|
1801
|
+
"name": "updateDistributorType",
|
1802
|
+
"outputs": [],
|
1803
|
+
"stateMutability": "nonpayable",
|
1804
|
+
"type": "function"
|
1805
|
+
},
|
1806
|
+
{
|
1807
|
+
"inputs": [
|
1808
|
+
{
|
1809
|
+
"internalType": "DistributorType",
|
1810
|
+
"name": "distributorType",
|
1811
|
+
"type": "bytes8"
|
1812
|
+
},
|
1813
|
+
{
|
1814
|
+
"internalType": "StateId",
|
1815
|
+
"name": "newState",
|
1816
|
+
"type": "uint8"
|
1817
|
+
}
|
1818
|
+
],
|
1819
|
+
"name": "updateDistributorTypeState",
|
1820
|
+
"outputs": [],
|
1821
|
+
"stateMutability": "nonpayable",
|
1822
|
+
"type": "function"
|
1823
|
+
},
|
1824
|
+
{
|
1825
|
+
"inputs": [
|
1826
|
+
{
|
1827
|
+
"internalType": "NftId",
|
1828
|
+
"name": "policyNftId",
|
1829
|
+
"type": "uint96"
|
1830
|
+
},
|
1831
|
+
{
|
1832
|
+
"internalType": "PayoutId",
|
1833
|
+
"name": "payoutId",
|
1834
|
+
"type": "uint24"
|
1835
|
+
},
|
1836
|
+
{
|
1837
|
+
"components": [
|
1838
|
+
{
|
1839
|
+
"internalType": "ClaimId",
|
1840
|
+
"name": "claimId",
|
1841
|
+
"type": "uint16"
|
1842
|
+
},
|
1843
|
+
{
|
1844
|
+
"internalType": "Amount",
|
1845
|
+
"name": "amount",
|
1846
|
+
"type": "uint96"
|
1847
|
+
},
|
1848
|
+
{
|
1849
|
+
"internalType": "bytes",
|
1850
|
+
"name": "data",
|
1851
|
+
"type": "bytes"
|
1852
|
+
},
|
1853
|
+
{
|
1854
|
+
"internalType": "Timestamp",
|
1855
|
+
"name": "paidAt",
|
1856
|
+
"type": "uint40"
|
1857
|
+
}
|
1858
|
+
],
|
1859
|
+
"internalType": "struct IPolicy.PayoutInfo",
|
1860
|
+
"name": "payout",
|
1861
|
+
"type": "tuple"
|
1862
|
+
},
|
1863
|
+
{
|
1864
|
+
"internalType": "StateId",
|
1865
|
+
"name": "newState",
|
1866
|
+
"type": "uint8"
|
1867
|
+
}
|
1868
|
+
],
|
1869
|
+
"name": "updatePayout",
|
1870
|
+
"outputs": [],
|
1871
|
+
"stateMutability": "nonpayable",
|
1872
|
+
"type": "function"
|
1873
|
+
},
|
1874
|
+
{
|
1875
|
+
"inputs": [
|
1876
|
+
{
|
1877
|
+
"internalType": "NftId",
|
1878
|
+
"name": "policyNftId",
|
1879
|
+
"type": "uint96"
|
1880
|
+
},
|
1881
|
+
{
|
1882
|
+
"internalType": "PayoutId",
|
1883
|
+
"name": "payoutId",
|
1884
|
+
"type": "uint24"
|
1885
|
+
},
|
1886
|
+
{
|
1887
|
+
"internalType": "StateId",
|
1888
|
+
"name": "newState",
|
1889
|
+
"type": "uint8"
|
1890
|
+
}
|
1891
|
+
],
|
1892
|
+
"name": "updatePayoutState",
|
1893
|
+
"outputs": [],
|
1894
|
+
"stateMutability": "nonpayable",
|
1895
|
+
"type": "function"
|
1896
|
+
},
|
1897
|
+
{
|
1898
|
+
"inputs": [
|
1899
|
+
{
|
1900
|
+
"internalType": "NftId",
|
1901
|
+
"name": "policyNftId",
|
1902
|
+
"type": "uint96"
|
1903
|
+
},
|
1904
|
+
{
|
1905
|
+
"components": [
|
1906
|
+
{
|
1907
|
+
"internalType": "NftId",
|
1908
|
+
"name": "productNftId",
|
1909
|
+
"type": "uint96"
|
1910
|
+
},
|
1911
|
+
{
|
1912
|
+
"internalType": "NftId",
|
1913
|
+
"name": "bundleNftId",
|
1914
|
+
"type": "uint96"
|
1915
|
+
},
|
1916
|
+
{
|
1917
|
+
"internalType": "ReferralId",
|
1918
|
+
"name": "referralId",
|
1919
|
+
"type": "bytes8"
|
1920
|
+
},
|
1921
|
+
{
|
1922
|
+
"internalType": "RiskId",
|
1923
|
+
"name": "riskId",
|
1924
|
+
"type": "bytes8"
|
1925
|
+
},
|
1926
|
+
{
|
1927
|
+
"internalType": "uint256",
|
1928
|
+
"name": "sumInsuredAmount",
|
1929
|
+
"type": "uint256"
|
1930
|
+
},
|
1931
|
+
{
|
1932
|
+
"internalType": "uint256",
|
1933
|
+
"name": "premiumAmount",
|
1934
|
+
"type": "uint256"
|
1935
|
+
},
|
1936
|
+
{
|
1937
|
+
"internalType": "uint256",
|
1938
|
+
"name": "premiumPaidAmount",
|
1939
|
+
"type": "uint256"
|
1940
|
+
},
|
1941
|
+
{
|
1942
|
+
"internalType": "Seconds",
|
1943
|
+
"name": "lifetime",
|
1944
|
+
"type": "uint40"
|
1945
|
+
},
|
1946
|
+
{
|
1947
|
+
"internalType": "bytes",
|
1948
|
+
"name": "applicationData",
|
1949
|
+
"type": "bytes"
|
1950
|
+
},
|
1951
|
+
{
|
1952
|
+
"internalType": "bytes",
|
1953
|
+
"name": "policyData",
|
1954
|
+
"type": "bytes"
|
1955
|
+
},
|
1956
|
+
{
|
1957
|
+
"internalType": "uint16",
|
1958
|
+
"name": "claimsCount",
|
1959
|
+
"type": "uint16"
|
1960
|
+
},
|
1961
|
+
{
|
1962
|
+
"internalType": "uint16",
|
1963
|
+
"name": "openClaimsCount",
|
1964
|
+
"type": "uint16"
|
1965
|
+
},
|
1966
|
+
{
|
1967
|
+
"internalType": "Amount",
|
1968
|
+
"name": "payoutAmount",
|
1969
|
+
"type": "uint96"
|
1970
|
+
},
|
1971
|
+
{
|
1972
|
+
"internalType": "Timestamp",
|
1973
|
+
"name": "activatedAt",
|
1974
|
+
"type": "uint40"
|
1975
|
+
},
|
1976
|
+
{
|
1977
|
+
"internalType": "Timestamp",
|
1978
|
+
"name": "expiredAt",
|
1979
|
+
"type": "uint40"
|
1980
|
+
},
|
1981
|
+
{
|
1982
|
+
"internalType": "Timestamp",
|
1983
|
+
"name": "closedAt",
|
1984
|
+
"type": "uint40"
|
1985
|
+
}
|
1986
|
+
],
|
1987
|
+
"internalType": "struct IPolicy.PolicyInfo",
|
1988
|
+
"name": "policy",
|
1989
|
+
"type": "tuple"
|
1990
|
+
},
|
1991
|
+
{
|
1992
|
+
"internalType": "StateId",
|
1993
|
+
"name": "newState",
|
1994
|
+
"type": "uint8"
|
1995
|
+
}
|
1996
|
+
],
|
1997
|
+
"name": "updatePolicy",
|
1998
|
+
"outputs": [],
|
1999
|
+
"stateMutability": "nonpayable",
|
2000
|
+
"type": "function"
|
2001
|
+
},
|
2002
|
+
{
|
2003
|
+
"inputs": [
|
2004
|
+
{
|
2005
|
+
"internalType": "NftId",
|
2006
|
+
"name": "policyNftId",
|
2007
|
+
"type": "uint96"
|
2008
|
+
},
|
2009
|
+
{
|
2010
|
+
"internalType": "StateId",
|
2011
|
+
"name": "newState",
|
2012
|
+
"type": "uint8"
|
2013
|
+
}
|
2014
|
+
],
|
2015
|
+
"name": "updatePolicyState",
|
2016
|
+
"outputs": [],
|
2017
|
+
"stateMutability": "nonpayable",
|
2018
|
+
"type": "function"
|
2019
|
+
},
|
2020
|
+
{
|
2021
|
+
"inputs": [
|
2022
|
+
{
|
2023
|
+
"internalType": "NftId",
|
2024
|
+
"name": "poolNftId",
|
2025
|
+
"type": "uint96"
|
2026
|
+
},
|
2027
|
+
{
|
2028
|
+
"components": [
|
2029
|
+
{
|
2030
|
+
"internalType": "string",
|
2031
|
+
"name": "name",
|
2032
|
+
"type": "string"
|
2033
|
+
},
|
2034
|
+
{
|
2035
|
+
"internalType": "contract IERC20Metadata",
|
2036
|
+
"name": "token",
|
2037
|
+
"type": "address"
|
2038
|
+
},
|
2039
|
+
{
|
2040
|
+
"internalType": "contract TokenHandler",
|
2041
|
+
"name": "tokenHandler",
|
2042
|
+
"type": "address"
|
2043
|
+
},
|
2044
|
+
{
|
2045
|
+
"internalType": "address",
|
2046
|
+
"name": "wallet",
|
2047
|
+
"type": "address"
|
2048
|
+
},
|
2049
|
+
{
|
2050
|
+
"internalType": "Amount",
|
2051
|
+
"name": "balanceAmount",
|
2052
|
+
"type": "uint96"
|
2053
|
+
},
|
2054
|
+
{
|
2055
|
+
"internalType": "Amount",
|
2056
|
+
"name": "feeAmount",
|
2057
|
+
"type": "uint96"
|
2058
|
+
},
|
2059
|
+
{
|
2060
|
+
"internalType": "bytes",
|
2061
|
+
"name": "data",
|
2062
|
+
"type": "bytes"
|
2063
|
+
}
|
2064
|
+
],
|
2065
|
+
"internalType": "struct IComponents.ComponentInfo",
|
2066
|
+
"name": "info",
|
2067
|
+
"type": "tuple"
|
2068
|
+
},
|
2069
|
+
{
|
2070
|
+
"internalType": "StateId",
|
2071
|
+
"name": "newState",
|
2072
|
+
"type": "uint8"
|
2073
|
+
}
|
2074
|
+
],
|
2075
|
+
"name": "updatePoolSetup",
|
2076
|
+
"outputs": [],
|
2077
|
+
"stateMutability": "nonpayable",
|
2078
|
+
"type": "function"
|
2079
|
+
},
|
2080
|
+
{
|
2081
|
+
"inputs": [
|
2082
|
+
{
|
2083
|
+
"internalType": "NftId",
|
2084
|
+
"name": "poolNftId",
|
2085
|
+
"type": "uint96"
|
2086
|
+
},
|
2087
|
+
{
|
2088
|
+
"internalType": "StateId",
|
2089
|
+
"name": "newState",
|
2090
|
+
"type": "uint8"
|
2091
|
+
}
|
2092
|
+
],
|
2093
|
+
"name": "updatePoolSetupState",
|
2094
|
+
"outputs": [],
|
2095
|
+
"stateMutability": "nonpayable",
|
2096
|
+
"type": "function"
|
2097
|
+
},
|
2098
|
+
{
|
2099
|
+
"inputs": [
|
2100
|
+
{
|
2101
|
+
"internalType": "NftId",
|
2102
|
+
"name": "productNftId",
|
2103
|
+
"type": "uint96"
|
2104
|
+
},
|
2105
|
+
{
|
2106
|
+
"components": [
|
2107
|
+
{
|
2108
|
+
"internalType": "contract IERC20Metadata",
|
2109
|
+
"name": "token",
|
2110
|
+
"type": "address"
|
2111
|
+
},
|
2112
|
+
{
|
2113
|
+
"internalType": "contract TokenHandler",
|
2114
|
+
"name": "tokenHandler",
|
2115
|
+
"type": "address"
|
2116
|
+
},
|
2117
|
+
{
|
2118
|
+
"internalType": "NftId",
|
2119
|
+
"name": "distributionNftId",
|
2120
|
+
"type": "uint96"
|
2121
|
+
},
|
2122
|
+
{
|
2123
|
+
"internalType": "NftId",
|
2124
|
+
"name": "poolNftId",
|
2125
|
+
"type": "uint96"
|
2126
|
+
},
|
2127
|
+
{
|
2128
|
+
"components": [
|
2129
|
+
{
|
2130
|
+
"internalType": "UFixed",
|
2131
|
+
"name": "fractionalFee",
|
2132
|
+
"type": "uint256"
|
2133
|
+
},
|
2134
|
+
{
|
2135
|
+
"internalType": "uint256",
|
2136
|
+
"name": "fixedFee",
|
2137
|
+
"type": "uint256"
|
2138
|
+
}
|
2139
|
+
],
|
2140
|
+
"internalType": "struct Fee",
|
2141
|
+
"name": "productFee",
|
2142
|
+
"type": "tuple"
|
2143
|
+
},
|
2144
|
+
{
|
2145
|
+
"components": [
|
2146
|
+
{
|
2147
|
+
"internalType": "UFixed",
|
2148
|
+
"name": "fractionalFee",
|
2149
|
+
"type": "uint256"
|
2150
|
+
},
|
2151
|
+
{
|
2152
|
+
"internalType": "uint256",
|
2153
|
+
"name": "fixedFee",
|
2154
|
+
"type": "uint256"
|
2155
|
+
}
|
2156
|
+
],
|
2157
|
+
"internalType": "struct Fee",
|
2158
|
+
"name": "processingFee",
|
2159
|
+
"type": "tuple"
|
2160
|
+
},
|
2161
|
+
{
|
2162
|
+
"internalType": "bool",
|
2163
|
+
"name": "isIntercepting",
|
2164
|
+
"type": "bool"
|
2165
|
+
},
|
2166
|
+
{
|
2167
|
+
"internalType": "address",
|
2168
|
+
"name": "wallet",
|
2169
|
+
"type": "address"
|
2170
|
+
}
|
2171
|
+
],
|
2172
|
+
"internalType": "struct ISetup.ProductSetupInfo",
|
2173
|
+
"name": "setup",
|
2174
|
+
"type": "tuple"
|
2175
|
+
},
|
2176
|
+
{
|
2177
|
+
"internalType": "StateId",
|
2178
|
+
"name": "newState",
|
2179
|
+
"type": "uint8"
|
2180
|
+
}
|
2181
|
+
],
|
2182
|
+
"name": "updateProductSetup",
|
2183
|
+
"outputs": [],
|
2184
|
+
"stateMutability": "nonpayable",
|
2185
|
+
"type": "function"
|
2186
|
+
},
|
2187
|
+
{
|
2188
|
+
"inputs": [
|
2189
|
+
{
|
2190
|
+
"internalType": "NftId",
|
2191
|
+
"name": "productNftId",
|
2192
|
+
"type": "uint96"
|
2193
|
+
},
|
2194
|
+
{
|
2195
|
+
"internalType": "StateId",
|
2196
|
+
"name": "newState",
|
2197
|
+
"type": "uint8"
|
2198
|
+
}
|
2199
|
+
],
|
2200
|
+
"name": "updateProductSetupState",
|
2201
|
+
"outputs": [],
|
2202
|
+
"stateMutability": "nonpayable",
|
2203
|
+
"type": "function"
|
2204
|
+
},
|
2205
|
+
{
|
2206
|
+
"inputs": [
|
2207
|
+
{
|
2208
|
+
"internalType": "ReferralId",
|
2209
|
+
"name": "referralId",
|
2210
|
+
"type": "bytes8"
|
2211
|
+
},
|
2212
|
+
{
|
2213
|
+
"components": [
|
2214
|
+
{
|
2215
|
+
"internalType": "NftId",
|
2216
|
+
"name": "distributorNftId",
|
2217
|
+
"type": "uint96"
|
2218
|
+
},
|
2219
|
+
{
|
2220
|
+
"internalType": "string",
|
2221
|
+
"name": "referralCode",
|
2222
|
+
"type": "string"
|
2223
|
+
},
|
2224
|
+
{
|
2225
|
+
"internalType": "UFixed",
|
2226
|
+
"name": "discountPercentage",
|
2227
|
+
"type": "uint256"
|
2228
|
+
},
|
2229
|
+
{
|
2230
|
+
"internalType": "uint32",
|
2231
|
+
"name": "maxReferrals",
|
2232
|
+
"type": "uint32"
|
2233
|
+
},
|
2234
|
+
{
|
2235
|
+
"internalType": "uint32",
|
2236
|
+
"name": "usedReferrals",
|
2237
|
+
"type": "uint32"
|
2238
|
+
},
|
2239
|
+
{
|
2240
|
+
"internalType": "Timestamp",
|
2241
|
+
"name": "expiryAt",
|
2242
|
+
"type": "uint40"
|
2243
|
+
},
|
2244
|
+
{
|
2245
|
+
"internalType": "bytes",
|
2246
|
+
"name": "data",
|
2247
|
+
"type": "bytes"
|
2248
|
+
}
|
2249
|
+
],
|
2250
|
+
"internalType": "struct IDistribution.ReferralInfo",
|
2251
|
+
"name": "referralInfo",
|
2252
|
+
"type": "tuple"
|
2253
|
+
},
|
2254
|
+
{
|
2255
|
+
"internalType": "StateId",
|
2256
|
+
"name": "newState",
|
2257
|
+
"type": "uint8"
|
2258
|
+
}
|
2259
|
+
],
|
2260
|
+
"name": "updateReferral",
|
2261
|
+
"outputs": [],
|
2262
|
+
"stateMutability": "nonpayable",
|
2263
|
+
"type": "function"
|
2264
|
+
},
|
2265
|
+
{
|
2266
|
+
"inputs": [
|
2267
|
+
{
|
2268
|
+
"internalType": "ReferralId",
|
2269
|
+
"name": "referralId",
|
2270
|
+
"type": "bytes8"
|
2271
|
+
},
|
2272
|
+
{
|
2273
|
+
"internalType": "StateId",
|
2274
|
+
"name": "newState",
|
2275
|
+
"type": "uint8"
|
2276
|
+
}
|
2277
|
+
],
|
2278
|
+
"name": "updateReferralState",
|
2279
|
+
"outputs": [],
|
2280
|
+
"stateMutability": "nonpayable",
|
2281
|
+
"type": "function"
|
2282
|
+
},
|
2283
|
+
{
|
2284
|
+
"inputs": [
|
2285
|
+
{
|
2286
|
+
"internalType": "RiskId",
|
2287
|
+
"name": "riskId",
|
2288
|
+
"type": "bytes8"
|
2289
|
+
},
|
2290
|
+
{
|
2291
|
+
"components": [
|
2292
|
+
{
|
2293
|
+
"internalType": "NftId",
|
2294
|
+
"name": "productNftId",
|
2295
|
+
"type": "uint96"
|
2296
|
+
},
|
2297
|
+
{
|
2298
|
+
"internalType": "bytes",
|
2299
|
+
"name": "data",
|
2300
|
+
"type": "bytes"
|
2301
|
+
}
|
2302
|
+
],
|
2303
|
+
"internalType": "struct IRisk.RiskInfo",
|
2304
|
+
"name": "risk",
|
2305
|
+
"type": "tuple"
|
2306
|
+
},
|
2307
|
+
{
|
2308
|
+
"internalType": "StateId",
|
2309
|
+
"name": "newState",
|
2310
|
+
"type": "uint8"
|
2311
|
+
}
|
2312
|
+
],
|
2313
|
+
"name": "updateRisk",
|
2314
|
+
"outputs": [],
|
2315
|
+
"stateMutability": "nonpayable",
|
2316
|
+
"type": "function"
|
2317
|
+
},
|
2318
|
+
{
|
2319
|
+
"inputs": [
|
2320
|
+
{
|
2321
|
+
"internalType": "RiskId",
|
2322
|
+
"name": "riskId",
|
2323
|
+
"type": "bytes8"
|
2324
|
+
},
|
2325
|
+
{
|
2326
|
+
"internalType": "StateId",
|
2327
|
+
"name": "newState",
|
2328
|
+
"type": "uint8"
|
2329
|
+
}
|
2330
|
+
],
|
2331
|
+
"name": "updateRiskState",
|
2332
|
+
"outputs": [],
|
2333
|
+
"stateMutability": "nonpayable",
|
2334
|
+
"type": "function"
|
2335
|
+
}
|
2336
|
+
],
|
2337
|
+
"bytecode": "0x608060405234801561001057600080fd5b50614876806100206000396000f3fe608060405234801561001057600080fd5b50600436106102d65760003560e01c80639e90178c11610182578063bf7e214f116100e9578063dee32623116100a2578063f7b442d11161007c578063f7b442d114610771578063fb4a8e3414610784578063fbc1a3a014610797578063fe1f18d6146107aa57600080fd5b8063dee32623146106ff578063e9e96c7014610712578063f48016ce1461075057600080fd5b8063bf7e214f14610693578063c4d66de8146106b3578063ca0e7f08146106c6578063cbe864251461045e578063d2f21a29146106d9578063d5c9d77d146106ec57600080fd5b8063a671495e1161013b578063a671495e14610621578063a76ee01814610634578063a898967514610647578063af9025001461065a578063b6d7cd621461066d578063bf1db3f91461068057600080fd5b80639e90178c14610511578063a1ef60e914610524578063a284222914610537578063a472a8321461054a578063a4eeee591461055d578063a5961b4c1461057057600080fd5b8063468bce061161024157806361105e0e116101fa57806381c2b282116101d457806381c2b282146104aa5780638eaa6ac0146104bd5780638fb36037146104dd57806397affbf5146104fe57600080fd5b806361105e0e146104715780637a9e5e4b146104845780637cef48421461049757600080fd5b8063468bce061461041057806354f6127f1461041857806359852426146104385780635a8416b01461044b5780635d0c93341461045e5780635d4345cc1461037b57600080fd5b806329e63f621161029357806329e63f621461038e5780632f61088a146103a157806330a130ba146103b45780633870a770146103c757806338a699a4146103da57806340529b0f146103fd57600080fd5b806309648a9d146102db5780630cbc6b891461031a5780630d3581811461032f5780630f526f7d146103555780630f6c29ef146103685780630fad0eb11461037b575b600080fd5b6103036102e9366004612b5c565b600090815260026020526040902054610100900460ff1690565b60405160ff90911681526020015b60405180910390f35b61032d610328366004612da6565b6107bd565b005b61030361033d366004612df2565b60ff9081166000908152602081905260409020541690565b61032d610363366004612e0f565b610803565b61032d610376366004612fc3565b610824565b61032d610389366004612e0f565b610851565b61032d61039c3660046130db565b610868565b61032d6103af3660046131ae565b61088f565b61032d6103c23660046132ed565b610943565b61032d6103d5366004613332565b6109e3565b6103ed6103e8366004612b5c565b6109f9565b6040519015158152602001610311565b61032d61040b366004612e0f565b610a8a565b61032d610aa1565b61042b610426366004612b5c565b610ad3565b60405161031191906133c0565b61032d6104463660046134a6565b610b78565b61032d6104593660046134fe565b610ba0565b61032d61046c36600461368e565b610c40565b61032d61047f366004613791565b610c68565b61032d6104923660046137d8565b610d08565b61032d6104a53660046137f5565b610d90565b61032d6104b8366004613813565b610e1f565b6104d06104cb366004612b5c565b610e46565b60405161031191906138bc565b6104e5610f87565b6040516001600160e01b03199091168152602001610311565b61032d61050c3660046138f0565b610fc0565b61032d61051f3660046139ba565b610fe8565b61032d6105323660046139f1565b611010565b61032d6105453660046137f5565b611037565b61032d610558366004613a48565b611085565b61032d61056b366004613b1e565b6110ad565b61061461057e366004612b5c565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260026020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516103119190613b65565b61032d61062f366004613c16565b6110d5565b61032d610642366004613c5b565b6110fd565b61032d610655366004613ca2565b61119d565b61032d6106683660046137f5565b61128e565b61032d61067b366004613cd2565b6112dc565b6103ed61068e366004612df2565b6112f2565b61069b61133f565b6040516001600160a01b039091168152602001610311565b61032d6106c13660046137d8565b61135b565b61032d6106d4366004613d02565b6114d9565b61032d6106e7366004612e0f565b611579565b61032d6106fa366004613d47565b611590565b61032d61070d366004612e0f565b6115b8565b6103ed610720366004613ca2565b60ff9283166000908152600160209081526040808320948616835293815283822092851682529190915220541690565b61076361075e366004613d9c565b6115cf565b604051908152602001610311565b61032d61077f366004613dca565b61165a565b61032d610792366004613e0b565b611682565b61032d6107a5366004613e52565b6116aa565b61032d6107b8366004612e0f565b6116d2565b6107ca335b6000366116e9565b6107fe6107d884606e6117e7565b836040516020016107e99190613e80565b60405160208183030381529060405283611833565b505050565b61080c336107c2565b61082061081a83608c6117e7565b8261183e565b5050565b61082d336107c2565b61084b61083a8585611848565b836040516020016107e99190613f2f565b50505050565b61085a336107c2565b61082061081a8360d36117e7565b610871336107c2565b61084b61087e8585611896565b836040516020016107e99190613f89565b610898336107c2565b6040516355ee627560e01b81526108209073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee6275906108dd906001600160c01b0319871690600401613ffd565b602060405180830381865af41580156108fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061091e9190614012565b8260405160200161092f919061402b565b6040516020818303038152906040526118e3565b61094c336107c2565b6040516355ee627560e01b81526108209073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590610991906001600160c01b0319871690600401613ffd565b602060405180830381865af41580156109ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109d29190614012565b8260405160200161092f9190614059565b6109ec336107c2565b6107fe61081a8484611848565b60008181526002602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af4158015610a60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a849190614109565b92915050565b610a93336107c2565b61082061081a83607a6117e7565b610aa96118ed565b610ab1611936565b610ab9611a59565b610ac1611b4b565b610ac9611c59565b610ad1611d15565b565b6000818152600260205260409020600101805460609190610af390614126565b80601f0160208091040260200160405190810160405280929190818152602001828054610b1f90614126565b8015610b6c5780601f10610b4157610100808354040283529160200191610b6c565b820191906000526020600020905b815481529060010190602001808311610b4f57829003601f168201915b50505050509050919050565b610b81336107c2565b6107fe610b8f8460dc6117e7565b836040516020016107e99190614160565b610ba9336107c2565b6040516355ee627560e01b81526107fe9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590610bee906001600160c01b0319881690600401613ffd565b602060405180830381865af4158015610c0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c2f9190614012565b836040516020016107e99190614059565b610c49336107c2565b6107fe610c578460d36117e7565b836040516020016107e99190614243565b610c71336107c2565b6040516355ee627560e01b81526107fe9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590610cb6906001600160c01b0319881690600401613ffd565b602060405180830381865af4158015610cd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cf79190614012565b836040516020016107e991906143a0565b33610d1161133f565b6001600160a01b0316816001600160a01b031614610d515760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b600003610d87576040516361798f2f60e11b81526001600160a01b0383166004820152602401610d48565b61082082611dd0565b610d99336107c2565b6040516355ee627560e01b81526108209073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590610dde906001600160c01b0319871690600401613ffd565b602060405180830381865af4158015610dfb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081a9190614012565b610e28336107c2565b6107fe610e358484611848565b8260405160200161092f9190613f2f565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260026020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191610efe90614126565b80601f0160208091040260200160405190810160405280929190818152602001828054610f2a90614126565b8015610f775780601f10610f4c57610100808354040283529160200191610f77565b820191906000526020600020905b815481529060010190602001808311610f5a57829003601f168201915b5050505050815250509050919050565b600080516020614821833981519152805460009190600160a01b900460ff16610fb1576000610fba565b638fb3603760e01b5b91505090565b610fc9336107c2565b610820610fd78360dc6117e7565b8260405160200161092f9190614160565b610ff1336107c2565b610820610fff8360786117e7565b8260405160200161092f919061443c565b611019336107c2565b6107fe6110268484611896565b8260405160200161092f9190613f89565b611040336107c2565b6040516355ee627560e01b81526108209073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590610dde906001600160c01b0319871690600401613ffd565b61108e336107c2565b61082061109c8360d36117e7565b8260405160200161092f9190614243565b6110b6336107c2565b6107fe6110c484608c6117e7565b836040516020016107e991906144b0565b6110de336107c2565b6108206110ec83607a6117e7565b8260405160200161092f9190614531565b611106336107c2565b6040516355ee627560e01b81526107fe9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee62759061114b906001600160c01b0319881690600401613ffd565b602060405180830381865af4158015611168573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061118c9190614012565b836040516020016107e9919061402b565b60ff8381166000908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015611202573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112269190614109565b1561123057505050565b60ff8084166000908152600160209081526040808320868516845282528083208585168452909152902054166107fe57604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610d48565b611297336107c2565b6040516355ee627560e01b81526108209073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590610dde906001600160c01b0319871690600401613ffd565b6112e5336107c2565b6107fe61081a8484611896565b60ff81811660009081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401610a43565b600080516020614821833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156113a05750825b90506000826001600160401b031660011480156113bc5750303b155b9050811580156113ca575080155b156113e85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561141257845460ff60401b1916600160401b1785555b6000866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611452573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611476919061458f565b905061148181611e31565b611489610aa1565b5083156114d157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b505050505050565b6114e2336107c2565b6040516355ee627560e01b81526108209073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590611527906001600160c01b0319871690600401613ffd565b602060405180830381865af4158015611544573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115689190614012565b8260405160200161092f91906143a0565b611582336107c2565b61082061081a8360786117e7565b611599336107c2565b6108206115a783608c6117e7565b8260405160200161092f91906144b0565b6115c1336107c2565b61082061081a83606e6117e7565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af415801561162f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116539190614012565b9392505050565b611663336107c2565b6107fe6116718460786117e7565b836040516020016107e9919061443c565b61168b336107c2565b6107fe61169984607a6117e7565b836040516020016107e99190614531565b6116b3336107c2565b6108206116c183606e6117e7565b8260405160200161092f9190613e80565b6116db336107c2565b61082061081a8360dc6117e7565b60008051602061482183398151915260008061172461170661133f565b8730611716600460008a8c6145ac565b61171f916145d6565b611e45565b91509150816114d15763ffffffff8116156117c457825460ff60a01b1916600160a01b17835561175261133f565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161178193929190614606565b600060405180830381600087803b15801561179b57600080fd5b505af11580156117af573d6000803e3d6000fd5b5050845460ff60a01b19168555506114d19050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610d48565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c890604401611612565b6107fe838383611f51565b6108208282612402565b604051635927341160e01b815262ffffff821660048201526001600160601b038316602482015260009073__$e1d43d4fb5c0494c5b7331f52c1ee41012$__90635927341190604401611612565b604051637d56159160e11b815261ffff821660048201526001600160601b038316602482015260009073__$0e0c503522f35343ef1955427c5075b143$__9063faac2b2290604401611612565b6108208282612736565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610ad157604051631afcd79f60e31b815260040160405180910390fd5b7f5bd290414b404036f9d63146803dd83b59a8e1905062a5bfed8b0154d20a390d8054606460ff19918216179091557f1578fb1f3721b6c33cae7dfcd025f5660361b090d8a17dcf8a744763f22d32ff8054821660019081179091557f47ebb928e225b2cdc8d8e0079f8da9b87d2bc15cc37a8c27842a5c925baa8b1e80548316821790557ffe60dc71e2c842ec11550e74a003d6f707c74c3b19b04c1b0700bc0fd9efd9508054909216811790915560dc600090815260208290527f81c2bf9f7c6e8ac9bd8bcd9d323e94b867d2f5054aff8759d884773c680ec1ec90606e5b60ff1660ff1681526020019081526020016000206000611a3560c890565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f9db7038e59677010ca8f72fa448bad1b4f3c53346b666689163ccac31db467728054606460ff1991821681179092557f1a3062e9a24818c8281fcfb58ec4f3083a2f9a1314ac63f80d8d646661fdc50980548216600190811790915560008381527fc884cae9155e1829c27543e26ecbb72f79fe3a85ba4df2c4a97ad5806356754d6020527f2916767ac794614810c43d6c0837244e8b2c8d3f3c02376a214f465d6841db5680549093168217909255918291905b60ff1660ff1681526020019081526020016000206000611b2d606e90565b60ff1660ff1681526020019081526020016000206000611a3560d290565b7fa57aae0b1e878b4cf2d1f237d2c6d245fa2af12f527cffc45e0a81d7b3c46abe8054600a60ff19918216179091557f10d8f68d28031156bb5a2007a6e7fc1ff769776115bd307e1d3f2901ec220eef8054821660019081179091557f71e0ce7e96b0b9ecf53c20706f5891c8e9bb320060393406400136d7ab1db61e80548316821790557f3aa5c1a82b8afaca3213d4302f465dcc339ab680e61c71830f7d9c441c63328380548316821790557f59d2febd485ffaba948645e520694e9996f0c229c4a10430d07956b599b172538054909216811790915560d3600090815260208290527f7415b658af57d740454b01d91722f71a360db8fdd5ec2a068a92c37e2bc3b1d6906064611a17565b7f41d63e1348ead7043feb8677b52ff813a7a3d573fdf99c917846a69e8e7b7e608054603260ff19918216179091557f378c5573ee3453f5c9f5c7aa83b807835ecb097b5151d641746b59340336b67d8054821660019081179091557f7f4fc20c9070f9c8378783c3022311e08af436d0fea4b913fe0bbde88023d1268054909216811790915560d4600090815260208290527fb96e7c6ce00677da9e7edc0b5e71a26baf67854c9401b1cb6b18f18ab47e894f906033611a17565b7fc5f2c791ab4e0b1a0b6c600884b07e98575b00ebd7c3166c4272a53bebf714038054606460ff1991821681179092557f66482ac56acdda5113badf732cc46c284136d9d6378a671ac129cd298ff5f96780548216600190811790915560009283527f47d871bf8fdbdfc3d809d1454103f6ff238aad0f5cefde0353363b9e415ef6a76020527ff2de5750d5c9f412b7907640f68a5258fe3f903dfd0cd25c2ea235b23cc926958054909216811790915590819060c8611b0f565b60008051602061482183398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611e396118ed565b611e4281612b4b565b50565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611eb49190614646565b600060405180830381855afa9150503d8060008114611eef576040519150601f19603f3d011682016040523d82523d6000602084013e611ef4565b606091505b50915091508115611f46576040815110611f265780806020019051810190611f1c9190614662565b9094509250611f46565b6020815110611f465780806020019051810190611f439190614109565b93505b505094509492505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015611fa3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fc79190614109565b6120135760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610d48565b600083815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af415801561207f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120a39190614109565b6120ef5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610d48565b600085815260026020526040902060010161210a85826146d7565b5060ff8084161461212857815461ff00191661010060ff8516021782555b8154620100003390810262010000600160b01b031983161784559063ffffffff600160b01b909104166121584390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156121ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061220e9190614796565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af415801561225e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061228291906147b3565b858886328760405161229a97969594939291906147d0565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612314573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123389190614796565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612388573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123ac91906147b3565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0015b60405180910390a150505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612454573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124789190614109565b6124c45760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610d48565b600082815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612530573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125549190614109565b6125a05760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610d48565b81546125b09060ff16828561119d565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166125f44390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612686573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126aa9190614796565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156126fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061271e91906147b3565b85888632876040516114c897969594939291906147d0565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612789573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127ad9190614796565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015612802573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128269190614109565b6128725760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610d48565b600083815260026020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af41580156128db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128ff9190614109565b61294b5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610d48565b33436000612958856112f2565b612963576064612979565b60ff808616600090815260208190526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b919091021785556000888152600260205260409020909150600101612a0387826146d7565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612a76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a9a9190614796565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612aea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b0e91906147b3565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a0016123f1565b612b536118ed565b611e4281611dd0565b600060208284031215612b6e57600080fd5b5035919050565b6001600160601b0381168114611e4257600080fd5b8035612b9581612b75565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715612bd257612bd2612b9a565b60405290565b60405161010081016001600160401b0381118282101715612bd257612bd2612b9a565b60405160c081016001600160401b0381118282101715612bd257612bd2612b9a565b60405161012081016001600160401b0381118282101715612bd257612bd2612b9a565b60405161020081016001600160401b0381118282101715612bd257612bd2612b9a565b60405160e081016001600160401b0381118282101715612bd257612bd2612b9a565b6001600160a01b0381168114611e4257600080fd5b8035612b9581612c85565b600060408284031215612cb757600080fd5b612cbf612bb0565b9050813581526020820135602082015292915050565b8015158114611e4257600080fd5b8035612b9581612cd5565b60006101408284031215612d0157600080fd5b612d09612bd8565b9050612d1482612c9a565b8152612d2260208301612c9a565b6020820152612d3360408301612b8a565b6040820152612d4460608301612b8a565b6060820152612d568360808401612ca5565b6080820152612d688360c08401612ca5565b60a0820152612d7a6101008301612ce3565b60c0820152612d8c6101208301612c9a565b60e082015292915050565b60ff81168114611e4257600080fd5b60008060006101808486031215612dbc57600080fd5b8335612dc781612b75565b9250612dd68560208601612cee565b9150610160840135612de781612d97565b809150509250925092565b600060208284031215612e0457600080fd5b813561165381612d97565b60008060408385031215612e2257600080fd5b8235612e2d81612b75565b91506020830135612e3d81612d97565b809150509250929050565b803562ffffff81168114612b9557600080fd5b61ffff81168114611e4257600080fd5b8035612b9581612e5b565b600082601f830112612e8757600080fd5b81356001600160401b0380821115612ea157612ea1612b9a565b604051601f8301601f19908116603f01168101908282118183101715612ec957612ec9612b9a565b81604052838152866020858801011115612ee257600080fd5b836020870160208301376000602085830101528094505050505092915050565b64ffffffffff81168114611e4257600080fd5b8035612b9581612f02565b600060808284031215612f3257600080fd5b604051608081016001600160401b038282108183111715612f5557612f55612b9a565b8160405282935084359150612f6982612e5b565b908252602084013590612f7b82612b75565b8160208401526040850135915080821115612f9557600080fd5b50612fa285828601612e76565b6040830152506060830135612fb681612f02565b6060919091015292915050565b60008060008060808587031215612fd957600080fd5b8435612fe481612b75565b9350612ff260208601612e48565b925060408501356001600160401b0381111561300d57600080fd5b61301987828801612f20565b925050606085013561302a81612d97565b939692955090935050565b600060c0828403121561304757600080fd5b61304f612bfb565b9050813561305c81612b75565b8152602082013561306c81612b75565b6020820152604082013561307f81612d97565b6040820152606082013561309281612d97565b606082015260808201356001600160401b038111156130b057600080fd5b6130bc84828501612e76565b60808301525060a08201356130d081612f02565b60a082015292915050565b600080600080608085870312156130f157600080fd5b84356130fc81612b75565b9350602085013561310c81612e5b565b925060408501356001600160401b0381111561312757600080fd5b61301987828801613035565b6001600160c01b031981168114611e4257600080fd5b8035612b9581613133565b60006040828403121561316657600080fd5b61316e612bb0565b9050813561317b81612b75565b815260208201356001600160401b0381111561319657600080fd5b6131a284828501612e76565b60208301525092915050565b600080604083850312156131c157600080fd5b82356131cc81613133565b915060208301356001600160401b038111156131e757600080fd5b6131f385828601613154565b9150509250929050565b63ffffffff81168114611e4257600080fd5b8035612b95816131fd565b6000610120828403121561322d57600080fd5b613235612c1d565b905081356001600160401b038082111561324e57600080fd5b61325a85838601612e76565b83526020840135602084015260408401356040840152606084013560608401526132866080850161320f565b608084015261329760a0850161320f565b60a08401526132a860c08501612ce3565b60c08401526132b960e08501612ce3565b60e0840152610100915081840135818111156132d457600080fd5b6132e086828701612e76565b8385015250505092915050565b6000806040838503121561330057600080fd5b823561330b81613133565b915060208301356001600160401b0381111561332657600080fd5b6131f38582860161321a565b60008060006060848603121561334757600080fd5b833561335281612b75565b925061336060208501612e48565b91506040840135612de781612d97565b60005b8381101561338b578181015183820152602001613373565b50506000910152565b600081518084526133ac816020860160208601613370565b601f01601f19169290920160200192915050565b6020815260006116536020830184613394565b600061014082840312156133e657600080fd5b6133ee612c1d565b90506133f982612b8a565b81526134088360208401612ca5565b602082015260608201356001600160401b0381111561342657600080fd5b61343284828501612e76565b60408301525061344460808301612b8a565b606082015261345560a08301612b8a565b608082015261346660c08301612b8a565b60a082015261347760e08301612f15565b60c082015261010061348a818401612f15565b60e083015261349c6101208401612f15565b9082015292915050565b6000806000606084860312156134bb57600080fd5b83356134c681612b75565b925060208401356001600160401b038111156134e157600080fd5b6134ed868287016133d3565b9250506040840135612de781612d97565b60008060006060848603121561351357600080fd5b833561351e81613133565b925060208401356001600160401b0381111561353957600080fd5b6134ed8682870161321a565b6000610200828403121561355857600080fd5b613560612c40565b905061356b82612b8a565b815261357960208301612b8a565b602082015261358a60408301613149565b604082015261359b60608301613149565b60608201526080820135608082015260a082013560a082015260c082013560c08201526135ca60e08301612f15565b60e0820152610100808301356001600160401b03808211156135eb57600080fd5b6135f786838701612e76565b8385015261012092508285013591508082111561361357600080fd5b5061362085828601612e76565b828401525050610140613634818401612e6b565b90820152610160613646838201612e6b565b90820152610180613658838201612b8a565b908201526101a061366a838201612f15565b908201526101c061367c838201612f15565b908201526101e061349c838201612f15565b6000806000606084860312156136a357600080fd5b83356136ae81612b75565b925060208401356001600160401b038111156136c957600080fd5b6134ed86828701613545565b600060e082840312156136e757600080fd5b6136ef612c63565b90506136fa82612b8a565b815260208201356001600160401b038082111561371657600080fd5b61372285838601612e76565b60208401526040840135604084015261373d6060850161320f565b606084015261374e6080850161320f565b608084015261375f60a08501612f15565b60a084015260c084013591508082111561377857600080fd5b5061378584828501612e76565b60c08301525092915050565b6000806000606084860312156137a657600080fd5b83356137b181613133565b925060208401356001600160401b038111156137cc57600080fd5b6134ed868287016136d5565b6000602082840312156137ea57600080fd5b813561165381612c85565b6000806040838503121561380857600080fd5b8235612e2d81613133565b60008060006060848603121561382857600080fd5b833561383381612b75565b925061384160208501612e48565b915060408401356001600160401b0381111561385c57600080fd5b61386886828701612f20565b9150509250925092565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b602081526138ce602082018351613872565b6000602083015160c0808401526138e860e0840182613394565b949350505050565b6000806040838503121561390357600080fd5b823561390e81612b75565b915060208301356001600160401b0381111561392957600080fd5b6131f3858286016133d3565b6000610100828403121561394857600080fd5b613950612bfb565b9050813561395d81612b75565b8152602082013561396d81612c85565b602082015261397f8360408401612ca5565b60408201526139918360808401612ca5565b606082015260c08201356139a481612c85565b608082015260e0919091013560a0820152919050565b60008061012083850312156139ce57600080fd5b82356139d981612b75565b91506139e88460208501613935565b90509250929050565b600080600060608486031215613a0657600080fd5b8335613a1181612b75565b92506020840135613a2181612e5b565b915060408401356001600160401b03811115613a3c57600080fd5b61386886828701613035565b60008060408385031215613a5b57600080fd5b8235613a6681612b75565b915060208301356001600160401b03811115613a8157600080fd5b6131f385828601613545565b600060e08284031215613a9f57600080fd5b613aa7612c63565b905081356001600160401b0380821115613ac057600080fd5b613acc85838601612e76565b8352613ada60208501612c9a565b6020840152613aeb60408501612c9a565b6040840152613afc60608501612c9a565b6060840152613b0d60808501612b8a565b608084015261375f60a08501612b8a565b600080600060608486031215613b3357600080fd5b8335613b3e81612b75565b925060208401356001600160401b03811115613b5957600080fd5b6134ed86828701613a8d565b60a08101610a848284613872565b600060a08284031215613b8557600080fd5b60405160a081016001600160401b038282108183111715613ba857613ba8612b9a565b8160405282935084359150613bbc82613133565b908252602084013590613bce82612cd5565b8160208401526040850135915080821115613be857600080fd5b50613bf585828601612e76565b60408301525060608301356060820152608083013560808201525092915050565b60008060408385031215613c2957600080fd5b8235613c3481612b75565b915060208301356001600160401b03811115613c4f57600080fd5b6131f385828601613b73565b600080600060608486031215613c7057600080fd5b8335613c7b81613133565b925060208401356001600160401b03811115613c9657600080fd5b6134ed86828701613154565b600080600060608486031215613cb757600080fd5b8335613cc281612d97565b9250602084013561336081612d97565b600080600060608486031215613ce757600080fd5b8335613cf281612b75565b9250602084013561336081612e5b565b60008060408385031215613d1557600080fd5b8235613d2081613133565b915060208301356001600160401b03811115613d3b57600080fd5b6131f3858286016136d5565b60008060408385031215613d5a57600080fd5b8235613d6581612b75565b915060208301356001600160401b03811115613d8057600080fd5b6131f385828601613a8d565b60ff1981168114611e4257600080fd5b60008060408385031215613daf57600080fd5b8235613dba81612d97565b91506020830135612e3d81613d8c565b60008060006101408486031215613de057600080fd5b8335613deb81612b75565b9250613dfa8560208601613935565b9150610120840135612de781612d97565b600080600060608486031215613e2057600080fd5b8335613e2b81612b75565b925060208401356001600160401b03811115613e4657600080fd5b6134ed86828701613b73565b6000806101608385031215613e6657600080fd5b8235613e7181612b75565b91506139e88460208501612cee565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191613ecf908401826001600160601b03169052565b506080830151613eec608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525092915050565b6020815261ffff82511660208201526001600160601b0360208301511660408201526000604083015160806060840152613f6c60a0840182613394565b905064ffffffffff60608501511660808401528091505092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260ff6060840151166080830152608083015160c060a0840152613fe060e0840182613394565b905064ffffffffff60a08501511660c08401528091505092915050565b6001600160c01b031991909116815260200190565b60006020828403121561402457600080fd5b5051919050565b602081526001600160601b038251166020820152600060208301516040808401526138e86060840182613394565b6020815260008251610120806020850152614078610140850183613394565b915060208501516040850152604085015160608501526060850151608085015260808501516140af60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006140e58187018315159052565b860151858403601f19018387015290506140ff8382613394565b9695505050505050565b60006020828403121561411b57600080fd5b815161165381612cd5565b600181811c9082168061413a57607f821691505b60208210810361415a57634e487b7160e01b600052602260045260246000fd5b50919050565b6020815261417a6020820183516001600160601b03169052565b60006020830151614198604084018280518252602090810151910152565b5060408301516101408060808501526141b5610160850183613394565b915060608501516141d160a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c08501516101006142168187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b6020815261425d6020820183516001600160601b03169052565b6000602083015161427960408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101006142de8185018364ffffffffff169052565b8085015191505061020061012081818601526142fe610220860184613394565b9250808601519050610140601f19868503018187015261431e8483613394565b9350808701519150506101606143398187018361ffff169052565b86015190506101806143508682018361ffff169052565b86015190506101a061436c868201836001600160601b03169052565b86015190506101c06143868682018364ffffffffff169052565b86015190506101e061422c8682018364ffffffffff169052565b602081526001600160601b0382511660208201526000602083015160e060408401526143d0610100840182613394565b90506040840151606084015263ffffffff6060850151166080840152608084015161440360a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e08501526144338282613394565b95945050505050565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b602081526000825160e060208401526144cd610100840182613394565b9050602084015160018060a01b0380821660408601528060408701511660608601528060608701511660808601525050608084015161451760a08501826001600160601b03169052565b5060a08401516001600160601b03811660c0850152614417565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a0606084015261456f60c0840182613394565b905060608401516080840152608084015160a08401528091505092915050565b6000602082840312156145a157600080fd5b815161165381612c85565b600080858511156145bc57600080fd5b838611156145c957600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156145fe5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b60008251614658818460208701613370565b9190910192915050565b6000806040838503121561467557600080fd5b825161468081612cd5565b6020840151909250612e3d816131fd565b601f8211156107fe57600081815260208120601f850160051c810160208610156146b85750805b601f850160051c820191505b818110156114d1578281556001016146c4565b81516001600160401b038111156146f0576146f0612b9a565b614704816146fe8454614126565b84614691565b602080601f83116001811461473957600084156147215750858301515b600019600386901b1c1916600185901b1785556114d1565b600085815260208120601f198616915b8281101561476857888601518255948401946001909101908401614749565b50858210156147865787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156147a857600080fd5b815161165381612d97565b6000602082840312156147c557600080fd5b815161165381613d8c565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e0019056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212202bd26b09dfaa3ed4732ee134c42a25a15572469c201256942bff9590a8f6818064736f6c63430008140033",
|
2338
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106102d65760003560e01c80639e90178c11610182578063bf7e214f116100e9578063dee32623116100a2578063f7b442d11161007c578063f7b442d114610771578063fb4a8e3414610784578063fbc1a3a014610797578063fe1f18d6146107aa57600080fd5b8063dee32623146106ff578063e9e96c7014610712578063f48016ce1461075057600080fd5b8063bf7e214f14610693578063c4d66de8146106b3578063ca0e7f08146106c6578063cbe864251461045e578063d2f21a29146106d9578063d5c9d77d146106ec57600080fd5b8063a671495e1161013b578063a671495e14610621578063a76ee01814610634578063a898967514610647578063af9025001461065a578063b6d7cd621461066d578063bf1db3f91461068057600080fd5b80639e90178c14610511578063a1ef60e914610524578063a284222914610537578063a472a8321461054a578063a4eeee591461055d578063a5961b4c1461057057600080fd5b8063468bce061161024157806361105e0e116101fa57806381c2b282116101d457806381c2b282146104aa5780638eaa6ac0146104bd5780638fb36037146104dd57806397affbf5146104fe57600080fd5b806361105e0e146104715780637a9e5e4b146104845780637cef48421461049757600080fd5b8063468bce061461041057806354f6127f1461041857806359852426146104385780635a8416b01461044b5780635d0c93341461045e5780635d4345cc1461037b57600080fd5b806329e63f621161029357806329e63f621461038e5780632f61088a146103a157806330a130ba146103b45780633870a770146103c757806338a699a4146103da57806340529b0f146103fd57600080fd5b806309648a9d146102db5780630cbc6b891461031a5780630d3581811461032f5780630f526f7d146103555780630f6c29ef146103685780630fad0eb11461037b575b600080fd5b6103036102e9366004612b5c565b600090815260026020526040902054610100900460ff1690565b60405160ff90911681526020015b60405180910390f35b61032d610328366004612da6565b6107bd565b005b61030361033d366004612df2565b60ff9081166000908152602081905260409020541690565b61032d610363366004612e0f565b610803565b61032d610376366004612fc3565b610824565b61032d610389366004612e0f565b610851565b61032d61039c3660046130db565b610868565b61032d6103af3660046131ae565b61088f565b61032d6103c23660046132ed565b610943565b61032d6103d5366004613332565b6109e3565b6103ed6103e8366004612b5c565b6109f9565b6040519015158152602001610311565b61032d61040b366004612e0f565b610a8a565b61032d610aa1565b61042b610426366004612b5c565b610ad3565b60405161031191906133c0565b61032d6104463660046134a6565b610b78565b61032d6104593660046134fe565b610ba0565b61032d61046c36600461368e565b610c40565b61032d61047f366004613791565b610c68565b61032d6104923660046137d8565b610d08565b61032d6104a53660046137f5565b610d90565b61032d6104b8366004613813565b610e1f565b6104d06104cb366004612b5c565b610e46565b60405161031191906138bc565b6104e5610f87565b6040516001600160e01b03199091168152602001610311565b61032d61050c3660046138f0565b610fc0565b61032d61051f3660046139ba565b610fe8565b61032d6105323660046139f1565b611010565b61032d6105453660046137f5565b611037565b61032d610558366004613a48565b611085565b61032d61056b366004613b1e565b6110ad565b61061461057e366004612b5c565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260026020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516103119190613b65565b61032d61062f366004613c16565b6110d5565b61032d610642366004613c5b565b6110fd565b61032d610655366004613ca2565b61119d565b61032d6106683660046137f5565b61128e565b61032d61067b366004613cd2565b6112dc565b6103ed61068e366004612df2565b6112f2565b61069b61133f565b6040516001600160a01b039091168152602001610311565b61032d6106c13660046137d8565b61135b565b61032d6106d4366004613d02565b6114d9565b61032d6106e7366004612e0f565b611579565b61032d6106fa366004613d47565b611590565b61032d61070d366004612e0f565b6115b8565b6103ed610720366004613ca2565b60ff9283166000908152600160209081526040808320948616835293815283822092851682529190915220541690565b61076361075e366004613d9c565b6115cf565b604051908152602001610311565b61032d61077f366004613dca565b61165a565b61032d610792366004613e0b565b611682565b61032d6107a5366004613e52565b6116aa565b61032d6107b8366004612e0f565b6116d2565b6107ca335b6000366116e9565b6107fe6107d884606e6117e7565b836040516020016107e99190613e80565b60405160208183030381529060405283611833565b505050565b61080c336107c2565b61082061081a83608c6117e7565b8261183e565b5050565b61082d336107c2565b61084b61083a8585611848565b836040516020016107e99190613f2f565b50505050565b61085a336107c2565b61082061081a8360d36117e7565b610871336107c2565b61084b61087e8585611896565b836040516020016107e99190613f89565b610898336107c2565b6040516355ee627560e01b81526108209073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee6275906108dd906001600160c01b0319871690600401613ffd565b602060405180830381865af41580156108fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061091e9190614012565b8260405160200161092f919061402b565b6040516020818303038152906040526118e3565b61094c336107c2565b6040516355ee627560e01b81526108209073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590610991906001600160c01b0319871690600401613ffd565b602060405180830381865af41580156109ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109d29190614012565b8260405160200161092f9190614059565b6109ec336107c2565b6107fe61081a8484611848565b60008181526002602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af4158015610a60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a849190614109565b92915050565b610a93336107c2565b61082061081a83607a6117e7565b610aa96118ed565b610ab1611936565b610ab9611a59565b610ac1611b4b565b610ac9611c59565b610ad1611d15565b565b6000818152600260205260409020600101805460609190610af390614126565b80601f0160208091040260200160405190810160405280929190818152602001828054610b1f90614126565b8015610b6c5780601f10610b4157610100808354040283529160200191610b6c565b820191906000526020600020905b815481529060010190602001808311610b4f57829003601f168201915b50505050509050919050565b610b81336107c2565b6107fe610b8f8460dc6117e7565b836040516020016107e99190614160565b610ba9336107c2565b6040516355ee627560e01b81526107fe9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590610bee906001600160c01b0319881690600401613ffd565b602060405180830381865af4158015610c0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c2f9190614012565b836040516020016107e99190614059565b610c49336107c2565b6107fe610c578460d36117e7565b836040516020016107e99190614243565b610c71336107c2565b6040516355ee627560e01b81526107fe9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590610cb6906001600160c01b0319881690600401613ffd565b602060405180830381865af4158015610cd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cf79190614012565b836040516020016107e991906143a0565b33610d1161133f565b6001600160a01b0316816001600160a01b031614610d515760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b600003610d87576040516361798f2f60e11b81526001600160a01b0383166004820152602401610d48565b61082082611dd0565b610d99336107c2565b6040516355ee627560e01b81526108209073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590610dde906001600160c01b0319871690600401613ffd565b602060405180830381865af4158015610dfb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081a9190614012565b610e28336107c2565b6107fe610e358484611848565b8260405160200161092f9190613f2f565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260026020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191610efe90614126565b80601f0160208091040260200160405190810160405280929190818152602001828054610f2a90614126565b8015610f775780601f10610f4c57610100808354040283529160200191610f77565b820191906000526020600020905b815481529060010190602001808311610f5a57829003601f168201915b5050505050815250509050919050565b600080516020614821833981519152805460009190600160a01b900460ff16610fb1576000610fba565b638fb3603760e01b5b91505090565b610fc9336107c2565b610820610fd78360dc6117e7565b8260405160200161092f9190614160565b610ff1336107c2565b610820610fff8360786117e7565b8260405160200161092f919061443c565b611019336107c2565b6107fe6110268484611896565b8260405160200161092f9190613f89565b611040336107c2565b6040516355ee627560e01b81526108209073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590610dde906001600160c01b0319871690600401613ffd565b61108e336107c2565b61082061109c8360d36117e7565b8260405160200161092f9190614243565b6110b6336107c2565b6107fe6110c484608c6117e7565b836040516020016107e991906144b0565b6110de336107c2565b6108206110ec83607a6117e7565b8260405160200161092f9190614531565b611106336107c2565b6040516355ee627560e01b81526107fe9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee62759061114b906001600160c01b0319881690600401613ffd565b602060405180830381865af4158015611168573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061118c9190614012565b836040516020016107e9919061402b565b60ff8381166000908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015611202573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112269190614109565b1561123057505050565b60ff8084166000908152600160209081526040808320868516845282528083208585168452909152902054166107fe57604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610d48565b611297336107c2565b6040516355ee627560e01b81526108209073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590610dde906001600160c01b0319871690600401613ffd565b6112e5336107c2565b6107fe61081a8484611896565b60ff81811660009081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401610a43565b600080516020614821833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156113a05750825b90506000826001600160401b031660011480156113bc5750303b155b9050811580156113ca575080155b156113e85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561141257845460ff60401b1916600160401b1785555b6000866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611452573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611476919061458f565b905061148181611e31565b611489610aa1565b5083156114d157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b505050505050565b6114e2336107c2565b6040516355ee627560e01b81526108209073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590611527906001600160c01b0319871690600401613ffd565b602060405180830381865af4158015611544573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115689190614012565b8260405160200161092f91906143a0565b611582336107c2565b61082061081a8360786117e7565b611599336107c2565b6108206115a783608c6117e7565b8260405160200161092f91906144b0565b6115c1336107c2565b61082061081a83606e6117e7565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af415801561162f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116539190614012565b9392505050565b611663336107c2565b6107fe6116718460786117e7565b836040516020016107e9919061443c565b61168b336107c2565b6107fe61169984607a6117e7565b836040516020016107e99190614531565b6116b3336107c2565b6108206116c183606e6117e7565b8260405160200161092f9190613e80565b6116db336107c2565b61082061081a8360dc6117e7565b60008051602061482183398151915260008061172461170661133f565b8730611716600460008a8c6145ac565b61171f916145d6565b611e45565b91509150816114d15763ffffffff8116156117c457825460ff60a01b1916600160a01b17835561175261133f565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161178193929190614606565b600060405180830381600087803b15801561179b57600080fd5b505af11580156117af573d6000803e3d6000fd5b5050845460ff60a01b19168555506114d19050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610d48565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c890604401611612565b6107fe838383611f51565b6108208282612402565b604051635927341160e01b815262ffffff821660048201526001600160601b038316602482015260009073__$e1d43d4fb5c0494c5b7331f52c1ee41012$__90635927341190604401611612565b604051637d56159160e11b815261ffff821660048201526001600160601b038316602482015260009073__$0e0c503522f35343ef1955427c5075b143$__9063faac2b2290604401611612565b6108208282612736565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610ad157604051631afcd79f60e31b815260040160405180910390fd5b7f5bd290414b404036f9d63146803dd83b59a8e1905062a5bfed8b0154d20a390d8054606460ff19918216179091557f1578fb1f3721b6c33cae7dfcd025f5660361b090d8a17dcf8a744763f22d32ff8054821660019081179091557f47ebb928e225b2cdc8d8e0079f8da9b87d2bc15cc37a8c27842a5c925baa8b1e80548316821790557ffe60dc71e2c842ec11550e74a003d6f707c74c3b19b04c1b0700bc0fd9efd9508054909216811790915560dc600090815260208290527f81c2bf9f7c6e8ac9bd8bcd9d323e94b867d2f5054aff8759d884773c680ec1ec90606e5b60ff1660ff1681526020019081526020016000206000611a3560c890565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f9db7038e59677010ca8f72fa448bad1b4f3c53346b666689163ccac31db467728054606460ff1991821681179092557f1a3062e9a24818c8281fcfb58ec4f3083a2f9a1314ac63f80d8d646661fdc50980548216600190811790915560008381527fc884cae9155e1829c27543e26ecbb72f79fe3a85ba4df2c4a97ad5806356754d6020527f2916767ac794614810c43d6c0837244e8b2c8d3f3c02376a214f465d6841db5680549093168217909255918291905b60ff1660ff1681526020019081526020016000206000611b2d606e90565b60ff1660ff1681526020019081526020016000206000611a3560d290565b7fa57aae0b1e878b4cf2d1f237d2c6d245fa2af12f527cffc45e0a81d7b3c46abe8054600a60ff19918216179091557f10d8f68d28031156bb5a2007a6e7fc1ff769776115bd307e1d3f2901ec220eef8054821660019081179091557f71e0ce7e96b0b9ecf53c20706f5891c8e9bb320060393406400136d7ab1db61e80548316821790557f3aa5c1a82b8afaca3213d4302f465dcc339ab680e61c71830f7d9c441c63328380548316821790557f59d2febd485ffaba948645e520694e9996f0c229c4a10430d07956b599b172538054909216811790915560d3600090815260208290527f7415b658af57d740454b01d91722f71a360db8fdd5ec2a068a92c37e2bc3b1d6906064611a17565b7f41d63e1348ead7043feb8677b52ff813a7a3d573fdf99c917846a69e8e7b7e608054603260ff19918216179091557f378c5573ee3453f5c9f5c7aa83b807835ecb097b5151d641746b59340336b67d8054821660019081179091557f7f4fc20c9070f9c8378783c3022311e08af436d0fea4b913fe0bbde88023d1268054909216811790915560d4600090815260208290527fb96e7c6ce00677da9e7edc0b5e71a26baf67854c9401b1cb6b18f18ab47e894f906033611a17565b7fc5f2c791ab4e0b1a0b6c600884b07e98575b00ebd7c3166c4272a53bebf714038054606460ff1991821681179092557f66482ac56acdda5113badf732cc46c284136d9d6378a671ac129cd298ff5f96780548216600190811790915560009283527f47d871bf8fdbdfc3d809d1454103f6ff238aad0f5cefde0353363b9e415ef6a76020527ff2de5750d5c9f412b7907640f68a5258fe3f903dfd0cd25c2ea235b23cc926958054909216811790915590819060c8611b0f565b60008051602061482183398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611e396118ed565b611e4281612b4b565b50565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611eb49190614646565b600060405180830381855afa9150503d8060008114611eef576040519150601f19603f3d011682016040523d82523d6000602084013e611ef4565b606091505b50915091508115611f46576040815110611f265780806020019051810190611f1c9190614662565b9094509250611f46565b6020815110611f465780806020019051810190611f439190614109565b93505b505094509492505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015611fa3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fc79190614109565b6120135760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610d48565b600083815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af415801561207f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120a39190614109565b6120ef5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610d48565b600085815260026020526040902060010161210a85826146d7565b5060ff8084161461212857815461ff00191661010060ff8516021782555b8154620100003390810262010000600160b01b031983161784559063ffffffff600160b01b909104166121584390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156121ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061220e9190614796565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af415801561225e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061228291906147b3565b858886328760405161229a97969594939291906147d0565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612314573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123389190614796565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612388573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123ac91906147b3565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0015b60405180910390a150505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612454573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124789190614109565b6124c45760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610d48565b600082815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612530573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125549190614109565b6125a05760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610d48565b81546125b09060ff16828561119d565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166125f44390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612686573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126aa9190614796565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156126fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061271e91906147b3565b85888632876040516114c897969594939291906147d0565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612789573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127ad9190614796565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015612802573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128269190614109565b6128725760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610d48565b600083815260026020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af41580156128db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128ff9190614109565b61294b5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610d48565b33436000612958856112f2565b612963576064612979565b60ff808616600090815260208190526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b919091021785556000888152600260205260409020909150600101612a0387826146d7565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612a76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a9a9190614796565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612aea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b0e91906147b3565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a0016123f1565b612b536118ed565b611e4281611dd0565b600060208284031215612b6e57600080fd5b5035919050565b6001600160601b0381168114611e4257600080fd5b8035612b9581612b75565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715612bd257612bd2612b9a565b60405290565b60405161010081016001600160401b0381118282101715612bd257612bd2612b9a565b60405160c081016001600160401b0381118282101715612bd257612bd2612b9a565b60405161012081016001600160401b0381118282101715612bd257612bd2612b9a565b60405161020081016001600160401b0381118282101715612bd257612bd2612b9a565b60405160e081016001600160401b0381118282101715612bd257612bd2612b9a565b6001600160a01b0381168114611e4257600080fd5b8035612b9581612c85565b600060408284031215612cb757600080fd5b612cbf612bb0565b9050813581526020820135602082015292915050565b8015158114611e4257600080fd5b8035612b9581612cd5565b60006101408284031215612d0157600080fd5b612d09612bd8565b9050612d1482612c9a565b8152612d2260208301612c9a565b6020820152612d3360408301612b8a565b6040820152612d4460608301612b8a565b6060820152612d568360808401612ca5565b6080820152612d688360c08401612ca5565b60a0820152612d7a6101008301612ce3565b60c0820152612d8c6101208301612c9a565b60e082015292915050565b60ff81168114611e4257600080fd5b60008060006101808486031215612dbc57600080fd5b8335612dc781612b75565b9250612dd68560208601612cee565b9150610160840135612de781612d97565b809150509250925092565b600060208284031215612e0457600080fd5b813561165381612d97565b60008060408385031215612e2257600080fd5b8235612e2d81612b75565b91506020830135612e3d81612d97565b809150509250929050565b803562ffffff81168114612b9557600080fd5b61ffff81168114611e4257600080fd5b8035612b9581612e5b565b600082601f830112612e8757600080fd5b81356001600160401b0380821115612ea157612ea1612b9a565b604051601f8301601f19908116603f01168101908282118183101715612ec957612ec9612b9a565b81604052838152866020858801011115612ee257600080fd5b836020870160208301376000602085830101528094505050505092915050565b64ffffffffff81168114611e4257600080fd5b8035612b9581612f02565b600060808284031215612f3257600080fd5b604051608081016001600160401b038282108183111715612f5557612f55612b9a565b8160405282935084359150612f6982612e5b565b908252602084013590612f7b82612b75565b8160208401526040850135915080821115612f9557600080fd5b50612fa285828601612e76565b6040830152506060830135612fb681612f02565b6060919091015292915050565b60008060008060808587031215612fd957600080fd5b8435612fe481612b75565b9350612ff260208601612e48565b925060408501356001600160401b0381111561300d57600080fd5b61301987828801612f20565b925050606085013561302a81612d97565b939692955090935050565b600060c0828403121561304757600080fd5b61304f612bfb565b9050813561305c81612b75565b8152602082013561306c81612b75565b6020820152604082013561307f81612d97565b6040820152606082013561309281612d97565b606082015260808201356001600160401b038111156130b057600080fd5b6130bc84828501612e76565b60808301525060a08201356130d081612f02565b60a082015292915050565b600080600080608085870312156130f157600080fd5b84356130fc81612b75565b9350602085013561310c81612e5b565b925060408501356001600160401b0381111561312757600080fd5b61301987828801613035565b6001600160c01b031981168114611e4257600080fd5b8035612b9581613133565b60006040828403121561316657600080fd5b61316e612bb0565b9050813561317b81612b75565b815260208201356001600160401b0381111561319657600080fd5b6131a284828501612e76565b60208301525092915050565b600080604083850312156131c157600080fd5b82356131cc81613133565b915060208301356001600160401b038111156131e757600080fd5b6131f385828601613154565b9150509250929050565b63ffffffff81168114611e4257600080fd5b8035612b95816131fd565b6000610120828403121561322d57600080fd5b613235612c1d565b905081356001600160401b038082111561324e57600080fd5b61325a85838601612e76565b83526020840135602084015260408401356040840152606084013560608401526132866080850161320f565b608084015261329760a0850161320f565b60a08401526132a860c08501612ce3565b60c08401526132b960e08501612ce3565b60e0840152610100915081840135818111156132d457600080fd5b6132e086828701612e76565b8385015250505092915050565b6000806040838503121561330057600080fd5b823561330b81613133565b915060208301356001600160401b0381111561332657600080fd5b6131f38582860161321a565b60008060006060848603121561334757600080fd5b833561335281612b75565b925061336060208501612e48565b91506040840135612de781612d97565b60005b8381101561338b578181015183820152602001613373565b50506000910152565b600081518084526133ac816020860160208601613370565b601f01601f19169290920160200192915050565b6020815260006116536020830184613394565b600061014082840312156133e657600080fd5b6133ee612c1d565b90506133f982612b8a565b81526134088360208401612ca5565b602082015260608201356001600160401b0381111561342657600080fd5b61343284828501612e76565b60408301525061344460808301612b8a565b606082015261345560a08301612b8a565b608082015261346660c08301612b8a565b60a082015261347760e08301612f15565b60c082015261010061348a818401612f15565b60e083015261349c6101208401612f15565b9082015292915050565b6000806000606084860312156134bb57600080fd5b83356134c681612b75565b925060208401356001600160401b038111156134e157600080fd5b6134ed868287016133d3565b9250506040840135612de781612d97565b60008060006060848603121561351357600080fd5b833561351e81613133565b925060208401356001600160401b0381111561353957600080fd5b6134ed8682870161321a565b6000610200828403121561355857600080fd5b613560612c40565b905061356b82612b8a565b815261357960208301612b8a565b602082015261358a60408301613149565b604082015261359b60608301613149565b60608201526080820135608082015260a082013560a082015260c082013560c08201526135ca60e08301612f15565b60e0820152610100808301356001600160401b03808211156135eb57600080fd5b6135f786838701612e76565b8385015261012092508285013591508082111561361357600080fd5b5061362085828601612e76565b828401525050610140613634818401612e6b565b90820152610160613646838201612e6b565b90820152610180613658838201612b8a565b908201526101a061366a838201612f15565b908201526101c061367c838201612f15565b908201526101e061349c838201612f15565b6000806000606084860312156136a357600080fd5b83356136ae81612b75565b925060208401356001600160401b038111156136c957600080fd5b6134ed86828701613545565b600060e082840312156136e757600080fd5b6136ef612c63565b90506136fa82612b8a565b815260208201356001600160401b038082111561371657600080fd5b61372285838601612e76565b60208401526040840135604084015261373d6060850161320f565b606084015261374e6080850161320f565b608084015261375f60a08501612f15565b60a084015260c084013591508082111561377857600080fd5b5061378584828501612e76565b60c08301525092915050565b6000806000606084860312156137a657600080fd5b83356137b181613133565b925060208401356001600160401b038111156137cc57600080fd5b6134ed868287016136d5565b6000602082840312156137ea57600080fd5b813561165381612c85565b6000806040838503121561380857600080fd5b8235612e2d81613133565b60008060006060848603121561382857600080fd5b833561383381612b75565b925061384160208501612e48565b915060408401356001600160401b0381111561385c57600080fd5b61386886828701612f20565b9150509250925092565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b602081526138ce602082018351613872565b6000602083015160c0808401526138e860e0840182613394565b949350505050565b6000806040838503121561390357600080fd5b823561390e81612b75565b915060208301356001600160401b0381111561392957600080fd5b6131f3858286016133d3565b6000610100828403121561394857600080fd5b613950612bfb565b9050813561395d81612b75565b8152602082013561396d81612c85565b602082015261397f8360408401612ca5565b60408201526139918360808401612ca5565b606082015260c08201356139a481612c85565b608082015260e0919091013560a0820152919050565b60008061012083850312156139ce57600080fd5b82356139d981612b75565b91506139e88460208501613935565b90509250929050565b600080600060608486031215613a0657600080fd5b8335613a1181612b75565b92506020840135613a2181612e5b565b915060408401356001600160401b03811115613a3c57600080fd5b61386886828701613035565b60008060408385031215613a5b57600080fd5b8235613a6681612b75565b915060208301356001600160401b03811115613a8157600080fd5b6131f385828601613545565b600060e08284031215613a9f57600080fd5b613aa7612c63565b905081356001600160401b0380821115613ac057600080fd5b613acc85838601612e76565b8352613ada60208501612c9a565b6020840152613aeb60408501612c9a565b6040840152613afc60608501612c9a565b6060840152613b0d60808501612b8a565b608084015261375f60a08501612b8a565b600080600060608486031215613b3357600080fd5b8335613b3e81612b75565b925060208401356001600160401b03811115613b5957600080fd5b6134ed86828701613a8d565b60a08101610a848284613872565b600060a08284031215613b8557600080fd5b60405160a081016001600160401b038282108183111715613ba857613ba8612b9a565b8160405282935084359150613bbc82613133565b908252602084013590613bce82612cd5565b8160208401526040850135915080821115613be857600080fd5b50613bf585828601612e76565b60408301525060608301356060820152608083013560808201525092915050565b60008060408385031215613c2957600080fd5b8235613c3481612b75565b915060208301356001600160401b03811115613c4f57600080fd5b6131f385828601613b73565b600080600060608486031215613c7057600080fd5b8335613c7b81613133565b925060208401356001600160401b03811115613c9657600080fd5b6134ed86828701613154565b600080600060608486031215613cb757600080fd5b8335613cc281612d97565b9250602084013561336081612d97565b600080600060608486031215613ce757600080fd5b8335613cf281612b75565b9250602084013561336081612e5b565b60008060408385031215613d1557600080fd5b8235613d2081613133565b915060208301356001600160401b03811115613d3b57600080fd5b6131f3858286016136d5565b60008060408385031215613d5a57600080fd5b8235613d6581612b75565b915060208301356001600160401b03811115613d8057600080fd5b6131f385828601613a8d565b60ff1981168114611e4257600080fd5b60008060408385031215613daf57600080fd5b8235613dba81612d97565b91506020830135612e3d81613d8c565b60008060006101408486031215613de057600080fd5b8335613deb81612b75565b9250613dfa8560208601613935565b9150610120840135612de781612d97565b600080600060608486031215613e2057600080fd5b8335613e2b81612b75565b925060208401356001600160401b03811115613e4657600080fd5b6134ed86828701613b73565b6000806101608385031215613e6657600080fd5b8235613e7181612b75565b91506139e88460208501612cee565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191613ecf908401826001600160601b03169052565b506080830151613eec608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525092915050565b6020815261ffff82511660208201526001600160601b0360208301511660408201526000604083015160806060840152613f6c60a0840182613394565b905064ffffffffff60608501511660808401528091505092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260ff6060840151166080830152608083015160c060a0840152613fe060e0840182613394565b905064ffffffffff60a08501511660c08401528091505092915050565b6001600160c01b031991909116815260200190565b60006020828403121561402457600080fd5b5051919050565b602081526001600160601b038251166020820152600060208301516040808401526138e86060840182613394565b6020815260008251610120806020850152614078610140850183613394565b915060208501516040850152604085015160608501526060850151608085015260808501516140af60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006140e58187018315159052565b860151858403601f19018387015290506140ff8382613394565b9695505050505050565b60006020828403121561411b57600080fd5b815161165381612cd5565b600181811c9082168061413a57607f821691505b60208210810361415a57634e487b7160e01b600052602260045260246000fd5b50919050565b6020815261417a6020820183516001600160601b03169052565b60006020830151614198604084018280518252602090810151910152565b5060408301516101408060808501526141b5610160850183613394565b915060608501516141d160a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c08501516101006142168187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b6020815261425d6020820183516001600160601b03169052565b6000602083015161427960408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101006142de8185018364ffffffffff169052565b8085015191505061020061012081818601526142fe610220860184613394565b9250808601519050610140601f19868503018187015261431e8483613394565b9350808701519150506101606143398187018361ffff169052565b86015190506101806143508682018361ffff169052565b86015190506101a061436c868201836001600160601b03169052565b86015190506101c06143868682018364ffffffffff169052565b86015190506101e061422c8682018364ffffffffff169052565b602081526001600160601b0382511660208201526000602083015160e060408401526143d0610100840182613394565b90506040840151606084015263ffffffff6060850151166080840152608084015161440360a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e08501526144338282613394565b95945050505050565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b602081526000825160e060208401526144cd610100840182613394565b9050602084015160018060a01b0380821660408601528060408701511660608601528060608701511660808601525050608084015161451760a08501826001600160601b03169052565b5060a08401516001600160601b03811660c0850152614417565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a0606084015261456f60c0840182613394565b905060608401516080840152608084015160a08401528091505092915050565b6000602082840312156145a157600080fd5b815161165381612c85565b600080858511156145bc57600080fd5b838611156145c957600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156145fe5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b60008251614658818460208701613370565b9190910192915050565b6000806040838503121561467557600080fd5b825161468081612cd5565b6020840151909250612e3d816131fd565b601f8211156107fe57600081815260208120601f850160051c810160208610156146b85750805b601f850160051c820191505b818110156114d1578281556001016146c4565b81516001600160401b038111156146f0576146f0612b9a565b614704816146fe8454614126565b84614691565b602080601f83116001811461473957600084156147215750858301515b600019600386901b1c1916600185901b1785556114d1565b600085815260208120601f198616915b8281101561476857888601518255948401946001909101908401614749565b50858210156147865787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156147a857600080fd5b815161165381612d97565b6000602082840312156147c557600080fd5b815161165381613d8c565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e0019056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212202bd26b09dfaa3ed4732ee134c42a25a15572469c201256942bff9590a8f6818064736f6c63430008140033",
|
2339
|
+
"linkReferences": {
|
2340
|
+
"contracts/types/ClaimId.sol": {
|
2341
|
+
"ClaimIdLib": [
|
2342
|
+
{
|
2343
|
+
"length": 20,
|
2344
|
+
"start": 6369
|
2345
|
+
}
|
2346
|
+
]
|
2347
|
+
},
|
2348
|
+
"contracts/types/DistributorType.sol": {
|
2349
|
+
"DistributorTypeLib": [
|
2350
|
+
{
|
2351
|
+
"length": 20,
|
2352
|
+
"start": 2431
|
2353
|
+
},
|
2354
|
+
{
|
2355
|
+
"length": 20,
|
2356
|
+
"start": 3036
|
2357
|
+
},
|
2358
|
+
{
|
2359
|
+
"length": 20,
|
2360
|
+
"start": 4211
|
2361
|
+
}
|
2362
|
+
]
|
2363
|
+
},
|
2364
|
+
"contracts/types/Key32.sol": {
|
2365
|
+
"Key32Lib": [
|
2366
|
+
{
|
2367
|
+
"length": 20,
|
2368
|
+
"start": 5652
|
2369
|
+
},
|
2370
|
+
{
|
2371
|
+
"length": 20,
|
2372
|
+
"start": 8656
|
2373
|
+
},
|
2374
|
+
{
|
2375
|
+
"length": 20,
|
2376
|
+
"start": 8772
|
2377
|
+
},
|
2378
|
+
{
|
2379
|
+
"length": 20,
|
2380
|
+
"start": 8954
|
2381
|
+
},
|
2382
|
+
{
|
2383
|
+
"length": 20,
|
2384
|
+
"start": 9070
|
2385
|
+
},
|
2386
|
+
{
|
2387
|
+
"length": 20,
|
2388
|
+
"start": 9836
|
2389
|
+
},
|
2390
|
+
{
|
2391
|
+
"length": 20,
|
2392
|
+
"start": 9952
|
2393
|
+
},
|
2394
|
+
{
|
2395
|
+
"length": 20,
|
2396
|
+
"start": 10095
|
2397
|
+
},
|
2398
|
+
{
|
2399
|
+
"length": 20,
|
2400
|
+
"start": 10844
|
2401
|
+
},
|
2402
|
+
{
|
2403
|
+
"length": 20,
|
2404
|
+
"start": 10960
|
2405
|
+
}
|
2406
|
+
]
|
2407
|
+
},
|
2408
|
+
"contracts/types/NftId.sol": {
|
2409
|
+
"NftIdLib": [
|
2410
|
+
{
|
2411
|
+
"length": 20,
|
2412
|
+
"start": 6193
|
2413
|
+
}
|
2414
|
+
]
|
2415
|
+
},
|
2416
|
+
"contracts/types/ObjectType.sol": {
|
2417
|
+
"ObjectTypeLib": [
|
2418
|
+
{
|
2419
|
+
"length": 20,
|
2420
|
+
"start": 10216
|
2421
|
+
}
|
2422
|
+
]
|
2423
|
+
},
|
2424
|
+
"contracts/types/PayoutId.sol": {
|
2425
|
+
"PayoutIdLib": [
|
2426
|
+
{
|
2427
|
+
"length": 20,
|
2428
|
+
"start": 6292
|
2429
|
+
}
|
2430
|
+
]
|
2431
|
+
},
|
2432
|
+
"contracts/types/Referral.sol": {
|
2433
|
+
"ReferralLib": [
|
2434
|
+
{
|
2435
|
+
"length": 20,
|
2436
|
+
"start": 3236
|
2437
|
+
},
|
2438
|
+
{
|
2439
|
+
"length": 20,
|
2440
|
+
"start": 4810
|
2441
|
+
},
|
2442
|
+
{
|
2443
|
+
"length": 20,
|
2444
|
+
"start": 5397
|
2445
|
+
}
|
2446
|
+
]
|
2447
|
+
},
|
2448
|
+
"contracts/types/RiskId.sol": {
|
2449
|
+
"RiskIdLib": [
|
2450
|
+
{
|
2451
|
+
"length": 20,
|
2452
|
+
"start": 2251
|
2453
|
+
},
|
2454
|
+
{
|
2455
|
+
"length": 20,
|
2456
|
+
"start": 3532
|
2457
|
+
},
|
2458
|
+
{
|
2459
|
+
"length": 20,
|
2460
|
+
"start": 4409
|
2461
|
+
}
|
2462
|
+
]
|
2463
|
+
},
|
2464
|
+
"contracts/types/StateId.sol": {
|
2465
|
+
"StateIdLib": [
|
2466
|
+
{
|
2467
|
+
"length": 20,
|
2468
|
+
"start": 2629
|
2469
|
+
},
|
2470
|
+
{
|
2471
|
+
"length": 20,
|
2472
|
+
"start": 4584
|
2473
|
+
},
|
2474
|
+
{
|
2475
|
+
"length": 20,
|
2476
|
+
"start": 4925
|
2477
|
+
},
|
2478
|
+
{
|
2479
|
+
"length": 20,
|
2480
|
+
"start": 8073
|
2481
|
+
},
|
2482
|
+
{
|
2483
|
+
"length": 20,
|
2484
|
+
"start": 8293
|
2485
|
+
},
|
2486
|
+
{
|
2487
|
+
"length": 20,
|
2488
|
+
"start": 9274
|
2489
|
+
},
|
2490
|
+
{
|
2491
|
+
"length": 20,
|
2492
|
+
"start": 9494
|
2493
|
+
},
|
2494
|
+
{
|
2495
|
+
"length": 20,
|
2496
|
+
"start": 10433
|
2497
|
+
}
|
2498
|
+
]
|
2499
|
+
}
|
2500
|
+
},
|
2501
|
+
"deployedLinkReferences": {
|
2502
|
+
"contracts/types/ClaimId.sol": {
|
2503
|
+
"ClaimIdLib": [
|
2504
|
+
{
|
2505
|
+
"length": 20,
|
2506
|
+
"start": 6337
|
2507
|
+
}
|
2508
|
+
]
|
2509
|
+
},
|
2510
|
+
"contracts/types/DistributorType.sol": {
|
2511
|
+
"DistributorTypeLib": [
|
2512
|
+
{
|
2513
|
+
"length": 20,
|
2514
|
+
"start": 2399
|
2515
|
+
},
|
2516
|
+
{
|
2517
|
+
"length": 20,
|
2518
|
+
"start": 3004
|
2519
|
+
},
|
2520
|
+
{
|
2521
|
+
"length": 20,
|
2522
|
+
"start": 4179
|
2523
|
+
}
|
2524
|
+
]
|
2525
|
+
},
|
2526
|
+
"contracts/types/Key32.sol": {
|
2527
|
+
"Key32Lib": [
|
2528
|
+
{
|
2529
|
+
"length": 20,
|
2530
|
+
"start": 5620
|
2531
|
+
},
|
2532
|
+
{
|
2533
|
+
"length": 20,
|
2534
|
+
"start": 8624
|
2535
|
+
},
|
2536
|
+
{
|
2537
|
+
"length": 20,
|
2538
|
+
"start": 8740
|
2539
|
+
},
|
2540
|
+
{
|
2541
|
+
"length": 20,
|
2542
|
+
"start": 8922
|
2543
|
+
},
|
2544
|
+
{
|
2545
|
+
"length": 20,
|
2546
|
+
"start": 9038
|
2547
|
+
},
|
2548
|
+
{
|
2549
|
+
"length": 20,
|
2550
|
+
"start": 9804
|
2551
|
+
},
|
2552
|
+
{
|
2553
|
+
"length": 20,
|
2554
|
+
"start": 9920
|
2555
|
+
},
|
2556
|
+
{
|
2557
|
+
"length": 20,
|
2558
|
+
"start": 10063
|
2559
|
+
},
|
2560
|
+
{
|
2561
|
+
"length": 20,
|
2562
|
+
"start": 10812
|
2563
|
+
},
|
2564
|
+
{
|
2565
|
+
"length": 20,
|
2566
|
+
"start": 10928
|
2567
|
+
}
|
2568
|
+
]
|
2569
|
+
},
|
2570
|
+
"contracts/types/NftId.sol": {
|
2571
|
+
"NftIdLib": [
|
2572
|
+
{
|
2573
|
+
"length": 20,
|
2574
|
+
"start": 6161
|
2575
|
+
}
|
2576
|
+
]
|
2577
|
+
},
|
2578
|
+
"contracts/types/ObjectType.sol": {
|
2579
|
+
"ObjectTypeLib": [
|
2580
|
+
{
|
2581
|
+
"length": 20,
|
2582
|
+
"start": 10184
|
2583
|
+
}
|
2584
|
+
]
|
2585
|
+
},
|
2586
|
+
"contracts/types/PayoutId.sol": {
|
2587
|
+
"PayoutIdLib": [
|
2588
|
+
{
|
2589
|
+
"length": 20,
|
2590
|
+
"start": 6260
|
2591
|
+
}
|
2592
|
+
]
|
2593
|
+
},
|
2594
|
+
"contracts/types/Referral.sol": {
|
2595
|
+
"ReferralLib": [
|
2596
|
+
{
|
2597
|
+
"length": 20,
|
2598
|
+
"start": 3204
|
2599
|
+
},
|
2600
|
+
{
|
2601
|
+
"length": 20,
|
2602
|
+
"start": 4778
|
2603
|
+
},
|
2604
|
+
{
|
2605
|
+
"length": 20,
|
2606
|
+
"start": 5365
|
2607
|
+
}
|
2608
|
+
]
|
2609
|
+
},
|
2610
|
+
"contracts/types/RiskId.sol": {
|
2611
|
+
"RiskIdLib": [
|
2612
|
+
{
|
2613
|
+
"length": 20,
|
2614
|
+
"start": 2219
|
2615
|
+
},
|
2616
|
+
{
|
2617
|
+
"length": 20,
|
2618
|
+
"start": 3500
|
2619
|
+
},
|
2620
|
+
{
|
2621
|
+
"length": 20,
|
2622
|
+
"start": 4377
|
2623
|
+
}
|
2624
|
+
]
|
2625
|
+
},
|
2626
|
+
"contracts/types/StateId.sol": {
|
2627
|
+
"StateIdLib": [
|
2628
|
+
{
|
2629
|
+
"length": 20,
|
2630
|
+
"start": 2597
|
2631
|
+
},
|
2632
|
+
{
|
2633
|
+
"length": 20,
|
2634
|
+
"start": 4552
|
2635
|
+
},
|
2636
|
+
{
|
2637
|
+
"length": 20,
|
2638
|
+
"start": 4893
|
2639
|
+
},
|
2640
|
+
{
|
2641
|
+
"length": 20,
|
2642
|
+
"start": 8041
|
2643
|
+
},
|
2644
|
+
{
|
2645
|
+
"length": 20,
|
2646
|
+
"start": 8261
|
2647
|
+
},
|
2648
|
+
{
|
2649
|
+
"length": 20,
|
2650
|
+
"start": 9242
|
2651
|
+
},
|
2652
|
+
{
|
2653
|
+
"length": 20,
|
2654
|
+
"start": 9462
|
2655
|
+
},
|
2656
|
+
{
|
2657
|
+
"length": 20,
|
2658
|
+
"start": 10401
|
2659
|
+
}
|
2660
|
+
]
|
2661
|
+
}
|
2662
|
+
}
|
2663
|
+
}
|