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