@etherisc/gif-next 0.0.2-bd7444a → 0.0.2-bdb6804-509
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +359 -8
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/components/Component.sol/Component.json +694 -31
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +1329 -0
- 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 +4 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +969 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +1064 -0
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +830 -0
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +1250 -87
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +1026 -90
- 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/Cloneable.sol/Cloneable.json +190 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +233 -552
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +654 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +410 -620
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +1348 -0
- 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 +4 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1289 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1064 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +673 -0
- 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 +4 -0
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +429 -0
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.json +115 -0
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +532 -0
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +194 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +237 -0
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
- package/artifacts/contracts/instance/{access/IAccess.sol/IAccess.json → module/IBundle.sol/IBundle.json} +2 -2
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
- package/artifacts/contracts/instance/{component/IComponent.sol/IComponent.json → module/IComponents.sol/IComponents.json} +2 -2
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.json +10 -0
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
- package/artifacts/contracts/instance/{policy → module}/IPolicy.sol/IPolicy.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
- package/artifacts/contracts/instance/{pool/IPoolModule.sol/IPool.json → module/IRisk.sol/IRisk.json} +2 -2
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.json +10 -0
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +10 -0
- 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 +1263 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +721 -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/service/IApplicationService.sol/IApplicationService.json +475 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +659 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +475 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +871 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +606 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +844 -0
- package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.json +518 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +450 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1124 -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 +252 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +536 -59
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +866 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +52 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +583 -72
- 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 +4 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1158 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +670 -0
- 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 +4 -0
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +73 -0
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
- package/artifacts/contracts/{registry/Registry.sol/Registerable.json → shared/INftOwnable.sol/INftOwnable.json} +46 -74
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/{instance/product/IProductService.sol/IProductService.json → shared/IPolicyHolder.sol/IPolicyHolder.json} +68 -53
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
- package/artifacts/contracts/{instance/pool/PoolModule.sol/PoolModule.json → shared/IRegisterable.sol/IRegisterable.json} +106 -80
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/{registry/IRegistry.sol → shared/IRegistryLinked.sol}/IRegistryLinked.json +18 -19
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
- package/artifacts/contracts/shared/IService.sol/IService.json +335 -0
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +251 -0
- 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 +4 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +582 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +352 -0
- 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/{registry/IChainNft.sol/IChainNft.json → shared/Service.sol/Service.json} +261 -217
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -0
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +4 -0
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +119 -0
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +383 -0
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +4 -0
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +116 -0
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +4 -0
- package/artifacts/contracts/test/TestService.sol/TestService.json +596 -0
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +4 -0
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +376 -0
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +4 -0
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +218 -0
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +4 -0
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +104 -0
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
- package/artifacts/contracts/test/Usdc.sol/USDC.json +376 -0
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +4 -0
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +10 -0
- 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/ChainId.sol/ChainIdLib.json +2 -2
- 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 +4 -0
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +288 -0
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +125 -0
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +78 -4
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +33 -0
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +92 -0
- 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 +4 -0
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +142 -0
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +156 -0
- 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 +4 -0
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +92 -0
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +97 -4
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
- package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +479 -0
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
- package/artifacts/contracts/types/Version.sol/VersionLib.json +177 -0
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +49 -0
- package/contracts/components/Component.sol +231 -40
- package/contracts/components/Distribution.sol +280 -0
- package/contracts/components/IComponent.sol +76 -0
- package/contracts/components/IDistributionComponent.sol +71 -0
- package/contracts/components/IPoolComponent.sol +113 -0
- package/contracts/components/IProductComponent.sol +40 -0
- package/contracts/components/Pool.sol +292 -18
- package/contracts/components/Product.sol +263 -33
- 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 +55 -15
- package/contracts/instance/IInstanceService.sol +84 -0
- package/contracts/instance/Instance.sol +180 -45
- package/contracts/instance/InstanceAccessManager.sol +540 -0
- package/contracts/instance/InstanceAuthorizationsLib.sol +299 -0
- package/contracts/instance/InstanceReader.sol +293 -0
- package/contracts/instance/InstanceService.sol +320 -0
- package/contracts/instance/InstanceServiceManager.sol +54 -0
- 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/IKeyValueStore.sol +49 -0
- package/contracts/instance/base/ILifecycle.sol +30 -0
- package/contracts/instance/base/KeyValueStore.sol +180 -0
- package/contracts/instance/base/Lifecycle.sol +109 -0
- package/contracts/instance/module/IAccess.sol +54 -0
- package/contracts/instance/module/IBundle.sol +23 -0
- package/contracts/instance/module/IComponents.sol +41 -0
- package/contracts/instance/module/IDistribution.sol +41 -0
- package/contracts/instance/module/IPolicy.sol +72 -0
- package/contracts/instance/module/IRisk.sol +11 -0
- package/contracts/instance/module/ISetup.sol +33 -0
- package/contracts/instance/module/ITreasury.sol +23 -0
- 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 +93 -0
- package/contracts/instance/service/IClaimService.sol +61 -0
- package/contracts/instance/service/IDistributionService.sol +85 -0
- package/contracts/instance/service/IPolicyService.sol +72 -0
- package/contracts/instance/service/IPoolService.sol +99 -0
- package/contracts/instance/service/IPricingService.sol +36 -0
- package/contracts/instance/service/IProductService.sol +40 -0
- package/contracts/instance/service/PolicyService.sol +366 -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 +145 -108
- package/contracts/registry/IRegistry.sol +80 -49
- package/contracts/registry/IRegistryService.sol +68 -0
- package/contracts/registry/ITransferInterceptor.sol +7 -0
- package/contracts/registry/Registry.sol +404 -119
- package/contracts/registry/RegistryAccessManager.sol +216 -0
- package/contracts/registry/RegistryService.sol +286 -0
- package/contracts/registry/RegistryServiceManager.sol +62 -0
- package/contracts/registry/ReleaseManager.sol +324 -0
- package/contracts/registry/TokenRegistry.sol +116 -0
- package/contracts/shared/ContractDeployerLib.sol +72 -0
- package/contracts/shared/ERC165.sol +27 -0
- package/contracts/shared/INftOwnable.sol +23 -0
- package/contracts/shared/IPolicyHolder.sol +26 -0
- package/contracts/shared/IRegisterable.sol +15 -0
- package/contracts/shared/IRegistryLinked.sol +12 -0
- package/contracts/shared/IService.sol +16 -0
- package/contracts/shared/IVersionable.sol +53 -0
- package/contracts/shared/NftOwnable.sol +120 -0
- package/contracts/shared/PolicyHolder.sol +81 -0
- package/contracts/shared/ProxyManager.sol +169 -0
- package/contracts/shared/Registerable.sol +74 -0
- package/contracts/shared/RegistryLinked.sol +48 -0
- package/contracts/shared/Service.sol +72 -0
- package/contracts/shared/TokenHandler.sol +33 -0
- package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
- package/contracts/shared/Versionable.sol +59 -0
- package/contracts/test/TestFee.sol +25 -0
- package/contracts/test/TestRegisterable.sol +18 -0
- package/contracts/test/TestRoleId.sol +14 -0
- package/contracts/test/TestService.sol +25 -0
- package/contracts/test/TestToken.sol +26 -0
- package/contracts/test/TestVersion.sol +44 -0
- package/contracts/test/TestVersionable.sol +17 -0
- package/contracts/test/Usdc.sol +26 -0
- package/contracts/types/AddressSet.sol +58 -0
- package/contracts/types/Amount.sol +60 -0
- package/contracts/types/Blocknumber.sol +77 -18
- package/contracts/types/ChainId.sol +18 -10
- package/contracts/types/ClaimId.sol +52 -0
- package/contracts/types/DistributorType.sol +55 -0
- package/contracts/types/Fee.sol +64 -0
- package/contracts/types/Key32.sol +50 -0
- package/contracts/types/NftId.sol +56 -11
- package/contracts/types/NftIdSet.sol +62 -0
- package/contracts/types/NumberId.sol +52 -0
- package/contracts/types/ObjectType.sol +161 -0
- package/contracts/types/PayoutId.sol +54 -0
- package/contracts/types/Referral.sol +89 -0
- package/contracts/types/RiskId.sol +43 -0
- package/contracts/types/RoleId.sol +97 -0
- package/contracts/types/Seconds.sol +54 -0
- package/contracts/types/StateId.sol +106 -0
- package/contracts/types/Timestamp.sol +91 -19
- package/contracts/types/UFixed.sol +194 -75
- package/contracts/types/Version.sol +108 -0
- package/package.json +21 -6
- package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
- package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
- package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +0 -179
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -192
- 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/IB.sol/IB.json +0 -50
- 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/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/access/Access.sol/AccessModule.dbg.json +0 -4
- package/artifacts/contracts/instance/access/Access.sol/AccessModule.json +0 -400
- package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.json +0 -35
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.json +0 -336
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +0 -327
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -147
- package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +0 -179
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -245
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -94
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.json +0 -24
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +0 -231
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +0 -231
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +0 -149
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
- package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
- package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
- package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -167
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IOwnable.json +0 -24
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +0 -166
- package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
- package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -440
- package/contracts/components/IPool.sol +0 -9
- package/contracts/components/IProduct.sol +0 -12
- package/contracts/experiment/errors/Require.sol +0 -33
- package/contracts/experiment/errors/Revert.sol +0 -39
- package/contracts/experiment/inheritance/A.sol +0 -56
- package/contracts/experiment/inheritance/B.sol +0 -23
- package/contracts/experiment/inheritance/C.sol +0 -28
- package/contracts/experiment/inheritance/IA.sol +0 -18
- package/contracts/experiment/inheritance/IB.sol +0 -9
- package/contracts/experiment/inheritance/IC.sol +0 -11
- package/contracts/experiment/types/TypeA.sol +0 -42
- package/contracts/experiment/types/TypeB.sol +0 -24
- package/contracts/instance/access/Access.sol +0 -218
- package/contracts/instance/access/IAccess.sol +0 -83
- package/contracts/instance/component/ComponentModule.sol +0 -248
- package/contracts/instance/component/IComponent.sol +0 -95
- package/contracts/instance/policy/IPolicy.sol +0 -66
- package/contracts/instance/policy/PolicyModule.sol +0 -107
- package/contracts/instance/pool/IPoolModule.sol +0 -41
- package/contracts/instance/pool/PoolModule.sol +0 -86
- package/contracts/instance/product/IProductService.sol +0 -46
- package/contracts/instance/product/ProductService.sol +0 -108
- package/contracts/registry/IChainNft.sol +0 -18
@@ -0,0 +1,1289 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "InstanceReader",
|
4
|
+
"sourceName": "contracts/instance/InstanceReader.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "NftId",
|
10
|
+
"name": "bundleNftId",
|
11
|
+
"type": "uint96"
|
12
|
+
}
|
13
|
+
],
|
14
|
+
"name": "getBundleInfo",
|
15
|
+
"outputs": [
|
16
|
+
{
|
17
|
+
"components": [
|
18
|
+
{
|
19
|
+
"internalType": "NftId",
|
20
|
+
"name": "poolNftId",
|
21
|
+
"type": "uint96"
|
22
|
+
},
|
23
|
+
{
|
24
|
+
"components": [
|
25
|
+
{
|
26
|
+
"internalType": "UFixed",
|
27
|
+
"name": "fractionalFee",
|
28
|
+
"type": "uint256"
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"internalType": "uint256",
|
32
|
+
"name": "fixedFee",
|
33
|
+
"type": "uint256"
|
34
|
+
}
|
35
|
+
],
|
36
|
+
"internalType": "struct Fee",
|
37
|
+
"name": "fee",
|
38
|
+
"type": "tuple"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"internalType": "bytes",
|
42
|
+
"name": "filter",
|
43
|
+
"type": "bytes"
|
44
|
+
},
|
45
|
+
{
|
46
|
+
"internalType": "Amount",
|
47
|
+
"name": "capitalAmount",
|
48
|
+
"type": "uint96"
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"internalType": "Amount",
|
52
|
+
"name": "lockedAmount",
|
53
|
+
"type": "uint96"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"internalType": "Amount",
|
57
|
+
"name": "feeAmount",
|
58
|
+
"type": "uint96"
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"internalType": "Seconds",
|
62
|
+
"name": "lifetime",
|
63
|
+
"type": "uint40"
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"internalType": "Timestamp",
|
67
|
+
"name": "expiredAt",
|
68
|
+
"type": "uint40"
|
69
|
+
},
|
70
|
+
{
|
71
|
+
"internalType": "Timestamp",
|
72
|
+
"name": "closedAt",
|
73
|
+
"type": "uint40"
|
74
|
+
}
|
75
|
+
],
|
76
|
+
"internalType": "struct IBundle.BundleInfo",
|
77
|
+
"name": "info",
|
78
|
+
"type": "tuple"
|
79
|
+
}
|
80
|
+
],
|
81
|
+
"stateMutability": "view",
|
82
|
+
"type": "function"
|
83
|
+
},
|
84
|
+
{
|
85
|
+
"inputs": [
|
86
|
+
{
|
87
|
+
"internalType": "NftId",
|
88
|
+
"name": "poolNftId",
|
89
|
+
"type": "uint96"
|
90
|
+
}
|
91
|
+
],
|
92
|
+
"name": "getComponentInfo",
|
93
|
+
"outputs": [
|
94
|
+
{
|
95
|
+
"components": [
|
96
|
+
{
|
97
|
+
"internalType": "string",
|
98
|
+
"name": "name",
|
99
|
+
"type": "string"
|
100
|
+
},
|
101
|
+
{
|
102
|
+
"internalType": "contract IERC20Metadata",
|
103
|
+
"name": "token",
|
104
|
+
"type": "address"
|
105
|
+
},
|
106
|
+
{
|
107
|
+
"internalType": "contract TokenHandler",
|
108
|
+
"name": "tokenHandler",
|
109
|
+
"type": "address"
|
110
|
+
},
|
111
|
+
{
|
112
|
+
"internalType": "address",
|
113
|
+
"name": "wallet",
|
114
|
+
"type": "address"
|
115
|
+
},
|
116
|
+
{
|
117
|
+
"internalType": "Amount",
|
118
|
+
"name": "balanceAmount",
|
119
|
+
"type": "uint96"
|
120
|
+
},
|
121
|
+
{
|
122
|
+
"internalType": "Amount",
|
123
|
+
"name": "feeAmount",
|
124
|
+
"type": "uint96"
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"internalType": "bytes",
|
128
|
+
"name": "data",
|
129
|
+
"type": "bytes"
|
130
|
+
}
|
131
|
+
],
|
132
|
+
"internalType": "struct IComponents.ComponentInfo",
|
133
|
+
"name": "info",
|
134
|
+
"type": "tuple"
|
135
|
+
}
|
136
|
+
],
|
137
|
+
"stateMutability": "view",
|
138
|
+
"type": "function"
|
139
|
+
},
|
140
|
+
{
|
141
|
+
"inputs": [
|
142
|
+
{
|
143
|
+
"internalType": "ReferralId",
|
144
|
+
"name": "referralId",
|
145
|
+
"type": "bytes8"
|
146
|
+
}
|
147
|
+
],
|
148
|
+
"name": "getDiscountPercentage",
|
149
|
+
"outputs": [
|
150
|
+
{
|
151
|
+
"internalType": "UFixed",
|
152
|
+
"name": "discountPercentage",
|
153
|
+
"type": "uint256"
|
154
|
+
},
|
155
|
+
{
|
156
|
+
"internalType": "ReferralStatus",
|
157
|
+
"name": "status",
|
158
|
+
"type": "uint8"
|
159
|
+
}
|
160
|
+
],
|
161
|
+
"stateMutability": "view",
|
162
|
+
"type": "function"
|
163
|
+
},
|
164
|
+
{
|
165
|
+
"inputs": [
|
166
|
+
{
|
167
|
+
"internalType": "NftId",
|
168
|
+
"name": "distributionNftId",
|
169
|
+
"type": "uint96"
|
170
|
+
}
|
171
|
+
],
|
172
|
+
"name": "getDistributionSetupInfo",
|
173
|
+
"outputs": [
|
174
|
+
{
|
175
|
+
"components": [
|
176
|
+
{
|
177
|
+
"internalType": "NftId",
|
178
|
+
"name": "productNftId",
|
179
|
+
"type": "uint96"
|
180
|
+
},
|
181
|
+
{
|
182
|
+
"internalType": "contract TokenHandler",
|
183
|
+
"name": "tokenHandler",
|
184
|
+
"type": "address"
|
185
|
+
},
|
186
|
+
{
|
187
|
+
"components": [
|
188
|
+
{
|
189
|
+
"internalType": "UFixed",
|
190
|
+
"name": "fractionalFee",
|
191
|
+
"type": "uint256"
|
192
|
+
},
|
193
|
+
{
|
194
|
+
"internalType": "uint256",
|
195
|
+
"name": "fixedFee",
|
196
|
+
"type": "uint256"
|
197
|
+
}
|
198
|
+
],
|
199
|
+
"internalType": "struct Fee",
|
200
|
+
"name": "minDistributionOwnerFee",
|
201
|
+
"type": "tuple"
|
202
|
+
},
|
203
|
+
{
|
204
|
+
"components": [
|
205
|
+
{
|
206
|
+
"internalType": "UFixed",
|
207
|
+
"name": "fractionalFee",
|
208
|
+
"type": "uint256"
|
209
|
+
},
|
210
|
+
{
|
211
|
+
"internalType": "uint256",
|
212
|
+
"name": "fixedFee",
|
213
|
+
"type": "uint256"
|
214
|
+
}
|
215
|
+
],
|
216
|
+
"internalType": "struct Fee",
|
217
|
+
"name": "distributionFee",
|
218
|
+
"type": "tuple"
|
219
|
+
},
|
220
|
+
{
|
221
|
+
"internalType": "address",
|
222
|
+
"name": "wallet",
|
223
|
+
"type": "address"
|
224
|
+
},
|
225
|
+
{
|
226
|
+
"internalType": "uint256",
|
227
|
+
"name": "sumDistributionOwnerFees",
|
228
|
+
"type": "uint256"
|
229
|
+
}
|
230
|
+
],
|
231
|
+
"internalType": "struct ISetup.DistributionSetupInfo",
|
232
|
+
"name": "info",
|
233
|
+
"type": "tuple"
|
234
|
+
}
|
235
|
+
],
|
236
|
+
"stateMutability": "view",
|
237
|
+
"type": "function"
|
238
|
+
},
|
239
|
+
{
|
240
|
+
"inputs": [
|
241
|
+
{
|
242
|
+
"internalType": "NftId",
|
243
|
+
"name": "distributorNftId",
|
244
|
+
"type": "uint96"
|
245
|
+
}
|
246
|
+
],
|
247
|
+
"name": "getDistributorInfo",
|
248
|
+
"outputs": [
|
249
|
+
{
|
250
|
+
"components": [
|
251
|
+
{
|
252
|
+
"internalType": "DistributorType",
|
253
|
+
"name": "distributorType",
|
254
|
+
"type": "bytes8"
|
255
|
+
},
|
256
|
+
{
|
257
|
+
"internalType": "bool",
|
258
|
+
"name": "active",
|
259
|
+
"type": "bool"
|
260
|
+
},
|
261
|
+
{
|
262
|
+
"internalType": "bytes",
|
263
|
+
"name": "data",
|
264
|
+
"type": "bytes"
|
265
|
+
},
|
266
|
+
{
|
267
|
+
"internalType": "uint256",
|
268
|
+
"name": "sumCommisions",
|
269
|
+
"type": "uint256"
|
270
|
+
},
|
271
|
+
{
|
272
|
+
"internalType": "uint256",
|
273
|
+
"name": "numPoliciesSold",
|
274
|
+
"type": "uint256"
|
275
|
+
}
|
276
|
+
],
|
277
|
+
"internalType": "struct IDistribution.DistributorInfo",
|
278
|
+
"name": "info",
|
279
|
+
"type": "tuple"
|
280
|
+
}
|
281
|
+
],
|
282
|
+
"stateMutability": "view",
|
283
|
+
"type": "function"
|
284
|
+
},
|
285
|
+
{
|
286
|
+
"inputs": [
|
287
|
+
{
|
288
|
+
"internalType": "DistributorType",
|
289
|
+
"name": "distributorType",
|
290
|
+
"type": "bytes8"
|
291
|
+
}
|
292
|
+
],
|
293
|
+
"name": "getDistributorTypeInfo",
|
294
|
+
"outputs": [
|
295
|
+
{
|
296
|
+
"components": [
|
297
|
+
{
|
298
|
+
"internalType": "string",
|
299
|
+
"name": "name",
|
300
|
+
"type": "string"
|
301
|
+
},
|
302
|
+
{
|
303
|
+
"internalType": "UFixed",
|
304
|
+
"name": "minDiscountPercentage",
|
305
|
+
"type": "uint256"
|
306
|
+
},
|
307
|
+
{
|
308
|
+
"internalType": "UFixed",
|
309
|
+
"name": "maxDiscountPercentage",
|
310
|
+
"type": "uint256"
|
311
|
+
},
|
312
|
+
{
|
313
|
+
"internalType": "UFixed",
|
314
|
+
"name": "commissionPercentage",
|
315
|
+
"type": "uint256"
|
316
|
+
},
|
317
|
+
{
|
318
|
+
"internalType": "uint32",
|
319
|
+
"name": "maxReferralCount",
|
320
|
+
"type": "uint32"
|
321
|
+
},
|
322
|
+
{
|
323
|
+
"internalType": "uint32",
|
324
|
+
"name": "maxReferralLifetime",
|
325
|
+
"type": "uint32"
|
326
|
+
},
|
327
|
+
{
|
328
|
+
"internalType": "bool",
|
329
|
+
"name": "allowSelfReferrals",
|
330
|
+
"type": "bool"
|
331
|
+
},
|
332
|
+
{
|
333
|
+
"internalType": "bool",
|
334
|
+
"name": "allowRenewals",
|
335
|
+
"type": "bool"
|
336
|
+
},
|
337
|
+
{
|
338
|
+
"internalType": "bytes",
|
339
|
+
"name": "data",
|
340
|
+
"type": "bytes"
|
341
|
+
}
|
342
|
+
],
|
343
|
+
"internalType": "struct IDistribution.DistributorTypeInfo",
|
344
|
+
"name": "info",
|
345
|
+
"type": "tuple"
|
346
|
+
}
|
347
|
+
],
|
348
|
+
"stateMutability": "view",
|
349
|
+
"type": "function"
|
350
|
+
},
|
351
|
+
{
|
352
|
+
"inputs": [],
|
353
|
+
"name": "getInstance",
|
354
|
+
"outputs": [
|
355
|
+
{
|
356
|
+
"internalType": "contract IInstance",
|
357
|
+
"name": "instance",
|
358
|
+
"type": "address"
|
359
|
+
}
|
360
|
+
],
|
361
|
+
"stateMutability": "view",
|
362
|
+
"type": "function"
|
363
|
+
},
|
364
|
+
{
|
365
|
+
"inputs": [],
|
366
|
+
"name": "getInstanceStore",
|
367
|
+
"outputs": [
|
368
|
+
{
|
369
|
+
"internalType": "contract IKeyValueStore",
|
370
|
+
"name": "store",
|
371
|
+
"type": "address"
|
372
|
+
}
|
373
|
+
],
|
374
|
+
"stateMutability": "view",
|
375
|
+
"type": "function"
|
376
|
+
},
|
377
|
+
{
|
378
|
+
"inputs": [
|
379
|
+
{
|
380
|
+
"internalType": "Key32",
|
381
|
+
"name": "key",
|
382
|
+
"type": "bytes32"
|
383
|
+
}
|
384
|
+
],
|
385
|
+
"name": "getMetadata",
|
386
|
+
"outputs": [
|
387
|
+
{
|
388
|
+
"components": [
|
389
|
+
{
|
390
|
+
"internalType": "ObjectType",
|
391
|
+
"name": "objectType",
|
392
|
+
"type": "uint8"
|
393
|
+
},
|
394
|
+
{
|
395
|
+
"internalType": "StateId",
|
396
|
+
"name": "state",
|
397
|
+
"type": "uint8"
|
398
|
+
},
|
399
|
+
{
|
400
|
+
"internalType": "address",
|
401
|
+
"name": "updatedBy",
|
402
|
+
"type": "address"
|
403
|
+
},
|
404
|
+
{
|
405
|
+
"internalType": "Blocknumber",
|
406
|
+
"name": "updatedIn",
|
407
|
+
"type": "uint32"
|
408
|
+
},
|
409
|
+
{
|
410
|
+
"internalType": "Blocknumber",
|
411
|
+
"name": "createdIn",
|
412
|
+
"type": "uint32"
|
413
|
+
}
|
414
|
+
],
|
415
|
+
"internalType": "struct IKeyValueStore.Metadata",
|
416
|
+
"name": "metadata",
|
417
|
+
"type": "tuple"
|
418
|
+
}
|
419
|
+
],
|
420
|
+
"stateMutability": "view",
|
421
|
+
"type": "function"
|
422
|
+
},
|
423
|
+
{
|
424
|
+
"inputs": [
|
425
|
+
{
|
426
|
+
"internalType": "NftId",
|
427
|
+
"name": "policyNftId",
|
428
|
+
"type": "uint96"
|
429
|
+
}
|
430
|
+
],
|
431
|
+
"name": "getPolicyInfo",
|
432
|
+
"outputs": [
|
433
|
+
{
|
434
|
+
"components": [
|
435
|
+
{
|
436
|
+
"internalType": "NftId",
|
437
|
+
"name": "productNftId",
|
438
|
+
"type": "uint96"
|
439
|
+
},
|
440
|
+
{
|
441
|
+
"internalType": "NftId",
|
442
|
+
"name": "bundleNftId",
|
443
|
+
"type": "uint96"
|
444
|
+
},
|
445
|
+
{
|
446
|
+
"internalType": "ReferralId",
|
447
|
+
"name": "referralId",
|
448
|
+
"type": "bytes8"
|
449
|
+
},
|
450
|
+
{
|
451
|
+
"internalType": "RiskId",
|
452
|
+
"name": "riskId",
|
453
|
+
"type": "bytes8"
|
454
|
+
},
|
455
|
+
{
|
456
|
+
"internalType": "uint256",
|
457
|
+
"name": "sumInsuredAmount",
|
458
|
+
"type": "uint256"
|
459
|
+
},
|
460
|
+
{
|
461
|
+
"internalType": "uint256",
|
462
|
+
"name": "premiumAmount",
|
463
|
+
"type": "uint256"
|
464
|
+
},
|
465
|
+
{
|
466
|
+
"internalType": "uint256",
|
467
|
+
"name": "premiumPaidAmount",
|
468
|
+
"type": "uint256"
|
469
|
+
},
|
470
|
+
{
|
471
|
+
"internalType": "Seconds",
|
472
|
+
"name": "lifetime",
|
473
|
+
"type": "uint40"
|
474
|
+
},
|
475
|
+
{
|
476
|
+
"internalType": "bytes",
|
477
|
+
"name": "applicationData",
|
478
|
+
"type": "bytes"
|
479
|
+
},
|
480
|
+
{
|
481
|
+
"internalType": "bytes",
|
482
|
+
"name": "policyData",
|
483
|
+
"type": "bytes"
|
484
|
+
},
|
485
|
+
{
|
486
|
+
"internalType": "uint16",
|
487
|
+
"name": "claimsCount",
|
488
|
+
"type": "uint16"
|
489
|
+
},
|
490
|
+
{
|
491
|
+
"internalType": "uint16",
|
492
|
+
"name": "openClaimsCount",
|
493
|
+
"type": "uint16"
|
494
|
+
},
|
495
|
+
{
|
496
|
+
"internalType": "uint256",
|
497
|
+
"name": "payoutAmount",
|
498
|
+
"type": "uint256"
|
499
|
+
},
|
500
|
+
{
|
501
|
+
"internalType": "Timestamp",
|
502
|
+
"name": "activatedAt",
|
503
|
+
"type": "uint40"
|
504
|
+
},
|
505
|
+
{
|
506
|
+
"internalType": "Timestamp",
|
507
|
+
"name": "expiredAt",
|
508
|
+
"type": "uint40"
|
509
|
+
},
|
510
|
+
{
|
511
|
+
"internalType": "Timestamp",
|
512
|
+
"name": "closedAt",
|
513
|
+
"type": "uint40"
|
514
|
+
}
|
515
|
+
],
|
516
|
+
"internalType": "struct IPolicy.PolicyInfo",
|
517
|
+
"name": "info",
|
518
|
+
"type": "tuple"
|
519
|
+
}
|
520
|
+
],
|
521
|
+
"stateMutability": "view",
|
522
|
+
"type": "function"
|
523
|
+
},
|
524
|
+
{
|
525
|
+
"inputs": [
|
526
|
+
{
|
527
|
+
"internalType": "NftId",
|
528
|
+
"name": "policyNftId",
|
529
|
+
"type": "uint96"
|
530
|
+
}
|
531
|
+
],
|
532
|
+
"name": "getPolicyState",
|
533
|
+
"outputs": [
|
534
|
+
{
|
535
|
+
"internalType": "StateId",
|
536
|
+
"name": "state",
|
537
|
+
"type": "uint8"
|
538
|
+
}
|
539
|
+
],
|
540
|
+
"stateMutability": "view",
|
541
|
+
"type": "function"
|
542
|
+
},
|
543
|
+
{
|
544
|
+
"inputs": [
|
545
|
+
{
|
546
|
+
"internalType": "NftId",
|
547
|
+
"name": "productNftId",
|
548
|
+
"type": "uint96"
|
549
|
+
}
|
550
|
+
],
|
551
|
+
"name": "getProductSetupInfo",
|
552
|
+
"outputs": [
|
553
|
+
{
|
554
|
+
"components": [
|
555
|
+
{
|
556
|
+
"internalType": "contract IERC20Metadata",
|
557
|
+
"name": "token",
|
558
|
+
"type": "address"
|
559
|
+
},
|
560
|
+
{
|
561
|
+
"internalType": "contract TokenHandler",
|
562
|
+
"name": "tokenHandler",
|
563
|
+
"type": "address"
|
564
|
+
},
|
565
|
+
{
|
566
|
+
"internalType": "NftId",
|
567
|
+
"name": "distributionNftId",
|
568
|
+
"type": "uint96"
|
569
|
+
},
|
570
|
+
{
|
571
|
+
"internalType": "NftId",
|
572
|
+
"name": "poolNftId",
|
573
|
+
"type": "uint96"
|
574
|
+
},
|
575
|
+
{
|
576
|
+
"components": [
|
577
|
+
{
|
578
|
+
"internalType": "UFixed",
|
579
|
+
"name": "fractionalFee",
|
580
|
+
"type": "uint256"
|
581
|
+
},
|
582
|
+
{
|
583
|
+
"internalType": "uint256",
|
584
|
+
"name": "fixedFee",
|
585
|
+
"type": "uint256"
|
586
|
+
}
|
587
|
+
],
|
588
|
+
"internalType": "struct Fee",
|
589
|
+
"name": "productFee",
|
590
|
+
"type": "tuple"
|
591
|
+
},
|
592
|
+
{
|
593
|
+
"components": [
|
594
|
+
{
|
595
|
+
"internalType": "UFixed",
|
596
|
+
"name": "fractionalFee",
|
597
|
+
"type": "uint256"
|
598
|
+
},
|
599
|
+
{
|
600
|
+
"internalType": "uint256",
|
601
|
+
"name": "fixedFee",
|
602
|
+
"type": "uint256"
|
603
|
+
}
|
604
|
+
],
|
605
|
+
"internalType": "struct Fee",
|
606
|
+
"name": "processingFee",
|
607
|
+
"type": "tuple"
|
608
|
+
},
|
609
|
+
{
|
610
|
+
"internalType": "bool",
|
611
|
+
"name": "isIntercepting",
|
612
|
+
"type": "bool"
|
613
|
+
},
|
614
|
+
{
|
615
|
+
"internalType": "address",
|
616
|
+
"name": "wallet",
|
617
|
+
"type": "address"
|
618
|
+
}
|
619
|
+
],
|
620
|
+
"internalType": "struct ISetup.ProductSetupInfo",
|
621
|
+
"name": "info",
|
622
|
+
"type": "tuple"
|
623
|
+
}
|
624
|
+
],
|
625
|
+
"stateMutability": "view",
|
626
|
+
"type": "function"
|
627
|
+
},
|
628
|
+
{
|
629
|
+
"inputs": [
|
630
|
+
{
|
631
|
+
"internalType": "ReferralId",
|
632
|
+
"name": "referralId",
|
633
|
+
"type": "bytes8"
|
634
|
+
}
|
635
|
+
],
|
636
|
+
"name": "getReferralInfo",
|
637
|
+
"outputs": [
|
638
|
+
{
|
639
|
+
"components": [
|
640
|
+
{
|
641
|
+
"internalType": "NftId",
|
642
|
+
"name": "distributorNftId",
|
643
|
+
"type": "uint96"
|
644
|
+
},
|
645
|
+
{
|
646
|
+
"internalType": "string",
|
647
|
+
"name": "referralCode",
|
648
|
+
"type": "string"
|
649
|
+
},
|
650
|
+
{
|
651
|
+
"internalType": "UFixed",
|
652
|
+
"name": "discountPercentage",
|
653
|
+
"type": "uint256"
|
654
|
+
},
|
655
|
+
{
|
656
|
+
"internalType": "uint32",
|
657
|
+
"name": "maxReferrals",
|
658
|
+
"type": "uint32"
|
659
|
+
},
|
660
|
+
{
|
661
|
+
"internalType": "uint32",
|
662
|
+
"name": "usedReferrals",
|
663
|
+
"type": "uint32"
|
664
|
+
},
|
665
|
+
{
|
666
|
+
"internalType": "Timestamp",
|
667
|
+
"name": "expiryAt",
|
668
|
+
"type": "uint40"
|
669
|
+
},
|
670
|
+
{
|
671
|
+
"internalType": "bytes",
|
672
|
+
"name": "data",
|
673
|
+
"type": "bytes"
|
674
|
+
}
|
675
|
+
],
|
676
|
+
"internalType": "struct IDistribution.ReferralInfo",
|
677
|
+
"name": "info",
|
678
|
+
"type": "tuple"
|
679
|
+
}
|
680
|
+
],
|
681
|
+
"stateMutability": "view",
|
682
|
+
"type": "function"
|
683
|
+
},
|
684
|
+
{
|
685
|
+
"inputs": [
|
686
|
+
{
|
687
|
+
"internalType": "RiskId",
|
688
|
+
"name": "riskId",
|
689
|
+
"type": "bytes8"
|
690
|
+
}
|
691
|
+
],
|
692
|
+
"name": "getRiskInfo",
|
693
|
+
"outputs": [
|
694
|
+
{
|
695
|
+
"components": [
|
696
|
+
{
|
697
|
+
"internalType": "NftId",
|
698
|
+
"name": "productNftId",
|
699
|
+
"type": "uint96"
|
700
|
+
},
|
701
|
+
{
|
702
|
+
"internalType": "bytes",
|
703
|
+
"name": "data",
|
704
|
+
"type": "bytes"
|
705
|
+
}
|
706
|
+
],
|
707
|
+
"internalType": "struct IRisk.RiskInfo",
|
708
|
+
"name": "info",
|
709
|
+
"type": "tuple"
|
710
|
+
}
|
711
|
+
],
|
712
|
+
"stateMutability": "view",
|
713
|
+
"type": "function"
|
714
|
+
},
|
715
|
+
{
|
716
|
+
"inputs": [
|
717
|
+
{
|
718
|
+
"internalType": "NftId",
|
719
|
+
"name": "productNftId",
|
720
|
+
"type": "uint96"
|
721
|
+
}
|
722
|
+
],
|
723
|
+
"name": "getTokenHandler",
|
724
|
+
"outputs": [
|
725
|
+
{
|
726
|
+
"internalType": "address",
|
727
|
+
"name": "tokenHandler",
|
728
|
+
"type": "address"
|
729
|
+
}
|
730
|
+
],
|
731
|
+
"stateMutability": "view",
|
732
|
+
"type": "function"
|
733
|
+
},
|
734
|
+
{
|
735
|
+
"inputs": [
|
736
|
+
{
|
737
|
+
"internalType": "NftId",
|
738
|
+
"name": "productNftId",
|
739
|
+
"type": "uint96"
|
740
|
+
}
|
741
|
+
],
|
742
|
+
"name": "getTreasuryInfo",
|
743
|
+
"outputs": [
|
744
|
+
{
|
745
|
+
"components": [
|
746
|
+
{
|
747
|
+
"internalType": "contract IERC20Metadata",
|
748
|
+
"name": "token",
|
749
|
+
"type": "address"
|
750
|
+
},
|
751
|
+
{
|
752
|
+
"internalType": "contract TokenHandler",
|
753
|
+
"name": "tokenHandler",
|
754
|
+
"type": "address"
|
755
|
+
},
|
756
|
+
{
|
757
|
+
"internalType": "NftId",
|
758
|
+
"name": "distributionNftId",
|
759
|
+
"type": "uint96"
|
760
|
+
},
|
761
|
+
{
|
762
|
+
"internalType": "NftId",
|
763
|
+
"name": "poolNftId",
|
764
|
+
"type": "uint96"
|
765
|
+
},
|
766
|
+
{
|
767
|
+
"components": [
|
768
|
+
{
|
769
|
+
"internalType": "UFixed",
|
770
|
+
"name": "fractionalFee",
|
771
|
+
"type": "uint256"
|
772
|
+
},
|
773
|
+
{
|
774
|
+
"internalType": "uint256",
|
775
|
+
"name": "fixedFee",
|
776
|
+
"type": "uint256"
|
777
|
+
}
|
778
|
+
],
|
779
|
+
"internalType": "struct Fee",
|
780
|
+
"name": "distributionFee",
|
781
|
+
"type": "tuple"
|
782
|
+
},
|
783
|
+
{
|
784
|
+
"components": [
|
785
|
+
{
|
786
|
+
"internalType": "UFixed",
|
787
|
+
"name": "fractionalFee",
|
788
|
+
"type": "uint256"
|
789
|
+
},
|
790
|
+
{
|
791
|
+
"internalType": "uint256",
|
792
|
+
"name": "fixedFee",
|
793
|
+
"type": "uint256"
|
794
|
+
}
|
795
|
+
],
|
796
|
+
"internalType": "struct Fee",
|
797
|
+
"name": "productFee",
|
798
|
+
"type": "tuple"
|
799
|
+
},
|
800
|
+
{
|
801
|
+
"components": [
|
802
|
+
{
|
803
|
+
"internalType": "UFixed",
|
804
|
+
"name": "fractionalFee",
|
805
|
+
"type": "uint256"
|
806
|
+
},
|
807
|
+
{
|
808
|
+
"internalType": "uint256",
|
809
|
+
"name": "fixedFee",
|
810
|
+
"type": "uint256"
|
811
|
+
}
|
812
|
+
],
|
813
|
+
"internalType": "struct Fee",
|
814
|
+
"name": "processingFee",
|
815
|
+
"type": "tuple"
|
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": "poolFee",
|
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": "stakingFee",
|
849
|
+
"type": "tuple"
|
850
|
+
},
|
851
|
+
{
|
852
|
+
"components": [
|
853
|
+
{
|
854
|
+
"internalType": "UFixed",
|
855
|
+
"name": "fractionalFee",
|
856
|
+
"type": "uint256"
|
857
|
+
},
|
858
|
+
{
|
859
|
+
"internalType": "uint256",
|
860
|
+
"name": "fixedFee",
|
861
|
+
"type": "uint256"
|
862
|
+
}
|
863
|
+
],
|
864
|
+
"internalType": "struct Fee",
|
865
|
+
"name": "performanceFee",
|
866
|
+
"type": "tuple"
|
867
|
+
}
|
868
|
+
],
|
869
|
+
"internalType": "struct ITreasury.TreasuryInfo",
|
870
|
+
"name": "info",
|
871
|
+
"type": "tuple"
|
872
|
+
}
|
873
|
+
],
|
874
|
+
"stateMutability": "view",
|
875
|
+
"type": "function"
|
876
|
+
},
|
877
|
+
{
|
878
|
+
"inputs": [
|
879
|
+
{
|
880
|
+
"internalType": "address",
|
881
|
+
"name": "instance",
|
882
|
+
"type": "address"
|
883
|
+
}
|
884
|
+
],
|
885
|
+
"name": "initialize",
|
886
|
+
"outputs": [],
|
887
|
+
"stateMutability": "nonpayable",
|
888
|
+
"type": "function"
|
889
|
+
},
|
890
|
+
{
|
891
|
+
"inputs": [
|
892
|
+
{
|
893
|
+
"internalType": "NftId",
|
894
|
+
"name": "poolNftId",
|
895
|
+
"type": "uint96"
|
896
|
+
}
|
897
|
+
],
|
898
|
+
"name": "toBundleKey",
|
899
|
+
"outputs": [
|
900
|
+
{
|
901
|
+
"internalType": "Key32",
|
902
|
+
"name": "",
|
903
|
+
"type": "bytes32"
|
904
|
+
}
|
905
|
+
],
|
906
|
+
"stateMutability": "pure",
|
907
|
+
"type": "function"
|
908
|
+
},
|
909
|
+
{
|
910
|
+
"inputs": [
|
911
|
+
{
|
912
|
+
"internalType": "NftId",
|
913
|
+
"name": "distributionNftId",
|
914
|
+
"type": "uint96"
|
915
|
+
}
|
916
|
+
],
|
917
|
+
"name": "toDistributionKey",
|
918
|
+
"outputs": [
|
919
|
+
{
|
920
|
+
"internalType": "Key32",
|
921
|
+
"name": "",
|
922
|
+
"type": "bytes32"
|
923
|
+
}
|
924
|
+
],
|
925
|
+
"stateMutability": "pure",
|
926
|
+
"type": "function"
|
927
|
+
},
|
928
|
+
{
|
929
|
+
"inputs": [
|
930
|
+
{
|
931
|
+
"internalType": "NftId",
|
932
|
+
"name": "distributorNftId",
|
933
|
+
"type": "uint96"
|
934
|
+
}
|
935
|
+
],
|
936
|
+
"name": "toDistributorKey",
|
937
|
+
"outputs": [
|
938
|
+
{
|
939
|
+
"internalType": "Key32",
|
940
|
+
"name": "",
|
941
|
+
"type": "bytes32"
|
942
|
+
}
|
943
|
+
],
|
944
|
+
"stateMutability": "pure",
|
945
|
+
"type": "function"
|
946
|
+
},
|
947
|
+
{
|
948
|
+
"inputs": [
|
949
|
+
{
|
950
|
+
"internalType": "UFixed",
|
951
|
+
"name": "value",
|
952
|
+
"type": "uint256"
|
953
|
+
}
|
954
|
+
],
|
955
|
+
"name": "toInt",
|
956
|
+
"outputs": [
|
957
|
+
{
|
958
|
+
"internalType": "uint256",
|
959
|
+
"name": "",
|
960
|
+
"type": "uint256"
|
961
|
+
}
|
962
|
+
],
|
963
|
+
"stateMutability": "pure",
|
964
|
+
"type": "function"
|
965
|
+
},
|
966
|
+
{
|
967
|
+
"inputs": [
|
968
|
+
{
|
969
|
+
"internalType": "NftId",
|
970
|
+
"name": "policyNftId",
|
971
|
+
"type": "uint96"
|
972
|
+
}
|
973
|
+
],
|
974
|
+
"name": "toPolicyKey",
|
975
|
+
"outputs": [
|
976
|
+
{
|
977
|
+
"internalType": "Key32",
|
978
|
+
"name": "",
|
979
|
+
"type": "bytes32"
|
980
|
+
}
|
981
|
+
],
|
982
|
+
"stateMutability": "pure",
|
983
|
+
"type": "function"
|
984
|
+
},
|
985
|
+
{
|
986
|
+
"inputs": [
|
987
|
+
{
|
988
|
+
"internalType": "NftId",
|
989
|
+
"name": "poolNftId",
|
990
|
+
"type": "uint96"
|
991
|
+
}
|
992
|
+
],
|
993
|
+
"name": "toPoolKey",
|
994
|
+
"outputs": [
|
995
|
+
{
|
996
|
+
"internalType": "Key32",
|
997
|
+
"name": "",
|
998
|
+
"type": "bytes32"
|
999
|
+
}
|
1000
|
+
],
|
1001
|
+
"stateMutability": "pure",
|
1002
|
+
"type": "function"
|
1003
|
+
},
|
1004
|
+
{
|
1005
|
+
"inputs": [
|
1006
|
+
{
|
1007
|
+
"internalType": "NftId",
|
1008
|
+
"name": "productNftId",
|
1009
|
+
"type": "uint96"
|
1010
|
+
}
|
1011
|
+
],
|
1012
|
+
"name": "toProductKey",
|
1013
|
+
"outputs": [
|
1014
|
+
{
|
1015
|
+
"internalType": "Key32",
|
1016
|
+
"name": "",
|
1017
|
+
"type": "bytes32"
|
1018
|
+
}
|
1019
|
+
],
|
1020
|
+
"stateMutability": "pure",
|
1021
|
+
"type": "function"
|
1022
|
+
},
|
1023
|
+
{
|
1024
|
+
"inputs": [
|
1025
|
+
{
|
1026
|
+
"internalType": "NftId",
|
1027
|
+
"name": "distributionNftId",
|
1028
|
+
"type": "uint96"
|
1029
|
+
},
|
1030
|
+
{
|
1031
|
+
"internalType": "string",
|
1032
|
+
"name": "referralCode",
|
1033
|
+
"type": "string"
|
1034
|
+
}
|
1035
|
+
],
|
1036
|
+
"name": "toReferralId",
|
1037
|
+
"outputs": [
|
1038
|
+
{
|
1039
|
+
"internalType": "ReferralId",
|
1040
|
+
"name": "referralId",
|
1041
|
+
"type": "bytes8"
|
1042
|
+
}
|
1043
|
+
],
|
1044
|
+
"stateMutability": "pure",
|
1045
|
+
"type": "function"
|
1046
|
+
},
|
1047
|
+
{
|
1048
|
+
"inputs": [
|
1049
|
+
{
|
1050
|
+
"internalType": "NftId",
|
1051
|
+
"name": "productNftId",
|
1052
|
+
"type": "uint96"
|
1053
|
+
}
|
1054
|
+
],
|
1055
|
+
"name": "toTreasuryKey",
|
1056
|
+
"outputs": [
|
1057
|
+
{
|
1058
|
+
"internalType": "Key32",
|
1059
|
+
"name": "",
|
1060
|
+
"type": "bytes32"
|
1061
|
+
}
|
1062
|
+
],
|
1063
|
+
"stateMutability": "pure",
|
1064
|
+
"type": "function"
|
1065
|
+
},
|
1066
|
+
{
|
1067
|
+
"inputs": [
|
1068
|
+
{
|
1069
|
+
"internalType": "uint256",
|
1070
|
+
"name": "value",
|
1071
|
+
"type": "uint256"
|
1072
|
+
},
|
1073
|
+
{
|
1074
|
+
"internalType": "int8",
|
1075
|
+
"name": "exp",
|
1076
|
+
"type": "int8"
|
1077
|
+
}
|
1078
|
+
],
|
1079
|
+
"name": "toUFixed",
|
1080
|
+
"outputs": [
|
1081
|
+
{
|
1082
|
+
"internalType": "UFixed",
|
1083
|
+
"name": "",
|
1084
|
+
"type": "uint256"
|
1085
|
+
}
|
1086
|
+
],
|
1087
|
+
"stateMutability": "pure",
|
1088
|
+
"type": "function"
|
1089
|
+
}
|
1090
|
+
],
|
1091
|
+
"bytecode": "0x608060405234801561001057600080fd5b50612dbb806100206000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c806390af7064116100f9578063d06458c611610097578063de7b5d1411610071578063de7b5d1414610501578063f0ea17c314610517578063f2b246c314610537578063f7f318d31461055757600080fd5b8063d06458c6146104bd578063d4cda0d8146104dd578063dd26287a146104ee57600080fd5b8063a5961b4c116100d3578063a5961b4c146103f1578063b82d7ef51461045e578063bd7d9d8514610488578063c4d66de8146104a857600080fd5b806390af7064146103175780639ad69c6714610337578063a310e2a3146103c657600080fd5b806344aa6836116101665780637bfd3217116101405780637bfd3217146102ac5780637e54602a146102bf578063887b1fa9146102d25780639096a1f3146102f257600080fd5b806344aa6836146102665780634793b4ab1461027957806364eb3a9b1461029957600080fd5b80631488c845146101ae5780631d3be477146101d457806325d03743146101f457806327b1d7921461020757806335898f5d146102275780633f093cd61461023a575b600080fd5b6101c16101bc366004611962565b61056a565b6040519081526020015b60405180910390f35b6101e76101e23660046119b1565b6105f0565b6040516101cb9190611a1e565b6101c1610202366004611acf565b610742565b61021a610215366004611acf565b6107e2565b6040516101cb9190611aec565b6101c1610235366004611acf565b6108be565b61024d610248366004611caf565b6108eb565b6040516001600160c01b031990911681526020016101cb565b6101c1610274366004611d41565b610968565b61028c610287366004611acf565b6109a3565b6040516101cb9190611d5a565b6101c16102a7366004611acf565b610a49565b6101c16102ba366004611acf565b610a76565b6101c16102cd366004611acf565b610aa3565b6102e56102e03660046119b1565b610ad0565b6040516101cb9190611e3d565b610305610300366004611acf565b610bf9565b60405160ff90911681526020016101cb565b61032a610325366004611acf565b610c75565b6040516101cb9190611e73565b61034a610345366004611acf565b610d1b565b6040516101cb919081516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b6103d96103d4366004611acf565b610dc1565b6040516001600160a01b0390911681526020016101cb565b6104046103ff366004611d41565b610e6f565b6040516101cb9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61047161046c3660046119b1565b610f03565b6040805192835260ff9091166020830152016101cb565b61049b610496366004611acf565b6111ab565b6040516101cb9190611f23565b6104bb6104b6366004612086565b6112c9565b005b6104d06104cb3660046119b1565b61144f565b6040516101cb91906120a3565b6001546001600160a01b03166103d9565b6101c16104fc366004611acf565b6115c2565b60005461010090046001600160a01b03166103d9565b61052a610525366004611acf565b6115ef565b6040516101cb9190612153565b61054a610545366004611acf565b6116c4565b6040516101cb91906121d4565b6101c1610565366004611acf565b61180c565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af41580156105c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e991906122d6565b9392505050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610697573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bb91906122d6565b6040518263ffffffff1660e01b81526004016106d991815260200190565b600060405180830381865afa1580156106f6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261071e9190810190612334565b80519091501561073c57808060200190518101906105e991906123b3565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af41580156107b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc91906122d6565b92915050565b6108206040518060a0016040528060006001600160c01b03191681526020016000151581526020016060815260200160008152602001600081525090565b6001546000906001600160a01b03166354f6127f61083d85610aa3565b6040518263ffffffff1660e01b815260040161085b91815260200190565b600060405180830381865afa158015610878573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108a09190810190612334565b80519091501561073c57808060200190518101906105e991906124ac565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607861076b565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906109279086908690600401612553565b602060405180830381865af4158015610944573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e99190612575565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa68369060240161079b565b6109ab611839565b6001546000906001600160a01b03166354f6127f6109c88561180c565b6040518263ffffffff1660e01b81526004016109e691815260200190565b600060405180830381865afa158015610a03573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a2b9190810190612334565b80519091501561073c57808060200190518101906105e991906125c2565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d361076b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e61076b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a61076b565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610b54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b7891906122d6565b6040518263ffffffff1660e01b8152600401610b9691815260200190565b600060405180830381865afa158015610bb3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bdb9190810190612334565b80519091501561073c57808060200190518101906105e991906126be565b6001546000906001600160a01b03166309648a9d610c1684610a49565b6040518263ffffffff1660e01b8152600401610c3491815260200190565b602060405180830381865afa158015610c51573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc919061274c565b610c7d6118aa565b6001546000906001600160a01b03166354f6127f610c9a85610a76565b6040518263ffffffff1660e01b8152600401610cb891815260200190565b600060405180830381865afa158015610cd5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610cfd9190810190612334565b80519091501561073c57808060200190518101906105e99190612774565b610d2361191a565b6001546000906001600160a01b03166354f6127f610d40856108be565b6040518263ffffffff1660e01b8152600401610d5e91815260200190565b600060405180830381865afa158015610d7b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610da39190810190612334565b80519091501561073c57808060200190518101906105e9919061281c565b60015460009081906001600160a01b03166354f6127f610de085610742565b6040518263ffffffff1660e01b8152600401610dfe91815260200190565b600060405180830381865afa158015610e1b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e439190810190612334565b80519091501561073c57600081806020019051810190610e6391906128bd565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610edf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc919061298e565b6000806000610f11846105f0565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610f70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f949190612a08565b156110135773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fe2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061100691906122d6565b60645b9250925050915091565b6110978160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611064573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110889190612a23565b64ffffffffff90811691161090565b156111105773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156110e5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110991906122d6565b606e611009565b806060015163ffffffff16816080015163ffffffff161061119f5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611174573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119891906122d6565b6078611009565b6040810151600a611009565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526001546000906001600160a01b03166354f6127f61124885610a49565b6040518263ffffffff1660e01b815260040161126691815260200190565b600060405180830381865afa158015611283573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112ab9190810190612334565b80519091501561073c57808060200190518101906105e99190612a52565b60005460ff161561132b5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0381166113815760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a494e5354414e43455f5a45524f00000000006044820152606401611322565b80600060016101000a8154816001600160a01b0302191690836001600160a01b03160217905550600060019054906101000a90046001600160a01b03166001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061141f9190612bbe565b600180546001600160a01b0319166001600160a01b03929092169190911781556000805460ff1916909117905550565b6114ae60405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af415801561151d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061154191906122d6565b6040518263ffffffff1660e01b815260040161155f91815260200190565b600060405180830381865afa15801561157c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115a49190810190612334565b80519091501561073c57808060200190518101906105e99190612bdb565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c61076b565b6040805160e08101825260608082526000602083018190529282018390528082018390526080820183905260a0820183905260c08201526001549091906001600160a01b03166354f6127f611643856115c2565b6040518263ffffffff1660e01b815260040161166191815260200190565b600060405180830381865afa15801561167e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116a69190810190612334565b80519091501561073c57808060200190518101906105e99190612cd2565b61176e604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001546000906001600160a01b03166354f6127f61178b85610742565b6040518263ffffffff1660e01b81526004016117a991815260200190565b600060405180830381865afa1580156117c6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117ee9190810190612334565b80519091501561073c57808060200190518101906105e991906128bd565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc61076b565b60405180610120016040528060006001600160601b03168152602001611872604051806040016040528060008152602001600081525090565b81526060602082018190526000604083018190529082018190526080820181905260a0820181905260c0820181905260e09091015290565b6040805161010081018252600080825260208083018290528284018290526060830182905283518085019094528184528301529060808201905b8152602001611906604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6040518060c0016040528060006001600160601b0316815260200160006001600160a01b031681526020016118e4604051806040016040528060008152602001600081525090565b6000806040838503121561197557600080fd5b8235915060208301358060000b811461198d57600080fd5b809150509250929050565b6001600160c01b0319811681146119ae57600080fd5b50565b6000602082840312156119c357600080fd5b81356105e981611998565b60005b838110156119e95781810151838201526020016119d1565b50506000910152565b60008151808452611a0a8160208601602086016119ce565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e06040840152611a4e6101008401826119f2565b90506040840151606084015263ffffffff60608501511660808401526080840151611a8160a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e0850152611ab182826119f2565b95945050505050565b6001600160601b03811681146119ae57600080fd5b600060208284031215611ae157600080fd5b81356105e981611aba565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152611b2a60c08401826119f2565b905060608401516080840152608084015160a08401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611b8257611b82611b4a565b60405290565b60405160a081016001600160401b0381118282101715611b8257611b82611b4a565b604080519081016001600160401b0381118282101715611b8257611b82611b4a565b60405161012081016001600160401b0381118282101715611b8257611b82611b4a565b60405161010081016001600160401b0381118282101715611b8257611b82611b4a565b60405161014081016001600160401b0381118282101715611b8257611b82611b4a565b60405161020081016001600160401b0381118282101715611b8257611b82611b4a565b604051601f8201601f191681016001600160401b0381118282101715611c8057611c80611b4a565b604052919050565b60006001600160401b03821115611ca157611ca1611b4a565b50601f01601f191660200190565b60008060408385031215611cc257600080fd5b8235611ccd81611aba565b915060208301356001600160401b03811115611ce857600080fd5b8301601f81018513611cf957600080fd5b8035611d0c611d0782611c88565b611c58565b818152866020838501011115611d2157600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611d5357600080fd5b5035919050565b60208152611d746020820183516001600160601b03169052565b60006020830151611d92604084018280518252602090810151910152565b506040830151610140806080850152611daf6101608501836119f2565b91506060850151611dcb60a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c0850151610100611e108187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b602081526001600160601b03825116602082015260006020830151604080840152611e6b60608401826119f2565b949350505050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191611ec2908401826001600160601b03169052565b506080830151611edf608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525b5092915050565b60208152611f3d6020820183516001600160601b03169052565b60006020830151611f5960408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e0830151610100611fbe8185018364ffffffffff169052565b808501519150506102006101208181860152611fde6102208601846119f2565b9250808601519050610140601f198685030181870152611ffe84836119f2565b9350808701519150506101606120198187018361ffff169052565b86015190506101806120308682018361ffff169052565b8601516101a08681019190915286015190506101c06120578187018364ffffffffff169052565b86015190506101e0611e268682018364ffffffffff169052565b6001600160a01b03811681146119ae57600080fd5b60006020828403121561209857600080fd5b81356105e981612071565b60208152600082516101208060208501526120c26101408501836119f2565b915060208501516040850152604085015160608501526060850151608085015260808501516120f960a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e085015161010061212f8187018315159052565b860151858403601f190183870152905061214983826119f2565b9695505050505050565b602081526000825160e060208401526121706101008401826119f2565b9050602084015160018060a01b038082166040860152806040870151166060860152806060870151166080860152505060808401516121ba60a08501826001600160601b03169052565b5060a08401516001600160601b03811660c0850152611a95565b81516001600160a01b031681526102008101602083015161220060208401826001600160a01b03169052565b50604083015161221b60408401826001600160601b03169052565b50606083015161223660608401826001600160601b03169052565b506080830151612253608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006122898185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050611f1c565b6000602082840312156122e857600080fd5b5051919050565b600082601f83011261230057600080fd5b815161230e611d0782611c88565b81815284602083860101111561232357600080fd5b611e6b8260208301602087016119ce565b60006020828403121561234657600080fd5b81516001600160401b0381111561235c57600080fd5b611e6b848285016122ef565b805161237381611aba565b919050565b63ffffffff811681146119ae57600080fd5b805161237381612378565b64ffffffffff811681146119ae57600080fd5b805161237381612395565b6000602082840312156123c557600080fd5b81516001600160401b03808211156123dc57600080fd5b9083019060e082860312156123f057600080fd5b6123f8611b60565b61240183612368565b815260208301518281111561241557600080fd5b612421878286016122ef565b6020830152506040830151604082015261243d6060840161238a565b606082015261244e6080840161238a565b608082015261245f60a084016123a8565b60a082015260c08301518281111561247657600080fd5b612482878286016122ef565b60c08301525095945050505050565b805161237381611998565b8051801515811461237357600080fd5b6000602082840312156124be57600080fd5b81516001600160401b03808211156124d557600080fd5b9083019060a082860312156124e957600080fd5b6124f1611b88565b82516124fc81611998565b815261250a6020840161249c565b602082015260408301518281111561252157600080fd5b61252d878286016122ef565b604083015250606083015160608201526080830151608082015280935050505092915050565b6001600160601b0383168152604060208201526000611e6b60408301846119f2565b60006020828403121561258757600080fd5b81516105e981611998565b6000604082840312156125a457600080fd5b6125ac611baa565b9050815181526020820151602082015292915050565b6000602082840312156125d457600080fd5b81516001600160401b03808211156125eb57600080fd5b90830190610140828603121561260057600080fd5b612608611bcc565b61261183612368565b81526126208660208501612592565b602082015260608301518281111561263757600080fd5b612643878286016122ef565b60408301525061265560808401612368565b606082015261266660a08401612368565b608082015261267760c08401612368565b60a082015261268860e084016123a8565b60c0820152610100915061269d8284016123a8565b60e08201526126af61012084016123a8565b91810191909152949350505050565b6000602082840312156126d057600080fd5b81516001600160401b03808211156126e757600080fd5b90830190604082860312156126fb57600080fd5b612703611baa565b825161270e81611aba565b815260208301518281111561272257600080fd5b61272e878286016122ef565b60208301525095945050505050565b60ff811681146119ae57600080fd5b60006020828403121561275e57600080fd5b81516105e98161273d565b805161237381612071565b6000610140828403121561278757600080fd5b61278f611bef565b61279883612769565b81526127a660208401612769565b60208201526127b760408401612368565b60408201526127c860608401612368565b60608201526127da8460808501612592565b60808201526127ec8460c08501612592565b60a08201526127fe610100840161249c565b60c08201526128106101208401612769565b60e08201529392505050565b6000610100828403121561282f57600080fd5b60405160c081018181106001600160401b038211171561285157612851611b4a565b604052825161285f81611aba565b8152602083015161286f81612071565b60208201526128818460408501612592565b60408201526128938460808501612592565b606082015260c08301516128a681612071565b608082015260e0929092015160a083015250919050565b600061020082840312156128d057600080fd5b6128d8611c12565b6128e183612769565b81526128ef60208401612769565b602082015261290060408401612368565b604082015261291160608401612368565b60608201526129238460808501612592565b60808201526129358460c08501612592565b60a082015261010061294985828601612592565b60c083015261295c856101408601612592565b60e083015261296f856101808601612592565b90820152612981846101c08501612592565b6101208201529392505050565b600060a082840312156129a057600080fd5b6129a8611b88565b82516129b38161273d565b815260208301516129c38161273d565b602082015260408301516129d681612071565b604082015260608301516129e981612378565b606082015260808301516129fc81612378565b60808201529392505050565b600060208284031215612a1a57600080fd5b6105e98261249c565b600060208284031215612a3557600080fd5b81516105e981612395565b805161ffff8116811461237357600080fd5b600060208284031215612a6457600080fd5b81516001600160401b0380821115612a7b57600080fd5b908301906102008286031215612a9057600080fd5b612a98611c35565b612aa183612368565b8152612aaf60208401612368565b6020820152612ac060408401612491565b6040820152612ad160608401612491565b60608201526080830151608082015260a083015160a082015260c083015160c0820152612b0060e084016123a8565b60e08201526101008084015183811115612b1957600080fd5b612b25888287016122ef565b8284015250506101208084015183811115612b3f57600080fd5b612b4b888287016122ef565b8284015250506101409150612b61828401612a40565b828201526101609150612b75828401612a40565b82820152610180915081830151828201526101a09150612b968284016123a8565b828201526101c09150612baa8284016123a8565b828201526101e091506126af8284016123a8565b600060208284031215612bd057600080fd5b81516105e981612071565b600060208284031215612bed57600080fd5b81516001600160401b0380821115612c0457600080fd5b908301906101208286031215612c1957600080fd5b612c21611bcc565b825182811115612c3057600080fd5b612c3c878286016122ef565b825250602083015160208201526040830151604082015260608301516060820152612c696080840161238a565b6080820152612c7a60a0840161238a565b60a0820152612c8b60c0840161249c565b60c0820152612c9c60e0840161249c565b60e08201526101008084015183811115612cb557600080fd5b612cc1888287016122ef565b918301919091525095945050505050565b600060208284031215612ce457600080fd5b81516001600160401b0380821115612cfb57600080fd5b9083019060e08286031215612d0f57600080fd5b612d17611b60565b825182811115612d2657600080fd5b612d32878286016122ef565b825250612d4160208401612769565b6020820152612d5260408401612769565b6040820152612d6360608401612769565b6060820152612d7460808401612368565b608082015261245f60a0840161236856fea26469706673582212202af641844e71589a05894bfcb9c805500b43ef2fb0cae0a30dab2b9995e5bef064736f6c63430008140033",
|
1092
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101a95760003560e01c806390af7064116100f9578063d06458c611610097578063de7b5d1411610071578063de7b5d1414610501578063f0ea17c314610517578063f2b246c314610537578063f7f318d31461055757600080fd5b8063d06458c6146104bd578063d4cda0d8146104dd578063dd26287a146104ee57600080fd5b8063a5961b4c116100d3578063a5961b4c146103f1578063b82d7ef51461045e578063bd7d9d8514610488578063c4d66de8146104a857600080fd5b806390af7064146103175780639ad69c6714610337578063a310e2a3146103c657600080fd5b806344aa6836116101665780637bfd3217116101405780637bfd3217146102ac5780637e54602a146102bf578063887b1fa9146102d25780639096a1f3146102f257600080fd5b806344aa6836146102665780634793b4ab1461027957806364eb3a9b1461029957600080fd5b80631488c845146101ae5780631d3be477146101d457806325d03743146101f457806327b1d7921461020757806335898f5d146102275780633f093cd61461023a575b600080fd5b6101c16101bc366004611962565b61056a565b6040519081526020015b60405180910390f35b6101e76101e23660046119b1565b6105f0565b6040516101cb9190611a1e565b6101c1610202366004611acf565b610742565b61021a610215366004611acf565b6107e2565b6040516101cb9190611aec565b6101c1610235366004611acf565b6108be565b61024d610248366004611caf565b6108eb565b6040516001600160c01b031990911681526020016101cb565b6101c1610274366004611d41565b610968565b61028c610287366004611acf565b6109a3565b6040516101cb9190611d5a565b6101c16102a7366004611acf565b610a49565b6101c16102ba366004611acf565b610a76565b6101c16102cd366004611acf565b610aa3565b6102e56102e03660046119b1565b610ad0565b6040516101cb9190611e3d565b610305610300366004611acf565b610bf9565b60405160ff90911681526020016101cb565b61032a610325366004611acf565b610c75565b6040516101cb9190611e73565b61034a610345366004611acf565b610d1b565b6040516101cb919081516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b6103d96103d4366004611acf565b610dc1565b6040516001600160a01b0390911681526020016101cb565b6104046103ff366004611d41565b610e6f565b6040516101cb9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61047161046c3660046119b1565b610f03565b6040805192835260ff9091166020830152016101cb565b61049b610496366004611acf565b6111ab565b6040516101cb9190611f23565b6104bb6104b6366004612086565b6112c9565b005b6104d06104cb3660046119b1565b61144f565b6040516101cb91906120a3565b6001546001600160a01b03166103d9565b6101c16104fc366004611acf565b6115c2565b60005461010090046001600160a01b03166103d9565b61052a610525366004611acf565b6115ef565b6040516101cb9190612153565b61054a610545366004611acf565b6116c4565b6040516101cb91906121d4565b6101c1610565366004611acf565b61180c565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af41580156105c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e991906122d6565b9392505050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610697573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bb91906122d6565b6040518263ffffffff1660e01b81526004016106d991815260200190565b600060405180830381865afa1580156106f6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261071e9190810190612334565b80519091501561073c57808060200190518101906105e991906123b3565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af41580156107b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc91906122d6565b92915050565b6108206040518060a0016040528060006001600160c01b03191681526020016000151581526020016060815260200160008152602001600081525090565b6001546000906001600160a01b03166354f6127f61083d85610aa3565b6040518263ffffffff1660e01b815260040161085b91815260200190565b600060405180830381865afa158015610878573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108a09190810190612334565b80519091501561073c57808060200190518101906105e991906124ac565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607861076b565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906109279086908690600401612553565b602060405180830381865af4158015610944573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e99190612575565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa68369060240161079b565b6109ab611839565b6001546000906001600160a01b03166354f6127f6109c88561180c565b6040518263ffffffff1660e01b81526004016109e691815260200190565b600060405180830381865afa158015610a03573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a2b9190810190612334565b80519091501561073c57808060200190518101906105e991906125c2565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d361076b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e61076b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a61076b565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610b54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b7891906122d6565b6040518263ffffffff1660e01b8152600401610b9691815260200190565b600060405180830381865afa158015610bb3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bdb9190810190612334565b80519091501561073c57808060200190518101906105e991906126be565b6001546000906001600160a01b03166309648a9d610c1684610a49565b6040518263ffffffff1660e01b8152600401610c3491815260200190565b602060405180830381865afa158015610c51573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc919061274c565b610c7d6118aa565b6001546000906001600160a01b03166354f6127f610c9a85610a76565b6040518263ffffffff1660e01b8152600401610cb891815260200190565b600060405180830381865afa158015610cd5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610cfd9190810190612334565b80519091501561073c57808060200190518101906105e99190612774565b610d2361191a565b6001546000906001600160a01b03166354f6127f610d40856108be565b6040518263ffffffff1660e01b8152600401610d5e91815260200190565b600060405180830381865afa158015610d7b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610da39190810190612334565b80519091501561073c57808060200190518101906105e9919061281c565b60015460009081906001600160a01b03166354f6127f610de085610742565b6040518263ffffffff1660e01b8152600401610dfe91815260200190565b600060405180830381865afa158015610e1b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e439190810190612334565b80519091501561073c57600081806020019051810190610e6391906128bd565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610edf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc919061298e565b6000806000610f11846105f0565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610f70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f949190612a08565b156110135773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fe2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061100691906122d6565b60645b9250925050915091565b6110978160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611064573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110889190612a23565b64ffffffffff90811691161090565b156111105773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156110e5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110991906122d6565b606e611009565b806060015163ffffffff16816080015163ffffffff161061119f5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611174573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119891906122d6565b6078611009565b6040810151600a611009565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526001546000906001600160a01b03166354f6127f61124885610a49565b6040518263ffffffff1660e01b815260040161126691815260200190565b600060405180830381865afa158015611283573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112ab9190810190612334565b80519091501561073c57808060200190518101906105e99190612a52565b60005460ff161561132b5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0381166113815760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a494e5354414e43455f5a45524f00000000006044820152606401611322565b80600060016101000a8154816001600160a01b0302191690836001600160a01b03160217905550600060019054906101000a90046001600160a01b03166001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061141f9190612bbe565b600180546001600160a01b0319166001600160a01b03929092169190911781556000805460ff1916909117905550565b6114ae60405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af415801561151d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061154191906122d6565b6040518263ffffffff1660e01b815260040161155f91815260200190565b600060405180830381865afa15801561157c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115a49190810190612334565b80519091501561073c57808060200190518101906105e99190612bdb565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c61076b565b6040805160e08101825260608082526000602083018190529282018390528082018390526080820183905260a0820183905260c08201526001549091906001600160a01b03166354f6127f611643856115c2565b6040518263ffffffff1660e01b815260040161166191815260200190565b600060405180830381865afa15801561167e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116a69190810190612334565b80519091501561073c57808060200190518101906105e99190612cd2565b61176e604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001546000906001600160a01b03166354f6127f61178b85610742565b6040518263ffffffff1660e01b81526004016117a991815260200190565b600060405180830381865afa1580156117c6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117ee9190810190612334565b80519091501561073c57808060200190518101906105e991906128bd565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc61076b565b60405180610120016040528060006001600160601b03168152602001611872604051806040016040528060008152602001600081525090565b81526060602082018190526000604083018190529082018190526080820181905260a0820181905260c0820181905260e09091015290565b6040805161010081018252600080825260208083018290528284018290526060830182905283518085019094528184528301529060808201905b8152602001611906604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6040518060c0016040528060006001600160601b0316815260200160006001600160a01b031681526020016118e4604051806040016040528060008152602001600081525090565b6000806040838503121561197557600080fd5b8235915060208301358060000b811461198d57600080fd5b809150509250929050565b6001600160c01b0319811681146119ae57600080fd5b50565b6000602082840312156119c357600080fd5b81356105e981611998565b60005b838110156119e95781810151838201526020016119d1565b50506000910152565b60008151808452611a0a8160208601602086016119ce565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e06040840152611a4e6101008401826119f2565b90506040840151606084015263ffffffff60608501511660808401526080840151611a8160a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e0850152611ab182826119f2565b95945050505050565b6001600160601b03811681146119ae57600080fd5b600060208284031215611ae157600080fd5b81356105e981611aba565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152611b2a60c08401826119f2565b905060608401516080840152608084015160a08401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611b8257611b82611b4a565b60405290565b60405160a081016001600160401b0381118282101715611b8257611b82611b4a565b604080519081016001600160401b0381118282101715611b8257611b82611b4a565b60405161012081016001600160401b0381118282101715611b8257611b82611b4a565b60405161010081016001600160401b0381118282101715611b8257611b82611b4a565b60405161014081016001600160401b0381118282101715611b8257611b82611b4a565b60405161020081016001600160401b0381118282101715611b8257611b82611b4a565b604051601f8201601f191681016001600160401b0381118282101715611c8057611c80611b4a565b604052919050565b60006001600160401b03821115611ca157611ca1611b4a565b50601f01601f191660200190565b60008060408385031215611cc257600080fd5b8235611ccd81611aba565b915060208301356001600160401b03811115611ce857600080fd5b8301601f81018513611cf957600080fd5b8035611d0c611d0782611c88565b611c58565b818152866020838501011115611d2157600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611d5357600080fd5b5035919050565b60208152611d746020820183516001600160601b03169052565b60006020830151611d92604084018280518252602090810151910152565b506040830151610140806080850152611daf6101608501836119f2565b91506060850151611dcb60a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c0850151610100611e108187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b602081526001600160601b03825116602082015260006020830151604080840152611e6b60608401826119f2565b949350505050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191611ec2908401826001600160601b03169052565b506080830151611edf608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525b5092915050565b60208152611f3d6020820183516001600160601b03169052565b60006020830151611f5960408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e0830151610100611fbe8185018364ffffffffff169052565b808501519150506102006101208181860152611fde6102208601846119f2565b9250808601519050610140601f198685030181870152611ffe84836119f2565b9350808701519150506101606120198187018361ffff169052565b86015190506101806120308682018361ffff169052565b8601516101a08681019190915286015190506101c06120578187018364ffffffffff169052565b86015190506101e0611e268682018364ffffffffff169052565b6001600160a01b03811681146119ae57600080fd5b60006020828403121561209857600080fd5b81356105e981612071565b60208152600082516101208060208501526120c26101408501836119f2565b915060208501516040850152604085015160608501526060850151608085015260808501516120f960a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e085015161010061212f8187018315159052565b860151858403601f190183870152905061214983826119f2565b9695505050505050565b602081526000825160e060208401526121706101008401826119f2565b9050602084015160018060a01b038082166040860152806040870151166060860152806060870151166080860152505060808401516121ba60a08501826001600160601b03169052565b5060a08401516001600160601b03811660c0850152611a95565b81516001600160a01b031681526102008101602083015161220060208401826001600160a01b03169052565b50604083015161221b60408401826001600160601b03169052565b50606083015161223660608401826001600160601b03169052565b506080830151612253608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006122898185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050611f1c565b6000602082840312156122e857600080fd5b5051919050565b600082601f83011261230057600080fd5b815161230e611d0782611c88565b81815284602083860101111561232357600080fd5b611e6b8260208301602087016119ce565b60006020828403121561234657600080fd5b81516001600160401b0381111561235c57600080fd5b611e6b848285016122ef565b805161237381611aba565b919050565b63ffffffff811681146119ae57600080fd5b805161237381612378565b64ffffffffff811681146119ae57600080fd5b805161237381612395565b6000602082840312156123c557600080fd5b81516001600160401b03808211156123dc57600080fd5b9083019060e082860312156123f057600080fd5b6123f8611b60565b61240183612368565b815260208301518281111561241557600080fd5b612421878286016122ef565b6020830152506040830151604082015261243d6060840161238a565b606082015261244e6080840161238a565b608082015261245f60a084016123a8565b60a082015260c08301518281111561247657600080fd5b612482878286016122ef565b60c08301525095945050505050565b805161237381611998565b8051801515811461237357600080fd5b6000602082840312156124be57600080fd5b81516001600160401b03808211156124d557600080fd5b9083019060a082860312156124e957600080fd5b6124f1611b88565b82516124fc81611998565b815261250a6020840161249c565b602082015260408301518281111561252157600080fd5b61252d878286016122ef565b604083015250606083015160608201526080830151608082015280935050505092915050565b6001600160601b0383168152604060208201526000611e6b60408301846119f2565b60006020828403121561258757600080fd5b81516105e981611998565b6000604082840312156125a457600080fd5b6125ac611baa565b9050815181526020820151602082015292915050565b6000602082840312156125d457600080fd5b81516001600160401b03808211156125eb57600080fd5b90830190610140828603121561260057600080fd5b612608611bcc565b61261183612368565b81526126208660208501612592565b602082015260608301518281111561263757600080fd5b612643878286016122ef565b60408301525061265560808401612368565b606082015261266660a08401612368565b608082015261267760c08401612368565b60a082015261268860e084016123a8565b60c0820152610100915061269d8284016123a8565b60e08201526126af61012084016123a8565b91810191909152949350505050565b6000602082840312156126d057600080fd5b81516001600160401b03808211156126e757600080fd5b90830190604082860312156126fb57600080fd5b612703611baa565b825161270e81611aba565b815260208301518281111561272257600080fd5b61272e878286016122ef565b60208301525095945050505050565b60ff811681146119ae57600080fd5b60006020828403121561275e57600080fd5b81516105e98161273d565b805161237381612071565b6000610140828403121561278757600080fd5b61278f611bef565b61279883612769565b81526127a660208401612769565b60208201526127b760408401612368565b60408201526127c860608401612368565b60608201526127da8460808501612592565b60808201526127ec8460c08501612592565b60a08201526127fe610100840161249c565b60c08201526128106101208401612769565b60e08201529392505050565b6000610100828403121561282f57600080fd5b60405160c081018181106001600160401b038211171561285157612851611b4a565b604052825161285f81611aba565b8152602083015161286f81612071565b60208201526128818460408501612592565b60408201526128938460808501612592565b606082015260c08301516128a681612071565b608082015260e0929092015160a083015250919050565b600061020082840312156128d057600080fd5b6128d8611c12565b6128e183612769565b81526128ef60208401612769565b602082015261290060408401612368565b604082015261291160608401612368565b60608201526129238460808501612592565b60808201526129358460c08501612592565b60a082015261010061294985828601612592565b60c083015261295c856101408601612592565b60e083015261296f856101808601612592565b90820152612981846101c08501612592565b6101208201529392505050565b600060a082840312156129a057600080fd5b6129a8611b88565b82516129b38161273d565b815260208301516129c38161273d565b602082015260408301516129d681612071565b604082015260608301516129e981612378565b606082015260808301516129fc81612378565b60808201529392505050565b600060208284031215612a1a57600080fd5b6105e98261249c565b600060208284031215612a3557600080fd5b81516105e981612395565b805161ffff8116811461237357600080fd5b600060208284031215612a6457600080fd5b81516001600160401b0380821115612a7b57600080fd5b908301906102008286031215612a9057600080fd5b612a98611c35565b612aa183612368565b8152612aaf60208401612368565b6020820152612ac060408401612491565b6040820152612ad160608401612491565b60608201526080830151608082015260a083015160a082015260c083015160c0820152612b0060e084016123a8565b60e08201526101008084015183811115612b1957600080fd5b612b25888287016122ef565b8284015250506101208084015183811115612b3f57600080fd5b612b4b888287016122ef565b8284015250506101409150612b61828401612a40565b828201526101609150612b75828401612a40565b82820152610180915081830151828201526101a09150612b968284016123a8565b828201526101c09150612baa8284016123a8565b828201526101e091506126af8284016123a8565b600060208284031215612bd057600080fd5b81516105e981612071565b600060208284031215612bed57600080fd5b81516001600160401b0380821115612c0457600080fd5b908301906101208286031215612c1957600080fd5b612c21611bcc565b825182811115612c3057600080fd5b612c3c878286016122ef565b825250602083015160208201526040830151604082015260608301516060820152612c696080840161238a565b6080820152612c7a60a0840161238a565b60a0820152612c8b60c0840161249c565b60c0820152612c9c60e0840161249c565b60e08201526101008084015183811115612cb557600080fd5b612cc1888287016122ef565b918301919091525095945050505050565b600060208284031215612ce457600080fd5b81516001600160401b0380821115612cfb57600080fd5b9083019060e08286031215612d0f57600080fd5b612d17611b60565b825182811115612d2657600080fd5b612d32878286016122ef565b825250612d4160208401612769565b6020820152612d5260408401612769565b6040820152612d6360608401612769565b6060820152612d7460808401612368565b608082015261245f60a0840161236856fea26469706673582212202af641844e71589a05894bfcb9c805500b43ef2fb0cae0a30dab2b9995e5bef064736f6c63430008140033",
|
1093
|
+
"linkReferences": {
|
1094
|
+
"contracts/types/DistributorType.sol": {
|
1095
|
+
"DistributorTypeLib": [
|
1096
|
+
{
|
1097
|
+
"length": 20,
|
1098
|
+
"start": 5379
|
1099
|
+
}
|
1100
|
+
]
|
1101
|
+
},
|
1102
|
+
"contracts/types/NftId.sol": {
|
1103
|
+
"NftIdLib": [
|
1104
|
+
{
|
1105
|
+
"length": 20,
|
1106
|
+
"start": 1894
|
1107
|
+
},
|
1108
|
+
{
|
1109
|
+
"length": 20,
|
1110
|
+
"start": 2274
|
1111
|
+
},
|
1112
|
+
{
|
1113
|
+
"length": 20,
|
1114
|
+
"start": 2669
|
1115
|
+
},
|
1116
|
+
{
|
1117
|
+
"length": 20,
|
1118
|
+
"start": 2714
|
1119
|
+
},
|
1120
|
+
{
|
1121
|
+
"length": 20,
|
1122
|
+
"start": 2759
|
1123
|
+
},
|
1124
|
+
{
|
1125
|
+
"length": 20,
|
1126
|
+
"start": 5606
|
1127
|
+
},
|
1128
|
+
{
|
1129
|
+
"length": 20,
|
1130
|
+
"start": 6192
|
1131
|
+
}
|
1132
|
+
]
|
1133
|
+
},
|
1134
|
+
"contracts/types/Referral.sol": {
|
1135
|
+
"ReferralLib": [
|
1136
|
+
{
|
1137
|
+
"length": 20,
|
1138
|
+
"start": 1661
|
1139
|
+
},
|
1140
|
+
{
|
1141
|
+
"length": 20,
|
1142
|
+
"start": 2333
|
1143
|
+
}
|
1144
|
+
]
|
1145
|
+
},
|
1146
|
+
"contracts/types/RiskId.sol": {
|
1147
|
+
"RiskIdLib": [
|
1148
|
+
{
|
1149
|
+
"length": 20,
|
1150
|
+
"start": 2874
|
1151
|
+
}
|
1152
|
+
]
|
1153
|
+
},
|
1154
|
+
"contracts/types/Timestamp.sol": {
|
1155
|
+
"TimestampLib": [
|
1156
|
+
{
|
1157
|
+
"length": 20,
|
1158
|
+
"start": 3926
|
1159
|
+
},
|
1160
|
+
{
|
1161
|
+
"length": 20,
|
1162
|
+
"start": 4157
|
1163
|
+
}
|
1164
|
+
]
|
1165
|
+
},
|
1166
|
+
"contracts/types/UFixed.sol": {
|
1167
|
+
"UFixedLib": [
|
1168
|
+
{
|
1169
|
+
"length": 20,
|
1170
|
+
"start": 1451
|
1171
|
+
},
|
1172
|
+
{
|
1173
|
+
"length": 20,
|
1174
|
+
"start": 2465
|
1175
|
+
},
|
1176
|
+
{
|
1177
|
+
"length": 20,
|
1178
|
+
"start": 4027
|
1179
|
+
},
|
1180
|
+
{
|
1181
|
+
"length": 20,
|
1182
|
+
"start": 4286
|
1183
|
+
},
|
1184
|
+
{
|
1185
|
+
"length": 20,
|
1186
|
+
"start": 4429
|
1187
|
+
}
|
1188
|
+
]
|
1189
|
+
}
|
1190
|
+
},
|
1191
|
+
"deployedLinkReferences": {
|
1192
|
+
"contracts/types/DistributorType.sol": {
|
1193
|
+
"DistributorTypeLib": [
|
1194
|
+
{
|
1195
|
+
"length": 20,
|
1196
|
+
"start": 5347
|
1197
|
+
}
|
1198
|
+
]
|
1199
|
+
},
|
1200
|
+
"contracts/types/NftId.sol": {
|
1201
|
+
"NftIdLib": [
|
1202
|
+
{
|
1203
|
+
"length": 20,
|
1204
|
+
"start": 1862
|
1205
|
+
},
|
1206
|
+
{
|
1207
|
+
"length": 20,
|
1208
|
+
"start": 2242
|
1209
|
+
},
|
1210
|
+
{
|
1211
|
+
"length": 20,
|
1212
|
+
"start": 2637
|
1213
|
+
},
|
1214
|
+
{
|
1215
|
+
"length": 20,
|
1216
|
+
"start": 2682
|
1217
|
+
},
|
1218
|
+
{
|
1219
|
+
"length": 20,
|
1220
|
+
"start": 2727
|
1221
|
+
},
|
1222
|
+
{
|
1223
|
+
"length": 20,
|
1224
|
+
"start": 5574
|
1225
|
+
},
|
1226
|
+
{
|
1227
|
+
"length": 20,
|
1228
|
+
"start": 6160
|
1229
|
+
}
|
1230
|
+
]
|
1231
|
+
},
|
1232
|
+
"contracts/types/Referral.sol": {
|
1233
|
+
"ReferralLib": [
|
1234
|
+
{
|
1235
|
+
"length": 20,
|
1236
|
+
"start": 1629
|
1237
|
+
},
|
1238
|
+
{
|
1239
|
+
"length": 20,
|
1240
|
+
"start": 2301
|
1241
|
+
}
|
1242
|
+
]
|
1243
|
+
},
|
1244
|
+
"contracts/types/RiskId.sol": {
|
1245
|
+
"RiskIdLib": [
|
1246
|
+
{
|
1247
|
+
"length": 20,
|
1248
|
+
"start": 2842
|
1249
|
+
}
|
1250
|
+
]
|
1251
|
+
},
|
1252
|
+
"contracts/types/Timestamp.sol": {
|
1253
|
+
"TimestampLib": [
|
1254
|
+
{
|
1255
|
+
"length": 20,
|
1256
|
+
"start": 3894
|
1257
|
+
},
|
1258
|
+
{
|
1259
|
+
"length": 20,
|
1260
|
+
"start": 4125
|
1261
|
+
}
|
1262
|
+
]
|
1263
|
+
},
|
1264
|
+
"contracts/types/UFixed.sol": {
|
1265
|
+
"UFixedLib": [
|
1266
|
+
{
|
1267
|
+
"length": 20,
|
1268
|
+
"start": 1419
|
1269
|
+
},
|
1270
|
+
{
|
1271
|
+
"length": 20,
|
1272
|
+
"start": 2433
|
1273
|
+
},
|
1274
|
+
{
|
1275
|
+
"length": 20,
|
1276
|
+
"start": 3995
|
1277
|
+
},
|
1278
|
+
{
|
1279
|
+
"length": 20,
|
1280
|
+
"start": 4254
|
1281
|
+
},
|
1282
|
+
{
|
1283
|
+
"length": 20,
|
1284
|
+
"start": 4397
|
1285
|
+
}
|
1286
|
+
]
|
1287
|
+
}
|
1288
|
+
}
|
1289
|
+
}
|