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