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