@etherisc/gif-next 0.0.2-d96b9e1-825 → 0.0.2-da0f894-204
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +327 -8
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/components/Component.sol/Component.json +774 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +1279 -0
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/{registry/IChainNft.sol/IChainNft.json → components/IComponent.sol/IComponent.json} +234 -239
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +829 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +804 -131
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +455 -62
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +1202 -138
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +881 -87
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +764 -0
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +185 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1595 -1039
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +509 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +2378 -1208
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +984 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1355 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1046 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +693 -0
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +552 -0
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +45 -127
- 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 +55 -245
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +6 -6
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +254 -0
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{access/IAccess.sol/IAccess.json → IDistribution.sol/IDistribution.json} +2 -2
- 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 +947 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +665 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1096 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +661 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +754 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1553 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +793 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +535 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +633 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +409 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +858 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +519 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +136 -165
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +139 -232
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1000 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +689 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +416 -160
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +649 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +401 -297
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +649 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +186 -12
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +466 -34
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +890 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +470 -103
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1177 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +670 -0
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -0
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
- package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/INftOwnable.sol/INftOwnable.json} +38 -74
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +100 -33
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
- package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → shared/IService.sol/IService.json} +121 -152
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +16 -125
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +251 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +582 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +256 -25
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → shared/Service.sol/Service.json} +220 -159
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +29 -115
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +10 -10
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +272 -26
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +44 -10
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +281 -139
- 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 +12 -12
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +38 -140
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
- package/artifacts/contracts/test/Usdc.sol/USDC.json +376 -0
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +2 -2
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +52 -13
- 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 +4 -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 +100 -0
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +156 -0
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
- package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +479 -0
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.json +40 -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 +221 -0
- package/contracts/components/Distribution.sol +293 -0
- package/contracts/components/IComponent.sol +68 -0
- package/contracts/components/IDistributionComponent.sol +79 -0
- package/contracts/components/IPoolComponent.sol +136 -42
- package/contracts/components/IProductComponent.sol +30 -9
- package/contracts/components/Pool.sol +310 -106
- package/contracts/components/Product.sol +214 -42
- package/contracts/instance/BundleManager.sol +125 -0
- package/contracts/instance/Cloneable.sol +46 -0
- package/contracts/instance/IInstance.sol +85 -45
- package/contracts/instance/IInstanceService.sol +59 -0
- package/contracts/instance/Instance.sol +276 -53
- package/contracts/instance/InstanceAccessManager.sol +297 -0
- package/contracts/instance/InstanceReader.sol +293 -0
- package/contracts/instance/InstanceService.sol +490 -0
- package/contracts/instance/InstanceServiceManager.sol +54 -0
- package/contracts/instance/ObjectManager.sol +84 -0
- package/contracts/instance/base/ComponentService.sol +134 -0
- package/contracts/instance/base/IKeyValueStore.sol +13 -13
- package/contracts/instance/base/ILifecycle.sol +3 -3
- package/contracts/instance/base/KeyValueStore.sol +61 -36
- package/contracts/instance/base/Lifecycle.sol +16 -11
- package/contracts/instance/module/IAccess.sol +47 -0
- package/contracts/instance/module/IBundle.sol +21 -0
- package/contracts/instance/module/IDistribution.sol +41 -0
- package/contracts/instance/module/IPolicy.sol +72 -0
- package/contracts/instance/module/IRisk.sol +11 -0
- package/contracts/instance/module/ISetup.sol +46 -0
- package/contracts/instance/module/ITreasury.sol +23 -0
- package/contracts/instance/service/ApplicationService.sol +346 -0
- package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
- package/contracts/instance/service/BundleService.sol +299 -0
- package/contracts/instance/service/BundleServiceManager.sol +51 -0
- package/contracts/instance/service/ClaimService.sol +151 -0
- package/contracts/instance/service/ClaimServiceManager.sol +35 -0
- package/contracts/instance/service/DistributionService.sol +394 -0
- package/contracts/instance/service/DistributionServiceManager.sol +51 -0
- package/contracts/instance/service/IApplicationService.sol +81 -0
- package/contracts/instance/service/IBundleService.sol +55 -0
- package/contracts/instance/service/IClaimService.sol +61 -0
- package/contracts/instance/service/IDistributionService.sol +86 -0
- package/contracts/instance/service/IPolicyService.sol +70 -0
- package/contracts/instance/service/IPoolService.sol +8 -18
- package/contracts/instance/service/IProductService.sol +21 -39
- package/contracts/instance/service/PolicyService.sol +404 -0
- package/contracts/instance/service/PolicyServiceManager.sol +54 -0
- package/contracts/instance/service/PoolService.sol +78 -92
- package/contracts/instance/service/PoolServiceManager.sol +51 -0
- package/contracts/instance/service/ProductService.sol +168 -289
- package/contracts/instance/service/ProductServiceManager.sol +54 -0
- package/contracts/registry/ChainNft.sol +79 -36
- package/contracts/registry/IRegistry.sol +66 -24
- package/contracts/registry/IRegistryService.sol +67 -0
- package/contracts/registry/ITransferInterceptor.sol +6 -0
- package/contracts/registry/Registry.sol +366 -283
- package/contracts/registry/RegistryAccessManager.sol +216 -0
- package/contracts/registry/RegistryService.sol +283 -0
- package/contracts/registry/RegistryServiceManager.sol +62 -0
- package/contracts/registry/ReleaseManager.sol +322 -0
- package/contracts/registry/TokenRegistry.sol +116 -0
- package/contracts/shared/ContractDeployerLib.sol +72 -0
- package/contracts/shared/ERC165.sol +14 -8
- package/contracts/shared/INftOwnable.sol +23 -0
- package/contracts/shared/IPolicyHolder.sol +26 -0
- package/contracts/shared/IRegisterable.sol +10 -19
- package/contracts/shared/IRegistryLinked.sol +12 -0
- package/contracts/shared/IService.sol +18 -0
- package/contracts/shared/IVersionable.sol +38 -37
- package/contracts/shared/NftOwnable.sol +120 -0
- package/contracts/shared/PolicyHolder.sol +81 -0
- package/contracts/shared/ProxyManager.sol +169 -0
- package/contracts/shared/Registerable.sol +54 -66
- package/contracts/shared/RegistryLinked.sol +48 -0
- package/contracts/shared/Service.sol +58 -0
- package/contracts/shared/TokenHandler.sol +27 -0
- package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
- package/contracts/shared/Versionable.sol +38 -68
- package/contracts/test/TestFee.sol +2 -2
- package/contracts/test/TestRegisterable.sol +5 -6
- package/contracts/test/TestRoleId.sol +2 -2
- package/contracts/test/TestService.sol +7 -14
- package/contracts/test/Usdc.sol +26 -0
- package/contracts/types/ClaimId.sol +52 -0
- package/contracts/types/DistributorType.sol +55 -0
- package/contracts/types/Fee.sol +10 -5
- package/contracts/types/Key32.sol +8 -3
- package/contracts/types/NftIdSet.sol +26 -24
- package/contracts/types/NumberId.sol +52 -0
- package/contracts/types/ObjectType.sol +55 -14
- package/contracts/types/PayoutId.sol +54 -0
- package/contracts/types/Referral.sol +85 -0
- package/contracts/types/RiskId.sol +43 -0
- package/contracts/types/RoleId.sol +70 -11
- package/contracts/types/Seconds.sol +54 -0
- package/contracts/types/StateId.sol +5 -1
- package/contracts/types/Timestamp.sol +16 -13
- package/contracts/types/UFixed.sol +144 -25
- package/contracts/types/Version.sol +13 -1
- package/package.json +9 -5
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
- package/artifacts/contracts/instance/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/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -63
- package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -300
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +0 -326
- 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 -296
- 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 -296
- package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
- package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -188
- 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 -188
- 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 -261
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -261
- 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 -149
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -149
- 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 -10
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -10
- 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 -533
- 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 -533
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -491
- 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/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
- package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
- package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
- package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
- package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -387
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -393
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -453
- package/contracts/components/BaseComponent.sol +0 -88
- 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/README.md +0 -112
- package/contracts/experiment/statemachine/SM.sol +0 -57
- package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
- package/contracts/experiment/types/TypeA.sol +0 -47
- package/contracts/experiment/types/TypeB.sol +0 -29
- package/contracts/instance/IInstanceLinked.sol +0 -8
- package/contracts/instance/base/ComponentServiceBase.sol +0 -42
- package/contracts/instance/base/IInstanceBase.sol +0 -14
- package/contracts/instance/base/IService.sol +0 -15
- package/contracts/instance/base/InstanceBase.sol +0 -80
- package/contracts/instance/base/ModuleBase.sol +0 -52
- package/contracts/instance/base/ServiceBase.sol +0 -37
- 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 -136
- package/contracts/instance/module/bundle/IBundle.sol +0 -58
- package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
- package/contracts/instance/module/compensation/ICompensation.sol +0 -10
- package/contracts/instance/module/component/ComponentModule.sol +0 -95
- package/contracts/instance/module/component/IComponent.sol +0 -53
- package/contracts/instance/module/policy/IPolicy.sol +0 -60
- package/contracts/instance/module/policy/PolicyModule.sol +0 -76
- package/contracts/instance/module/pool/IPoolModule.sol +0 -41
- package/contracts/instance/module/pool/PoolModule.sol +0 -87
- package/contracts/instance/module/risk/IRisk.sol +0 -10
- package/contracts/instance/module/risk/RiskModule.sol +0 -8
- package/contracts/instance/module/treasury/ITreasury.sol +0 -103
- package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
- package/contracts/instance/module/treasury/TreasuryModule.sol +0 -152
- package/contracts/instance/service/ComponentOwnerService.sol +0 -170
- package/contracts/instance/service/IComponentOwnerService.sol +0 -22
- package/contracts/registry/IChainNft.sol +0 -21
- package/contracts/registry/IRegistryLinked.sol +0 -8
- package/contracts/shared/IOwnable.sol +0 -6
- package/contracts/test/TestPool.sol +0 -22
- package/contracts/test/TestProduct.sol +0 -44
@@ -1,393 +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": "address",
|
25
|
-
"name": "pool",
|
26
|
-
"type": "address"
|
27
|
-
}
|
28
|
-
],
|
29
|
-
"stateMutability": "nonpayable",
|
30
|
-
"type": "constructor"
|
31
|
-
},
|
32
|
-
{
|
33
|
-
"anonymous": false,
|
34
|
-
"inputs": [
|
35
|
-
{
|
36
|
-
"indexed": false,
|
37
|
-
"internalType": "address",
|
38
|
-
"name": "sender",
|
39
|
-
"type": "address"
|
40
|
-
}
|
41
|
-
],
|
42
|
-
"name": "LogTestProductSender",
|
43
|
-
"type": "event"
|
44
|
-
},
|
45
|
-
{
|
46
|
-
"inputs": [
|
47
|
-
{
|
48
|
-
"internalType": "uint256",
|
49
|
-
"name": "sumInsuredAmount",
|
50
|
-
"type": "uint256"
|
51
|
-
},
|
52
|
-
{
|
53
|
-
"internalType": "uint256",
|
54
|
-
"name": "premiumAmount",
|
55
|
-
"type": "uint256"
|
56
|
-
},
|
57
|
-
{
|
58
|
-
"internalType": "uint256",
|
59
|
-
"name": "lifetime",
|
60
|
-
"type": "uint256"
|
61
|
-
},
|
62
|
-
{
|
63
|
-
"internalType": "NftId",
|
64
|
-
"name": "bundleNftId",
|
65
|
-
"type": "uint96"
|
66
|
-
}
|
67
|
-
],
|
68
|
-
"name": "applyForPolicy",
|
69
|
-
"outputs": [
|
70
|
-
{
|
71
|
-
"internalType": "NftId",
|
72
|
-
"name": "nftId",
|
73
|
-
"type": "uint96"
|
74
|
-
}
|
75
|
-
],
|
76
|
-
"stateMutability": "nonpayable",
|
77
|
-
"type": "function"
|
78
|
-
},
|
79
|
-
{
|
80
|
-
"inputs": [
|
81
|
-
{
|
82
|
-
"internalType": "NftId",
|
83
|
-
"name": "nftId",
|
84
|
-
"type": "uint96"
|
85
|
-
},
|
86
|
-
{
|
87
|
-
"internalType": "Timestamp",
|
88
|
-
"name": "activateAt",
|
89
|
-
"type": "uint40"
|
90
|
-
}
|
91
|
-
],
|
92
|
-
"name": "collectPremium",
|
93
|
-
"outputs": [],
|
94
|
-
"stateMutability": "nonpayable",
|
95
|
-
"type": "function"
|
96
|
-
},
|
97
|
-
{
|
98
|
-
"inputs": [],
|
99
|
-
"name": "getData",
|
100
|
-
"outputs": [
|
101
|
-
{
|
102
|
-
"internalType": "bytes",
|
103
|
-
"name": "data",
|
104
|
-
"type": "bytes"
|
105
|
-
}
|
106
|
-
],
|
107
|
-
"stateMutability": "view",
|
108
|
-
"type": "function"
|
109
|
-
},
|
110
|
-
{
|
111
|
-
"inputs": [],
|
112
|
-
"name": "getInstance",
|
113
|
-
"outputs": [
|
114
|
-
{
|
115
|
-
"internalType": "contract IInstance",
|
116
|
-
"name": "instance",
|
117
|
-
"type": "address"
|
118
|
-
}
|
119
|
-
],
|
120
|
-
"stateMutability": "view",
|
121
|
-
"type": "function"
|
122
|
-
},
|
123
|
-
{
|
124
|
-
"inputs": [],
|
125
|
-
"name": "getNftId",
|
126
|
-
"outputs": [
|
127
|
-
{
|
128
|
-
"internalType": "NftId",
|
129
|
-
"name": "nftId",
|
130
|
-
"type": "uint96"
|
131
|
-
}
|
132
|
-
],
|
133
|
-
"stateMutability": "view",
|
134
|
-
"type": "function"
|
135
|
-
},
|
136
|
-
{
|
137
|
-
"inputs": [],
|
138
|
-
"name": "getOwner",
|
139
|
-
"outputs": [
|
140
|
-
{
|
141
|
-
"internalType": "address",
|
142
|
-
"name": "owner",
|
143
|
-
"type": "address"
|
144
|
-
}
|
145
|
-
],
|
146
|
-
"stateMutability": "view",
|
147
|
-
"type": "function"
|
148
|
-
},
|
149
|
-
{
|
150
|
-
"inputs": [],
|
151
|
-
"name": "getParentNftId",
|
152
|
-
"outputs": [
|
153
|
-
{
|
154
|
-
"internalType": "NftId",
|
155
|
-
"name": "nftId",
|
156
|
-
"type": "uint96"
|
157
|
-
}
|
158
|
-
],
|
159
|
-
"stateMutability": "view",
|
160
|
-
"type": "function"
|
161
|
-
},
|
162
|
-
{
|
163
|
-
"inputs": [],
|
164
|
-
"name": "getPolicyFee",
|
165
|
-
"outputs": [
|
166
|
-
{
|
167
|
-
"components": [
|
168
|
-
{
|
169
|
-
"internalType": "UFixed",
|
170
|
-
"name": "fractionalFee",
|
171
|
-
"type": "uint256"
|
172
|
-
},
|
173
|
-
{
|
174
|
-
"internalType": "uint256",
|
175
|
-
"name": "fixedFee",
|
176
|
-
"type": "uint256"
|
177
|
-
}
|
178
|
-
],
|
179
|
-
"internalType": "struct Fee",
|
180
|
-
"name": "policyFee",
|
181
|
-
"type": "tuple"
|
182
|
-
}
|
183
|
-
],
|
184
|
-
"stateMutability": "view",
|
185
|
-
"type": "function"
|
186
|
-
},
|
187
|
-
{
|
188
|
-
"inputs": [],
|
189
|
-
"name": "getPoolNftId",
|
190
|
-
"outputs": [
|
191
|
-
{
|
192
|
-
"internalType": "NftId",
|
193
|
-
"name": "poolNftId",
|
194
|
-
"type": "uint96"
|
195
|
-
}
|
196
|
-
],
|
197
|
-
"stateMutability": "view",
|
198
|
-
"type": "function"
|
199
|
-
},
|
200
|
-
{
|
201
|
-
"inputs": [],
|
202
|
-
"name": "getProcessingFee",
|
203
|
-
"outputs": [
|
204
|
-
{
|
205
|
-
"components": [
|
206
|
-
{
|
207
|
-
"internalType": "UFixed",
|
208
|
-
"name": "fractionalFee",
|
209
|
-
"type": "uint256"
|
210
|
-
},
|
211
|
-
{
|
212
|
-
"internalType": "uint256",
|
213
|
-
"name": "fixedFee",
|
214
|
-
"type": "uint256"
|
215
|
-
}
|
216
|
-
],
|
217
|
-
"internalType": "struct Fee",
|
218
|
-
"name": "processingFee",
|
219
|
-
"type": "tuple"
|
220
|
-
}
|
221
|
-
],
|
222
|
-
"stateMutability": "view",
|
223
|
-
"type": "function"
|
224
|
-
},
|
225
|
-
{
|
226
|
-
"inputs": [],
|
227
|
-
"name": "getRegistry",
|
228
|
-
"outputs": [
|
229
|
-
{
|
230
|
-
"internalType": "contract IRegistry",
|
231
|
-
"name": "registry",
|
232
|
-
"type": "address"
|
233
|
-
}
|
234
|
-
],
|
235
|
-
"stateMutability": "view",
|
236
|
-
"type": "function"
|
237
|
-
},
|
238
|
-
{
|
239
|
-
"inputs": [],
|
240
|
-
"name": "getToken",
|
241
|
-
"outputs": [
|
242
|
-
{
|
243
|
-
"internalType": "contract IERC20Metadata",
|
244
|
-
"name": "token",
|
245
|
-
"type": "address"
|
246
|
-
}
|
247
|
-
],
|
248
|
-
"stateMutability": "view",
|
249
|
-
"type": "function"
|
250
|
-
},
|
251
|
-
{
|
252
|
-
"inputs": [],
|
253
|
-
"name": "getType",
|
254
|
-
"outputs": [
|
255
|
-
{
|
256
|
-
"internalType": "ObjectType",
|
257
|
-
"name": "",
|
258
|
-
"type": "uint8"
|
259
|
-
}
|
260
|
-
],
|
261
|
-
"stateMutability": "pure",
|
262
|
-
"type": "function"
|
263
|
-
},
|
264
|
-
{
|
265
|
-
"inputs": [],
|
266
|
-
"name": "getWallet",
|
267
|
-
"outputs": [
|
268
|
-
{
|
269
|
-
"internalType": "address",
|
270
|
-
"name": "walletAddress",
|
271
|
-
"type": "address"
|
272
|
-
}
|
273
|
-
],
|
274
|
-
"stateMutability": "view",
|
275
|
-
"type": "function"
|
276
|
-
},
|
277
|
-
{
|
278
|
-
"inputs": [],
|
279
|
-
"name": "lock",
|
280
|
-
"outputs": [],
|
281
|
-
"stateMutability": "nonpayable",
|
282
|
-
"type": "function"
|
283
|
-
},
|
284
|
-
{
|
285
|
-
"inputs": [],
|
286
|
-
"name": "register",
|
287
|
-
"outputs": [
|
288
|
-
{
|
289
|
-
"internalType": "NftId",
|
290
|
-
"name": "componentId",
|
291
|
-
"type": "uint96"
|
292
|
-
}
|
293
|
-
],
|
294
|
-
"stateMutability": "nonpayable",
|
295
|
-
"type": "function"
|
296
|
-
},
|
297
|
-
{
|
298
|
-
"inputs": [
|
299
|
-
{
|
300
|
-
"components": [
|
301
|
-
{
|
302
|
-
"internalType": "UFixed",
|
303
|
-
"name": "fractionalFee",
|
304
|
-
"type": "uint256"
|
305
|
-
},
|
306
|
-
{
|
307
|
-
"internalType": "uint256",
|
308
|
-
"name": "fixedFee",
|
309
|
-
"type": "uint256"
|
310
|
-
}
|
311
|
-
],
|
312
|
-
"internalType": "struct Fee",
|
313
|
-
"name": "policyFee",
|
314
|
-
"type": "tuple"
|
315
|
-
},
|
316
|
-
{
|
317
|
-
"components": [
|
318
|
-
{
|
319
|
-
"internalType": "UFixed",
|
320
|
-
"name": "fractionalFee",
|
321
|
-
"type": "uint256"
|
322
|
-
},
|
323
|
-
{
|
324
|
-
"internalType": "uint256",
|
325
|
-
"name": "fixedFee",
|
326
|
-
"type": "uint256"
|
327
|
-
}
|
328
|
-
],
|
329
|
-
"internalType": "struct Fee",
|
330
|
-
"name": "processingFee",
|
331
|
-
"type": "tuple"
|
332
|
-
}
|
333
|
-
],
|
334
|
-
"name": "setFees",
|
335
|
-
"outputs": [],
|
336
|
-
"stateMutability": "nonpayable",
|
337
|
-
"type": "function"
|
338
|
-
},
|
339
|
-
{
|
340
|
-
"inputs": [
|
341
|
-
{
|
342
|
-
"internalType": "bytes4",
|
343
|
-
"name": "interfaceId",
|
344
|
-
"type": "bytes4"
|
345
|
-
}
|
346
|
-
],
|
347
|
-
"name": "supportsInterface",
|
348
|
-
"outputs": [
|
349
|
-
{
|
350
|
-
"internalType": "bool",
|
351
|
-
"name": "",
|
352
|
-
"type": "bool"
|
353
|
-
}
|
354
|
-
],
|
355
|
-
"stateMutability": "view",
|
356
|
-
"type": "function"
|
357
|
-
},
|
358
|
-
{
|
359
|
-
"inputs": [
|
360
|
-
{
|
361
|
-
"internalType": "NftId",
|
362
|
-
"name": "nftId",
|
363
|
-
"type": "uint96"
|
364
|
-
},
|
365
|
-
{
|
366
|
-
"internalType": "bool",
|
367
|
-
"name": "requirePremiumPayment",
|
368
|
-
"type": "bool"
|
369
|
-
},
|
370
|
-
{
|
371
|
-
"internalType": "Timestamp",
|
372
|
-
"name": "activateAt",
|
373
|
-
"type": "uint40"
|
374
|
-
}
|
375
|
-
],
|
376
|
-
"name": "underwrite",
|
377
|
-
"outputs": [],
|
378
|
-
"stateMutability": "nonpayable",
|
379
|
-
"type": "function"
|
380
|
-
},
|
381
|
-
{
|
382
|
-
"inputs": [],
|
383
|
-
"name": "unlock",
|
384
|
-
"outputs": [],
|
385
|
-
"stateMutability": "nonpayable",
|
386
|
-
"type": "function"
|
387
|
-
}
|
388
|
-
],
|
389
|
-
"bytecode": "0x60e06040523480156200001157600080fd5b5060405162002ecc38038062002ecc8339818101604052810190620000379190620008c7565b838383838383838282620000717f01ffc9a7000000000000000000000000000000000000000000000000000000006200079960201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620000e3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000da906200099a565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff168152505060805173ffffffffffffffffffffffffffffffffffffffff166301ffc9a77f06ecd8ef000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b8152600401620001749190620009f9565b602060405180830381865afa15801562000192573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001b8919062000a53565b620001fa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001f19062000ad5565b60405180910390fd5b806bffffffffffffffffffffffff1660a0816bffffffffffffffffffffffff168152505060805173ffffffffffffffffffffffffffffffffffffffff1663e74d052f60a0516040518263ffffffff1660e01b81526004016200025d919062000b3a565b602060405180830381865afa1580156200027b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002a1919062000a53565b620002e3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002da9062000bcd565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff1681525050620003487f3bf74c8e000000000000000000000000000000000000000000000000000000006200079960201b60201c565b5050600060805173ffffffffffffffffffffffffffffffffffffffff1663a48f42e0846040518263ffffffff1660e01b815260040162000389919062000b3a565b600060405180830381865afa158015620003a7573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190620003d2919062000e86565b90508060600151600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166301ffc9a77f8de54b9b000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b8152600401620004969190620009f9565b602060405180830381865afa158015620004b4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004da919062000a53565b6200051c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005139062000f01565b60405180910390fd5b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200058a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005b0919062000f68565b600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555030600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634288121d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015620006e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200070a919062000fdf565b600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050505050505062001011565b6001600080837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620008468262000819565b9050919050565b620008588162000839565b81146200086457600080fd5b50565b60008151905062000878816200084d565b92915050565b60006bffffffffffffffffffffffff82169050919050565b620008a1816200087e565b8114620008ad57600080fd5b50565b600081519050620008c18162000896565b92915050565b60008060008060808587031215620008e457620008e36200080f565b5b6000620008f48782880162000867565b94505060206200090787828801620008b0565b93505060406200091a8782880162000867565b92505060606200092d8782880162000867565b91505092959194509250565b600082825260208201905092915050565b7f4552524f523a5247422d3031303a52454749535452595f5a45524f0000000000600082015250565b600062000982601b8362000939565b91506200098f826200094a565b602082019050919050565b60006020820190508181036000830152620009b58162000973565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b620009f381620009bc565b82525050565b600060208201905062000a106000830184620009e8565b92915050565b60008115159050919050565b62000a2d8162000a16565b811462000a3957600080fd5b50565b60008151905062000a4d8162000a22565b92915050565b60006020828403121562000a6c5762000a6b6200080f565b5b600062000a7c8482850162000a3c565b91505092915050565b7f4552524f523a5247422d3031313a4e4f545f5245474953545259000000000000600082015250565b600062000abd601a8362000939565b915062000aca8262000a85565b602082019050919050565b6000602082019050818103600083015262000af08162000aae565b9050919050565b6000819050919050565b600062000b2262000b1c62000b16846200087e565b62000af7565b6200087e565b9050919050565b62000b348162000b01565b82525050565b600060208201905062000b51600083018462000b29565b92915050565b7f4552524f523a5247422d3031323a504152454e545f4e4f545f5245474953544560008201527f5245440000000000000000000000000000000000000000000000000000000000602082015250565b600062000bb560238362000939565b915062000bc28262000b57565b604082019050919050565b6000602082019050818103600083015262000be88162000ba6565b9050919050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000c3f8262000bf4565b810181811067ffffffffffffffff8211171562000c615762000c6062000c05565b5b80604052505050565b600062000c7662000805565b905062000c84828262000c34565b919050565b600080fd5b600060ff82169050919050565b62000ca68162000c8e565b811462000cb257600080fd5b50565b60008151905062000cc68162000c9b565b92915050565b600080fd5b600080fd5b600067ffffffffffffffff82111562000cf45762000cf362000c05565b5b62000cff8262000bf4565b9050602081019050919050565b60005b8381101562000d2c57808201518184015260208101905062000d0f565b60008484015250505050565b600062000d4f62000d498462000cd6565b62000c6a565b90508281526020810184848401111562000d6e5762000d6d62000cd1565b5b62000d7b84828562000d0c565b509392505050565b600082601f83011262000d9b5762000d9a62000ccc565b5b815162000dad84826020860162000d38565b91505092915050565b600060c0828403121562000dcf5762000dce62000bef565b5b62000ddb60c062000c6a565b9050600062000ded84828501620008b0565b600083015250602062000e0384828501620008b0565b602083015250604062000e198482850162000cb5565b604083015250606062000e2f8482850162000867565b606083015250608062000e458482850162000867565b60808301525060a082015167ffffffffffffffff81111562000e6c5762000e6b62000c89565b5b62000e7a8482850162000d83565b60a08301525092915050565b60006020828403121562000e9f5762000e9e6200080f565b5b600082015167ffffffffffffffff81111562000ec05762000ebf62000814565b5b62000ece8482850162000db6565b91505092915050565b50565b600062000ee960008362000939565b915062000ef68262000ed7565b600082019050919050565b6000602082019050818103600083015262000f1c8162000eda565b9050919050565b600062000f308262000839565b9050919050565b62000f428162000f23565b811462000f4e57600080fd5b50565b60008151905062000f628162000f37565b92915050565b60006020828403121562000f815762000f806200080f565b5b600062000f918482850162000f51565b91505092915050565b600062000fa78262000839565b9050919050565b62000fb98162000f9a565b811462000fc557600080fd5b50565b60008151905062000fd98162000fae565b92915050565b60006020828403121562000ff85762000ff76200080f565b5b6000620010088482850162000fc8565b91505092915050565b60805160a05160c051611e616200106b60003960006109b6015260006107b40152600081816104b001528181610527015281816106c7015281816107f3015281816108620152818161090401526109df0152611e616000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c8063644c45e0116100ad578063bc74aab011610071578063bc74aab0146102eb578063daafed4014610309578063de7b5d1414610327578063f83d08ba14610345578063ff47c73b1461034f5761012c565b8063644c45e01461026d578063893d20e81461028b578063a69df4b5146102a9578063b6b412ba146102b3578063bbfbbfba146102cf5761012c565b806321df0da7116100f457806321df0da7146101d957806331b62a3b146101f75780633bc5de30146102155780635ab1bd5314610233578063630361f6146102515761012c565b806301ffc9a714610131578063132996041461016157806315dae03e1461017f5780631aa3a0081461019d5780631bdd6b76146101bb575b600080fd5b61014b600480360381019061014691906111ef565b61037f565b6040516101589190611237565b60405180910390f35b6101696103e6565b6040516101769190611293565b60405180910390f35b610187610410565b60405161019491906112f6565b60405180910390f35b6101a561041f565b6040516101b2919061135a565b60405180910390f35b6101c36106c3565b6040516101d0919061135a565b60405180910390f35b6101e1610786565b6040516101ee91906113ca565b60405180910390f35b6101ff6107b0565b60405161020c919061135a565b60405180910390f35b61021d6107d8565b60405161022a9190611475565b60405180910390f35b61023b6107ef565b60405161024891906114b8565b60405180910390f35b61026b60048036038101906102669190611568565b610817565b005b61027561085e565b604051610282919061135a565b60405180910390f35b6102936108ff565b6040516102a09190611293565b60405180910390f35b6102b1610a7e565b005b6102cd60048036038101906102c891906116ed565b610b82565b005b6102e960048036038101906102e4919061172d565b610c8a565b005b6102f3610c98565b60405161030091906117dc565b60405180910390f35b610311610d4d565b60405161031e91906117dc565b60405180910390f35b61032f610e02565b60405161033c9190611818565b60405180910390f35b61034d610e2c565b005b61036960048036038101906103649190611833565b610f30565b604051610376919061135a565b60405180910390f35b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600061041a610f49565b905090565b60006104296108ff565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610496576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161048d906118d1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1603610525576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161051c9061193d565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663c3c5a547600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b81526004016105a09190611293565b602060405180830381865afa1580156105bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e19190611972565b610620576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161061790611a11565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b815260040161067b9190611a52565b6020604051808303816000875af115801561069a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106be9190611a82565b905090565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d272ac1e600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b81526004016107409190611293565b602060405180830381865afa15801561075d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107819190611a82565b905090565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b606060405180602001604052806000815250905090565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b7fb00037f8426b35b13d3428bd0d8bb6059e05f90d0da23ee636f827aee1718e48336040516108469190611293565b60405180910390a1610859838383610f5a565b505050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b81526004016108b99190611293565b602060405180830381865afa1580156108d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108fa9190611a82565b905090565b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b815260040161095b9190611293565b602060405180830381865afa158015610978573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099c9190611a82565b90506109af816109aa610ff0565b610ff5565b156109dd577f0000000000000000000000000000000000000000000000000000000000000000915050610a7b565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663df33330b826040518263ffffffff1660e01b8152600401610a36919061135a565b602060405180830381865afa158015610a53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a779190611adb565b9150505b90565b610a866108ff565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610af3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aea90611b54565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f6c493c306040518263ffffffff1660e01b8152600401610b4e9190611a52565b600060405180830381600087803b158015610b6857600080fd5b505af1158015610b7c573d6000803e3d6000fd5b50505050565b610b8a6108ff565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610bf7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bee90611b54565b60405180910390fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b6b412ba83836040518363ffffffff1660e01b8152600401610c54929190611b74565b600060405180830381600087803b158015610c6e57600080fd5b505af1158015610c82573d6000803e3d6000fd5b505050505050565b610c94828261101e565b5050565b610ca061116e565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634fd077f5610ce661085e565b6040518263ffffffff1660e01b8152600401610d02919061135a565b61012060405180830381865afa158015610d20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d449190611d0a565b60a00151905090565b610d5561116e565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634fd077f5610d9b61085e565b6040518263ffffffff1660e01b8152600401610db7919061135a565b61012060405180830381865afa158015610dd5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df99190611d0a565b60c00151905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610e346108ff565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ea1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9890611b54565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f435f5a7306040518263ffffffff1660e01b8152600401610efc9190611a52565b600060405180830381600087803b158015610f1657600080fd5b505af1158015610f2a573d6000803e3d6000fd5b50505050565b6000610f3f33868686866110b1565b9050949350505050565b6000610f556064611164565b905090565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663630361f68484846040518463ffffffff1660e01b8152600401610fb993929190611d69565b600060405180830381600087803b158015610fd357600080fd5b505af1158015610fe7573d6000803e3d6000fd5b50505050505050565b600090565b6000816bffffffffffffffffffffffff16836bffffffffffffffffffffffff1614905092915050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bbfbbfba83836040518363ffffffff1660e01b815260040161107b929190611da0565b600060405180830381600087803b15801561109557600080fd5b505af11580156110a9573d6000803e3d6000fd5b505050505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b18ebd3c87878787876040518663ffffffff1660e01b8152600401611116959493929190611dd8565b6020604051808303816000875af1158015611135573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111599190611a82565b905095945050505050565b6000819050919050565b604051806040016040528060008152602001600081525090565b6000604051905090565b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6111cc81611197565b81146111d757600080fd5b50565b6000813590506111e9816111c3565b92915050565b60006020828403121561120557611204611192565b5b6000611213848285016111da565b91505092915050565b60008115159050919050565b6112318161121c565b82525050565b600060208201905061124c6000830184611228565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061127d82611252565b9050919050565b61128d81611272565b82525050565b60006020820190506112a86000830184611284565b92915050565b600060ff82169050919050565b6000819050919050565b60006112e06112db6112d6846112ae565b6112bb565b6112ae565b9050919050565b6112f0816112c5565b82525050565b600060208201905061130b60008301846112e7565b92915050565b60006bffffffffffffffffffffffff82169050919050565b600061134461133f61133a84611311565b6112bb565b611311565b9050919050565b61135481611329565b82525050565b600060208201905061136f600083018461134b565b92915050565b600061139061138b61138684611252565b6112bb565b611252565b9050919050565b60006113a282611375565b9050919050565b60006113b482611397565b9050919050565b6113c4816113a9565b82525050565b60006020820190506113df60008301846113bb565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561141f578082015181840152602081019050611404565b60008484015250505050565b6000601f19601f8301169050919050565b6000611447826113e5565b61145181856113f0565b9350611461818560208601611401565b61146a8161142b565b840191505092915050565b6000602082019050818103600083015261148f818461143c565b905092915050565b60006114a282611397565b9050919050565b6114b281611497565b82525050565b60006020820190506114cd60008301846114a9565b92915050565b6114dc81611311565b81146114e757600080fd5b50565b6000813590506114f9816114d3565b92915050565b6115088161121c565b811461151357600080fd5b50565b600081359050611525816114ff565b92915050565b600064ffffffffff82169050919050565b6115458161152b565b811461155057600080fd5b50565b6000813590506115628161153c565b92915050565b60008060006060848603121561158157611580611192565b5b600061158f868287016114ea565b93505060206115a086828701611516565b92505060406115b186828701611553565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6115f88261142b565b810181811067ffffffffffffffff82111715611617576116166115c0565b5b80604052505050565b600061162a611188565b905061163682826115ef565b919050565b6000819050919050565b61164e8161163b565b811461165957600080fd5b50565b60008135905061166b81611645565b92915050565b61167a8161163b565b811461168557600080fd5b50565b60008135905061169781611671565b92915050565b6000604082840312156116b3576116b26115bb565b5b6116bd6040611620565b905060006116cd8482850161165c565b60008301525060206116e184828501611688565b60208301525092915050565b6000806080838503121561170457611703611192565b5b60006117128582860161169d565b92505060406117238582860161169d565b9150509250929050565b6000806040838503121561174457611743611192565b5b6000611752858286016114ea565b925050602061176385828601611553565b9150509250929050565b600061178861178361177e8461163b565b6112bb565b61163b565b9050919050565b6117988161176d565b82525050565b6117a78161163b565b82525050565b6040820160008201516117c3600085018261178f565b5060208201516117d6602085018261179e565b50505050565b60006040820190506117f160008301846117ad565b92915050565b600061180282611397565b9050919050565b611812816117f7565b82525050565b600060208201905061182d6000830184611809565b92915050565b6000806000806080858703121561184d5761184c611192565b5b600061185b87828801611688565b945050602061186c87828801611688565b935050604061187d87828801611688565b925050606061188e878288016114ea565b91505092959194509250565b600082825260208201905092915050565b50565b60006118bb60008361189a565b91506118c6826118ab565b600082019050919050565b600060208201905081810360008301526118ea816118ae565b9050919050565b7f4552524f523a434f422d3030313a52454749535452595f5a45524f0000000000600082015250565b6000611927601b8361189a565b9150611932826118f1565b602082019050919050565b600060208201905081810360008301526119568161191a565b9050919050565b60008151905061196c816114ff565b92915050565b60006020828403121561198857611987611192565b5b60006119968482850161195d565b91505092915050565b7f4552524f523a434f423a494e5354414e43455f4e4f545f52454749535445524560008201527f4400000000000000000000000000000000000000000000000000000000000000602082015250565b60006119fb60218361189a565b9150611a068261199f565b604082019050919050565b60006020820190508181036000830152611a2a816119ee565b9050919050565b6000611a3c82611397565b9050919050565b611a4c81611a31565b82525050565b6000602082019050611a676000830184611a43565b92915050565b600081519050611a7c816114d3565b92915050565b600060208284031215611a9857611a97611192565b5b6000611aa684828501611a6d565b91505092915050565b611ab881611272565b8114611ac357600080fd5b50565b600081519050611ad581611aaf565b92915050565b600060208284031215611af157611af0611192565b5b6000611aff84828501611ac6565b91505092915050565b7f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000600082015250565b6000611b3e60178361189a565b9150611b4982611b08565b602082019050919050565b60006020820190508181036000830152611b6d81611b31565b9050919050565b6000608082019050611b8960008301856117ad565b611b9660408301846117ad565b9392505050565b6000611ba882611272565b9050919050565b611bb881611b9d565b8114611bc357600080fd5b50565b600081519050611bd581611baf565b92915050565b600081519050611bea81611645565b92915050565b600081519050611bff81611671565b92915050565b600060408284031215611c1b57611c1a6115bb565b5b611c256040611620565b90506000611c3584828501611bdb565b6000830152506020611c4984828501611bf0565b60208301525092915050565b60006101208284031215611c6c57611c6b6115bb565b5b611c7660e0611620565b90506000611c8684828501611a6d565b6000830152506020611c9a84828501611a6d565b6020830152506040611cae84828501611a6d565b6040830152506060611cc284828501611bc6565b6060830152506080611cd684828501611ac6565b60808301525060a0611cea84828501611c05565b60a08301525060e0611cfe84828501611c05565b60c08301525092915050565b60006101208284031215611d2157611d20611192565b5b6000611d2f84828501611c55565b91505092915050565b6000611d53611d4e611d498461152b565b6112bb565b61152b565b9050919050565b611d6381611d38565b82525050565b6000606082019050611d7e600083018661134b565b611d8b6020830185611228565b611d986040830184611d5a565b949350505050565b6000604082019050611db5600083018561134b565b611dc26020830184611d5a565b9392505050565b611dd28161163b565b82525050565b600060a082019050611ded6000830188611284565b611dfa6020830187611dc9565b611e076040830186611dc9565b611e146060830185611dc9565b611e21608083018461134b565b969550505050505056fea26469706673582212204e7df5bf944b0ad7b27316380f5c8a3584332f8cdace8ccf4ab2869b56ece97864736f6c63430008140033",
|
390
|
-
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061012c5760003560e01c8063644c45e0116100ad578063bc74aab011610071578063bc74aab0146102eb578063daafed4014610309578063de7b5d1414610327578063f83d08ba14610345578063ff47c73b1461034f5761012c565b8063644c45e01461026d578063893d20e81461028b578063a69df4b5146102a9578063b6b412ba146102b3578063bbfbbfba146102cf5761012c565b806321df0da7116100f457806321df0da7146101d957806331b62a3b146101f75780633bc5de30146102155780635ab1bd5314610233578063630361f6146102515761012c565b806301ffc9a714610131578063132996041461016157806315dae03e1461017f5780631aa3a0081461019d5780631bdd6b76146101bb575b600080fd5b61014b600480360381019061014691906111ef565b61037f565b6040516101589190611237565b60405180910390f35b6101696103e6565b6040516101769190611293565b60405180910390f35b610187610410565b60405161019491906112f6565b60405180910390f35b6101a561041f565b6040516101b2919061135a565b60405180910390f35b6101c36106c3565b6040516101d0919061135a565b60405180910390f35b6101e1610786565b6040516101ee91906113ca565b60405180910390f35b6101ff6107b0565b60405161020c919061135a565b60405180910390f35b61021d6107d8565b60405161022a9190611475565b60405180910390f35b61023b6107ef565b60405161024891906114b8565b60405180910390f35b61026b60048036038101906102669190611568565b610817565b005b61027561085e565b604051610282919061135a565b60405180910390f35b6102936108ff565b6040516102a09190611293565b60405180910390f35b6102b1610a7e565b005b6102cd60048036038101906102c891906116ed565b610b82565b005b6102e960048036038101906102e4919061172d565b610c8a565b005b6102f3610c98565b60405161030091906117dc565b60405180910390f35b610311610d4d565b60405161031e91906117dc565b60405180910390f35b61032f610e02565b60405161033c9190611818565b60405180910390f35b61034d610e2c565b005b61036960048036038101906103649190611833565b610f30565b604051610376919061135a565b60405180910390f35b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600061041a610f49565b905090565b60006104296108ff565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610496576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161048d906118d1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1603610525576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161051c9061193d565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663c3c5a547600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b81526004016105a09190611293565b602060405180830381865afa1580156105bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e19190611972565b610620576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161061790611a11565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b815260040161067b9190611a52565b6020604051808303816000875af115801561069a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106be9190611a82565b905090565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d272ac1e600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b81526004016107409190611293565b602060405180830381865afa15801561075d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107819190611a82565b905090565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b606060405180602001604052806000815250905090565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b7fb00037f8426b35b13d3428bd0d8bb6059e05f90d0da23ee636f827aee1718e48336040516108469190611293565b60405180910390a1610859838383610f5a565b505050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b81526004016108b99190611293565b602060405180830381865afa1580156108d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108fa9190611a82565b905090565b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b815260040161095b9190611293565b602060405180830381865afa158015610978573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099c9190611a82565b90506109af816109aa610ff0565b610ff5565b156109dd577f0000000000000000000000000000000000000000000000000000000000000000915050610a7b565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663df33330b826040518263ffffffff1660e01b8152600401610a36919061135a565b602060405180830381865afa158015610a53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a779190611adb565b9150505b90565b610a866108ff565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610af3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aea90611b54565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f6c493c306040518263ffffffff1660e01b8152600401610b4e9190611a52565b600060405180830381600087803b158015610b6857600080fd5b505af1158015610b7c573d6000803e3d6000fd5b50505050565b610b8a6108ff565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610bf7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bee90611b54565b60405180910390fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b6b412ba83836040518363ffffffff1660e01b8152600401610c54929190611b74565b600060405180830381600087803b158015610c6e57600080fd5b505af1158015610c82573d6000803e3d6000fd5b505050505050565b610c94828261101e565b5050565b610ca061116e565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634fd077f5610ce661085e565b6040518263ffffffff1660e01b8152600401610d02919061135a565b61012060405180830381865afa158015610d20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d449190611d0a565b60a00151905090565b610d5561116e565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634fd077f5610d9b61085e565b6040518263ffffffff1660e01b8152600401610db7919061135a565b61012060405180830381865afa158015610dd5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df99190611d0a565b60c00151905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610e346108ff565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ea1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9890611b54565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f435f5a7306040518263ffffffff1660e01b8152600401610efc9190611a52565b600060405180830381600087803b158015610f1657600080fd5b505af1158015610f2a573d6000803e3d6000fd5b50505050565b6000610f3f33868686866110b1565b9050949350505050565b6000610f556064611164565b905090565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663630361f68484846040518463ffffffff1660e01b8152600401610fb993929190611d69565b600060405180830381600087803b158015610fd357600080fd5b505af1158015610fe7573d6000803e3d6000fd5b50505050505050565b600090565b6000816bffffffffffffffffffffffff16836bffffffffffffffffffffffff1614905092915050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bbfbbfba83836040518363ffffffff1660e01b815260040161107b929190611da0565b600060405180830381600087803b15801561109557600080fd5b505af11580156110a9573d6000803e3d6000fd5b505050505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b18ebd3c87878787876040518663ffffffff1660e01b8152600401611116959493929190611dd8565b6020604051808303816000875af1158015611135573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111599190611a82565b905095945050505050565b6000819050919050565b604051806040016040528060008152602001600081525090565b6000604051905090565b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6111cc81611197565b81146111d757600080fd5b50565b6000813590506111e9816111c3565b92915050565b60006020828403121561120557611204611192565b5b6000611213848285016111da565b91505092915050565b60008115159050919050565b6112318161121c565b82525050565b600060208201905061124c6000830184611228565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061127d82611252565b9050919050565b61128d81611272565b82525050565b60006020820190506112a86000830184611284565b92915050565b600060ff82169050919050565b6000819050919050565b60006112e06112db6112d6846112ae565b6112bb565b6112ae565b9050919050565b6112f0816112c5565b82525050565b600060208201905061130b60008301846112e7565b92915050565b60006bffffffffffffffffffffffff82169050919050565b600061134461133f61133a84611311565b6112bb565b611311565b9050919050565b61135481611329565b82525050565b600060208201905061136f600083018461134b565b92915050565b600061139061138b61138684611252565b6112bb565b611252565b9050919050565b60006113a282611375565b9050919050565b60006113b482611397565b9050919050565b6113c4816113a9565b82525050565b60006020820190506113df60008301846113bb565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561141f578082015181840152602081019050611404565b60008484015250505050565b6000601f19601f8301169050919050565b6000611447826113e5565b61145181856113f0565b9350611461818560208601611401565b61146a8161142b565b840191505092915050565b6000602082019050818103600083015261148f818461143c565b905092915050565b60006114a282611397565b9050919050565b6114b281611497565b82525050565b60006020820190506114cd60008301846114a9565b92915050565b6114dc81611311565b81146114e757600080fd5b50565b6000813590506114f9816114d3565b92915050565b6115088161121c565b811461151357600080fd5b50565b600081359050611525816114ff565b92915050565b600064ffffffffff82169050919050565b6115458161152b565b811461155057600080fd5b50565b6000813590506115628161153c565b92915050565b60008060006060848603121561158157611580611192565b5b600061158f868287016114ea565b93505060206115a086828701611516565b92505060406115b186828701611553565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6115f88261142b565b810181811067ffffffffffffffff82111715611617576116166115c0565b5b80604052505050565b600061162a611188565b905061163682826115ef565b919050565b6000819050919050565b61164e8161163b565b811461165957600080fd5b50565b60008135905061166b81611645565b92915050565b61167a8161163b565b811461168557600080fd5b50565b60008135905061169781611671565b92915050565b6000604082840312156116b3576116b26115bb565b5b6116bd6040611620565b905060006116cd8482850161165c565b60008301525060206116e184828501611688565b60208301525092915050565b6000806080838503121561170457611703611192565b5b60006117128582860161169d565b92505060406117238582860161169d565b9150509250929050565b6000806040838503121561174457611743611192565b5b6000611752858286016114ea565b925050602061176385828601611553565b9150509250929050565b600061178861178361177e8461163b565b6112bb565b61163b565b9050919050565b6117988161176d565b82525050565b6117a78161163b565b82525050565b6040820160008201516117c3600085018261178f565b5060208201516117d6602085018261179e565b50505050565b60006040820190506117f160008301846117ad565b92915050565b600061180282611397565b9050919050565b611812816117f7565b82525050565b600060208201905061182d6000830184611809565b92915050565b6000806000806080858703121561184d5761184c611192565b5b600061185b87828801611688565b945050602061186c87828801611688565b935050604061187d87828801611688565b925050606061188e878288016114ea565b91505092959194509250565b600082825260208201905092915050565b50565b60006118bb60008361189a565b91506118c6826118ab565b600082019050919050565b600060208201905081810360008301526118ea816118ae565b9050919050565b7f4552524f523a434f422d3030313a52454749535452595f5a45524f0000000000600082015250565b6000611927601b8361189a565b9150611932826118f1565b602082019050919050565b600060208201905081810360008301526119568161191a565b9050919050565b60008151905061196c816114ff565b92915050565b60006020828403121561198857611987611192565b5b60006119968482850161195d565b91505092915050565b7f4552524f523a434f423a494e5354414e43455f4e4f545f52454749535445524560008201527f4400000000000000000000000000000000000000000000000000000000000000602082015250565b60006119fb60218361189a565b9150611a068261199f565b604082019050919050565b60006020820190508181036000830152611a2a816119ee565b9050919050565b6000611a3c82611397565b9050919050565b611a4c81611a31565b82525050565b6000602082019050611a676000830184611a43565b92915050565b600081519050611a7c816114d3565b92915050565b600060208284031215611a9857611a97611192565b5b6000611aa684828501611a6d565b91505092915050565b611ab881611272565b8114611ac357600080fd5b50565b600081519050611ad581611aaf565b92915050565b600060208284031215611af157611af0611192565b5b6000611aff84828501611ac6565b91505092915050565b7f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000600082015250565b6000611b3e60178361189a565b9150611b4982611b08565b602082019050919050565b60006020820190508181036000830152611b6d81611b31565b9050919050565b6000608082019050611b8960008301856117ad565b611b9660408301846117ad565b9392505050565b6000611ba882611272565b9050919050565b611bb881611b9d565b8114611bc357600080fd5b50565b600081519050611bd581611baf565b92915050565b600081519050611bea81611645565b92915050565b600081519050611bff81611671565b92915050565b600060408284031215611c1b57611c1a6115bb565b5b611c256040611620565b90506000611c3584828501611bdb565b6000830152506020611c4984828501611bf0565b60208301525092915050565b60006101208284031215611c6c57611c6b6115bb565b5b611c7660e0611620565b90506000611c8684828501611a6d565b6000830152506020611c9a84828501611a6d565b6020830152506040611cae84828501611a6d565b6040830152506060611cc284828501611bc6565b6060830152506080611cd684828501611ac6565b60808301525060a0611cea84828501611c05565b60a08301525060e0611cfe84828501611c05565b60c08301525092915050565b60006101208284031215611d2157611d20611192565b5b6000611d2f84828501611c55565b91505092915050565b6000611d53611d4e611d498461152b565b6112bb565b61152b565b9050919050565b611d6381611d38565b82525050565b6000606082019050611d7e600083018661134b565b611d8b6020830185611228565b611d986040830184611d5a565b949350505050565b6000604082019050611db5600083018561134b565b611dc26020830184611d5a565b9392505050565b611dd28161163b565b82525050565b600060a082019050611ded6000830188611284565b611dfa6020830187611dc9565b611e076040830186611dc9565b611e146060830185611dc9565b611e21608083018461134b565b969550505050505056fea26469706673582212204e7df5bf944b0ad7b27316380f5c8a3584332f8cdace8ccf4ab2869b56ece97864736f6c63430008140033",
|
391
|
-
"linkReferences": {},
|
392
|
-
"deployedLinkReferences": {}
|
393
|
-
}
|