@etherisc/gif-next 0.0.2-d408403-475 → 0.0.2-d48ae55-246
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +303 -27
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/components/Component.sol/Component.json +897 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +1142 -114
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/{registry/IChainNft.sol/IChainNft.json → components/IComponent.sol/IComponent.json} +292 -224
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +639 -29
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +526 -119
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +512 -69
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +1033 -245
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +975 -129
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +4 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +66 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +4 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +24 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +4 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +42 -0
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +2 -2
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
- 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 +1430 -1050
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +674 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +2060 -1122
- 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 +1386 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1260 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +610 -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 +754 -0
- 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 +37 -245
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +2 -2
- 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/{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 +1117 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1318 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +586 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +896 -116
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +614 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +638 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +798 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +372 -41
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +784 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +188 -116
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +185 -266
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1378 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +642 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +532 -118
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +574 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +490 -341
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +574 -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 +1055 -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 +1407 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +601 -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 +531 -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} +62 -72
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/{instance/module/component/IComponent.sol/IComponentModule.json → shared/IPolicyHolder.sol/IPolicyHolder.json} +69 -57
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +125 -32
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +69 -0
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → shared/IService.sol/IService.json} +181 -111
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -14
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +303 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +269 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +499 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +318 -24
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +105 -0
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
- package/artifacts/contracts/shared/Service.sol/Service.json +627 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -14
- 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 +333 -24
- 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 +436 -56
- 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 +103 -23
- 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/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- 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 +4 -4
- 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 +2 -2
- 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/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 +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/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 +15 -2
- 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/{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 +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 +236 -0
- package/contracts/components/Distribution.sol +230 -46
- package/contracts/components/IComponent.sol +50 -0
- package/contracts/components/IDistributionComponent.sol +58 -6
- package/contracts/components/IPoolComponent.sol +55 -39
- package/contracts/components/IProductComponent.sol +10 -9
- package/contracts/components/Pool.sol +170 -151
- package/contracts/components/Product.sol +118 -67
- package/contracts/experiment/cloning/Cloner.sol +47 -0
- package/contracts/instance/BundleManager.sol +125 -0
- package/contracts/instance/Cloneable.sol +46 -0
- package/contracts/instance/IInstance.sol +78 -45
- package/contracts/instance/IInstanceService.sol +59 -0
- package/contracts/instance/Instance.sol +266 -59
- package/contracts/instance/InstanceAccessManager.sol +297 -0
- package/contracts/instance/InstanceReader.sol +293 -0
- package/contracts/instance/InstanceService.sol +442 -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 -14
- package/contracts/instance/base/ILifecycle.sol +3 -3
- package/contracts/instance/base/KeyValueStore.sol +49 -38
- package/contracts/instance/base/Lifecycle.sol +1 -1
- package/contracts/instance/module/IAccess.sol +47 -0
- package/contracts/instance/module/IBundle.sol +20 -0
- package/contracts/instance/module/IDistribution.sol +39 -0
- package/contracts/instance/module/IPolicy.sol +45 -0
- package/contracts/instance/module/IRisk.sol +11 -0
- package/contracts/instance/module/ISetup.sol +47 -0
- package/contracts/instance/module/ITreasury.sol +23 -0
- package/contracts/instance/service/ApplicationService.sol +268 -0
- package/contracts/instance/service/BundleService.sol +298 -0
- package/contracts/instance/service/BundleServiceManager.sol +51 -0
- package/contracts/instance/service/DistributionService.sol +257 -25
- package/contracts/instance/service/DistributionServiceManager.sol +51 -0
- package/contracts/instance/service/IApplicationService.sol +82 -0
- package/contracts/instance/service/IBundleService.sol +54 -0
- package/contracts/instance/service/IDistributionService.sol +54 -1
- package/contracts/instance/service/IPolicyService.sol +88 -0
- package/contracts/instance/service/IPoolService.sol +7 -24
- package/contracts/instance/service/IProductService.sol +9 -76
- package/contracts/instance/service/PolicyService.sol +524 -0
- package/contracts/instance/service/PolicyServiceManager.sol +54 -0
- package/contracts/instance/service/PoolService.sol +76 -116
- package/contracts/instance/service/PoolServiceManager.sol +51 -0
- package/contracts/instance/service/ProductService.sol +158 -434
- 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 -284
- package/contracts/registry/RegistryAccessManager.sol +216 -0
- package/contracts/registry/RegistryService.sol +277 -0
- package/contracts/registry/RegistryServiceManager.sol +62 -0
- package/contracts/registry/ReleaseManager.sol +331 -0
- package/contracts/registry/TokenRegistry.sol +113 -0
- package/contracts/shared/ContractDeployerLib.sol +72 -0
- package/contracts/shared/ERC165.sol +13 -8
- package/contracts/shared/INftOwnable.sol +28 -0
- package/contracts/shared/IPolicyHolder.sol +26 -0
- package/contracts/shared/IRegisterable.sol +10 -19
- package/contracts/shared/IRegistryLinked.sol +15 -0
- package/contracts/shared/IService.sol +16 -0
- package/contracts/shared/IVersionable.sol +55 -11
- package/contracts/shared/NftOwnable.sol +190 -0
- package/contracts/shared/PolicyHolder.sol +81 -0
- package/contracts/shared/ProxyManager.sol +95 -0
- package/contracts/shared/Registerable.sol +58 -63
- package/contracts/shared/RegistryLinked.sol +64 -0
- package/contracts/shared/Service.sol +60 -0
- package/contracts/shared/TokenHandler.sol +27 -0
- package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
- package/contracts/shared/Versionable.sol +113 -54
- package/contracts/test/TestFee.sol +2 -2
- package/contracts/test/TestRegisterable.sol +5 -6
- package/contracts/test/TestRoleId.sol +1 -1
- package/contracts/test/TestService.sol +7 -14
- package/contracts/types/DistributorType.sol +55 -0
- package/contracts/types/Fee.sol +3 -3
- 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 +40 -15
- package/contracts/types/Referral.sol +85 -0
- package/contracts/types/RoleId.sol +61 -9
- package/contracts/types/StateId.sol +5 -1
- package/contracts/types/Timestamp.sol +7 -3
- package/contracts/types/UFixed.sol +128 -12
- package/contracts/types/Version.sol +13 -1
- package/package.json +6 -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/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 -113
- 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 -376
- 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/base/ServiceBase.sol/ServiceBase.json +0 -300
- 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/IAccess.json +0 -10
- 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/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 -284
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -284
- 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 -144
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -144
- 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 -511
- 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 -511
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -531
- 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/TestDistribution.sol/TestDistribution.dbg.json +0 -4
- package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +0 -405
- package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
- package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -578
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -575
- 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 -94
- package/contracts/components/IBaseComponent.sol +0 -19
- package/contracts/experiment/statemachine/README.md +0 -112
- package/contracts/instance/IInstanceLinked.sol +0 -8
- package/contracts/instance/base/ComponentServiceBase.sol +0 -42
- package/contracts/instance/base/IInstanceBase.sol +0 -22
- package/contracts/instance/base/IService.sol +0 -15
- package/contracts/instance/base/InstanceBase.sol +0 -91
- package/contracts/instance/base/ModuleBase.sol +0 -57
- 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 -134
- package/contracts/instance/module/bundle/IBundle.sol +0 -53
- package/contracts/instance/module/component/ComponentModule.sol +0 -70
- 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 -40
- package/contracts/instance/module/pool/PoolModule.sol +0 -90
- 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 -82
- package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
- package/contracts/instance/module/treasury/TreasuryModule.sol +0 -138
- package/contracts/instance/service/ComponentOwnerService.sol +0 -157
- 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/TestDistribution.sol +0 -21
- package/contracts/test/TestPool.sol +0 -25
- package/contracts/test/TestProduct.sol +0 -72
- package/contracts/types/ReferralId.sol +0 -48
@@ -3,232 +3,1022 @@
|
|
3
3
|
"contractName": "Pool",
|
4
4
|
"sourceName": "contracts/components/Pool.sol",
|
5
5
|
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "authority",
|
11
|
+
"type": "address"
|
12
|
+
}
|
13
|
+
],
|
14
|
+
"name": "AccessManagedInvalidAuthority",
|
15
|
+
"type": "error"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"inputs": [
|
19
|
+
{
|
20
|
+
"internalType": "address",
|
21
|
+
"name": "caller",
|
22
|
+
"type": "address"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"internalType": "uint32",
|
26
|
+
"name": "delay",
|
27
|
+
"type": "uint32"
|
28
|
+
}
|
29
|
+
],
|
30
|
+
"name": "AccessManagedRequiredDelay",
|
31
|
+
"type": "error"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"inputs": [
|
35
|
+
{
|
36
|
+
"internalType": "address",
|
37
|
+
"name": "caller",
|
38
|
+
"type": "address"
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"name": "AccessManagedUnauthorized",
|
42
|
+
"type": "error"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"inputs": [
|
46
|
+
{
|
47
|
+
"internalType": "address",
|
48
|
+
"name": "target",
|
49
|
+
"type": "address"
|
50
|
+
}
|
51
|
+
],
|
52
|
+
"name": "AddressEmptyCode",
|
53
|
+
"type": "error"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"inputs": [
|
57
|
+
{
|
58
|
+
"internalType": "address",
|
59
|
+
"name": "account",
|
60
|
+
"type": "address"
|
61
|
+
}
|
62
|
+
],
|
63
|
+
"name": "AddressInsufficientBalance",
|
64
|
+
"type": "error"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"inputs": [
|
68
|
+
{
|
69
|
+
"internalType": "address",
|
70
|
+
"name": "registry",
|
71
|
+
"type": "address"
|
72
|
+
},
|
73
|
+
{
|
74
|
+
"internalType": "NftId",
|
75
|
+
"name": "nftId",
|
76
|
+
"type": "uint96"
|
77
|
+
}
|
78
|
+
],
|
79
|
+
"name": "ErrorAlreadyLinked",
|
80
|
+
"type": "error"
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"inputs": [
|
84
|
+
{
|
85
|
+
"internalType": "address",
|
86
|
+
"name": "caller",
|
87
|
+
"type": "address"
|
88
|
+
}
|
89
|
+
],
|
90
|
+
"name": "ErrorComponentNotChainNft",
|
91
|
+
"type": "error"
|
92
|
+
},
|
93
|
+
{
|
94
|
+
"inputs": [
|
95
|
+
{
|
96
|
+
"internalType": "NftId",
|
97
|
+
"name": "instanceNftId",
|
98
|
+
"type": "uint96"
|
99
|
+
},
|
100
|
+
{
|
101
|
+
"internalType": "address",
|
102
|
+
"name": "instance",
|
103
|
+
"type": "address"
|
104
|
+
}
|
105
|
+
],
|
106
|
+
"name": "ErrorComponentNotInstance",
|
107
|
+
"type": "error"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"inputs": [
|
111
|
+
{
|
112
|
+
"internalType": "address",
|
113
|
+
"name": "caller",
|
114
|
+
"type": "address"
|
115
|
+
}
|
116
|
+
],
|
117
|
+
"name": "ErrorComponentNotProductService",
|
118
|
+
"type": "error"
|
119
|
+
},
|
120
|
+
{
|
121
|
+
"inputs": [],
|
122
|
+
"name": "ErrorComponentProductNftAlreadySet",
|
123
|
+
"type": "error"
|
124
|
+
},
|
125
|
+
{
|
126
|
+
"inputs": [
|
127
|
+
{
|
128
|
+
"internalType": "address",
|
129
|
+
"name": "caller",
|
130
|
+
"type": "address"
|
131
|
+
},
|
132
|
+
{
|
133
|
+
"internalType": "uint64",
|
134
|
+
"name": "requiredRoleIdNum",
|
135
|
+
"type": "uint64"
|
136
|
+
}
|
137
|
+
],
|
138
|
+
"name": "ErrorComponentUnauthorized",
|
139
|
+
"type": "error"
|
140
|
+
},
|
141
|
+
{
|
142
|
+
"inputs": [
|
143
|
+
{
|
144
|
+
"internalType": "address",
|
145
|
+
"name": "newWallet",
|
146
|
+
"type": "address"
|
147
|
+
}
|
148
|
+
],
|
149
|
+
"name": "ErrorComponentWalletAddressIsSameAsCurrent",
|
150
|
+
"type": "error"
|
151
|
+
},
|
152
|
+
{
|
153
|
+
"inputs": [],
|
154
|
+
"name": "ErrorComponentWalletAddressZero",
|
155
|
+
"type": "error"
|
156
|
+
},
|
157
|
+
{
|
158
|
+
"inputs": [
|
159
|
+
{
|
160
|
+
"internalType": "address",
|
161
|
+
"name": "oldWallet",
|
162
|
+
"type": "address"
|
163
|
+
},
|
164
|
+
{
|
165
|
+
"internalType": "address",
|
166
|
+
"name": "newWallet",
|
167
|
+
"type": "address"
|
168
|
+
},
|
169
|
+
{
|
170
|
+
"internalType": "uint256",
|
171
|
+
"name": "allowance",
|
172
|
+
"type": "uint256"
|
173
|
+
},
|
174
|
+
{
|
175
|
+
"internalType": "uint256",
|
176
|
+
"name": "balance",
|
177
|
+
"type": "uint256"
|
178
|
+
}
|
179
|
+
],
|
180
|
+
"name": "ErrorComponentWalletAllowanceTooSmall",
|
181
|
+
"type": "error"
|
182
|
+
},
|
183
|
+
{
|
184
|
+
"inputs": [
|
185
|
+
{
|
186
|
+
"internalType": "address",
|
187
|
+
"name": "contractAddress",
|
188
|
+
"type": "address"
|
189
|
+
}
|
190
|
+
],
|
191
|
+
"name": "ErrorContractNotRegistered",
|
192
|
+
"type": "error"
|
193
|
+
},
|
194
|
+
{
|
195
|
+
"inputs": [],
|
196
|
+
"name": "ErrorInitialOwnerZero",
|
197
|
+
"type": "error"
|
198
|
+
},
|
199
|
+
{
|
200
|
+
"inputs": [
|
201
|
+
{
|
202
|
+
"internalType": "address",
|
203
|
+
"name": "account",
|
204
|
+
"type": "address"
|
205
|
+
}
|
206
|
+
],
|
207
|
+
"name": "ErrorNotOwner",
|
208
|
+
"type": "error"
|
209
|
+
},
|
210
|
+
{
|
211
|
+
"inputs": [
|
212
|
+
{
|
213
|
+
"internalType": "address",
|
214
|
+
"name": "registryAddress",
|
215
|
+
"type": "address"
|
216
|
+
}
|
217
|
+
],
|
218
|
+
"name": "ErrorNotRegistry",
|
219
|
+
"type": "error"
|
220
|
+
},
|
221
|
+
{
|
222
|
+
"inputs": [
|
223
|
+
{
|
224
|
+
"internalType": "address",
|
225
|
+
"name": "service",
|
226
|
+
"type": "address"
|
227
|
+
}
|
228
|
+
],
|
229
|
+
"name": "ErrorPoolNotPoolService",
|
230
|
+
"type": "error"
|
231
|
+
},
|
232
|
+
{
|
233
|
+
"inputs": [
|
234
|
+
{
|
235
|
+
"internalType": "address",
|
236
|
+
"name": "registryAddress",
|
237
|
+
"type": "address"
|
238
|
+
}
|
239
|
+
],
|
240
|
+
"name": "ErrorRegisterableNotRegistry",
|
241
|
+
"type": "error"
|
242
|
+
},
|
243
|
+
{
|
244
|
+
"inputs": [],
|
245
|
+
"name": "ErrorRegistryAddressZero",
|
246
|
+
"type": "error"
|
247
|
+
},
|
6
248
|
{
|
7
249
|
"inputs": [
|
8
250
|
{
|
9
251
|
"internalType": "address",
|
10
252
|
"name": "registry",
|
11
253
|
"type": "address"
|
254
|
+
}
|
255
|
+
],
|
256
|
+
"name": "ErrorRegistryAlreadyInitialized",
|
257
|
+
"type": "error"
|
258
|
+
},
|
259
|
+
{
|
260
|
+
"inputs": [],
|
261
|
+
"name": "ErrorRegistryNotInitialized",
|
262
|
+
"type": "error"
|
263
|
+
},
|
264
|
+
{
|
265
|
+
"inputs": [],
|
266
|
+
"name": "FailedInnerCall",
|
267
|
+
"type": "error"
|
268
|
+
},
|
269
|
+
{
|
270
|
+
"inputs": [],
|
271
|
+
"name": "InvalidInitialization",
|
272
|
+
"type": "error"
|
273
|
+
},
|
274
|
+
{
|
275
|
+
"inputs": [],
|
276
|
+
"name": "NotInitializing",
|
277
|
+
"type": "error"
|
278
|
+
},
|
279
|
+
{
|
280
|
+
"inputs": [
|
281
|
+
{
|
282
|
+
"internalType": "address",
|
283
|
+
"name": "token",
|
284
|
+
"type": "address"
|
285
|
+
}
|
286
|
+
],
|
287
|
+
"name": "SafeERC20FailedOperation",
|
288
|
+
"type": "error"
|
289
|
+
},
|
290
|
+
{
|
291
|
+
"anonymous": false,
|
292
|
+
"inputs": [
|
293
|
+
{
|
294
|
+
"indexed": false,
|
295
|
+
"internalType": "address",
|
296
|
+
"name": "authority",
|
297
|
+
"type": "address"
|
298
|
+
}
|
299
|
+
],
|
300
|
+
"name": "AuthorityUpdated",
|
301
|
+
"type": "event"
|
302
|
+
},
|
303
|
+
{
|
304
|
+
"anonymous": false,
|
305
|
+
"inputs": [
|
306
|
+
{
|
307
|
+
"indexed": false,
|
308
|
+
"internalType": "uint64",
|
309
|
+
"name": "version",
|
310
|
+
"type": "uint64"
|
311
|
+
}
|
312
|
+
],
|
313
|
+
"name": "Initialized",
|
314
|
+
"type": "event"
|
315
|
+
},
|
316
|
+
{
|
317
|
+
"anonymous": false,
|
318
|
+
"inputs": [
|
319
|
+
{
|
320
|
+
"indexed": false,
|
321
|
+
"internalType": "address",
|
322
|
+
"name": "newWallet",
|
323
|
+
"type": "address"
|
324
|
+
}
|
325
|
+
],
|
326
|
+
"name": "LogComponentWalletAddressChanged",
|
327
|
+
"type": "event"
|
328
|
+
},
|
329
|
+
{
|
330
|
+
"anonymous": false,
|
331
|
+
"inputs": [
|
332
|
+
{
|
333
|
+
"indexed": false,
|
334
|
+
"internalType": "address",
|
335
|
+
"name": "from",
|
336
|
+
"type": "address"
|
337
|
+
},
|
338
|
+
{
|
339
|
+
"indexed": false,
|
340
|
+
"internalType": "address",
|
341
|
+
"name": "to",
|
342
|
+
"type": "address"
|
343
|
+
},
|
344
|
+
{
|
345
|
+
"indexed": false,
|
346
|
+
"internalType": "uint256",
|
347
|
+
"name": "amount",
|
348
|
+
"type": "uint256"
|
349
|
+
}
|
350
|
+
],
|
351
|
+
"name": "LogComponentWalletTokensTransferred",
|
352
|
+
"type": "event"
|
353
|
+
},
|
354
|
+
{
|
355
|
+
"anonymous": false,
|
356
|
+
"inputs": [
|
357
|
+
{
|
358
|
+
"indexed": false,
|
359
|
+
"internalType": "NftId",
|
360
|
+
"name": "policyNftId",
|
361
|
+
"type": "uint96"
|
362
|
+
},
|
363
|
+
{
|
364
|
+
"indexed": false,
|
365
|
+
"internalType": "uint256",
|
366
|
+
"name": "collateralizationAmount",
|
367
|
+
"type": "uint256"
|
12
368
|
},
|
369
|
+
{
|
370
|
+
"indexed": false,
|
371
|
+
"internalType": "address",
|
372
|
+
"name": "pool",
|
373
|
+
"type": "address"
|
374
|
+
}
|
375
|
+
],
|
376
|
+
"name": "LogUnderwrittenByPool",
|
377
|
+
"type": "event"
|
378
|
+
},
|
379
|
+
{
|
380
|
+
"inputs": [],
|
381
|
+
"name": "CONTRACT_LOCATION_V1",
|
382
|
+
"outputs": [
|
383
|
+
{
|
384
|
+
"internalType": "bytes32",
|
385
|
+
"name": "",
|
386
|
+
"type": "bytes32"
|
387
|
+
}
|
388
|
+
],
|
389
|
+
"stateMutability": "view",
|
390
|
+
"type": "function"
|
391
|
+
},
|
392
|
+
{
|
393
|
+
"inputs": [],
|
394
|
+
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
395
|
+
"outputs": [
|
396
|
+
{
|
397
|
+
"internalType": "bytes32",
|
398
|
+
"name": "",
|
399
|
+
"type": "bytes32"
|
400
|
+
}
|
401
|
+
],
|
402
|
+
"stateMutability": "view",
|
403
|
+
"type": "function"
|
404
|
+
},
|
405
|
+
{
|
406
|
+
"inputs": [],
|
407
|
+
"name": "POOL_STORAGE_LOCATION_V1",
|
408
|
+
"outputs": [
|
409
|
+
{
|
410
|
+
"internalType": "bytes32",
|
411
|
+
"name": "",
|
412
|
+
"type": "bytes32"
|
413
|
+
}
|
414
|
+
],
|
415
|
+
"stateMutability": "view",
|
416
|
+
"type": "function"
|
417
|
+
},
|
418
|
+
{
|
419
|
+
"inputs": [],
|
420
|
+
"name": "REGISTERABLE_LOCATION_V1",
|
421
|
+
"outputs": [
|
422
|
+
{
|
423
|
+
"internalType": "bytes32",
|
424
|
+
"name": "",
|
425
|
+
"type": "bytes32"
|
426
|
+
}
|
427
|
+
],
|
428
|
+
"stateMutability": "view",
|
429
|
+
"type": "function"
|
430
|
+
},
|
431
|
+
{
|
432
|
+
"inputs": [],
|
433
|
+
"name": "authority",
|
434
|
+
"outputs": [
|
435
|
+
{
|
436
|
+
"internalType": "address",
|
437
|
+
"name": "",
|
438
|
+
"type": "address"
|
439
|
+
}
|
440
|
+
],
|
441
|
+
"stateMutability": "view",
|
442
|
+
"type": "function"
|
443
|
+
},
|
444
|
+
{
|
445
|
+
"inputs": [],
|
446
|
+
"name": "getCollateralizationLevel",
|
447
|
+
"outputs": [
|
448
|
+
{
|
449
|
+
"internalType": "UFixed",
|
450
|
+
"name": "collateralizationLevel",
|
451
|
+
"type": "uint256"
|
452
|
+
}
|
453
|
+
],
|
454
|
+
"stateMutability": "view",
|
455
|
+
"type": "function"
|
456
|
+
},
|
457
|
+
{
|
458
|
+
"inputs": [
|
459
|
+
{
|
460
|
+
"internalType": "bytes",
|
461
|
+
"name": "name",
|
462
|
+
"type": "bytes"
|
463
|
+
}
|
464
|
+
],
|
465
|
+
"name": "getContractLocation",
|
466
|
+
"outputs": [
|
467
|
+
{
|
468
|
+
"internalType": "bytes32",
|
469
|
+
"name": "hash",
|
470
|
+
"type": "bytes32"
|
471
|
+
}
|
472
|
+
],
|
473
|
+
"stateMutability": "pure",
|
474
|
+
"type": "function"
|
475
|
+
},
|
476
|
+
{
|
477
|
+
"inputs": [],
|
478
|
+
"name": "getInitialInfo",
|
479
|
+
"outputs": [
|
480
|
+
{
|
481
|
+
"components": [
|
482
|
+
{
|
483
|
+
"internalType": "NftId",
|
484
|
+
"name": "nftId",
|
485
|
+
"type": "uint96"
|
486
|
+
},
|
487
|
+
{
|
488
|
+
"internalType": "NftId",
|
489
|
+
"name": "parentNftId",
|
490
|
+
"type": "uint96"
|
491
|
+
},
|
492
|
+
{
|
493
|
+
"internalType": "ObjectType",
|
494
|
+
"name": "objectType",
|
495
|
+
"type": "uint8"
|
496
|
+
},
|
497
|
+
{
|
498
|
+
"internalType": "bool",
|
499
|
+
"name": "isInterceptor",
|
500
|
+
"type": "bool"
|
501
|
+
},
|
502
|
+
{
|
503
|
+
"internalType": "address",
|
504
|
+
"name": "objectAddress",
|
505
|
+
"type": "address"
|
506
|
+
},
|
507
|
+
{
|
508
|
+
"internalType": "address",
|
509
|
+
"name": "initialOwner",
|
510
|
+
"type": "address"
|
511
|
+
},
|
512
|
+
{
|
513
|
+
"internalType": "bytes",
|
514
|
+
"name": "data",
|
515
|
+
"type": "bytes"
|
516
|
+
}
|
517
|
+
],
|
518
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
519
|
+
"name": "info",
|
520
|
+
"type": "tuple"
|
521
|
+
}
|
522
|
+
],
|
523
|
+
"stateMutability": "view",
|
524
|
+
"type": "function"
|
525
|
+
},
|
526
|
+
{
|
527
|
+
"inputs": [],
|
528
|
+
"name": "getInitialOwner",
|
529
|
+
"outputs": [
|
530
|
+
{
|
531
|
+
"internalType": "address",
|
532
|
+
"name": "",
|
533
|
+
"type": "address"
|
534
|
+
}
|
535
|
+
],
|
536
|
+
"stateMutability": "view",
|
537
|
+
"type": "function"
|
538
|
+
},
|
539
|
+
{
|
540
|
+
"inputs": [],
|
541
|
+
"name": "getInstance",
|
542
|
+
"outputs": [
|
543
|
+
{
|
544
|
+
"internalType": "contract IInstance",
|
545
|
+
"name": "instance",
|
546
|
+
"type": "address"
|
547
|
+
}
|
548
|
+
],
|
549
|
+
"stateMutability": "view",
|
550
|
+
"type": "function"
|
551
|
+
},
|
552
|
+
{
|
553
|
+
"inputs": [],
|
554
|
+
"name": "getInstanceReader",
|
555
|
+
"outputs": [
|
556
|
+
{
|
557
|
+
"internalType": "contract InstanceReader",
|
558
|
+
"name": "reader",
|
559
|
+
"type": "address"
|
560
|
+
}
|
561
|
+
],
|
562
|
+
"stateMutability": "view",
|
563
|
+
"type": "function"
|
564
|
+
},
|
565
|
+
{
|
566
|
+
"inputs": [],
|
567
|
+
"name": "getInstanceService",
|
568
|
+
"outputs": [
|
569
|
+
{
|
570
|
+
"internalType": "contract IInstanceService",
|
571
|
+
"name": "",
|
572
|
+
"type": "address"
|
573
|
+
}
|
574
|
+
],
|
575
|
+
"stateMutability": "view",
|
576
|
+
"type": "function"
|
577
|
+
},
|
578
|
+
{
|
579
|
+
"inputs": [],
|
580
|
+
"name": "getName",
|
581
|
+
"outputs": [
|
582
|
+
{
|
583
|
+
"internalType": "string",
|
584
|
+
"name": "name",
|
585
|
+
"type": "string"
|
586
|
+
}
|
587
|
+
],
|
588
|
+
"stateMutability": "view",
|
589
|
+
"type": "function"
|
590
|
+
},
|
591
|
+
{
|
592
|
+
"inputs": [],
|
593
|
+
"name": "getNftId",
|
594
|
+
"outputs": [
|
595
|
+
{
|
596
|
+
"internalType": "NftId",
|
597
|
+
"name": "",
|
598
|
+
"type": "uint96"
|
599
|
+
}
|
600
|
+
],
|
601
|
+
"stateMutability": "view",
|
602
|
+
"type": "function"
|
603
|
+
},
|
604
|
+
{
|
605
|
+
"inputs": [],
|
606
|
+
"name": "getOwner",
|
607
|
+
"outputs": [
|
608
|
+
{
|
609
|
+
"internalType": "address",
|
610
|
+
"name": "",
|
611
|
+
"type": "address"
|
612
|
+
}
|
613
|
+
],
|
614
|
+
"stateMutability": "view",
|
615
|
+
"type": "function"
|
616
|
+
},
|
617
|
+
{
|
618
|
+
"inputs": [],
|
619
|
+
"name": "getProductNftId",
|
620
|
+
"outputs": [
|
13
621
|
{
|
14
622
|
"internalType": "NftId",
|
15
|
-
"name": "
|
623
|
+
"name": "productNftId",
|
16
624
|
"type": "uint96"
|
17
|
-
}
|
625
|
+
}
|
626
|
+
],
|
627
|
+
"stateMutability": "view",
|
628
|
+
"type": "function"
|
629
|
+
},
|
630
|
+
{
|
631
|
+
"inputs": [],
|
632
|
+
"name": "getProductService",
|
633
|
+
"outputs": [
|
18
634
|
{
|
19
|
-
"internalType": "
|
20
|
-
"name": "
|
635
|
+
"internalType": "contract IProductService",
|
636
|
+
"name": "",
|
21
637
|
"type": "address"
|
22
|
-
}
|
638
|
+
}
|
639
|
+
],
|
640
|
+
"stateMutability": "view",
|
641
|
+
"type": "function"
|
642
|
+
},
|
643
|
+
{
|
644
|
+
"inputs": [],
|
645
|
+
"name": "getRegistry",
|
646
|
+
"outputs": [
|
23
647
|
{
|
24
|
-
"internalType": "
|
25
|
-
"name": "
|
26
|
-
"type": "
|
27
|
-
}
|
648
|
+
"internalType": "contract IRegistry",
|
649
|
+
"name": "",
|
650
|
+
"type": "address"
|
651
|
+
}
|
652
|
+
],
|
653
|
+
"stateMutability": "view",
|
654
|
+
"type": "function"
|
655
|
+
},
|
656
|
+
{
|
657
|
+
"inputs": [],
|
658
|
+
"name": "getRegistryAddress",
|
659
|
+
"outputs": [
|
660
|
+
{
|
661
|
+
"internalType": "address",
|
662
|
+
"name": "",
|
663
|
+
"type": "address"
|
664
|
+
}
|
665
|
+
],
|
666
|
+
"stateMutability": "view",
|
667
|
+
"type": "function"
|
668
|
+
},
|
669
|
+
{
|
670
|
+
"inputs": [],
|
671
|
+
"name": "getRetentionLevel",
|
672
|
+
"outputs": [
|
28
673
|
{
|
29
674
|
"internalType": "UFixed",
|
30
|
-
"name": "
|
675
|
+
"name": "retentionLevel",
|
31
676
|
"type": "uint256"
|
32
|
-
}
|
677
|
+
}
|
678
|
+
],
|
679
|
+
"stateMutability": "view",
|
680
|
+
"type": "function"
|
681
|
+
},
|
682
|
+
{
|
683
|
+
"inputs": [],
|
684
|
+
"name": "getSetupInfo",
|
685
|
+
"outputs": [
|
33
686
|
{
|
34
687
|
"components": [
|
35
688
|
{
|
36
|
-
"internalType": "
|
37
|
-
"name": "
|
38
|
-
"type": "
|
689
|
+
"internalType": "NftId",
|
690
|
+
"name": "productNftId",
|
691
|
+
"type": "uint96"
|
39
692
|
},
|
40
693
|
{
|
41
|
-
"internalType": "
|
42
|
-
"name": "
|
43
|
-
"type": "
|
44
|
-
}
|
45
|
-
],
|
46
|
-
"internalType": "struct Fee",
|
47
|
-
"name": "poolFee",
|
48
|
-
"type": "tuple"
|
49
|
-
},
|
50
|
-
{
|
51
|
-
"components": [
|
694
|
+
"internalType": "contract TokenHandler",
|
695
|
+
"name": "tokenHandler",
|
696
|
+
"type": "address"
|
697
|
+
},
|
52
698
|
{
|
53
|
-
"internalType": "
|
54
|
-
"name": "
|
55
|
-
"type": "
|
699
|
+
"internalType": "bool",
|
700
|
+
"name": "isInterceptingBundleTransfers",
|
701
|
+
"type": "bool"
|
56
702
|
},
|
57
703
|
{
|
58
|
-
"internalType": "
|
59
|
-
"name": "
|
60
|
-
"type": "
|
61
|
-
}
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
{
|
68
|
-
"components": [
|
704
|
+
"internalType": "bool",
|
705
|
+
"name": "isExternallyManaged",
|
706
|
+
"type": "bool"
|
707
|
+
},
|
708
|
+
{
|
709
|
+
"internalType": "bool",
|
710
|
+
"name": "isVerifyingApplications",
|
711
|
+
"type": "bool"
|
712
|
+
},
|
69
713
|
{
|
70
714
|
"internalType": "UFixed",
|
71
|
-
"name": "
|
715
|
+
"name": "collateralizationLevel",
|
72
716
|
"type": "uint256"
|
73
717
|
},
|
74
718
|
{
|
75
|
-
"internalType": "
|
76
|
-
"name": "
|
719
|
+
"internalType": "UFixed",
|
720
|
+
"name": "retentionLevel",
|
77
721
|
"type": "uint256"
|
722
|
+
},
|
723
|
+
{
|
724
|
+
"components": [
|
725
|
+
{
|
726
|
+
"internalType": "UFixed",
|
727
|
+
"name": "fractionalFee",
|
728
|
+
"type": "uint256"
|
729
|
+
},
|
730
|
+
{
|
731
|
+
"internalType": "uint256",
|
732
|
+
"name": "fixedFee",
|
733
|
+
"type": "uint256"
|
734
|
+
}
|
735
|
+
],
|
736
|
+
"internalType": "struct Fee",
|
737
|
+
"name": "poolFee",
|
738
|
+
"type": "tuple"
|
739
|
+
},
|
740
|
+
{
|
741
|
+
"components": [
|
742
|
+
{
|
743
|
+
"internalType": "UFixed",
|
744
|
+
"name": "fractionalFee",
|
745
|
+
"type": "uint256"
|
746
|
+
},
|
747
|
+
{
|
748
|
+
"internalType": "uint256",
|
749
|
+
"name": "fixedFee",
|
750
|
+
"type": "uint256"
|
751
|
+
}
|
752
|
+
],
|
753
|
+
"internalType": "struct Fee",
|
754
|
+
"name": "stakingFee",
|
755
|
+
"type": "tuple"
|
756
|
+
},
|
757
|
+
{
|
758
|
+
"components": [
|
759
|
+
{
|
760
|
+
"internalType": "UFixed",
|
761
|
+
"name": "fractionalFee",
|
762
|
+
"type": "uint256"
|
763
|
+
},
|
764
|
+
{
|
765
|
+
"internalType": "uint256",
|
766
|
+
"name": "fixedFee",
|
767
|
+
"type": "uint256"
|
768
|
+
}
|
769
|
+
],
|
770
|
+
"internalType": "struct Fee",
|
771
|
+
"name": "performanceFee",
|
772
|
+
"type": "tuple"
|
773
|
+
},
|
774
|
+
{
|
775
|
+
"internalType": "address",
|
776
|
+
"name": "wallet",
|
777
|
+
"type": "address"
|
78
778
|
}
|
79
779
|
],
|
80
|
-
"internalType": "struct
|
81
|
-
"name": "
|
780
|
+
"internalType": "struct ISetup.PoolSetupInfo",
|
781
|
+
"name": "setupInfo",
|
82
782
|
"type": "tuple"
|
83
783
|
}
|
84
784
|
],
|
85
|
-
"stateMutability": "
|
86
|
-
"type": "
|
785
|
+
"stateMutability": "view",
|
786
|
+
"type": "function"
|
787
|
+
},
|
788
|
+
{
|
789
|
+
"inputs": [],
|
790
|
+
"name": "getToken",
|
791
|
+
"outputs": [
|
792
|
+
{
|
793
|
+
"internalType": "contract IERC20Metadata",
|
794
|
+
"name": "token",
|
795
|
+
"type": "address"
|
796
|
+
}
|
797
|
+
],
|
798
|
+
"stateMutability": "view",
|
799
|
+
"type": "function"
|
800
|
+
},
|
801
|
+
{
|
802
|
+
"inputs": [],
|
803
|
+
"name": "getWallet",
|
804
|
+
"outputs": [
|
805
|
+
{
|
806
|
+
"internalType": "address",
|
807
|
+
"name": "walletAddress",
|
808
|
+
"type": "address"
|
809
|
+
}
|
810
|
+
],
|
811
|
+
"stateMutability": "view",
|
812
|
+
"type": "function"
|
87
813
|
},
|
88
814
|
{
|
89
|
-
"anonymous": false,
|
90
815
|
"inputs": [
|
91
816
|
{
|
92
|
-
"
|
817
|
+
"internalType": "address",
|
818
|
+
"name": "registry",
|
819
|
+
"type": "address"
|
820
|
+
},
|
821
|
+
{
|
93
822
|
"internalType": "NftId",
|
94
|
-
"name": "
|
823
|
+
"name": "instanceNftId",
|
95
824
|
"type": "uint96"
|
96
825
|
},
|
97
826
|
{
|
98
|
-
"
|
99
|
-
"
|
100
|
-
"
|
101
|
-
"type": "uint256"
|
827
|
+
"internalType": "string",
|
828
|
+
"name": "name",
|
829
|
+
"type": "string"
|
102
830
|
},
|
103
831
|
{
|
104
|
-
"indexed": false,
|
105
832
|
"internalType": "address",
|
106
|
-
"name": "
|
833
|
+
"name": "token",
|
107
834
|
"type": "address"
|
108
|
-
}
|
109
|
-
],
|
110
|
-
"name": "LogUnderwrittenByPool",
|
111
|
-
"type": "event"
|
112
|
-
},
|
113
|
-
{
|
114
|
-
"inputs": [
|
835
|
+
},
|
115
836
|
{
|
116
|
-
"
|
117
|
-
|
118
|
-
|
119
|
-
"name": "fractionalFee",
|
120
|
-
"type": "uint256"
|
121
|
-
},
|
122
|
-
{
|
123
|
-
"internalType": "uint256",
|
124
|
-
"name": "fixedFee",
|
125
|
-
"type": "uint256"
|
126
|
-
}
|
127
|
-
],
|
128
|
-
"internalType": "struct Fee",
|
129
|
-
"name": "fee",
|
130
|
-
"type": "tuple"
|
837
|
+
"internalType": "ObjectType",
|
838
|
+
"name": "componentType",
|
839
|
+
"type": "uint8"
|
131
840
|
},
|
132
841
|
{
|
133
|
-
"internalType": "
|
134
|
-
"name": "
|
135
|
-
"type": "
|
842
|
+
"internalType": "bool",
|
843
|
+
"name": "isInterceptor",
|
844
|
+
"type": "bool"
|
136
845
|
},
|
137
846
|
{
|
138
|
-
"internalType": "
|
139
|
-
"name": "
|
140
|
-
"type": "
|
847
|
+
"internalType": "address",
|
848
|
+
"name": "initialOwner",
|
849
|
+
"type": "address"
|
141
850
|
},
|
142
851
|
{
|
143
852
|
"internalType": "bytes",
|
144
|
-
"name": "
|
853
|
+
"name": "data",
|
145
854
|
"type": "bytes"
|
146
855
|
}
|
147
856
|
],
|
148
|
-
"name": "
|
149
|
-
"outputs": [
|
857
|
+
"name": "initializeComponent",
|
858
|
+
"outputs": [],
|
859
|
+
"stateMutability": "nonpayable",
|
860
|
+
"type": "function"
|
861
|
+
},
|
862
|
+
{
|
863
|
+
"inputs": [],
|
864
|
+
"name": "initializeERC165",
|
865
|
+
"outputs": [],
|
866
|
+
"stateMutability": "nonpayable",
|
867
|
+
"type": "function"
|
868
|
+
},
|
869
|
+
{
|
870
|
+
"inputs": [
|
150
871
|
{
|
151
|
-
"internalType": "
|
152
|
-
"name": "
|
153
|
-
"type": "
|
872
|
+
"internalType": "address",
|
873
|
+
"name": "initialOwner",
|
874
|
+
"type": "address"
|
875
|
+
},
|
876
|
+
{
|
877
|
+
"internalType": "address",
|
878
|
+
"name": "registryAddress",
|
879
|
+
"type": "address"
|
880
|
+
}
|
881
|
+
],
|
882
|
+
"name": "initializeNftOwnable",
|
883
|
+
"outputs": [],
|
884
|
+
"stateMutability": "nonpayable",
|
885
|
+
"type": "function"
|
886
|
+
},
|
887
|
+
{
|
888
|
+
"inputs": [
|
889
|
+
{
|
890
|
+
"internalType": "address",
|
891
|
+
"name": "initialOwner",
|
892
|
+
"type": "address"
|
154
893
|
}
|
155
894
|
],
|
895
|
+
"name": "initializeOwner",
|
896
|
+
"outputs": [],
|
156
897
|
"stateMutability": "nonpayable",
|
157
898
|
"type": "function"
|
158
899
|
},
|
159
900
|
{
|
160
|
-
"inputs": [
|
161
|
-
|
162
|
-
|
901
|
+
"inputs": [
|
902
|
+
{
|
903
|
+
"internalType": "address",
|
904
|
+
"name": "registry",
|
905
|
+
"type": "address"
|
906
|
+
},
|
907
|
+
{
|
908
|
+
"internalType": "NftId",
|
909
|
+
"name": "instanceNftId",
|
910
|
+
"type": "uint96"
|
911
|
+
},
|
912
|
+
{
|
913
|
+
"internalType": "string",
|
914
|
+
"name": "name",
|
915
|
+
"type": "string"
|
916
|
+
},
|
917
|
+
{
|
918
|
+
"internalType": "address",
|
919
|
+
"name": "token",
|
920
|
+
"type": "address"
|
921
|
+
},
|
922
|
+
{
|
923
|
+
"internalType": "bool",
|
924
|
+
"name": "isInterceptingNftTransfers",
|
925
|
+
"type": "bool"
|
926
|
+
},
|
927
|
+
{
|
928
|
+
"internalType": "bool",
|
929
|
+
"name": "isExternallyManaging",
|
930
|
+
"type": "bool"
|
931
|
+
},
|
932
|
+
{
|
933
|
+
"internalType": "bool",
|
934
|
+
"name": "isVerifying",
|
935
|
+
"type": "bool"
|
936
|
+
},
|
163
937
|
{
|
164
938
|
"internalType": "UFixed",
|
165
939
|
"name": "collateralizationLevel",
|
166
940
|
"type": "uint256"
|
167
|
-
}
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
941
|
+
},
|
942
|
+
{
|
943
|
+
"internalType": "UFixed",
|
944
|
+
"name": "retentionLevel",
|
945
|
+
"type": "uint256"
|
946
|
+
},
|
947
|
+
{
|
948
|
+
"internalType": "address",
|
949
|
+
"name": "initialOwner",
|
950
|
+
"type": "address"
|
951
|
+
},
|
176
952
|
{
|
177
953
|
"internalType": "bytes",
|
178
954
|
"name": "data",
|
179
955
|
"type": "bytes"
|
180
956
|
}
|
181
957
|
],
|
182
|
-
"
|
958
|
+
"name": "initializePool",
|
959
|
+
"outputs": [],
|
960
|
+
"stateMutability": "nonpayable",
|
183
961
|
"type": "function"
|
184
962
|
},
|
185
963
|
{
|
186
|
-
"inputs": [
|
187
|
-
"name": "getInstance",
|
188
|
-
"outputs": [
|
964
|
+
"inputs": [
|
189
965
|
{
|
190
|
-
"internalType": "
|
191
|
-
"name": "
|
966
|
+
"internalType": "address",
|
967
|
+
"name": "registryAddress",
|
192
968
|
"type": "address"
|
193
|
-
}
|
194
|
-
],
|
195
|
-
"stateMutability": "view",
|
196
|
-
"type": "function"
|
197
|
-
},
|
198
|
-
{
|
199
|
-
"inputs": [],
|
200
|
-
"name": "getNftId",
|
201
|
-
"outputs": [
|
969
|
+
},
|
202
970
|
{
|
203
971
|
"internalType": "NftId",
|
204
|
-
"name": "
|
972
|
+
"name": "parentNftId",
|
205
973
|
"type": "uint96"
|
974
|
+
},
|
975
|
+
{
|
976
|
+
"internalType": "ObjectType",
|
977
|
+
"name": "objectType",
|
978
|
+
"type": "uint8"
|
979
|
+
},
|
980
|
+
{
|
981
|
+
"internalType": "bool",
|
982
|
+
"name": "isInterceptor",
|
983
|
+
"type": "bool"
|
984
|
+
},
|
985
|
+
{
|
986
|
+
"internalType": "address",
|
987
|
+
"name": "initialOwner",
|
988
|
+
"type": "address"
|
989
|
+
},
|
990
|
+
{
|
991
|
+
"internalType": "bytes",
|
992
|
+
"name": "data",
|
993
|
+
"type": "bytes"
|
206
994
|
}
|
207
995
|
],
|
208
|
-
"
|
996
|
+
"name": "initializeRegisterable",
|
997
|
+
"outputs": [],
|
998
|
+
"stateMutability": "nonpayable",
|
209
999
|
"type": "function"
|
210
1000
|
},
|
211
1001
|
{
|
212
|
-
"inputs": [
|
213
|
-
"name": "getOwner",
|
214
|
-
"outputs": [
|
1002
|
+
"inputs": [
|
215
1003
|
{
|
216
1004
|
"internalType": "address",
|
217
|
-
"name": "
|
1005
|
+
"name": "registryAddress",
|
218
1006
|
"type": "address"
|
219
1007
|
}
|
220
1008
|
],
|
221
|
-
"
|
1009
|
+
"name": "initializeRegistryLinked",
|
1010
|
+
"outputs": [],
|
1011
|
+
"stateMutability": "nonpayable",
|
222
1012
|
"type": "function"
|
223
1013
|
},
|
224
1014
|
{
|
225
1015
|
"inputs": [],
|
226
|
-
"name": "
|
1016
|
+
"name": "isConsumingScheduledOp",
|
227
1017
|
"outputs": [
|
228
1018
|
{
|
229
|
-
"internalType": "
|
230
|
-
"name": "
|
231
|
-
"type": "
|
1019
|
+
"internalType": "bytes4",
|
1020
|
+
"name": "",
|
1021
|
+
"type": "bytes4"
|
232
1022
|
}
|
233
1023
|
],
|
234
1024
|
"stateMutability": "view",
|
@@ -236,24 +1026,12 @@
|
|
236
1026
|
},
|
237
1027
|
{
|
238
1028
|
"inputs": [],
|
239
|
-
"name": "
|
1029
|
+
"name": "isExternallyManaged",
|
240
1030
|
"outputs": [
|
241
1031
|
{
|
242
|
-
"
|
243
|
-
|
244
|
-
|
245
|
-
"name": "fractionalFee",
|
246
|
-
"type": "uint256"
|
247
|
-
},
|
248
|
-
{
|
249
|
-
"internalType": "uint256",
|
250
|
-
"name": "fixedFee",
|
251
|
-
"type": "uint256"
|
252
|
-
}
|
253
|
-
],
|
254
|
-
"internalType": "struct Fee",
|
255
|
-
"name": "performanceFee",
|
256
|
-
"type": "tuple"
|
1032
|
+
"internalType": "bool",
|
1033
|
+
"name": "",
|
1034
|
+
"type": "bool"
|
257
1035
|
}
|
258
1036
|
],
|
259
1037
|
"stateMutability": "view",
|
@@ -261,24 +1039,12 @@
|
|
261
1039
|
},
|
262
1040
|
{
|
263
1041
|
"inputs": [],
|
264
|
-
"name": "
|
1042
|
+
"name": "isInterceptingBundleTransfers",
|
265
1043
|
"outputs": [
|
266
1044
|
{
|
267
|
-
"
|
268
|
-
|
269
|
-
|
270
|
-
"name": "fractionalFee",
|
271
|
-
"type": "uint256"
|
272
|
-
},
|
273
|
-
{
|
274
|
-
"internalType": "uint256",
|
275
|
-
"name": "fixedFee",
|
276
|
-
"type": "uint256"
|
277
|
-
}
|
278
|
-
],
|
279
|
-
"internalType": "struct Fee",
|
280
|
-
"name": "poolFee",
|
281
|
-
"type": "tuple"
|
1045
|
+
"internalType": "bool",
|
1046
|
+
"name": "",
|
1047
|
+
"type": "bool"
|
282
1048
|
}
|
283
1049
|
],
|
284
1050
|
"stateMutability": "view",
|
@@ -286,12 +1052,12 @@
|
|
286
1052
|
},
|
287
1053
|
{
|
288
1054
|
"inputs": [],
|
289
|
-
"name": "
|
1055
|
+
"name": "isNftInterceptor",
|
290
1056
|
"outputs": [
|
291
1057
|
{
|
292
|
-
"internalType": "
|
293
|
-
"name": "
|
294
|
-
"type": "
|
1058
|
+
"internalType": "bool",
|
1059
|
+
"name": "isInterceptor",
|
1060
|
+
"type": "bool"
|
295
1061
|
}
|
296
1062
|
],
|
297
1063
|
"stateMutability": "view",
|
@@ -299,24 +1065,12 @@
|
|
299
1065
|
},
|
300
1066
|
{
|
301
1067
|
"inputs": [],
|
302
|
-
"name": "
|
1068
|
+
"name": "isVerifyingApplications",
|
303
1069
|
"outputs": [
|
304
1070
|
{
|
305
|
-
"
|
306
|
-
|
307
|
-
|
308
|
-
"name": "fractionalFee",
|
309
|
-
"type": "uint256"
|
310
|
-
},
|
311
|
-
{
|
312
|
-
"internalType": "uint256",
|
313
|
-
"name": "fixedFee",
|
314
|
-
"type": "uint256"
|
315
|
-
}
|
316
|
-
],
|
317
|
-
"internalType": "struct Fee",
|
318
|
-
"name": "stakingFee",
|
319
|
-
"type": "tuple"
|
1071
|
+
"internalType": "bool",
|
1072
|
+
"name": "isConfirmingApplication",
|
1073
|
+
"type": "bool"
|
320
1074
|
}
|
321
1075
|
],
|
322
1076
|
"stateMutability": "view",
|
@@ -324,59 +1078,50 @@
|
|
324
1078
|
},
|
325
1079
|
{
|
326
1080
|
"inputs": [],
|
327
|
-
"name": "
|
328
|
-
"outputs": [
|
329
|
-
|
330
|
-
"internalType": "contract IERC20Metadata",
|
331
|
-
"name": "token",
|
332
|
-
"type": "address"
|
333
|
-
}
|
334
|
-
],
|
335
|
-
"stateMutability": "view",
|
1081
|
+
"name": "linkToRegisteredNftId",
|
1082
|
+
"outputs": [],
|
1083
|
+
"stateMutability": "nonpayable",
|
336
1084
|
"type": "function"
|
337
1085
|
},
|
338
1086
|
{
|
339
1087
|
"inputs": [],
|
340
|
-
"name": "
|
341
|
-
"outputs": [
|
342
|
-
|
343
|
-
"internalType": "ObjectType",
|
344
|
-
"name": "",
|
345
|
-
"type": "uint8"
|
346
|
-
}
|
347
|
-
],
|
348
|
-
"stateMutability": "pure",
|
1088
|
+
"name": "lock",
|
1089
|
+
"outputs": [],
|
1090
|
+
"stateMutability": "nonpayable",
|
349
1091
|
"type": "function"
|
350
1092
|
},
|
351
1093
|
{
|
352
|
-
"inputs": [
|
353
|
-
"name": "getWallet",
|
354
|
-
"outputs": [
|
1094
|
+
"inputs": [
|
355
1095
|
{
|
356
|
-
"internalType": "
|
357
|
-
"name": "
|
358
|
-
"type": "
|
1096
|
+
"internalType": "NftId",
|
1097
|
+
"name": "bundleNftId",
|
1098
|
+
"type": "uint96"
|
359
1099
|
}
|
360
1100
|
],
|
361
|
-
"
|
1101
|
+
"name": "lockBundle",
|
1102
|
+
"outputs": [],
|
1103
|
+
"stateMutability": "nonpayable",
|
362
1104
|
"type": "function"
|
363
1105
|
},
|
364
1106
|
{
|
365
|
-
"inputs": [
|
366
|
-
"name": "isVerifying",
|
367
|
-
"outputs": [
|
1107
|
+
"inputs": [
|
368
1108
|
{
|
369
|
-
"internalType": "
|
370
|
-
"name": "
|
371
|
-
"type": "
|
1109
|
+
"internalType": "address",
|
1110
|
+
"name": "from",
|
1111
|
+
"type": "address"
|
1112
|
+
},
|
1113
|
+
{
|
1114
|
+
"internalType": "address",
|
1115
|
+
"name": "to",
|
1116
|
+
"type": "address"
|
1117
|
+
},
|
1118
|
+
{
|
1119
|
+
"internalType": "uint256",
|
1120
|
+
"name": "tokenId",
|
1121
|
+
"type": "uint256"
|
372
1122
|
}
|
373
1123
|
],
|
374
|
-
"
|
375
|
-
"type": "function"
|
376
|
-
},
|
377
|
-
{
|
378
|
-
"inputs": [],
|
379
|
-
"name": "lock",
|
1124
|
+
"name": "nftTransferFrom",
|
380
1125
|
"outputs": [],
|
381
1126
|
"stateMutability": "nonpayable",
|
382
1127
|
"type": "function"
|
@@ -402,19 +1147,32 @@
|
|
402
1147
|
"type": "bool"
|
403
1148
|
}
|
404
1149
|
],
|
405
|
-
"stateMutability": "
|
1150
|
+
"stateMutability": "pure",
|
406
1151
|
"type": "function"
|
407
1152
|
},
|
408
1153
|
{
|
409
|
-
"inputs": [
|
410
|
-
"name": "register",
|
411
|
-
"outputs": [
|
1154
|
+
"inputs": [
|
412
1155
|
{
|
413
|
-
"internalType": "
|
414
|
-
"name": "
|
415
|
-
"type": "
|
1156
|
+
"internalType": "bytes4",
|
1157
|
+
"name": "interfaceId",
|
1158
|
+
"type": "bytes4"
|
416
1159
|
}
|
417
1160
|
],
|
1161
|
+
"name": "registerInterface",
|
1162
|
+
"outputs": [],
|
1163
|
+
"stateMutability": "nonpayable",
|
1164
|
+
"type": "function"
|
1165
|
+
},
|
1166
|
+
{
|
1167
|
+
"inputs": [
|
1168
|
+
{
|
1169
|
+
"internalType": "address",
|
1170
|
+
"name": "newAuthority",
|
1171
|
+
"type": "address"
|
1172
|
+
}
|
1173
|
+
],
|
1174
|
+
"name": "setAuthority",
|
1175
|
+
"outputs": [],
|
418
1176
|
"stateMutability": "nonpayable",
|
419
1177
|
"type": "function"
|
420
1178
|
},
|
@@ -507,6 +1265,32 @@
|
|
507
1265
|
"stateMutability": "nonpayable",
|
508
1266
|
"type": "function"
|
509
1267
|
},
|
1268
|
+
{
|
1269
|
+
"inputs": [
|
1270
|
+
{
|
1271
|
+
"internalType": "NftId",
|
1272
|
+
"name": "productNftId",
|
1273
|
+
"type": "uint96"
|
1274
|
+
}
|
1275
|
+
],
|
1276
|
+
"name": "setProductNftId",
|
1277
|
+
"outputs": [],
|
1278
|
+
"stateMutability": "nonpayable",
|
1279
|
+
"type": "function"
|
1280
|
+
},
|
1281
|
+
{
|
1282
|
+
"inputs": [
|
1283
|
+
{
|
1284
|
+
"internalType": "address",
|
1285
|
+
"name": "newWallet",
|
1286
|
+
"type": "address"
|
1287
|
+
}
|
1288
|
+
],
|
1289
|
+
"name": "setWallet",
|
1290
|
+
"outputs": [],
|
1291
|
+
"stateMutability": "nonpayable",
|
1292
|
+
"type": "function"
|
1293
|
+
},
|
510
1294
|
{
|
511
1295
|
"inputs": [
|
512
1296
|
{
|
@@ -526,16 +1310,36 @@
|
|
526
1310
|
"stateMutability": "view",
|
527
1311
|
"type": "function"
|
528
1312
|
},
|
1313
|
+
{
|
1314
|
+
"inputs": [],
|
1315
|
+
"name": "unlock",
|
1316
|
+
"outputs": [],
|
1317
|
+
"stateMutability": "nonpayable",
|
1318
|
+
"type": "function"
|
1319
|
+
},
|
529
1320
|
{
|
530
1321
|
"inputs": [
|
531
1322
|
{
|
532
1323
|
"internalType": "NftId",
|
533
|
-
"name": "
|
1324
|
+
"name": "bundleNftId",
|
1325
|
+
"type": "uint96"
|
1326
|
+
}
|
1327
|
+
],
|
1328
|
+
"name": "unlockBundle",
|
1329
|
+
"outputs": [],
|
1330
|
+
"stateMutability": "nonpayable",
|
1331
|
+
"type": "function"
|
1332
|
+
},
|
1333
|
+
{
|
1334
|
+
"inputs": [
|
1335
|
+
{
|
1336
|
+
"internalType": "NftId",
|
1337
|
+
"name": "applicationNftId",
|
534
1338
|
"type": "uint96"
|
535
1339
|
},
|
536
1340
|
{
|
537
1341
|
"internalType": "bytes",
|
538
|
-
"name": "
|
1342
|
+
"name": "applicationData",
|
539
1343
|
"type": "bytes"
|
540
1344
|
},
|
541
1345
|
{
|
@@ -549,30 +1353,14 @@
|
|
549
1353
|
"type": "uint256"
|
550
1354
|
}
|
551
1355
|
],
|
552
|
-
"name": "
|
553
|
-
"outputs": [],
|
554
|
-
"stateMutability": "nonpayable",
|
555
|
-
"type": "function"
|
556
|
-
},
|
557
|
-
{
|
558
|
-
"inputs": [],
|
559
|
-
"name": "unlock",
|
1356
|
+
"name": "verifyApplication",
|
560
1357
|
"outputs": [],
|
561
1358
|
"stateMutability": "nonpayable",
|
562
1359
|
"type": "function"
|
563
1360
|
}
|
564
1361
|
],
|
565
|
-
"bytecode": "0x60e06040523480156200001157600080fd5b50604051620020663803806200206683398101604081905262000034916200079e565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff1916600117905587878782826001600160a01b038216620000d15760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6001600160a01b03821660808190526040516301ffc9a760e01b81526306ecd8ef60e01b60048201526301ffc9a790602401602060405180830381865afa15801562000121573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000147919062000845565b620001955760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f52454749535452590000000000006044820152606401620000c8565b6001600160601b03811660a081905260805160405163e74d052f60e01b815260048101929092526001600160a01b03169063e74d052f90602401602060405180830381865afa158015620001ed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000213919062000845565b6200026d5760405162461bcd60e51b815260206004820152602360248201527f4552524f523a5247422d3031323a504152454e545f4e4f545f5245474953544560448201526214915160ea1b6064820152608401620000c8565b3360c052631dfba64760e11b60009081526020527f95e5a2564f7af40498dc043c6da135e06324c5edb1f60c2bf4dcdf2da207fa45805460ff1916600117905550506080516040516305247a1760e51b81526001600160601b03841660048201526000916001600160a01b03169063a48f42e090602401600060405180830381865afa15801562000302573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200032c9190810190620008f7565b6060810151600580546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b8152630de7806f60e41b6004820152919250906301ffc9a790602401602060405180830381865afa15801562000394573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003ba919062000845565b620003e25760405162461bcd60e51b81526020600482015260006024820152604401620000c8565b600560009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000436573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200045c9190620009d1565b600180546001600160a01b039283166001600160a01b0319918216179091556003805482163017905560048054928516929091169190911781556005805460ff60a01b1916905560408051632bd182d360e01b8152815173__$a23651848365a6a5ca15f07b4331037f48$__93632bd182d39383820193909291908290030181865af4158015620004f1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005179190620009f1565b80516006556020908101516007556008805460ff19168b151517905560098990558751600a5587810151600b558651600c5586810151600d558551600e5585810151600f5560055460408051636b9bf08b60e01b815290516001600160a01b039092169650636b9bf08b9550600480820195509293509091908290030181865afa158015620005aa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005d09190620009d1565b601080546001600160a01b0319166001600160a01b0392831617905560055460408051634288121d60e01b815290519190921691634288121d9160048083019260209291908290030181865afa1580156200062f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006559190620009d1565b601180546001600160a01b0319166001600160a01b03929092169190911790555062000a109650505050505050565b6001600160a01b03811681146200069a57600080fd5b50565b8051620006aa8162000684565b919050565b80516001600160601b0381168114620006aa57600080fd5b80518015158114620006aa57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715620007135762000713620006d8565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620007445762000744620006d8565b604052919050565b6000604082840312156200075f57600080fd5b604080519081016001600160401b0381118282101715620007845762000784620006d8565b604052825181526020928301519281019290925250919050565b600080600080600080600080610160898b031215620007bc57600080fd5b8851620007c98162000684565b9750620007d960208a01620006af565b96506040890151620007eb8162000684565b9550620007fb60608a01620006c7565b945060808901519350620008138a60a08b016200074c565b9250620008248a60e08b016200074c565b9150620008368a6101208b016200074c565b90509295985092959890939650565b6000602082840312156200085857600080fd5b6200086382620006c7565b9392505050565b600082601f8301126200087c57600080fd5b81516001600160401b03811115620008985762000898620006d8565b6020620008ae601f8301601f1916820162000719565b8281528582848701011115620008c357600080fd5b60005b83811015620008e3578581018301518282018401528201620008c6565b506000928101909101919091529392505050565b6000602082840312156200090a57600080fd5b81516001600160401b03808211156200092257600080fd5b9083019060c082860312156200093757600080fd5b62000941620006ee565b6200094c83620006af565b81526200095c60208401620006af565b6020820152604083015160ff811681146200097657600080fd5b604082015262000989606084016200069d565b60608201526200099c608084016200069d565b608082015260a083015182811115620009b457600080fd5b620009c2878286016200086a565b60a08301525095945050505050565b600060208284031215620009e457600080fd5b8151620008638162000684565b60006040828403121562000a0457600080fd5b6200086383836200074c565b60805160a05160c05161160362000a636000396000610d120152600061021001526000818161026901528181610382015281816104180152818161093a01528181610c950152610d5501526116036000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c8063636450f5116100c3578063893d20e81161007c578063893d20e8146102e3578063a69df4b5146102eb578063d7f5e609146102f3578063dab1232514610306578063de7b5d1414610319578063f83d08ba1461032a57600080fd5b8063636450f51461028d578063644c45e0146102a257806365effc1a146102aa5780636741fad2146102bd57806382678766146102c557806387ef9ba0146102d857600080fd5b8063235c360311610115578063235c3603146101f957806331b62a3b1461020e5780633bc5de30146102345780634b270a461461024e57806354afef63146102565780635ab1bd531461026757600080fd5b806301ffc9a714610152578063132996041461019457806315dae03e146101b95780631aa3a008146101c857806321df0da7146101e8575b600080fd5b61017f61016036600461100b565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6003546001600160a01b03165b6040516001600160a01b03909116815260200161018b565b604051608c815260200161018b565b6101d0610337565b6040516001600160601b03909116815260200161018b565b6004546001600160a01b03166101a1565b61020161055c565b60405161018b919061103c565b7f00000000000000000000000000000000000000000000000000000000000000006101d0565b6040805160208101825260008152905161018b9190611099565b61020161070b565b60095460405190815260200161018b565b7f00000000000000000000000000000000000000000000000000000000000000006101a1565b6102a061029b366004611157565b6108ba565b005b6101d0610922565b6102a06102b836600461121a565b610989565b6102016109ff565b6102a06102d3366004611298565b610bae565b60085460ff1661017f565b6101a1610c73565b6102a0610dce565b6101d06103013660046112de565b610e60565b61017f610314366004611340565b610eea565b6005546001600160a01b03166101a1565b6102a0610ef3565b905090565b6000610341610c73565b6001600160a01b0316336001600160a01b0316146103805760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166103f65760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a434f422d3030313a52454749535452595f5a45524f00000000006044820152606401610377565b60055460405163c3c5a54760e01b81526001600160a01b0391821660048201527f00000000000000000000000000000000000000000000000000000000000000009091169063c3c5a54790602401602060405180830381865afa158015610461573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061048591906113a4565b6104db5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a434f423a494e5354414e43455f4e4f545f5245474953544552456044820152601160fa1b6064820152608401610377565b6005805460ff60a01b1916600160a01b179055600154604051632210724360e11b81523060048201526001600160a01b0390911690634420e486906024016020604051808303816000875af1158015610538573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061033291906113d6565b60408051808201909152600080825260208201526005546000906001600160a01b0316639ae31ff561058c610922565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa1580156105d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f491906113d6565b60055460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610646573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066a91906113a4565b156106ef5760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa1580156106c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e59190611443565b60e0015191505090565b505060408051808201909152600e548152600f54602082015290565b60408051808201909152600080825260208201526005546000906001600160a01b0316639ae31ff561073b610922565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa15801561077f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107a391906113d6565b60055460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa1580156107f5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081991906113a4565b1561089e5760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610870573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108949190611443565b60c0015191505090565b505060408051808201909152600c548152600d54602082015290565b60105460405163636450f560e01b81526001600160a01b039091169063636450f5906108ec9085908590600401611502565b600060405180830381600087803b15801561090657600080fd5b505af115801561091a573d6000803e3d6000fd5b505050505050565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa158015610538573d6000803e3d6000fd5b6011546001600160a01b031633146109ed5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b6064820152608401610377565b6109f984848484610f5b565b50505050565b60408051808201909152600080825260208201526005546000906001600160a01b0316639ae31ff5610a2f610922565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015610a73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9791906113d6565b60055460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610ae9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b0d91906113a4565b15610b925760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610b64573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b889190611443565b60a0015191505090565b505060408051808201909152600a548152600b54602082015290565b610bb6610c73565b6001600160a01b0316336001600160a01b031614610be65760405162461bcd60e51b815260040161037790611529565b601054604051634133c3b360e11b8152845160048201526020808601516024830152845160448301528085015160648301528351608483015283015160a48201526001600160a01b039091169063826787669060c401600060405180830381600087803b158015610c5657600080fd5b505af1158015610c6a573d6000803e3d6000fd5b50505050505050565b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa158015610cdc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d0091906113d6565b90506001600160601b038116610d37577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa158015610da4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc89190611560565b91505090565b610dd6610c73565b6001600160a01b0316336001600160a01b031614610e065760405162461bcd60e51b815260040161037790611529565b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610e4c57600080fd5b505af11580156109f9573d6000803e3d6000fd5b60105460405163e3458d5360e01b815260009133916001600160a01b039091169063e3458d5390610e9d9084908a908a908a908a9060040161157d565b6020604051808303816000875af1158015610ebc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee091906113d6565b9695505050505050565b60015b92915050565b610efb610c73565b6001600160a01b0316336001600160a01b031614610f2b5760405162461bcd60e51b815260040161037790611529565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610e32565b610f658383610eea565b610fbd5760405162461bcd60e51b8152602060048201526024808201527f4552524f523a504f4c2d3032303a504f4c4943595f42554e444c455f4d49534d604482015263082a886960e31b6064820152608401610377565b604080516001600160601b038616815260208101839052308183015290517ffa749b7f8c958183586325608c5d122eb3a8beb56a4d6ac2c88b78193e9facb99181900360600190a150505050565b60006020828403121561101d57600080fd5b81356001600160e01b03198116811461103557600080fd5b9392505050565b815181526020808301519082015260408101610eed565b6000815180845260005b818110156110795760208185018101518683018201520161105d565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006110356020830184611053565b6001600160601b03811681146110c157600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156110fd576110fd6110c4565b60405290565b604051610120810167ffffffffffffffff811182821017156110fd576110fd6110c4565b60006040828403121561113957600080fd5b6111416110da565b9050813581526020820135602082015292915050565b6000806060838503121561116a57600080fd5b8235611175816110ac565b91506111848460208501611127565b90509250929050565b600082601f83011261119e57600080fd5b813567ffffffffffffffff808211156111b9576111b96110c4565b604051601f8301601f19908116603f011681019082821181831017156111e1576111e16110c4565b816040528381528660208588010111156111fa57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000806080858703121561123057600080fd5b843561123b816110ac565b9350602085013567ffffffffffffffff8082111561125857600080fd5b6112648883890161118d565b9450604087013591508082111561127a57600080fd5b506112878782880161118d565b949793965093946060013593505050565b600080600060c084860312156112ad57600080fd5b6112b78585611127565b92506112c68560408601611127565b91506112d58560808601611127565b90509250925092565b60008060008060a085870312156112f457600080fd5b6112fe8686611127565b93506040850135925060608501359150608085013567ffffffffffffffff81111561132857600080fd5b6113348782880161118d565b91505092959194509250565b6000806040838503121561135357600080fd5b823567ffffffffffffffff8082111561136b57600080fd5b6113778683870161118d565b9350602085013591508082111561138d57600080fd5b5061139a8582860161118d565b9150509250929050565b6000602082840312156113b657600080fd5b8151801515811461103557600080fd5b80516113d1816110ac565b919050565b6000602082840312156113e857600080fd5b8151611035816110ac565b6001600160a01b03811681146110c157600080fd5b80516113d1816113f3565b60006040828403121561142557600080fd5b61142d6110da565b9050815181526020820151602082015292915050565b60006101e0828403121561145657600080fd5b61145e611103565b611467836113c6565b8152611475602084016113c6565b602082015261148660408401611408565b60408201526114988460608501611413565b60608201526114aa8460a08501611413565b60808201526114bc8460e08501611413565b60a08201526114cf846101208501611413565b60c08201526114e2846101608501611413565b60e08201526114f5846101a08501611413565b6101008201529392505050565b6001600160601b038316815260608101611035602083018480518252602090810151910152565b60208082526017908201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b60006020828403121561157257600080fd5b8151611035816113f3565b6001600160a01b03861681526115a0602082018680518252602090810151910152565b83606082015282608082015260c060a082015260006115c260c0830184611053565b97965050505050505056fea2646970667358221220d2bb9f12bb07d19e2b6ee17d0c5120498533b4eed4b5a5580eed65fb1e5cd5eb64736f6c63430008140033",
|
566
|
-
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061014d5760003560e01c8063636450f5116100c3578063893d20e81161007c578063893d20e8146102e3578063a69df4b5146102eb578063d7f5e609146102f3578063dab1232514610306578063de7b5d1414610319578063f83d08ba1461032a57600080fd5b8063636450f51461028d578063644c45e0146102a257806365effc1a146102aa5780636741fad2146102bd57806382678766146102c557806387ef9ba0146102d857600080fd5b8063235c360311610115578063235c3603146101f957806331b62a3b1461020e5780633bc5de30146102345780634b270a461461024e57806354afef63146102565780635ab1bd531461026757600080fd5b806301ffc9a714610152578063132996041461019457806315dae03e146101b95780631aa3a008146101c857806321df0da7146101e8575b600080fd5b61017f61016036600461100b565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6003546001600160a01b03165b6040516001600160a01b03909116815260200161018b565b604051608c815260200161018b565b6101d0610337565b6040516001600160601b03909116815260200161018b565b6004546001600160a01b03166101a1565b61020161055c565b60405161018b919061103c565b7f00000000000000000000000000000000000000000000000000000000000000006101d0565b6040805160208101825260008152905161018b9190611099565b61020161070b565b60095460405190815260200161018b565b7f00000000000000000000000000000000000000000000000000000000000000006101a1565b6102a061029b366004611157565b6108ba565b005b6101d0610922565b6102a06102b836600461121a565b610989565b6102016109ff565b6102a06102d3366004611298565b610bae565b60085460ff1661017f565b6101a1610c73565b6102a0610dce565b6101d06103013660046112de565b610e60565b61017f610314366004611340565b610eea565b6005546001600160a01b03166101a1565b6102a0610ef3565b905090565b6000610341610c73565b6001600160a01b0316336001600160a01b0316146103805760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166103f65760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a434f422d3030313a52454749535452595f5a45524f00000000006044820152606401610377565b60055460405163c3c5a54760e01b81526001600160a01b0391821660048201527f00000000000000000000000000000000000000000000000000000000000000009091169063c3c5a54790602401602060405180830381865afa158015610461573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061048591906113a4565b6104db5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a434f423a494e5354414e43455f4e4f545f5245474953544552456044820152601160fa1b6064820152608401610377565b6005805460ff60a01b1916600160a01b179055600154604051632210724360e11b81523060048201526001600160a01b0390911690634420e486906024016020604051808303816000875af1158015610538573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061033291906113d6565b60408051808201909152600080825260208201526005546000906001600160a01b0316639ae31ff561058c610922565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa1580156105d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f491906113d6565b60055460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610646573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066a91906113a4565b156106ef5760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa1580156106c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e59190611443565b60e0015191505090565b505060408051808201909152600e548152600f54602082015290565b60408051808201909152600080825260208201526005546000906001600160a01b0316639ae31ff561073b610922565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa15801561077f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107a391906113d6565b60055460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa1580156107f5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081991906113a4565b1561089e5760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610870573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108949190611443565b60c0015191505090565b505060408051808201909152600c548152600d54602082015290565b60105460405163636450f560e01b81526001600160a01b039091169063636450f5906108ec9085908590600401611502565b600060405180830381600087803b15801561090657600080fd5b505af115801561091a573d6000803e3d6000fd5b505050505050565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa158015610538573d6000803e3d6000fd5b6011546001600160a01b031633146109ed5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b6064820152608401610377565b6109f984848484610f5b565b50505050565b60408051808201909152600080825260208201526005546000906001600160a01b0316639ae31ff5610a2f610922565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015610a73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9791906113d6565b60055460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610ae9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b0d91906113a4565b15610b925760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610b64573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b889190611443565b60a0015191505090565b505060408051808201909152600a548152600b54602082015290565b610bb6610c73565b6001600160a01b0316336001600160a01b031614610be65760405162461bcd60e51b815260040161037790611529565b601054604051634133c3b360e11b8152845160048201526020808601516024830152845160448301528085015160648301528351608483015283015160a48201526001600160a01b039091169063826787669060c401600060405180830381600087803b158015610c5657600080fd5b505af1158015610c6a573d6000803e3d6000fd5b50505050505050565b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa158015610cdc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d0091906113d6565b90506001600160601b038116610d37577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa158015610da4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc89190611560565b91505090565b610dd6610c73565b6001600160a01b0316336001600160a01b031614610e065760405162461bcd60e51b815260040161037790611529565b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610e4c57600080fd5b505af11580156109f9573d6000803e3d6000fd5b60105460405163e3458d5360e01b815260009133916001600160a01b039091169063e3458d5390610e9d9084908a908a908a908a9060040161157d565b6020604051808303816000875af1158015610ebc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee091906113d6565b9695505050505050565b60015b92915050565b610efb610c73565b6001600160a01b0316336001600160a01b031614610f2b5760405162461bcd60e51b815260040161037790611529565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610e32565b610f658383610eea565b610fbd5760405162461bcd60e51b8152602060048201526024808201527f4552524f523a504f4c2d3032303a504f4c4943595f42554e444c455f4d49534d604482015263082a886960e31b6064820152608401610377565b604080516001600160601b038616815260208101839052308183015290517ffa749b7f8c958183586325608c5d122eb3a8beb56a4d6ac2c88b78193e9facb99181900360600190a150505050565b60006020828403121561101d57600080fd5b81356001600160e01b03198116811461103557600080fd5b9392505050565b815181526020808301519082015260408101610eed565b6000815180845260005b818110156110795760208185018101518683018201520161105d565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006110356020830184611053565b6001600160601b03811681146110c157600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156110fd576110fd6110c4565b60405290565b604051610120810167ffffffffffffffff811182821017156110fd576110fd6110c4565b60006040828403121561113957600080fd5b6111416110da565b9050813581526020820135602082015292915050565b6000806060838503121561116a57600080fd5b8235611175816110ac565b91506111848460208501611127565b90509250929050565b600082601f83011261119e57600080fd5b813567ffffffffffffffff808211156111b9576111b96110c4565b604051601f8301601f19908116603f011681019082821181831017156111e1576111e16110c4565b816040528381528660208588010111156111fa57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000806080858703121561123057600080fd5b843561123b816110ac565b9350602085013567ffffffffffffffff8082111561125857600080fd5b6112648883890161118d565b9450604087013591508082111561127a57600080fd5b506112878782880161118d565b949793965093946060013593505050565b600080600060c084860312156112ad57600080fd5b6112b78585611127565b92506112c68560408601611127565b91506112d58560808601611127565b90509250925092565b60008060008060a085870312156112f457600080fd5b6112fe8686611127565b93506040850135925060608501359150608085013567ffffffffffffffff81111561132857600080fd5b6113348782880161118d565b91505092959194509250565b6000806040838503121561135357600080fd5b823567ffffffffffffffff8082111561136b57600080fd5b6113778683870161118d565b9350602085013591508082111561138d57600080fd5b5061139a8582860161118d565b9150509250929050565b6000602082840312156113b657600080fd5b8151801515811461103557600080fd5b80516113d1816110ac565b919050565b6000602082840312156113e857600080fd5b8151611035816110ac565b6001600160a01b03811681146110c157600080fd5b80516113d1816113f3565b60006040828403121561142557600080fd5b61142d6110da565b9050815181526020820151602082015292915050565b60006101e0828403121561145657600080fd5b61145e611103565b611467836113c6565b8152611475602084016113c6565b602082015261148660408401611408565b60408201526114988460608501611413565b60608201526114aa8460a08501611413565b60808201526114bc8460e08501611413565b60a08201526114cf846101208501611413565b60c08201526114e2846101608501611413565b60e08201526114f5846101a08501611413565b6101008201529392505050565b6001600160601b038316815260608101611035602083018480518252602090810151910152565b60208082526017908201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b60006020828403121561157257600080fd5b8151611035816113f3565b6001600160a01b03861681526115a0602082018680518252602090810151910152565b83606082015282608082015260c060a082015260006115c260c0830184611053565b97965050505050505056fea2646970667358221220d2bb9f12bb07d19e2b6ee17d0c5120498533b4eed4b5a5580eed65fb1e5cd5eb64736f6c63430008140033",
|
567
|
-
"linkReferences": {
|
568
|
-
"contracts/types/Fee.sol": {
|
569
|
-
"FeeLib": [
|
570
|
-
{
|
571
|
-
"length": 20,
|
572
|
-
"start": 1205
|
573
|
-
}
|
574
|
-
]
|
575
|
-
}
|
576
|
-
},
|
1362
|
+
"bytecode": "0x",
|
1363
|
+
"deployedBytecode": "0x",
|
1364
|
+
"linkReferences": {},
|
577
1365
|
"deployedLinkReferences": {}
|
578
1366
|
}
|