@etherisc/gif-next 0.0.2-f7b8c9f-518 → 0.0.2-f7bec40-735
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +178 -14
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/components/Component.sol/Component.json +873 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +1023 -204
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IComponent.sol/IComponent.json +636 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +862 -39
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +916 -129
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +694 -40
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +958 -267
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +778 -194
- 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 +226 -1822
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +616 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +444 -2190
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +1348 -0
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +124 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1569 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +979 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +656 -0
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2788 -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/{InstanceBase.sol/InstanceBase.json → ComponentService.sol/ComponentService.json} +282 -195
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +27 -158
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +67 -245
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +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/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{access/IAccess.sol/IAccess.json → IComponents.sol/IComponents.json} +2 -2
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{distribution/IDistribution.sol → IDistribution.sol}/IDistribution.json +1 -1
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
- package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/ISetup.sol/ISetup.json} +2 -2
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → 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 +918 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +648 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1288 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +696 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1384 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +752 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1103 -177
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +780 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IApplicationService.sol/IApplicationService.json} +231 -204
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +735 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +743 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +540 -146
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +651 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +669 -153
- package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.dbg.json +4 -0
- package/artifacts/contracts/instance/{base/ServiceBase.sol/ServiceBase.json → service/IPricingService.sol/IPricingService.json} +245 -203
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +88 -397
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1281 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +740 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1080 -211
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +708 -0
- package/artifacts/contracts/instance/service/PricingService.sol/PricingService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PricingService.sol/PricingService.json +1004 -0
- package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.json +688 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +327 -531
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +640 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +60 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +255 -63
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +309 -196
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +229 -212
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +422 -269
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +311 -122
- 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 +485 -0
- package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +27 -29
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +189 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +8 -34
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
- package/artifacts/contracts/{components/BaseComponent.sol/BaseComponent.json → shared/IService.sol/IService.json} +93 -67
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +107 -27
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +302 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +283 -63
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +116 -51
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
- package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/Service.sol/Service.json} +187 -180
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +114 -0
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +116 -51
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +14 -14
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +204 -200
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -174
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
- package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
- package/artifacts/contracts/types/Amount.sol/AmountLib.json +281 -0
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +179 -0
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +74 -19
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +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 +1 -1
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +134 -8
- 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 +51 -7
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
- package/artifacts/contracts/{experiment/types/TypeB.sol/TypeBLib.json → types/UFixed.sol/MathLib.json} +4 -4
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
- package/contracts/components/Component.sol +272 -0
- package/contracts/components/Distribution.sol +209 -79
- package/contracts/components/IComponent.sol +90 -0
- package/contracts/components/IDistributionComponent.sol +43 -18
- package/contracts/components/IPoolComponent.sol +90 -40
- package/contracts/components/IProductComponent.sol +17 -13
- package/contracts/components/Pool.sol +222 -166
- package/contracts/components/Product.sol +258 -182
- package/contracts/instance/BundleManager.sol +126 -0
- package/contracts/instance/Cloneable.sol +51 -0
- package/contracts/instance/IInstance.sol +63 -40
- package/contracts/instance/IInstanceService.sol +73 -0
- package/contracts/instance/Instance.sol +213 -71
- package/contracts/instance/InstanceAccessManager.sol +541 -0
- package/contracts/instance/InstanceAuthorizationsLib.sol +308 -0
- package/contracts/instance/InstanceReader.sol +368 -0
- package/contracts/instance/InstanceService.sol +308 -0
- package/contracts/instance/InstanceServiceManager.sol +54 -0
- package/contracts/instance/InstanceStore.sol +212 -0
- package/contracts/instance/ObjectManager.sol +82 -0
- package/contracts/instance/base/ComponentService.sol +148 -0
- package/contracts/instance/base/IKeyValueStore.sol +13 -14
- package/contracts/instance/base/ILifecycle.sol +3 -3
- package/contracts/instance/base/KeyValueStore.sol +30 -42
- package/contracts/instance/base/Lifecycle.sol +27 -7
- 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 +42 -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 +186 -0
- package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
- package/contracts/instance/service/BundleService.sol +382 -0
- package/contracts/instance/service/BundleServiceManager.sol +51 -0
- package/contracts/instance/service/ClaimService.sol +437 -0
- package/contracts/instance/service/ClaimServiceManager.sol +35 -0
- package/contracts/instance/service/DistributionService.sol +317 -23
- package/contracts/instance/service/DistributionServiceManager.sol +51 -0
- package/contracts/instance/service/IApplicationService.sol +62 -0
- package/contracts/instance/service/IBundleService.sol +118 -0
- package/contracts/instance/service/IClaimService.sol +90 -0
- package/contracts/instance/service/IDistributionService.sol +77 -2
- package/contracts/instance/service/IPolicyService.sol +80 -0
- package/contracts/instance/service/IPoolService.sol +95 -18
- package/contracts/instance/service/IPricingService.sol +37 -0
- package/contracts/instance/service/IProductService.sol +9 -76
- package/contracts/instance/service/PolicyService.sol +376 -0
- package/contracts/instance/service/PolicyServiceManager.sol +54 -0
- package/contracts/instance/service/PoolService.sol +339 -85
- package/contracts/instance/service/PoolServiceManager.sol +51 -0
- package/contracts/instance/service/PricingService.sol +275 -0
- package/contracts/instance/service/PricingServiceManager.sol +51 -0
- package/contracts/instance/service/ProductService.sol +135 -435
- package/contracts/instance/service/ProductServiceManager.sol +54 -0
- package/contracts/registry/ChainNft.sol +49 -26
- package/contracts/registry/IRegistry.sol +53 -25
- package/contracts/registry/IRegistryService.sol +53 -16
- package/contracts/registry/ITransferInterceptor.sol +1 -0
- package/contracts/registry/Registry.sol +289 -313
- package/contracts/registry/RegistryAccessManager.sol +216 -0
- package/contracts/registry/RegistryService.sol +165 -247
- package/contracts/registry/RegistryServiceManager.sol +30 -11
- package/contracts/registry/ReleaseManager.sol +324 -0
- package/contracts/registry/TokenRegistry.sol +116 -0
- package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +13 -0
- package/contracts/shared/ERC165.sol +15 -9
- package/contracts/shared/INftOwnable.sol +11 -10
- package/contracts/shared/IPolicyHolder.sol +40 -0
- package/contracts/shared/IRegisterable.sol +4 -6
- package/contracts/shared/IRegistryLinked.sol +11 -0
- package/contracts/shared/IService.sol +18 -0
- package/contracts/shared/IVersionable.sol +4 -47
- package/contracts/shared/NftOwnable.sol +65 -83
- package/contracts/shared/PolicyHolder.sol +94 -0
- package/contracts/shared/ProxyManager.sol +101 -26
- package/contracts/shared/Registerable.sol +25 -39
- package/contracts/shared/RegistryLinked.sol +43 -0
- package/contracts/shared/Service.sol +72 -0
- package/contracts/shared/TokenHandler.sol +35 -0
- package/contracts/shared/UpgradableProxyWithAdmin.sol +2 -2
- package/contracts/shared/Versionable.sol +5 -93
- package/contracts/test/TestFee.sol +2 -2
- package/contracts/test/TestRegisterable.sol +1 -1
- package/contracts/test/TestRoleId.sol +1 -1
- package/contracts/test/TestService.sol +6 -7
- package/contracts/types/Amount.sol +109 -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 +19 -10
- package/contracts/types/Key32.sol +8 -3
- package/contracts/types/NftId.sol +8 -0
- package/contracts/types/NftIdSet.sol +26 -24
- package/contracts/types/NumberId.sol +52 -0
- package/contracts/types/ObjectType.sol +44 -14
- package/contracts/types/PayoutId.sol +82 -0
- package/contracts/types/Referral.sol +89 -0
- package/contracts/types/RoleId.sol +68 -9
- package/contracts/types/Seconds.sol +54 -0
- package/contracts/types/StateId.sol +12 -3
- package/contracts/types/Timestamp.sol +22 -13
- package/contracts/types/UFixed.sol +129 -12
- package/contracts/types/Version.sol +5 -1
- package/package.json +6 -5
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -254
- 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/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/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
- package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
- package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -421
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
- package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -297
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -297
- package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -117
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -117
- package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +0 -10
- package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +0 -4
- package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +0 -10
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -271
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -271
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -164
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -164
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -113
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -131
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -638
- package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
- package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
- package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -638
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -794
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -457
- package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +0 -4
- package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +0 -557
- package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
- package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -716
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -744
- package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +0 -99
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
- package/contracts/components/BaseComponent.sol +0 -79
- package/contracts/components/IBaseComponent.sol +0 -19
- package/contracts/experiment/errors/Require.sol +0 -38
- package/contracts/experiment/errors/Revert.sol +0 -44
- package/contracts/experiment/inheritance/A.sol +0 -53
- package/contracts/experiment/inheritance/B.sol +0 -28
- package/contracts/experiment/inheritance/C.sol +0 -34
- package/contracts/experiment/inheritance/IA.sol +0 -13
- package/contracts/experiment/inheritance/IB.sol +0 -10
- package/contracts/experiment/inheritance/IC.sol +0 -12
- package/contracts/experiment/statemachine/Dummy.sol +0 -27
- package/contracts/experiment/statemachine/ISM.sol +0 -25
- package/contracts/experiment/statemachine/SM.sol +0 -57
- package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
- package/contracts/experiment/types/TypeA.sol +0 -47
- package/contracts/experiment/types/TypeB.sol +0 -29
- package/contracts/instance/IInstanceLinked.sol +0 -8
- package/contracts/instance/base/ComponentServiceBase.sol +0 -49
- package/contracts/instance/base/IInstanceBase.sol +0 -23
- package/contracts/instance/base/IService.sol +0 -15
- package/contracts/instance/base/InstanceBase.sol +0 -89
- package/contracts/instance/base/ModuleBase.sol +0 -57
- package/contracts/instance/base/ServiceBase.sol +0 -44
- package/contracts/instance/module/access/Access.sol +0 -149
- package/contracts/instance/module/access/IAccess.sol +0 -53
- package/contracts/instance/module/bundle/BundleModule.sol +0 -134
- package/contracts/instance/module/bundle/IBundle.sol +0 -53
- package/contracts/instance/module/component/ComponentModule.sol +0 -71
- package/contracts/instance/module/component/IComponent.sol +0 -28
- package/contracts/instance/module/distribution/DistributionModule.sol +0 -17
- package/contracts/instance/module/distribution/IDistribution.sol +0 -10
- package/contracts/instance/module/policy/IPolicy.sol +0 -63
- package/contracts/instance/module/policy/PolicyModule.sol +0 -91
- package/contracts/instance/module/pool/IPoolModule.sol +0 -41
- package/contracts/instance/module/pool/PoolModule.sol +0 -95
- package/contracts/instance/module/risk/IRisk.sol +0 -26
- package/contracts/instance/module/risk/RiskModule.sol +0 -62
- package/contracts/instance/module/treasury/ITreasury.sol +0 -84
- package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
- package/contracts/instance/module/treasury/TreasuryModule.sol +0 -131
- package/contracts/instance/service/ComponentOwnerService.sol +0 -275
- package/contracts/instance/service/IComponentOwnerService.sol +0 -20
- package/contracts/registry/IChainNft.sol +0 -22
- package/contracts/test/TestDistribution.sol +0 -22
- package/contracts/test/TestPool.sol +0 -27
- package/contracts/test/TestProduct.sol +0 -74
- package/contracts/types/ReferralId.sol +0 -48
@@ -1,744 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"_format": "hh-sol-artifact-1",
|
3
|
-
"contractName": "TestProduct",
|
4
|
-
"sourceName": "contracts/test/TestProduct.sol",
|
5
|
-
"abi": [
|
6
|
-
{
|
7
|
-
"inputs": [
|
8
|
-
{
|
9
|
-
"internalType": "address",
|
10
|
-
"name": "registry",
|
11
|
-
"type": "address"
|
12
|
-
},
|
13
|
-
{
|
14
|
-
"internalType": "NftId",
|
15
|
-
"name": "instanceNftid",
|
16
|
-
"type": "uint96"
|
17
|
-
},
|
18
|
-
{
|
19
|
-
"internalType": "address",
|
20
|
-
"name": "token",
|
21
|
-
"type": "address"
|
22
|
-
},
|
23
|
-
{
|
24
|
-
"internalType": "bool",
|
25
|
-
"name": "isInterceptor",
|
26
|
-
"type": "bool"
|
27
|
-
},
|
28
|
-
{
|
29
|
-
"internalType": "address",
|
30
|
-
"name": "pool",
|
31
|
-
"type": "address"
|
32
|
-
},
|
33
|
-
{
|
34
|
-
"internalType": "address",
|
35
|
-
"name": "distribution",
|
36
|
-
"type": "address"
|
37
|
-
},
|
38
|
-
{
|
39
|
-
"components": [
|
40
|
-
{
|
41
|
-
"internalType": "UFixed",
|
42
|
-
"name": "fractionalFee",
|
43
|
-
"type": "uint256"
|
44
|
-
},
|
45
|
-
{
|
46
|
-
"internalType": "uint256",
|
47
|
-
"name": "fixedFee",
|
48
|
-
"type": "uint256"
|
49
|
-
}
|
50
|
-
],
|
51
|
-
"internalType": "struct Fee",
|
52
|
-
"name": "productFee",
|
53
|
-
"type": "tuple"
|
54
|
-
},
|
55
|
-
{
|
56
|
-
"components": [
|
57
|
-
{
|
58
|
-
"internalType": "UFixed",
|
59
|
-
"name": "fractionalFee",
|
60
|
-
"type": "uint256"
|
61
|
-
},
|
62
|
-
{
|
63
|
-
"internalType": "uint256",
|
64
|
-
"name": "fixedFee",
|
65
|
-
"type": "uint256"
|
66
|
-
}
|
67
|
-
],
|
68
|
-
"internalType": "struct Fee",
|
69
|
-
"name": "processingFee",
|
70
|
-
"type": "tuple"
|
71
|
-
},
|
72
|
-
{
|
73
|
-
"internalType": "address",
|
74
|
-
"name": "initialOwner",
|
75
|
-
"type": "address"
|
76
|
-
}
|
77
|
-
],
|
78
|
-
"stateMutability": "nonpayable",
|
79
|
-
"type": "constructor"
|
80
|
-
},
|
81
|
-
{
|
82
|
-
"inputs": [
|
83
|
-
{
|
84
|
-
"internalType": "address",
|
85
|
-
"name": "registry",
|
86
|
-
"type": "address"
|
87
|
-
},
|
88
|
-
{
|
89
|
-
"internalType": "NftId",
|
90
|
-
"name": "nftId",
|
91
|
-
"type": "uint96"
|
92
|
-
}
|
93
|
-
],
|
94
|
-
"name": "ErrorAlreadyLinked",
|
95
|
-
"type": "error"
|
96
|
-
},
|
97
|
-
{
|
98
|
-
"inputs": [
|
99
|
-
{
|
100
|
-
"internalType": "address",
|
101
|
-
"name": "contractAddress",
|
102
|
-
"type": "address"
|
103
|
-
}
|
104
|
-
],
|
105
|
-
"name": "ErrorContractNotRegistered",
|
106
|
-
"type": "error"
|
107
|
-
},
|
108
|
-
{
|
109
|
-
"inputs": [
|
110
|
-
{
|
111
|
-
"internalType": "address",
|
112
|
-
"name": "account",
|
113
|
-
"type": "address"
|
114
|
-
}
|
115
|
-
],
|
116
|
-
"name": "ErrorNotOwner",
|
117
|
-
"type": "error"
|
118
|
-
},
|
119
|
-
{
|
120
|
-
"inputs": [
|
121
|
-
{
|
122
|
-
"internalType": "address",
|
123
|
-
"name": "registryAddress",
|
124
|
-
"type": "address"
|
125
|
-
}
|
126
|
-
],
|
127
|
-
"name": "ErrorNotRegistry",
|
128
|
-
"type": "error"
|
129
|
-
},
|
130
|
-
{
|
131
|
-
"inputs": [
|
132
|
-
{
|
133
|
-
"internalType": "address",
|
134
|
-
"name": "registryAddress",
|
135
|
-
"type": "address"
|
136
|
-
}
|
137
|
-
],
|
138
|
-
"name": "ErrorRegisterableNotRegistry",
|
139
|
-
"type": "error"
|
140
|
-
},
|
141
|
-
{
|
142
|
-
"inputs": [],
|
143
|
-
"name": "ErrorRegistryAddressZero",
|
144
|
-
"type": "error"
|
145
|
-
},
|
146
|
-
{
|
147
|
-
"inputs": [
|
148
|
-
{
|
149
|
-
"internalType": "address",
|
150
|
-
"name": "registry",
|
151
|
-
"type": "address"
|
152
|
-
}
|
153
|
-
],
|
154
|
-
"name": "ErrorRegistryAlreadyInitialized",
|
155
|
-
"type": "error"
|
156
|
-
},
|
157
|
-
{
|
158
|
-
"inputs": [],
|
159
|
-
"name": "ErrorRegistryNotInitialized",
|
160
|
-
"type": "error"
|
161
|
-
},
|
162
|
-
{
|
163
|
-
"inputs": [],
|
164
|
-
"name": "InvalidInitialization",
|
165
|
-
"type": "error"
|
166
|
-
},
|
167
|
-
{
|
168
|
-
"inputs": [],
|
169
|
-
"name": "NotInitializing",
|
170
|
-
"type": "error"
|
171
|
-
},
|
172
|
-
{
|
173
|
-
"anonymous": false,
|
174
|
-
"inputs": [
|
175
|
-
{
|
176
|
-
"indexed": false,
|
177
|
-
"internalType": "uint64",
|
178
|
-
"name": "version",
|
179
|
-
"type": "uint64"
|
180
|
-
}
|
181
|
-
],
|
182
|
-
"name": "Initialized",
|
183
|
-
"type": "event"
|
184
|
-
},
|
185
|
-
{
|
186
|
-
"anonymous": false,
|
187
|
-
"inputs": [
|
188
|
-
{
|
189
|
-
"indexed": false,
|
190
|
-
"internalType": "address",
|
191
|
-
"name": "sender",
|
192
|
-
"type": "address"
|
193
|
-
}
|
194
|
-
],
|
195
|
-
"name": "LogTestProductSender",
|
196
|
-
"type": "event"
|
197
|
-
},
|
198
|
-
{
|
199
|
-
"inputs": [],
|
200
|
-
"name": "DEFAULT_RISK_NAME",
|
201
|
-
"outputs": [
|
202
|
-
{
|
203
|
-
"internalType": "string",
|
204
|
-
"name": "",
|
205
|
-
"type": "string"
|
206
|
-
}
|
207
|
-
],
|
208
|
-
"stateMutability": "view",
|
209
|
-
"type": "function"
|
210
|
-
},
|
211
|
-
{
|
212
|
-
"inputs": [],
|
213
|
-
"name": "REGISTERABLE_LOCATION_V1",
|
214
|
-
"outputs": [
|
215
|
-
{
|
216
|
-
"internalType": "bytes32",
|
217
|
-
"name": "",
|
218
|
-
"type": "bytes32"
|
219
|
-
}
|
220
|
-
],
|
221
|
-
"stateMutability": "view",
|
222
|
-
"type": "function"
|
223
|
-
},
|
224
|
-
{
|
225
|
-
"inputs": [
|
226
|
-
{
|
227
|
-
"internalType": "uint256",
|
228
|
-
"name": "sumInsuredAmount",
|
229
|
-
"type": "uint256"
|
230
|
-
},
|
231
|
-
{
|
232
|
-
"internalType": "uint256",
|
233
|
-
"name": "lifetime",
|
234
|
-
"type": "uint256"
|
235
|
-
},
|
236
|
-
{
|
237
|
-
"internalType": "NftId",
|
238
|
-
"name": "bundleNftId",
|
239
|
-
"type": "uint96"
|
240
|
-
},
|
241
|
-
{
|
242
|
-
"internalType": "ReferralId",
|
243
|
-
"name": "referralId",
|
244
|
-
"type": "bytes8"
|
245
|
-
}
|
246
|
-
],
|
247
|
-
"name": "applyForPolicy",
|
248
|
-
"outputs": [
|
249
|
-
{
|
250
|
-
"internalType": "NftId",
|
251
|
-
"name": "nftId",
|
252
|
-
"type": "uint96"
|
253
|
-
}
|
254
|
-
],
|
255
|
-
"stateMutability": "nonpayable",
|
256
|
-
"type": "function"
|
257
|
-
},
|
258
|
-
{
|
259
|
-
"inputs": [
|
260
|
-
{
|
261
|
-
"internalType": "uint256",
|
262
|
-
"name": "sumInsuredAmount",
|
263
|
-
"type": "uint256"
|
264
|
-
},
|
265
|
-
{
|
266
|
-
"internalType": "RiskId",
|
267
|
-
"name": "riskId",
|
268
|
-
"type": "bytes8"
|
269
|
-
},
|
270
|
-
{
|
271
|
-
"internalType": "uint256",
|
272
|
-
"name": "lifetime",
|
273
|
-
"type": "uint256"
|
274
|
-
},
|
275
|
-
{
|
276
|
-
"internalType": "bytes",
|
277
|
-
"name": "applicationData",
|
278
|
-
"type": "bytes"
|
279
|
-
}
|
280
|
-
],
|
281
|
-
"name": "calculateNetPremium",
|
282
|
-
"outputs": [
|
283
|
-
{
|
284
|
-
"internalType": "uint256",
|
285
|
-
"name": "netPremiumAmount",
|
286
|
-
"type": "uint256"
|
287
|
-
}
|
288
|
-
],
|
289
|
-
"stateMutability": "view",
|
290
|
-
"type": "function"
|
291
|
-
},
|
292
|
-
{
|
293
|
-
"inputs": [
|
294
|
-
{
|
295
|
-
"internalType": "uint256",
|
296
|
-
"name": "sumInsuredAmount",
|
297
|
-
"type": "uint256"
|
298
|
-
},
|
299
|
-
{
|
300
|
-
"internalType": "RiskId",
|
301
|
-
"name": "riskId",
|
302
|
-
"type": "bytes8"
|
303
|
-
},
|
304
|
-
{
|
305
|
-
"internalType": "uint256",
|
306
|
-
"name": "lifetime",
|
307
|
-
"type": "uint256"
|
308
|
-
},
|
309
|
-
{
|
310
|
-
"internalType": "bytes",
|
311
|
-
"name": "applicationData",
|
312
|
-
"type": "bytes"
|
313
|
-
},
|
314
|
-
{
|
315
|
-
"internalType": "ReferralId",
|
316
|
-
"name": "referralId",
|
317
|
-
"type": "bytes8"
|
318
|
-
},
|
319
|
-
{
|
320
|
-
"internalType": "NftId",
|
321
|
-
"name": "bundleNftId",
|
322
|
-
"type": "uint96"
|
323
|
-
}
|
324
|
-
],
|
325
|
-
"name": "calculatePremium",
|
326
|
-
"outputs": [
|
327
|
-
{
|
328
|
-
"internalType": "uint256",
|
329
|
-
"name": "premiumAmount",
|
330
|
-
"type": "uint256"
|
331
|
-
}
|
332
|
-
],
|
333
|
-
"stateMutability": "view",
|
334
|
-
"type": "function"
|
335
|
-
},
|
336
|
-
{
|
337
|
-
"inputs": [
|
338
|
-
{
|
339
|
-
"internalType": "NftId",
|
340
|
-
"name": "nftId",
|
341
|
-
"type": "uint96"
|
342
|
-
},
|
343
|
-
{
|
344
|
-
"internalType": "Timestamp",
|
345
|
-
"name": "activateAt",
|
346
|
-
"type": "uint40"
|
347
|
-
}
|
348
|
-
],
|
349
|
-
"name": "collectPremium",
|
350
|
-
"outputs": [],
|
351
|
-
"stateMutability": "nonpayable",
|
352
|
-
"type": "function"
|
353
|
-
},
|
354
|
-
{
|
355
|
-
"inputs": [],
|
356
|
-
"name": "getDefaultRiskId",
|
357
|
-
"outputs": [
|
358
|
-
{
|
359
|
-
"internalType": "RiskId",
|
360
|
-
"name": "",
|
361
|
-
"type": "bytes8"
|
362
|
-
}
|
363
|
-
],
|
364
|
-
"stateMutability": "pure",
|
365
|
-
"type": "function"
|
366
|
-
},
|
367
|
-
{
|
368
|
-
"inputs": [],
|
369
|
-
"name": "getDistributionNftId",
|
370
|
-
"outputs": [
|
371
|
-
{
|
372
|
-
"internalType": "NftId",
|
373
|
-
"name": "distributionNftId",
|
374
|
-
"type": "uint96"
|
375
|
-
}
|
376
|
-
],
|
377
|
-
"stateMutability": "view",
|
378
|
-
"type": "function"
|
379
|
-
},
|
380
|
-
{
|
381
|
-
"inputs": [],
|
382
|
-
"name": "getInitialInfo",
|
383
|
-
"outputs": [
|
384
|
-
{
|
385
|
-
"components": [
|
386
|
-
{
|
387
|
-
"internalType": "NftId",
|
388
|
-
"name": "nftId",
|
389
|
-
"type": "uint96"
|
390
|
-
},
|
391
|
-
{
|
392
|
-
"internalType": "NftId",
|
393
|
-
"name": "parentNftId",
|
394
|
-
"type": "uint96"
|
395
|
-
},
|
396
|
-
{
|
397
|
-
"internalType": "ObjectType",
|
398
|
-
"name": "objectType",
|
399
|
-
"type": "uint8"
|
400
|
-
},
|
401
|
-
{
|
402
|
-
"internalType": "bool",
|
403
|
-
"name": "isInterceptor",
|
404
|
-
"type": "bool"
|
405
|
-
},
|
406
|
-
{
|
407
|
-
"internalType": "address",
|
408
|
-
"name": "objectAddress",
|
409
|
-
"type": "address"
|
410
|
-
},
|
411
|
-
{
|
412
|
-
"internalType": "address",
|
413
|
-
"name": "initialOwner",
|
414
|
-
"type": "address"
|
415
|
-
},
|
416
|
-
{
|
417
|
-
"internalType": "bytes",
|
418
|
-
"name": "data",
|
419
|
-
"type": "bytes"
|
420
|
-
}
|
421
|
-
],
|
422
|
-
"internalType": "struct IRegistry.ObjectInfo",
|
423
|
-
"name": "",
|
424
|
-
"type": "tuple"
|
425
|
-
},
|
426
|
-
{
|
427
|
-
"internalType": "bytes",
|
428
|
-
"name": "",
|
429
|
-
"type": "bytes"
|
430
|
-
}
|
431
|
-
],
|
432
|
-
"stateMutability": "view",
|
433
|
-
"type": "function"
|
434
|
-
},
|
435
|
-
{
|
436
|
-
"inputs": [],
|
437
|
-
"name": "getInstance",
|
438
|
-
"outputs": [
|
439
|
-
{
|
440
|
-
"internalType": "contract IInstance",
|
441
|
-
"name": "instance",
|
442
|
-
"type": "address"
|
443
|
-
}
|
444
|
-
],
|
445
|
-
"stateMutability": "view",
|
446
|
-
"type": "function"
|
447
|
-
},
|
448
|
-
{
|
449
|
-
"inputs": [],
|
450
|
-
"name": "getNftId",
|
451
|
-
"outputs": [
|
452
|
-
{
|
453
|
-
"internalType": "NftId",
|
454
|
-
"name": "",
|
455
|
-
"type": "uint96"
|
456
|
-
}
|
457
|
-
],
|
458
|
-
"stateMutability": "view",
|
459
|
-
"type": "function"
|
460
|
-
},
|
461
|
-
{
|
462
|
-
"inputs": [],
|
463
|
-
"name": "getOwner",
|
464
|
-
"outputs": [
|
465
|
-
{
|
466
|
-
"internalType": "address",
|
467
|
-
"name": "",
|
468
|
-
"type": "address"
|
469
|
-
}
|
470
|
-
],
|
471
|
-
"stateMutability": "view",
|
472
|
-
"type": "function"
|
473
|
-
},
|
474
|
-
{
|
475
|
-
"inputs": [],
|
476
|
-
"name": "getPoolNftId",
|
477
|
-
"outputs": [
|
478
|
-
{
|
479
|
-
"internalType": "NftId",
|
480
|
-
"name": "poolNftId",
|
481
|
-
"type": "uint96"
|
482
|
-
}
|
483
|
-
],
|
484
|
-
"stateMutability": "view",
|
485
|
-
"type": "function"
|
486
|
-
},
|
487
|
-
{
|
488
|
-
"inputs": [],
|
489
|
-
"name": "getProcessingFee",
|
490
|
-
"outputs": [
|
491
|
-
{
|
492
|
-
"components": [
|
493
|
-
{
|
494
|
-
"internalType": "UFixed",
|
495
|
-
"name": "fractionalFee",
|
496
|
-
"type": "uint256"
|
497
|
-
},
|
498
|
-
{
|
499
|
-
"internalType": "uint256",
|
500
|
-
"name": "fixedFee",
|
501
|
-
"type": "uint256"
|
502
|
-
}
|
503
|
-
],
|
504
|
-
"internalType": "struct Fee",
|
505
|
-
"name": "processingFee",
|
506
|
-
"type": "tuple"
|
507
|
-
}
|
508
|
-
],
|
509
|
-
"stateMutability": "view",
|
510
|
-
"type": "function"
|
511
|
-
},
|
512
|
-
{
|
513
|
-
"inputs": [],
|
514
|
-
"name": "getProductFee",
|
515
|
-
"outputs": [
|
516
|
-
{
|
517
|
-
"components": [
|
518
|
-
{
|
519
|
-
"internalType": "UFixed",
|
520
|
-
"name": "fractionalFee",
|
521
|
-
"type": "uint256"
|
522
|
-
},
|
523
|
-
{
|
524
|
-
"internalType": "uint256",
|
525
|
-
"name": "fixedFee",
|
526
|
-
"type": "uint256"
|
527
|
-
}
|
528
|
-
],
|
529
|
-
"internalType": "struct Fee",
|
530
|
-
"name": "productFee",
|
531
|
-
"type": "tuple"
|
532
|
-
}
|
533
|
-
],
|
534
|
-
"stateMutability": "view",
|
535
|
-
"type": "function"
|
536
|
-
},
|
537
|
-
{
|
538
|
-
"inputs": [],
|
539
|
-
"name": "getRegistry",
|
540
|
-
"outputs": [
|
541
|
-
{
|
542
|
-
"internalType": "contract IRegistry",
|
543
|
-
"name": "",
|
544
|
-
"type": "address"
|
545
|
-
}
|
546
|
-
],
|
547
|
-
"stateMutability": "view",
|
548
|
-
"type": "function"
|
549
|
-
},
|
550
|
-
{
|
551
|
-
"inputs": [],
|
552
|
-
"name": "getToken",
|
553
|
-
"outputs": [
|
554
|
-
{
|
555
|
-
"internalType": "contract IERC20Metadata",
|
556
|
-
"name": "token",
|
557
|
-
"type": "address"
|
558
|
-
}
|
559
|
-
],
|
560
|
-
"stateMutability": "view",
|
561
|
-
"type": "function"
|
562
|
-
},
|
563
|
-
{
|
564
|
-
"inputs": [],
|
565
|
-
"name": "getWallet",
|
566
|
-
"outputs": [
|
567
|
-
{
|
568
|
-
"internalType": "address",
|
569
|
-
"name": "walletAddress",
|
570
|
-
"type": "address"
|
571
|
-
}
|
572
|
-
],
|
573
|
-
"stateMutability": "view",
|
574
|
-
"type": "function"
|
575
|
-
},
|
576
|
-
{
|
577
|
-
"inputs": [],
|
578
|
-
"name": "linkToRegisteredNftId",
|
579
|
-
"outputs": [],
|
580
|
-
"stateMutability": "nonpayable",
|
581
|
-
"type": "function"
|
582
|
-
},
|
583
|
-
{
|
584
|
-
"inputs": [],
|
585
|
-
"name": "lock",
|
586
|
-
"outputs": [],
|
587
|
-
"stateMutability": "nonpayable",
|
588
|
-
"type": "function"
|
589
|
-
},
|
590
|
-
{
|
591
|
-
"inputs": [
|
592
|
-
{
|
593
|
-
"components": [
|
594
|
-
{
|
595
|
-
"internalType": "UFixed",
|
596
|
-
"name": "fractionalFee",
|
597
|
-
"type": "uint256"
|
598
|
-
},
|
599
|
-
{
|
600
|
-
"internalType": "uint256",
|
601
|
-
"name": "fixedFee",
|
602
|
-
"type": "uint256"
|
603
|
-
}
|
604
|
-
],
|
605
|
-
"internalType": "struct Fee",
|
606
|
-
"name": "productFee",
|
607
|
-
"type": "tuple"
|
608
|
-
},
|
609
|
-
{
|
610
|
-
"components": [
|
611
|
-
{
|
612
|
-
"internalType": "UFixed",
|
613
|
-
"name": "fractionalFee",
|
614
|
-
"type": "uint256"
|
615
|
-
},
|
616
|
-
{
|
617
|
-
"internalType": "uint256",
|
618
|
-
"name": "fixedFee",
|
619
|
-
"type": "uint256"
|
620
|
-
}
|
621
|
-
],
|
622
|
-
"internalType": "struct Fee",
|
623
|
-
"name": "processingFee",
|
624
|
-
"type": "tuple"
|
625
|
-
}
|
626
|
-
],
|
627
|
-
"name": "setFees",
|
628
|
-
"outputs": [],
|
629
|
-
"stateMutability": "nonpayable",
|
630
|
-
"type": "function"
|
631
|
-
},
|
632
|
-
{
|
633
|
-
"inputs": [
|
634
|
-
{
|
635
|
-
"internalType": "bytes4",
|
636
|
-
"name": "interfaceId",
|
637
|
-
"type": "bytes4"
|
638
|
-
}
|
639
|
-
],
|
640
|
-
"name": "supportsInterface",
|
641
|
-
"outputs": [
|
642
|
-
{
|
643
|
-
"internalType": "bool",
|
644
|
-
"name": "",
|
645
|
-
"type": "bool"
|
646
|
-
}
|
647
|
-
],
|
648
|
-
"stateMutability": "view",
|
649
|
-
"type": "function"
|
650
|
-
},
|
651
|
-
{
|
652
|
-
"inputs": [
|
653
|
-
{
|
654
|
-
"internalType": "NftId",
|
655
|
-
"name": "nftId",
|
656
|
-
"type": "uint96"
|
657
|
-
},
|
658
|
-
{
|
659
|
-
"internalType": "bool",
|
660
|
-
"name": "requirePremiumPayment",
|
661
|
-
"type": "bool"
|
662
|
-
},
|
663
|
-
{
|
664
|
-
"internalType": "Timestamp",
|
665
|
-
"name": "activateAt",
|
666
|
-
"type": "uint40"
|
667
|
-
}
|
668
|
-
],
|
669
|
-
"name": "underwrite",
|
670
|
-
"outputs": [],
|
671
|
-
"stateMutability": "nonpayable",
|
672
|
-
"type": "function"
|
673
|
-
},
|
674
|
-
{
|
675
|
-
"inputs": [],
|
676
|
-
"name": "unlock",
|
677
|
-
"outputs": [],
|
678
|
-
"stateMutability": "nonpayable",
|
679
|
-
"type": "function"
|
680
|
-
}
|
681
|
-
],
|
682
|
-
"bytecode": "0x60806040523480156200001157600080fd5b5060405162002b9538038062002b958339810160408190526200003491620008de565b888888888888888888888888606e6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff191660011790558985600280546001600160a01b03191633179055604080516020810190915260008152620000b18787868686866200055c565b6000620000c66001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000116573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000140919081019062000a48565b6080810151600780546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b8152630de7806f60e41b6004820152919250906301ffc9a790602401602060405180830381865afa158015620001a8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ce919062000b2e565b620001fa5760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b600760009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200024e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000274919062000b53565b600380546001600160a01b03199081166001600160a01b0393841617909155600580543090831617905560068054909116918816919091179055631b1599eb60e21b60009081526020527f82dc1aafdf8e16d475718790c9464a2912866acb395e292abd1ea37be80f5b28805460ff191660011790555050505050505050600760009054906101000a90046001600160a01b03166001600160a01b0316634288121d6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000346573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200036c919062000b53565b600880546001600160a01b03199081166001600160a01b0393841617909155600980548216888416179055600a80549091168683161790558351600b55602080850151600c558351600d55830151600e5560015416600954604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e90602401602060405180830381865afa1580156200040b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000431919062000b73565b600f80546001600160601b0319166001600160601b0392909216919091179055620004646001546001600160a01b031690565b600a54604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e90602401602060405180830381865afa158015620004ae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004d4919062000b73565b600f80546001600160601b03929092166c0100000000000000000000000002600160601b600160c01b03199092169190911790556379fc0e7160e11b60009081526020527fae37458bb8945ae7571d1722238fea83f3c5619cf829a972c67f136a0bac29d2805460ff1916600117905550505050505050505050505050505050505062000cec565b6200056882876200062d565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d010000000000000000000000000086151502178155905060018101620005e7838262000c20565b506303fb044760e21b60009081526020527fb43e4f3791bfcdefa3a0fbe2a5555f8d6490b90e01de0ff40c66f18b49b562c5805460ff1916600117905550505050505050565b600280546001600160a01b0319166001600160a01b038416179055620006538162000657565b5050565b6001546001600160a01b031615620006925760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401620001f1565b6001600160a01b038116620006ba5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003620006f25760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001f1565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632c1c764b60e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156200076f575060408051601f3d908101601f191682019092526200076c9181019062000b2e565b60015b620007995760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001f1565b80620006535760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620001f1565b50565b6001600160a01b0381168114620007c457600080fd5b8051620007ea81620007c7565b919050565b80516001600160601b0381168114620007ea57600080fd5b80518015158114620007ea57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171562000853576200085362000818565b60405290565b604051601f8201601f191681016001600160401b038111828210171562000884576200088462000818565b604052919050565b6000604082840312156200089f57600080fd5b604080519081016001600160401b0381118282101715620008c457620008c462000818565b604052825181526020928301519281019290925250919050565b60008060008060008060008060006101608a8c031215620008fe57600080fd5b89516200090b81620007c7565b98506200091b60208b01620007ef565b975060408a01516200092d81620007c7565b96506200093d60608b0162000807565b955060808a01516200094f81620007c7565b60a08b01519095506200096281620007c7565b9350620009738b60c08c016200088c565b9250620009858b6101008c016200088c565b91506101408a01516200099881620007c7565b809150509295985092959850929598565b805160ff81168114620007ea57600080fd5b600082601f830112620009cd57600080fd5b81516001600160401b03811115620009e957620009e962000818565b6020620009ff601f8301601f1916820162000859565b828152858284870101111562000a1457600080fd5b60005b8381101562000a3457858101830151828201840152820162000a17565b506000928101909101919091529392505050565b60006020828403121562000a5b57600080fd5b81516001600160401b038082111562000a7357600080fd5b9083019060e0828603121562000a8857600080fd5b62000a926200082e565b62000a9d83620007ef565b815262000aad60208401620007ef565b602082015262000ac060408401620009a9565b604082015262000ad36060840162000807565b606082015262000ae660808401620007dd565b608082015262000af960a08401620007dd565b60a082015260c08301518281111562000b1157600080fd5b62000b1f87828601620009bb565b60c08301525095945050505050565b60006020828403121562000b4157600080fd5b62000b4c8262000807565b9392505050565b60006020828403121562000b6657600080fd5b815162000b4c81620007c7565b60006020828403121562000b8657600080fd5b62000b4c82620007ef565b600181811c9082168062000ba657607f821691505b60208210810362000bc757634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000c1b57600081815260208120601f850160051c8101602086101562000bf65750805b601f850160051c820191505b8181101562000c175782815560010162000c02565b5050505b505050565b81516001600160401b0381111562000c3c5762000c3c62000818565b62000c548162000c4d845462000b91565b8462000bcd565b602080601f83116001811462000c8c576000841562000c735750858301515b600019600386901b1c1916600185901b17855562000c17565b600085815260208120601f198616915b8281101562000cbd5788860151825594840194600190910190840162000c9c565b508582101562000cdc5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611e998062000cfc6000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c8063630361f6116100c3578063b6b412ba1161007c578063b6b412ba1461033d578063bbfbbfba14610350578063daafed4014610363578063db6dcc951461036b578063de7b5d1414610373578063f83d08ba1461038457600080fd5b8063630361f6146102a9578063644c45e0146102bc578063893d20e8146102d4578063955fd782146102dc578063a69df4b5146102fd578063abd732ef1461030557600080fd5b80631bdd6b76116101155780631bdd6b761461021a5780631eff4b221461023a57806321df0da7146102615780633f28c2ec146102725780635ab1bd53146102855780635e78426b1461029657600080fd5b806301ffc9a71461015d5780630fec111c1461019f57806312abb9b3146101b557806313299604146101d65780631380bf23146101fb578063138461e014610210575b600080fd5b61018a61016b366004611335565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101a761038c565b6040516101969291906113b6565b6101c86101c33660046115b7565b6105b6565b604051908152602001610196565b6005546001600160a01b03165b6040516001600160a01b039091168152602001610196565b610203610642565b6040516101969190611640565b610218610783565b005b6102226109a5565b6040516001600160601b039091168152602001610196565b6101c87f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6006546001600160a01b03166101e3565b610222610280366004611657565b610a2c565b6001546001600160a01b03166101e3565b6101c86102a43660046116a1565b610aa2565b6102186102b736600461172c565b610ab8565b600154600160a01b90046001600160601b0316610222565b6101e3610afb565b6102e4610c14565b6040516001600160c01b03199091168152602001610196565b610218610c43565b6103306040518060400160405280600c81526020016b44454641554c545f5249534b60a01b81525081565b6040516101969190611773565b61021861034b3660046117b6565b610cf1565b61021861035e3660046117eb565b610da7565b610203610db5565b610222610ef6565b6007546001600160a01b03166101e3565b610218610f3b565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082018190529091806103d0610fb8565b91509150600080600960009054906101000a90046001600160a01b03166001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561042a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261045291908101906118ab565b9150915060008060008380602001905181019061046f91906119d4565b6040805161012081018252600f546001600160601b038082168352600160601b909104166020808301919091526006546001600160a01b03168284015282518084018452600b548152600c5481830152606083015282518084018452600d548152600e5491810191909152608082015260a0810185905260c0810184905260e081018390528151632bd182d360e01b81528251959b509399509197508d96509094506101008501935073__$a23651848365a6a5ca15f07b4331037f48$__92632bd182d39260048082019392918290030181865af4158015610555573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105799190611a79565b905260055460405161059892916001600160a01b031690602001611a95565b60405160208183030381529060405298509850505050505050509091565b600854604051639cdaa7f960e01b81526000916001600160a01b031690639cdaa7f9906105f19089908b908a908a9089908b90600401611b8b565b60a060405180830381865afa15801561060e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106329190611be2565b50929a9950505050505050505050565b6040805180820190915260008082526020820152600154600090600160a01b90046001600160601b031660075460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa1580156106be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e29190611c22565b156107675760075460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610739573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075d9190611c3f565b6060015191505090565b505060408051808201909152600b548152600c54602082015290565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108099190611c22565b15610850576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166108795760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156108c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e69190611c22565b61090e576040516372657a5160e01b81526001600160a01b0382166004820152602401610847565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610958573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097c9190611cfe565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60006109b96001546001600160a01b031690565b600954604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024015b602060405180830381865afa158015610a03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a279190611cfe565b905090565b600080610a37610c14565b604080516020810190915260008152600f5491925090600160c01b900460ff16610a8857610a74826040518060200160405280600081525061112c565b600f805460ff60c01b1916600160c01b1790555b610a9733838989858a8a611194565b979650505050505050565b6000610aaf600a86611d1b565b95945050505050565b6040513381527fb00037f8426b35b13d3428bd0d8bb6059e05f90d0da23ee636f827aee1718e489060200160405180910390a1610af6838383611220565b505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610b60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b849190611c22565b15610c0457600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610be0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a279190611d3d565b506002546001600160a01b031690565b6000610a276040518060400160405280600c81526020016b44454641554c545f5249534b60a01b81525061126e565b6000610c4d610afb565b90506001600160a01b03811615801590610c705750336001600160a01b03821614155b15610c905760405163700dd81160e01b8152336004820152602401610847565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610cd657600080fd5b505af1158015610cea573d6000803e3d6000fd5b5050505050565b6000610cfb610afb565b90506001600160a01b03811615801590610d1e5750336001600160a01b03821614155b15610d3e5760405163700dd81160e01b8152336004820152602401610847565b600854604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba90610d709086908690600401611d5a565b600060405180830381600087803b158015610d8a57600080fd5b505af1158015610d9e573d6000803e3d6000fd5b50505050505050565b610db182826112ef565b5050565b6040805180820190915260008082526020820152600154600090600160a01b90046001600160601b031660075460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610e31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e559190611c22565b15610eda5760075460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610eac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed09190611c3f565b6080015191505090565b505060408051808201909152600d548152600e54602082015290565b6000610f0a6001546001600160a01b031690565b600a54604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024016109e6565b6000610f45610afb565b90506001600160a01b03811615801590610f685750336001600160a01b03821614155b15610f885760405163700dd81160e01b8152336004820152602401610847565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610cbc565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528061102d600090565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001611075610afb565b6001600160a01b0316815260200182600101805461109290611d80565b80601f01602080910402602001604051908101604052809291908181526020018280546110be90611d80565b801561110b5780601f106110e05761010080835404028352916020019161110b565b820191906000526020600020905b8154815290600101906020018083116110ee57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6008546040516304af15b960e11b81526001600160a01b039091169063095e2b729061115e9085908590600401611dba565b600060405180830381600087803b15801561117857600080fd5b505af115801561118c573d6000803e3d6000fd5b505050505050565b60085460405163c2c7498760e01b81526000916001600160a01b03169063c2c74987906111d1908b908b908b908b908b908b908b90600401611de0565b6020604051808303816000875af11580156111f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112149190611cfe565b98975050505050505050565b600854604051633181b0fb60e11b81526001600160601b0385166004820152831515602482015264ffffffffff831660448201526001600160a01b039091169063630361f690606401610d70565b60405163253a42dd60e11b815260009073__$19a201e37be2e25dc57bd4aa563a0edb25$__90634a7485ba906112a8908590600401611773565b602060405180830381865af41580156112c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e99190611e46565b92915050565b600854604051635dfddfdd60e11b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b039091169063bbfbbfba9060440161115e565b60006020828403121561134757600080fd5b81356001600160e01b03198116811461135f57600080fd5b9392505050565b60005b83811015611381578181015183820152602001611369565b50506000910152565b600081518084526113a2816020860160208601611366565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff604085015116608083015260608401516113fa60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e061010084015261144061012084018261138a565b90508281036020840152610aaf818561138a565b6001600160c01b03198116811461146a57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156114a6576114a661146d565b60405290565b60405160e0810167ffffffffffffffff811182821017156114a6576114a661146d565b604051610120810167ffffffffffffffff811182821017156114a6576114a661146d565b604051601f8201601f1916810167ffffffffffffffff8111828210171561151c5761151c61146d565b604052919050565b600067ffffffffffffffff82111561153e5761153e61146d565b50601f01601f191660200190565b600082601f83011261155d57600080fd5b813561157061156b82611524565b6114f3565b81815284602083860101111561158557600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160601b038116811461146a57600080fd5b60008060008060008060c087890312156115d057600080fd5b8635955060208701356115e281611454565b945060408701359350606087013567ffffffffffffffff81111561160557600080fd5b61161189828a0161154c565b935050608087013561162281611454565b915060a0870135611632816115a2565b809150509295509295509295565b8151815260208083015190820152604081016112e9565b6000806000806080858703121561166d57600080fd5b84359350602085013592506040850135611686816115a2565b9150606085013561169681611454565b939692955090935050565b600080600080608085870312156116b757600080fd5b8435935060208501356116c981611454565b925060408501359150606085013567ffffffffffffffff8111156116ec57600080fd5b6116f88782880161154c565b91505092959194509250565b801515811461146a57600080fd5b803564ffffffffff8116811461172757600080fd5b919050565b60008060006060848603121561174157600080fd5b833561174c816115a2565b9250602084013561175c81611704565b915061176a60408501611712565b90509250925092565b60208152600061135f602083018461138a565b60006040828403121561179857600080fd5b6117a0611483565b9050813581526020820135602082015292915050565b600080608083850312156117c957600080fd5b6117d38484611786565b91506117e28460408501611786565b90509250929050565b600080604083850312156117fe57600080fd5b8235611809816115a2565b91506117e260208401611712565b8051611727816115a2565b805160ff8116811461172757600080fd5b805161172781611704565b6001600160a01b038116811461146a57600080fd5b80516117278161183e565b600082601f83011261186f57600080fd5b815161187d61156b82611524565b81815284602083860101111561189257600080fd5b6118a3826020830160208701611366565b949350505050565b600080604083850312156118be57600080fd5b825167ffffffffffffffff808211156118d657600080fd5b9084019060e082870312156118ea57600080fd5b6118f26114ac565b6118fb83611817565b815261190960208401611817565b602082015261191a60408401611822565b604082015261192b60608401611833565b606082015261193c60808401611853565b608082015261194d60a08401611853565b60a082015260c08301518281111561196457600080fd5b6119708882860161185e565b60c083015250602086015190945091508082111561198d57600080fd5b5061199a8582860161185e565b9150509250929050565b6000604082840312156119b657600080fd5b6119be611483565b9050815181526020820151602082015292915050565b6000806000806000808688036101408112156119ef57600080fd5b60408112156119fd57600080fd5b50611a06611483565b8751611a1181611704565b8152602088810151908201526040880151909650611a2e8161183e565b6060880151909550611a3f8161183e565b9350611a4e88608089016119a4565b9250611a5d8860c089016119a4565b9150611a6d8861010089016119a4565b90509295509295509295565b600060408284031215611a8b57600080fd5b61135f83836119a4565b82516001600160601b03168152602080840151610200830191611ac2908401826001600160601b03169052565b506040840151611add60408401826001600160a01b03169052565b506060840151611afa606084018280518252602090810151910152565b506080840151805160a0840152602081015160c08401525060a0840151805160e084015260208101516101008401525060c0840151805161012084015260208101516101408401525060e0840151805161016084015260208101516101808401525061010084015180516101a084015260208101516101c0840152506001600160a01b0383166101e083015261135f565b600067ffffffffffffffff60c01b808916835287602084015286604084015260c06060840152611bbe60c084018761138a565b6001600160601b039590951660808401529290921660a09091015250949350505050565b600080600080600060a08688031215611bfa57600080fd5b5050835160208501516040860151606087015160809097015192989197509594509092509050565b600060208284031215611c3457600080fd5b815161135f81611704565b60006101e08284031215611c5257600080fd5b611c5a6114cf565b611c6383611817565b8152611c7160208401611817565b6020820152611c8260408401611853565b6040820152611c9484606085016119a4565b6060820152611ca68460a085016119a4565b6080820152611cb88460e085016119a4565b60a0820152611ccb8461012085016119a4565b60c0820152611cde8461016085016119a4565b60e0820152611cf1846101a085016119a4565b6101008201529392505050565b600060208284031215611d1057600080fd5b815161135f816115a2565b600082611d3857634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611d4f57600080fd5b815161135f8161183e565b82518152602080840151818301528251604083015282015160608201526080810161135f565b600181811c90821680611d9457607f821691505b602082108103611db457634e487b7160e01b600052602260045260246000fd5b50919050565b67ffffffffffffffff60c01b831681526040602082015260006118a3604083018461138a565b60018060a01b0388168152600067ffffffffffffffff60c01b808916602084015287604084015286606084015260e06080840152611e2160e084018761138a565b6001600160601b039590951660a08401529290921660c0909101525095945050505050565b600060208284031215611e5857600080fd5b815161135f8161145456fea264697066735822122081715e91d38b66f26066a77527877fbb69d2966af180aa2feb13c82c617e05e364736f6c63430008140033",
|
683
|
-
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101585760003560e01c8063630361f6116100c3578063b6b412ba1161007c578063b6b412ba1461033d578063bbfbbfba14610350578063daafed4014610363578063db6dcc951461036b578063de7b5d1414610373578063f83d08ba1461038457600080fd5b8063630361f6146102a9578063644c45e0146102bc578063893d20e8146102d4578063955fd782146102dc578063a69df4b5146102fd578063abd732ef1461030557600080fd5b80631bdd6b76116101155780631bdd6b761461021a5780631eff4b221461023a57806321df0da7146102615780633f28c2ec146102725780635ab1bd53146102855780635e78426b1461029657600080fd5b806301ffc9a71461015d5780630fec111c1461019f57806312abb9b3146101b557806313299604146101d65780631380bf23146101fb578063138461e014610210575b600080fd5b61018a61016b366004611335565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101a761038c565b6040516101969291906113b6565b6101c86101c33660046115b7565b6105b6565b604051908152602001610196565b6005546001600160a01b03165b6040516001600160a01b039091168152602001610196565b610203610642565b6040516101969190611640565b610218610783565b005b6102226109a5565b6040516001600160601b039091168152602001610196565b6101c87f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6006546001600160a01b03166101e3565b610222610280366004611657565b610a2c565b6001546001600160a01b03166101e3565b6101c86102a43660046116a1565b610aa2565b6102186102b736600461172c565b610ab8565b600154600160a01b90046001600160601b0316610222565b6101e3610afb565b6102e4610c14565b6040516001600160c01b03199091168152602001610196565b610218610c43565b6103306040518060400160405280600c81526020016b44454641554c545f5249534b60a01b81525081565b6040516101969190611773565b61021861034b3660046117b6565b610cf1565b61021861035e3660046117eb565b610da7565b610203610db5565b610222610ef6565b6007546001600160a01b03166101e3565b610218610f3b565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082018190529091806103d0610fb8565b91509150600080600960009054906101000a90046001600160a01b03166001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561042a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261045291908101906118ab565b9150915060008060008380602001905181019061046f91906119d4565b6040805161012081018252600f546001600160601b038082168352600160601b909104166020808301919091526006546001600160a01b03168284015282518084018452600b548152600c5481830152606083015282518084018452600d548152600e5491810191909152608082015260a0810185905260c0810184905260e081018390528151632bd182d360e01b81528251959b509399509197508d96509094506101008501935073__$a23651848365a6a5ca15f07b4331037f48$__92632bd182d39260048082019392918290030181865af4158015610555573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105799190611a79565b905260055460405161059892916001600160a01b031690602001611a95565b60405160208183030381529060405298509850505050505050509091565b600854604051639cdaa7f960e01b81526000916001600160a01b031690639cdaa7f9906105f19089908b908a908a9089908b90600401611b8b565b60a060405180830381865afa15801561060e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106329190611be2565b50929a9950505050505050505050565b6040805180820190915260008082526020820152600154600090600160a01b90046001600160601b031660075460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa1580156106be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e29190611c22565b156107675760075460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610739573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075d9190611c3f565b6060015191505090565b505060408051808201909152600b548152600c54602082015290565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108099190611c22565b15610850576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166108795760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156108c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e69190611c22565b61090e576040516372657a5160e01b81526001600160a01b0382166004820152602401610847565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610958573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097c9190611cfe565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60006109b96001546001600160a01b031690565b600954604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024015b602060405180830381865afa158015610a03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a279190611cfe565b905090565b600080610a37610c14565b604080516020810190915260008152600f5491925090600160c01b900460ff16610a8857610a74826040518060200160405280600081525061112c565b600f805460ff60c01b1916600160c01b1790555b610a9733838989858a8a611194565b979650505050505050565b6000610aaf600a86611d1b565b95945050505050565b6040513381527fb00037f8426b35b13d3428bd0d8bb6059e05f90d0da23ee636f827aee1718e489060200160405180910390a1610af6838383611220565b505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610b60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b849190611c22565b15610c0457600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610be0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a279190611d3d565b506002546001600160a01b031690565b6000610a276040518060400160405280600c81526020016b44454641554c545f5249534b60a01b81525061126e565b6000610c4d610afb565b90506001600160a01b03811615801590610c705750336001600160a01b03821614155b15610c905760405163700dd81160e01b8152336004820152602401610847565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610cd657600080fd5b505af1158015610cea573d6000803e3d6000fd5b5050505050565b6000610cfb610afb565b90506001600160a01b03811615801590610d1e5750336001600160a01b03821614155b15610d3e5760405163700dd81160e01b8152336004820152602401610847565b600854604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba90610d709086908690600401611d5a565b600060405180830381600087803b158015610d8a57600080fd5b505af1158015610d9e573d6000803e3d6000fd5b50505050505050565b610db182826112ef565b5050565b6040805180820190915260008082526020820152600154600090600160a01b90046001600160601b031660075460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610e31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e559190611c22565b15610eda5760075460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610eac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed09190611c3f565b6080015191505090565b505060408051808201909152600d548152600e54602082015290565b6000610f0a6001546001600160a01b031690565b600a54604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024016109e6565b6000610f45610afb565b90506001600160a01b03811615801590610f685750336001600160a01b03821614155b15610f885760405163700dd81160e01b8152336004820152602401610847565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610cbc565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528061102d600090565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001611075610afb565b6001600160a01b0316815260200182600101805461109290611d80565b80601f01602080910402602001604051908101604052809291908181526020018280546110be90611d80565b801561110b5780601f106110e05761010080835404028352916020019161110b565b820191906000526020600020905b8154815290600101906020018083116110ee57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6008546040516304af15b960e11b81526001600160a01b039091169063095e2b729061115e9085908590600401611dba565b600060405180830381600087803b15801561117857600080fd5b505af115801561118c573d6000803e3d6000fd5b505050505050565b60085460405163c2c7498760e01b81526000916001600160a01b03169063c2c74987906111d1908b908b908b908b908b908b908b90600401611de0565b6020604051808303816000875af11580156111f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112149190611cfe565b98975050505050505050565b600854604051633181b0fb60e11b81526001600160601b0385166004820152831515602482015264ffffffffff831660448201526001600160a01b039091169063630361f690606401610d70565b60405163253a42dd60e11b815260009073__$19a201e37be2e25dc57bd4aa563a0edb25$__90634a7485ba906112a8908590600401611773565b602060405180830381865af41580156112c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e99190611e46565b92915050565b600854604051635dfddfdd60e11b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b039091169063bbfbbfba9060440161115e565b60006020828403121561134757600080fd5b81356001600160e01b03198116811461135f57600080fd5b9392505050565b60005b83811015611381578181015183820152602001611369565b50506000910152565b600081518084526113a2816020860160208601611366565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff604085015116608083015260608401516113fa60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e061010084015261144061012084018261138a565b90508281036020840152610aaf818561138a565b6001600160c01b03198116811461146a57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156114a6576114a661146d565b60405290565b60405160e0810167ffffffffffffffff811182821017156114a6576114a661146d565b604051610120810167ffffffffffffffff811182821017156114a6576114a661146d565b604051601f8201601f1916810167ffffffffffffffff8111828210171561151c5761151c61146d565b604052919050565b600067ffffffffffffffff82111561153e5761153e61146d565b50601f01601f191660200190565b600082601f83011261155d57600080fd5b813561157061156b82611524565b6114f3565b81815284602083860101111561158557600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160601b038116811461146a57600080fd5b60008060008060008060c087890312156115d057600080fd5b8635955060208701356115e281611454565b945060408701359350606087013567ffffffffffffffff81111561160557600080fd5b61161189828a0161154c565b935050608087013561162281611454565b915060a0870135611632816115a2565b809150509295509295509295565b8151815260208083015190820152604081016112e9565b6000806000806080858703121561166d57600080fd5b84359350602085013592506040850135611686816115a2565b9150606085013561169681611454565b939692955090935050565b600080600080608085870312156116b757600080fd5b8435935060208501356116c981611454565b925060408501359150606085013567ffffffffffffffff8111156116ec57600080fd5b6116f88782880161154c565b91505092959194509250565b801515811461146a57600080fd5b803564ffffffffff8116811461172757600080fd5b919050565b60008060006060848603121561174157600080fd5b833561174c816115a2565b9250602084013561175c81611704565b915061176a60408501611712565b90509250925092565b60208152600061135f602083018461138a565b60006040828403121561179857600080fd5b6117a0611483565b9050813581526020820135602082015292915050565b600080608083850312156117c957600080fd5b6117d38484611786565b91506117e28460408501611786565b90509250929050565b600080604083850312156117fe57600080fd5b8235611809816115a2565b91506117e260208401611712565b8051611727816115a2565b805160ff8116811461172757600080fd5b805161172781611704565b6001600160a01b038116811461146a57600080fd5b80516117278161183e565b600082601f83011261186f57600080fd5b815161187d61156b82611524565b81815284602083860101111561189257600080fd5b6118a3826020830160208701611366565b949350505050565b600080604083850312156118be57600080fd5b825167ffffffffffffffff808211156118d657600080fd5b9084019060e082870312156118ea57600080fd5b6118f26114ac565b6118fb83611817565b815261190960208401611817565b602082015261191a60408401611822565b604082015261192b60608401611833565b606082015261193c60808401611853565b608082015261194d60a08401611853565b60a082015260c08301518281111561196457600080fd5b6119708882860161185e565b60c083015250602086015190945091508082111561198d57600080fd5b5061199a8582860161185e565b9150509250929050565b6000604082840312156119b657600080fd5b6119be611483565b9050815181526020820151602082015292915050565b6000806000806000808688036101408112156119ef57600080fd5b60408112156119fd57600080fd5b50611a06611483565b8751611a1181611704565b8152602088810151908201526040880151909650611a2e8161183e565b6060880151909550611a3f8161183e565b9350611a4e88608089016119a4565b9250611a5d8860c089016119a4565b9150611a6d8861010089016119a4565b90509295509295509295565b600060408284031215611a8b57600080fd5b61135f83836119a4565b82516001600160601b03168152602080840151610200830191611ac2908401826001600160601b03169052565b506040840151611add60408401826001600160a01b03169052565b506060840151611afa606084018280518252602090810151910152565b506080840151805160a0840152602081015160c08401525060a0840151805160e084015260208101516101008401525060c0840151805161012084015260208101516101408401525060e0840151805161016084015260208101516101808401525061010084015180516101a084015260208101516101c0840152506001600160a01b0383166101e083015261135f565b600067ffffffffffffffff60c01b808916835287602084015286604084015260c06060840152611bbe60c084018761138a565b6001600160601b039590951660808401529290921660a09091015250949350505050565b600080600080600060a08688031215611bfa57600080fd5b5050835160208501516040860151606087015160809097015192989197509594509092509050565b600060208284031215611c3457600080fd5b815161135f81611704565b60006101e08284031215611c5257600080fd5b611c5a6114cf565b611c6383611817565b8152611c7160208401611817565b6020820152611c8260408401611853565b6040820152611c9484606085016119a4565b6060820152611ca68460a085016119a4565b6080820152611cb88460e085016119a4565b60a0820152611ccb8461012085016119a4565b60c0820152611cde8461016085016119a4565b60e0820152611cf1846101a085016119a4565b6101008201529392505050565b600060208284031215611d1057600080fd5b815161135f816115a2565b600082611d3857634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611d4f57600080fd5b815161135f8161183e565b82518152602080840151818301528251604083015282015160608201526080810161135f565b600181811c90821680611d9457607f821691505b602082108103611db457634e487b7160e01b600052602260045260246000fd5b50919050565b67ffffffffffffffff60c01b831681526040602082015260006118a3604083018461138a565b60018060a01b0388168152600067ffffffffffffffff60c01b808916602084015287604084015286606084015260e06080840152611e2160e084018761138a565b6001600160601b039590951660a08401529290921660c0909101525095945050505050565b600060208284031215611e5857600080fd5b815161135f8161145456fea264697066735822122081715e91d38b66f26066a77527877fbb69d2966af180aa2feb13c82c617e05e364736f6c63430008140033",
|
684
|
-
"linkReferences": {
|
685
|
-
"contracts/types/Fee.sol": {
|
686
|
-
"FeeLib": [
|
687
|
-
{
|
688
|
-
"length": 20,
|
689
|
-
"start": 4630
|
690
|
-
}
|
691
|
-
]
|
692
|
-
},
|
693
|
-
"contracts/types/NftId.sol": {
|
694
|
-
"NftIdLib": [
|
695
|
-
{
|
696
|
-
"length": 20,
|
697
|
-
"start": 5287
|
698
|
-
},
|
699
|
-
{
|
700
|
-
"length": 20,
|
701
|
-
"start": 6178
|
702
|
-
}
|
703
|
-
]
|
704
|
-
},
|
705
|
-
"contracts/types/RiskId.sol": {
|
706
|
-
"RiskIdLib": [
|
707
|
-
{
|
708
|
-
"length": 20,
|
709
|
-
"start": 8060
|
710
|
-
}
|
711
|
-
]
|
712
|
-
}
|
713
|
-
},
|
714
|
-
"deployedLinkReferences": {
|
715
|
-
"contracts/types/Fee.sol": {
|
716
|
-
"FeeLib": [
|
717
|
-
{
|
718
|
-
"length": 20,
|
719
|
-
"start": 1306
|
720
|
-
}
|
721
|
-
]
|
722
|
-
},
|
723
|
-
"contracts/types/NftId.sol": {
|
724
|
-
"NftIdLib": [
|
725
|
-
{
|
726
|
-
"length": 20,
|
727
|
-
"start": 1963
|
728
|
-
},
|
729
|
-
{
|
730
|
-
"length": 20,
|
731
|
-
"start": 2854
|
732
|
-
}
|
733
|
-
]
|
734
|
-
},
|
735
|
-
"contracts/types/RiskId.sol": {
|
736
|
-
"RiskIdLib": [
|
737
|
-
{
|
738
|
-
"length": 20,
|
739
|
-
"start": 4736
|
740
|
-
}
|
741
|
-
]
|
742
|
-
}
|
743
|
-
}
|
744
|
-
}
|