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