@etherisc/gif-next 0.0.2-d911522 → 0.0.2-da06f3b-803
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +364 -8
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/components/Component.sol/Component.json +510 -33
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +849 -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} +244 -241
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +648 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +713 -0
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +748 -0
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +752 -51
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +773 -55
- 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/Require.sol/Require.json +2 -2
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +2 -2
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +2 -2
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +2 -2
- 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 +4 -0
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +59 -0
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +4 -0
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +124 -0
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +4 -0
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +74 -0
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +4 -0
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +124 -0
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +4 -0
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +207 -0
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +2 -2
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +2 -2
- 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 +1558 -470
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +592 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +2454 -462
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +1081 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1381 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1050 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +473 -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 +603 -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/base/ILifecycle.sol/ILifecycle.json +115 -0
- 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 +228 -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/module/IDistribution.sol/IDistribution.json +10 -0
- 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/{component/IComponent.sol/IComponent.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/ITreasury.sol/ITreasury.json +10 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1102 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +449 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +772 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +437 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +715 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +441 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +766 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +494 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +531 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1227 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +505 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +806 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +437 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +856 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +437 -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 +525 -61
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +981 -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 +572 -74
- 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 +1200 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +464 -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 +394 -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 +35 -0
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +127 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
- package/artifacts/contracts/{instance/pool/PoolModule.sol/PoolModule.json → shared/IRegisterable.sol/IRegisterable.json} +107 -73
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
- package/artifacts/contracts/shared/IService.sol/IService.json +416 -0
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +205 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +171 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +362 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +282 -0
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
- package/artifacts/contracts/shared/Service.sol/Service.json +476 -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 +228 -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 +313 -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 +608 -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 +286 -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/Blocknumber.sol/BlocknumberLib.json +2 -2
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
- package/artifacts/contracts/types/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 +4 -0
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +92 -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 +4 -0
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +92 -0
- 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/types/UFixed.sol/MathLib.json +10 -0
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +479 -0
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
- package/artifacts/contracts/types/Version.sol/VersionLib.json +177 -0
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +49 -0
- package/contracts/components/Component.sol +192 -38
- package/contracts/components/Distribution.sol +153 -0
- package/contracts/components/IComponent.sol +43 -0
- package/contracts/components/IDistributionComponent.sol +47 -0
- package/contracts/components/IPoolComponent.sol +51 -0
- package/contracts/components/IProductComponent.sol +39 -0
- package/contracts/components/Pool.sol +196 -17
- package/contracts/components/Product.sol +236 -36
- package/contracts/experiment/cloning/Cloner.sol +47 -0
- package/contracts/experiment/errors/Require.sol +10 -5
- package/contracts/experiment/errors/Revert.sol +13 -8
- package/contracts/experiment/inheritance/A.sol +8 -11
- package/contracts/experiment/inheritance/B.sol +10 -5
- package/contracts/experiment/inheritance/C.sol +11 -5
- package/contracts/experiment/inheritance/IA.sol +2 -7
- package/contracts/experiment/inheritance/IB.sol +3 -2
- package/contracts/experiment/inheritance/IC.sol +4 -3
- package/contracts/experiment/statemachine/Dummy.sol +27 -0
- package/contracts/experiment/statemachine/ISM.sol +25 -0
- package/contracts/experiment/statemachine/SM.sol +57 -0
- package/contracts/experiment/statemachine/SimpleStateMachine.sol +31 -0
- package/contracts/experiment/types/TypeA.sol +14 -9
- package/contracts/experiment/types/TypeB.sol +14 -9
- package/contracts/instance/BundleManager.sol +125 -0
- package/contracts/instance/Cloneable.sol +46 -0
- package/contracts/instance/IInstance.sol +67 -15
- package/contracts/instance/IInstanceService.sol +42 -0
- package/contracts/instance/Instance.sol +248 -43
- package/contracts/instance/InstanceAccessManager.sol +414 -0
- package/contracts/instance/InstanceReader.sol +293 -0
- package/contracts/instance/InstanceService.sol +473 -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 +48 -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 +46 -0
- package/contracts/instance/module/ITreasury.sol +23 -0
- package/contracts/instance/service/BundleService.sol +293 -0
- package/contracts/instance/service/BundleServiceManager.sol +51 -0
- package/contracts/instance/service/DistributionService.sol +106 -0
- package/contracts/instance/service/DistributionServiceManager.sol +51 -0
- package/contracts/instance/service/IBundleService.sol +44 -0
- package/contracts/instance/service/IDistributionService.sol +12 -0
- package/contracts/instance/service/IPolicyService.sol +94 -0
- package/contracts/instance/service/IPoolService.sol +20 -0
- package/contracts/instance/service/IProductService.sol +40 -0
- package/contracts/instance/service/PolicyService.sol +538 -0
- package/contracts/instance/service/PolicyServiceManager.sol +54 -0
- package/contracts/instance/service/PoolService.sol +110 -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 +138 -109
- package/contracts/registry/IRegistry.sol +79 -49
- package/contracts/registry/IRegistryService.sol +65 -0
- package/contracts/registry/ITransferInterceptor.sol +6 -0
- package/contracts/registry/Registry.sol +391 -116
- package/contracts/registry/RegistryAccessManager.sol +216 -0
- package/contracts/registry/RegistryService.sol +262 -0
- package/contracts/registry/RegistryServiceManager.sol +62 -0
- package/contracts/registry/ReleaseManager.sol +332 -0
- package/contracts/registry/TokenRegistry.sol +112 -0
- package/contracts/shared/ContractDeployerLib.sol +72 -0
- package/contracts/shared/ERC165.sol +25 -0
- package/contracts/shared/INftOwnable.sol +22 -0
- package/contracts/shared/IRegisterable.sol +15 -0
- package/contracts/shared/IService.sol +16 -0
- package/contracts/shared/IVersionable.sol +96 -0
- package/contracts/shared/NftOwnable.sol +139 -0
- package/contracts/shared/ProxyManager.sol +94 -0
- package/contracts/shared/Registerable.sol +86 -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 +147 -0
- package/contracts/test/TestFee.sol +25 -0
- package/contracts/test/TestRegisterable.sol +18 -0
- package/contracts/test/TestRoleId.sol +14 -0
- package/contracts/test/TestService.sol +25 -0
- package/contracts/test/TestToken.sol +26 -0
- package/contracts/test/TestVersion.sol +44 -0
- package/contracts/test/TestVersionable.sol +17 -0
- package/contracts/test/Usdc.sol +26 -0
- package/contracts/types/AddressSet.sol +58 -0
- package/contracts/types/Blocknumber.sol +76 -18
- package/contracts/types/ChainId.sol +18 -10
- package/contracts/types/DistributorType.sol +55 -0
- package/contracts/types/Fee.sol +56 -0
- package/contracts/types/Key32.sol +50 -0
- package/contracts/types/NftId.sol +48 -11
- package/contracts/types/NftIdSet.sol +62 -0
- package/contracts/types/NumberId.sol +52 -0
- package/contracts/types/ObjectType.sol +152 -0
- package/contracts/types/Referral.sol +85 -0
- package/contracts/types/RiskId.sol +43 -0
- package/contracts/types/RoleId.sol +93 -0
- package/contracts/types/StateId.sol +105 -0
- package/contracts/types/Timestamp.sol +89 -17
- package/contracts/types/UFixed.sol +193 -75
- package/contracts/types/Version.sol +107 -0
- package/package.json +21 -6
- package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
- package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
- package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +0 -179
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -192
- 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 -327
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -147
- 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 -179
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -245
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -94
- 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/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 -231
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +0 -231
- 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 -149
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
- 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/IProductService.sol/IProductService.json +0 -114
- 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 -167
- 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/IRegistry.sol/IRegistryLinked.json +0 -49
- package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
- package/artifacts/contracts/registry/Registry.sol/Registerable.json +0 -166
- 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 -440
- package/contracts/components/IPool.sol +0 -9
- package/contracts/components/IProduct.sol +0 -12
- package/contracts/instance/access/Access.sol +0 -218
- package/contracts/instance/access/IAccess.sol +0 -83
- package/contracts/instance/component/ComponentModule.sol +0 -248
- package/contracts/instance/component/IComponent.sol +0 -95
- package/contracts/instance/policy/IPolicy.sol +0 -66
- package/contracts/instance/policy/PolicyModule.sol +0 -107
- package/contracts/instance/pool/IPoolModule.sol +0 -41
- package/contracts/instance/pool/PoolModule.sol +0 -86
- package/contracts/instance/product/IProductService.sol +0 -46
- package/contracts/instance/product/ProductService.sol +0 -108
- package/contracts/registry/IChainNft.sol +0 -18
@@ -3,6 +3,66 @@
|
|
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
|
+
},
|
6
66
|
{
|
7
67
|
"inputs": [
|
8
68
|
{
|
@@ -10,48 +70,382 @@
|
|
10
70
|
"name": "registry",
|
11
71
|
"type": "address"
|
12
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": "NftId",
|
86
|
+
"name": "instanceNftId",
|
87
|
+
"type": "uint96"
|
88
|
+
},
|
13
89
|
{
|
14
90
|
"internalType": "address",
|
15
91
|
"name": "instance",
|
16
92
|
"type": "address"
|
17
93
|
}
|
18
94
|
],
|
19
|
-
"
|
20
|
-
"type": "
|
95
|
+
"name": "ErrorComponentNotInstance",
|
96
|
+
"type": "error"
|
21
97
|
},
|
22
98
|
{
|
23
|
-
"anonymous": false,
|
24
99
|
"inputs": [
|
25
100
|
{
|
26
|
-
"
|
101
|
+
"internalType": "address",
|
102
|
+
"name": "caller",
|
103
|
+
"type": "address"
|
104
|
+
}
|
105
|
+
],
|
106
|
+
"name": "ErrorComponentNotProductService",
|
107
|
+
"type": "error"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"inputs": [],
|
111
|
+
"name": "ErrorComponentProductNftAlreadySet",
|
112
|
+
"type": "error"
|
113
|
+
},
|
114
|
+
{
|
115
|
+
"inputs": [
|
116
|
+
{
|
117
|
+
"internalType": "address",
|
118
|
+
"name": "caller",
|
119
|
+
"type": "address"
|
120
|
+
},
|
121
|
+
{
|
122
|
+
"internalType": "uint64",
|
123
|
+
"name": "requiredRoleIdNum",
|
124
|
+
"type": "uint64"
|
125
|
+
}
|
126
|
+
],
|
127
|
+
"name": "ErrorComponentUnauthorized",
|
128
|
+
"type": "error"
|
129
|
+
},
|
130
|
+
{
|
131
|
+
"inputs": [
|
132
|
+
{
|
133
|
+
"internalType": "address",
|
134
|
+
"name": "newWallet",
|
135
|
+
"type": "address"
|
136
|
+
}
|
137
|
+
],
|
138
|
+
"name": "ErrorComponentWalletAddressIsSameAsCurrent",
|
139
|
+
"type": "error"
|
140
|
+
},
|
141
|
+
{
|
142
|
+
"inputs": [],
|
143
|
+
"name": "ErrorComponentWalletAddressZero",
|
144
|
+
"type": "error"
|
145
|
+
},
|
146
|
+
{
|
147
|
+
"inputs": [
|
148
|
+
{
|
149
|
+
"internalType": "address",
|
150
|
+
"name": "oldWallet",
|
151
|
+
"type": "address"
|
152
|
+
},
|
153
|
+
{
|
154
|
+
"internalType": "address",
|
155
|
+
"name": "newWallet",
|
156
|
+
"type": "address"
|
157
|
+
},
|
158
|
+
{
|
27
159
|
"internalType": "uint256",
|
28
|
-
"name": "
|
160
|
+
"name": "allowance",
|
29
161
|
"type": "uint256"
|
30
162
|
},
|
163
|
+
{
|
164
|
+
"internalType": "uint256",
|
165
|
+
"name": "balance",
|
166
|
+
"type": "uint256"
|
167
|
+
}
|
168
|
+
],
|
169
|
+
"name": "ErrorComponentWalletAllowanceTooSmall",
|
170
|
+
"type": "error"
|
171
|
+
},
|
172
|
+
{
|
173
|
+
"inputs": [
|
174
|
+
{
|
175
|
+
"internalType": "address",
|
176
|
+
"name": "contractAddress",
|
177
|
+
"type": "address"
|
178
|
+
}
|
179
|
+
],
|
180
|
+
"name": "ErrorContractNotRegistered",
|
181
|
+
"type": "error"
|
182
|
+
},
|
183
|
+
{
|
184
|
+
"inputs": [
|
185
|
+
{
|
186
|
+
"internalType": "address",
|
187
|
+
"name": "account",
|
188
|
+
"type": "address"
|
189
|
+
}
|
190
|
+
],
|
191
|
+
"name": "ErrorNotOwner",
|
192
|
+
"type": "error"
|
193
|
+
},
|
194
|
+
{
|
195
|
+
"inputs": [
|
196
|
+
{
|
197
|
+
"internalType": "address",
|
198
|
+
"name": "registryAddress",
|
199
|
+
"type": "address"
|
200
|
+
}
|
201
|
+
],
|
202
|
+
"name": "ErrorNotRegistry",
|
203
|
+
"type": "error"
|
204
|
+
},
|
205
|
+
{
|
206
|
+
"inputs": [
|
207
|
+
{
|
208
|
+
"internalType": "address",
|
209
|
+
"name": "registryAddress",
|
210
|
+
"type": "address"
|
211
|
+
}
|
212
|
+
],
|
213
|
+
"name": "ErrorRegisterableNotRegistry",
|
214
|
+
"type": "error"
|
215
|
+
},
|
216
|
+
{
|
217
|
+
"inputs": [],
|
218
|
+
"name": "ErrorRegistryAddressZero",
|
219
|
+
"type": "error"
|
220
|
+
},
|
221
|
+
{
|
222
|
+
"inputs": [
|
223
|
+
{
|
224
|
+
"internalType": "address",
|
225
|
+
"name": "registry",
|
226
|
+
"type": "address"
|
227
|
+
}
|
228
|
+
],
|
229
|
+
"name": "ErrorRegistryAlreadyInitialized",
|
230
|
+
"type": "error"
|
231
|
+
},
|
232
|
+
{
|
233
|
+
"inputs": [],
|
234
|
+
"name": "ErrorRegistryNotInitialized",
|
235
|
+
"type": "error"
|
236
|
+
},
|
237
|
+
{
|
238
|
+
"inputs": [],
|
239
|
+
"name": "FailedInnerCall",
|
240
|
+
"type": "error"
|
241
|
+
},
|
242
|
+
{
|
243
|
+
"inputs": [],
|
244
|
+
"name": "InvalidInitialization",
|
245
|
+
"type": "error"
|
246
|
+
},
|
247
|
+
{
|
248
|
+
"inputs": [],
|
249
|
+
"name": "NotInitializing",
|
250
|
+
"type": "error"
|
251
|
+
},
|
252
|
+
{
|
253
|
+
"inputs": [
|
254
|
+
{
|
255
|
+
"internalType": "address",
|
256
|
+
"name": "token",
|
257
|
+
"type": "address"
|
258
|
+
}
|
259
|
+
],
|
260
|
+
"name": "SafeERC20FailedOperation",
|
261
|
+
"type": "error"
|
262
|
+
},
|
263
|
+
{
|
264
|
+
"anonymous": false,
|
265
|
+
"inputs": [
|
266
|
+
{
|
267
|
+
"indexed": false,
|
268
|
+
"internalType": "address",
|
269
|
+
"name": "authority",
|
270
|
+
"type": "address"
|
271
|
+
}
|
272
|
+
],
|
273
|
+
"name": "AuthorityUpdated",
|
274
|
+
"type": "event"
|
275
|
+
},
|
276
|
+
{
|
277
|
+
"anonymous": false,
|
278
|
+
"inputs": [
|
279
|
+
{
|
280
|
+
"indexed": false,
|
281
|
+
"internalType": "uint64",
|
282
|
+
"name": "version",
|
283
|
+
"type": "uint64"
|
284
|
+
}
|
285
|
+
],
|
286
|
+
"name": "Initialized",
|
287
|
+
"type": "event"
|
288
|
+
},
|
289
|
+
{
|
290
|
+
"anonymous": false,
|
291
|
+
"inputs": [
|
292
|
+
{
|
293
|
+
"indexed": false,
|
294
|
+
"internalType": "address",
|
295
|
+
"name": "newWallet",
|
296
|
+
"type": "address"
|
297
|
+
}
|
298
|
+
],
|
299
|
+
"name": "LogComponentWalletAddressChanged",
|
300
|
+
"type": "event"
|
301
|
+
},
|
302
|
+
{
|
303
|
+
"anonymous": false,
|
304
|
+
"inputs": [
|
31
305
|
{
|
32
306
|
"indexed": false,
|
33
307
|
"internalType": "address",
|
34
|
-
"name": "
|
308
|
+
"name": "from",
|
35
309
|
"type": "address"
|
36
310
|
},
|
37
311
|
{
|
38
312
|
"indexed": false,
|
39
|
-
"internalType": "
|
40
|
-
"name": "
|
41
|
-
"type": "
|
313
|
+
"internalType": "address",
|
314
|
+
"name": "to",
|
315
|
+
"type": "address"
|
316
|
+
},
|
317
|
+
{
|
318
|
+
"indexed": false,
|
319
|
+
"internalType": "uint256",
|
320
|
+
"name": "amount",
|
321
|
+
"type": "uint256"
|
42
322
|
}
|
43
323
|
],
|
44
|
-
"name": "
|
324
|
+
"name": "LogComponentWalletTokensTransferred",
|
325
|
+
"type": "event"
|
326
|
+
},
|
327
|
+
{
|
328
|
+
"anonymous": false,
|
329
|
+
"inputs": [
|
330
|
+
{
|
331
|
+
"indexed": false,
|
332
|
+
"internalType": "NftId",
|
333
|
+
"name": "policyNftId",
|
334
|
+
"type": "uint96"
|
335
|
+
},
|
336
|
+
{
|
337
|
+
"indexed": false,
|
338
|
+
"internalType": "uint256",
|
339
|
+
"name": "collateralizationAmount",
|
340
|
+
"type": "uint256"
|
341
|
+
},
|
342
|
+
{
|
343
|
+
"indexed": false,
|
344
|
+
"internalType": "address",
|
345
|
+
"name": "pool",
|
346
|
+
"type": "address"
|
347
|
+
}
|
348
|
+
],
|
349
|
+
"name": "LogUnderwrittenByPool",
|
45
350
|
"type": "event"
|
46
351
|
},
|
47
352
|
{
|
48
353
|
"inputs": [],
|
49
|
-
"name": "
|
354
|
+
"name": "CONTRACT_LOCATION_V1",
|
50
355
|
"outputs": [
|
51
356
|
{
|
52
|
-
"internalType": "
|
53
|
-
"name": "
|
54
|
-
"type": "
|
357
|
+
"internalType": "bytes32",
|
358
|
+
"name": "",
|
359
|
+
"type": "bytes32"
|
360
|
+
}
|
361
|
+
],
|
362
|
+
"stateMutability": "view",
|
363
|
+
"type": "function"
|
364
|
+
},
|
365
|
+
{
|
366
|
+
"inputs": [],
|
367
|
+
"name": "REGISTERABLE_LOCATION_V1",
|
368
|
+
"outputs": [
|
369
|
+
{
|
370
|
+
"internalType": "bytes32",
|
371
|
+
"name": "",
|
372
|
+
"type": "bytes32"
|
373
|
+
}
|
374
|
+
],
|
375
|
+
"stateMutability": "view",
|
376
|
+
"type": "function"
|
377
|
+
},
|
378
|
+
{
|
379
|
+
"inputs": [],
|
380
|
+
"name": "authority",
|
381
|
+
"outputs": [
|
382
|
+
{
|
383
|
+
"internalType": "address",
|
384
|
+
"name": "",
|
385
|
+
"type": "address"
|
386
|
+
}
|
387
|
+
],
|
388
|
+
"stateMutability": "view",
|
389
|
+
"type": "function"
|
390
|
+
},
|
391
|
+
{
|
392
|
+
"inputs": [],
|
393
|
+
"name": "getCollateralizationLevel",
|
394
|
+
"outputs": [
|
395
|
+
{
|
396
|
+
"internalType": "UFixed",
|
397
|
+
"name": "collateralizationLevel",
|
398
|
+
"type": "uint256"
|
399
|
+
}
|
400
|
+
],
|
401
|
+
"stateMutability": "view",
|
402
|
+
"type": "function"
|
403
|
+
},
|
404
|
+
{
|
405
|
+
"inputs": [],
|
406
|
+
"name": "getInitialInfo",
|
407
|
+
"outputs": [
|
408
|
+
{
|
409
|
+
"components": [
|
410
|
+
{
|
411
|
+
"internalType": "NftId",
|
412
|
+
"name": "nftId",
|
413
|
+
"type": "uint96"
|
414
|
+
},
|
415
|
+
{
|
416
|
+
"internalType": "NftId",
|
417
|
+
"name": "parentNftId",
|
418
|
+
"type": "uint96"
|
419
|
+
},
|
420
|
+
{
|
421
|
+
"internalType": "ObjectType",
|
422
|
+
"name": "objectType",
|
423
|
+
"type": "uint8"
|
424
|
+
},
|
425
|
+
{
|
426
|
+
"internalType": "bool",
|
427
|
+
"name": "isInterceptor",
|
428
|
+
"type": "bool"
|
429
|
+
},
|
430
|
+
{
|
431
|
+
"internalType": "address",
|
432
|
+
"name": "objectAddress",
|
433
|
+
"type": "address"
|
434
|
+
},
|
435
|
+
{
|
436
|
+
"internalType": "address",
|
437
|
+
"name": "initialOwner",
|
438
|
+
"type": "address"
|
439
|
+
},
|
440
|
+
{
|
441
|
+
"internalType": "bytes",
|
442
|
+
"name": "data",
|
443
|
+
"type": "bytes"
|
444
|
+
}
|
445
|
+
],
|
446
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
447
|
+
"name": "info",
|
448
|
+
"type": "tuple"
|
55
449
|
}
|
56
450
|
],
|
57
451
|
"stateMutability": "view",
|
@@ -63,7 +457,7 @@
|
|
63
457
|
"outputs": [
|
64
458
|
{
|
65
459
|
"internalType": "address",
|
66
|
-
"name": "
|
460
|
+
"name": "",
|
67
461
|
"type": "address"
|
68
462
|
}
|
69
463
|
],
|
@@ -83,13 +477,39 @@
|
|
83
477
|
"stateMutability": "view",
|
84
478
|
"type": "function"
|
85
479
|
},
|
480
|
+
{
|
481
|
+
"inputs": [],
|
482
|
+
"name": "getInstanceService",
|
483
|
+
"outputs": [
|
484
|
+
{
|
485
|
+
"internalType": "contract IInstanceService",
|
486
|
+
"name": "",
|
487
|
+
"type": "address"
|
488
|
+
}
|
489
|
+
],
|
490
|
+
"stateMutability": "view",
|
491
|
+
"type": "function"
|
492
|
+
},
|
493
|
+
{
|
494
|
+
"inputs": [],
|
495
|
+
"name": "getName",
|
496
|
+
"outputs": [
|
497
|
+
{
|
498
|
+
"internalType": "string",
|
499
|
+
"name": "name",
|
500
|
+
"type": "string"
|
501
|
+
}
|
502
|
+
],
|
503
|
+
"stateMutability": "view",
|
504
|
+
"type": "function"
|
505
|
+
},
|
86
506
|
{
|
87
507
|
"inputs": [],
|
88
508
|
"name": "getNftId",
|
89
509
|
"outputs": [
|
90
510
|
{
|
91
511
|
"internalType": "NftId",
|
92
|
-
"name": "
|
512
|
+
"name": "",
|
93
513
|
"type": "uint96"
|
94
514
|
}
|
95
515
|
],
|
@@ -102,7 +522,7 @@
|
|
102
522
|
"outputs": [
|
103
523
|
{
|
104
524
|
"internalType": "address",
|
105
|
-
"name": "
|
525
|
+
"name": "",
|
106
526
|
"type": "address"
|
107
527
|
}
|
108
528
|
],
|
@@ -111,24 +531,37 @@
|
|
111
531
|
},
|
112
532
|
{
|
113
533
|
"inputs": [],
|
114
|
-
"name": "
|
534
|
+
"name": "getProductNftId",
|
115
535
|
"outputs": [
|
116
536
|
{
|
117
537
|
"internalType": "NftId",
|
118
|
-
"name": "",
|
538
|
+
"name": "productNftId",
|
119
539
|
"type": "uint96"
|
120
540
|
}
|
121
541
|
],
|
122
542
|
"stateMutability": "view",
|
123
543
|
"type": "function"
|
124
544
|
},
|
545
|
+
{
|
546
|
+
"inputs": [],
|
547
|
+
"name": "getProductService",
|
548
|
+
"outputs": [
|
549
|
+
{
|
550
|
+
"internalType": "contract IProductService",
|
551
|
+
"name": "",
|
552
|
+
"type": "address"
|
553
|
+
}
|
554
|
+
],
|
555
|
+
"stateMutability": "view",
|
556
|
+
"type": "function"
|
557
|
+
},
|
125
558
|
{
|
126
559
|
"inputs": [],
|
127
560
|
"name": "getRegistry",
|
128
561
|
"outputs": [
|
129
562
|
{
|
130
563
|
"internalType": "contract IRegistry",
|
131
|
-
"name": "
|
564
|
+
"name": "",
|
132
565
|
"type": "address"
|
133
566
|
}
|
134
567
|
],
|
@@ -137,12 +570,121 @@
|
|
137
570
|
},
|
138
571
|
{
|
139
572
|
"inputs": [],
|
140
|
-
"name": "
|
573
|
+
"name": "getSetupInfo",
|
141
574
|
"outputs": [
|
142
575
|
{
|
143
|
-
"
|
144
|
-
|
145
|
-
|
576
|
+
"components": [
|
577
|
+
{
|
578
|
+
"internalType": "NftId",
|
579
|
+
"name": "productNftId",
|
580
|
+
"type": "uint96"
|
581
|
+
},
|
582
|
+
{
|
583
|
+
"internalType": "contract TokenHandler",
|
584
|
+
"name": "tokenHandler",
|
585
|
+
"type": "address"
|
586
|
+
},
|
587
|
+
{
|
588
|
+
"internalType": "UFixed",
|
589
|
+
"name": "collateralizationLevel",
|
590
|
+
"type": "uint256"
|
591
|
+
},
|
592
|
+
{
|
593
|
+
"components": [
|
594
|
+
{
|
595
|
+
"internalType": "UFixed",
|
596
|
+
"name": "fractionalFee",
|
597
|
+
"type": "uint256"
|
598
|
+
},
|
599
|
+
{
|
600
|
+
"internalType": "uint256",
|
601
|
+
"name": "fixedFee",
|
602
|
+
"type": "uint256"
|
603
|
+
}
|
604
|
+
],
|
605
|
+
"internalType": "struct Fee",
|
606
|
+
"name": "poolFee",
|
607
|
+
"type": "tuple"
|
608
|
+
},
|
609
|
+
{
|
610
|
+
"components": [
|
611
|
+
{
|
612
|
+
"internalType": "UFixed",
|
613
|
+
"name": "fractionalFee",
|
614
|
+
"type": "uint256"
|
615
|
+
},
|
616
|
+
{
|
617
|
+
"internalType": "uint256",
|
618
|
+
"name": "fixedFee",
|
619
|
+
"type": "uint256"
|
620
|
+
}
|
621
|
+
],
|
622
|
+
"internalType": "struct Fee",
|
623
|
+
"name": "stakingFee",
|
624
|
+
"type": "tuple"
|
625
|
+
},
|
626
|
+
{
|
627
|
+
"components": [
|
628
|
+
{
|
629
|
+
"internalType": "UFixed",
|
630
|
+
"name": "fractionalFee",
|
631
|
+
"type": "uint256"
|
632
|
+
},
|
633
|
+
{
|
634
|
+
"internalType": "uint256",
|
635
|
+
"name": "fixedFee",
|
636
|
+
"type": "uint256"
|
637
|
+
}
|
638
|
+
],
|
639
|
+
"internalType": "struct Fee",
|
640
|
+
"name": "performanceFee",
|
641
|
+
"type": "tuple"
|
642
|
+
},
|
643
|
+
{
|
644
|
+
"internalType": "bool",
|
645
|
+
"name": "isIntercepting",
|
646
|
+
"type": "bool"
|
647
|
+
},
|
648
|
+
{
|
649
|
+
"internalType": "bool",
|
650
|
+
"name": "isConfirmingApplication",
|
651
|
+
"type": "bool"
|
652
|
+
},
|
653
|
+
{
|
654
|
+
"internalType": "address",
|
655
|
+
"name": "wallet",
|
656
|
+
"type": "address"
|
657
|
+
}
|
658
|
+
],
|
659
|
+
"internalType": "struct ISetup.PoolSetupInfo",
|
660
|
+
"name": "setupInfo",
|
661
|
+
"type": "tuple"
|
662
|
+
}
|
663
|
+
],
|
664
|
+
"stateMutability": "view",
|
665
|
+
"type": "function"
|
666
|
+
},
|
667
|
+
{
|
668
|
+
"inputs": [],
|
669
|
+
"name": "getToken",
|
670
|
+
"outputs": [
|
671
|
+
{
|
672
|
+
"internalType": "contract IERC20Metadata",
|
673
|
+
"name": "token",
|
674
|
+
"type": "address"
|
675
|
+
}
|
676
|
+
],
|
677
|
+
"stateMutability": "view",
|
678
|
+
"type": "function"
|
679
|
+
},
|
680
|
+
{
|
681
|
+
"inputs": [],
|
682
|
+
"name": "getWallet",
|
683
|
+
"outputs": [
|
684
|
+
{
|
685
|
+
"internalType": "address",
|
686
|
+
"name": "walletAddress",
|
687
|
+
"type": "address"
|
146
688
|
}
|
147
689
|
],
|
148
690
|
"stateMutability": "view",
|
@@ -150,25 +692,25 @@
|
|
150
692
|
},
|
151
693
|
{
|
152
694
|
"inputs": [],
|
153
|
-
"name": "
|
695
|
+
"name": "isConfirmingApplication",
|
154
696
|
"outputs": [
|
155
697
|
{
|
156
698
|
"internalType": "bool",
|
157
|
-
"name": "",
|
699
|
+
"name": "isConfirmingApplication",
|
158
700
|
"type": "bool"
|
159
701
|
}
|
160
702
|
],
|
161
|
-
"stateMutability": "
|
703
|
+
"stateMutability": "view",
|
162
704
|
"type": "function"
|
163
705
|
},
|
164
706
|
{
|
165
707
|
"inputs": [],
|
166
|
-
"name": "
|
708
|
+
"name": "isConsumingScheduledOp",
|
167
709
|
"outputs": [
|
168
710
|
{
|
169
|
-
"internalType": "
|
711
|
+
"internalType": "bytes4",
|
170
712
|
"name": "",
|
171
|
-
"type": "
|
713
|
+
"type": "bytes4"
|
172
714
|
}
|
173
715
|
],
|
174
716
|
"stateMutability": "view",
|
@@ -176,38 +718,197 @@
|
|
176
718
|
},
|
177
719
|
{
|
178
720
|
"inputs": [],
|
179
|
-
"name": "
|
721
|
+
"name": "linkToRegisteredNftId",
|
722
|
+
"outputs": [],
|
723
|
+
"stateMutability": "nonpayable",
|
724
|
+
"type": "function"
|
725
|
+
},
|
726
|
+
{
|
727
|
+
"inputs": [],
|
728
|
+
"name": "lock",
|
729
|
+
"outputs": [],
|
730
|
+
"stateMutability": "nonpayable",
|
731
|
+
"type": "function"
|
732
|
+
},
|
733
|
+
{
|
734
|
+
"inputs": [
|
735
|
+
{
|
736
|
+
"internalType": "bytes",
|
737
|
+
"name": "",
|
738
|
+
"type": "bytes"
|
739
|
+
},
|
740
|
+
{
|
741
|
+
"internalType": "bytes",
|
742
|
+
"name": "",
|
743
|
+
"type": "bytes"
|
744
|
+
}
|
745
|
+
],
|
746
|
+
"name": "policyMatchesBundle",
|
180
747
|
"outputs": [
|
748
|
+
{
|
749
|
+
"internalType": "bool",
|
750
|
+
"name": "isMatching",
|
751
|
+
"type": "bool"
|
752
|
+
}
|
753
|
+
],
|
754
|
+
"stateMutability": "view",
|
755
|
+
"type": "function"
|
756
|
+
},
|
757
|
+
{
|
758
|
+
"inputs": [
|
759
|
+
{
|
760
|
+
"internalType": "address",
|
761
|
+
"name": "newAuthority",
|
762
|
+
"type": "address"
|
763
|
+
}
|
764
|
+
],
|
765
|
+
"name": "setAuthority",
|
766
|
+
"outputs": [],
|
767
|
+
"stateMutability": "nonpayable",
|
768
|
+
"type": "function"
|
769
|
+
},
|
770
|
+
{
|
771
|
+
"inputs": [
|
772
|
+
{
|
773
|
+
"components": [
|
774
|
+
{
|
775
|
+
"internalType": "UFixed",
|
776
|
+
"name": "fractionalFee",
|
777
|
+
"type": "uint256"
|
778
|
+
},
|
779
|
+
{
|
780
|
+
"internalType": "uint256",
|
781
|
+
"name": "fixedFee",
|
782
|
+
"type": "uint256"
|
783
|
+
}
|
784
|
+
],
|
785
|
+
"internalType": "struct Fee",
|
786
|
+
"name": "poolFee",
|
787
|
+
"type": "tuple"
|
788
|
+
},
|
789
|
+
{
|
790
|
+
"components": [
|
791
|
+
{
|
792
|
+
"internalType": "UFixed",
|
793
|
+
"name": "fractionalFee",
|
794
|
+
"type": "uint256"
|
795
|
+
},
|
796
|
+
{
|
797
|
+
"internalType": "uint256",
|
798
|
+
"name": "fixedFee",
|
799
|
+
"type": "uint256"
|
800
|
+
}
|
801
|
+
],
|
802
|
+
"internalType": "struct Fee",
|
803
|
+
"name": "stakingFee",
|
804
|
+
"type": "tuple"
|
805
|
+
},
|
806
|
+
{
|
807
|
+
"components": [
|
808
|
+
{
|
809
|
+
"internalType": "UFixed",
|
810
|
+
"name": "fractionalFee",
|
811
|
+
"type": "uint256"
|
812
|
+
},
|
813
|
+
{
|
814
|
+
"internalType": "uint256",
|
815
|
+
"name": "fixedFee",
|
816
|
+
"type": "uint256"
|
817
|
+
}
|
818
|
+
],
|
819
|
+
"internalType": "struct Fee",
|
820
|
+
"name": "performanceFee",
|
821
|
+
"type": "tuple"
|
822
|
+
}
|
823
|
+
],
|
824
|
+
"name": "setFees",
|
825
|
+
"outputs": [],
|
826
|
+
"stateMutability": "nonpayable",
|
827
|
+
"type": "function"
|
828
|
+
},
|
829
|
+
{
|
830
|
+
"inputs": [
|
181
831
|
{
|
182
832
|
"internalType": "NftId",
|
183
|
-
"name": "
|
833
|
+
"name": "productNftId",
|
184
834
|
"type": "uint96"
|
185
835
|
}
|
186
836
|
],
|
837
|
+
"name": "setProductNftId",
|
838
|
+
"outputs": [],
|
187
839
|
"stateMutability": "nonpayable",
|
188
840
|
"type": "function"
|
189
|
-
}
|
190
|
-
|
191
|
-
|
192
|
-
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100a95760003560e01c80635ab1bd53116100715780635ab1bd5314610144578063644c45e01461016257806379e829d014610180578063893d20e81461019e578063de7b5d14146101bc578063fb2cb101146101da576100a9565b806315dae03e146100ae5780631aa3a008146100cc57806322366844146100ea57806331b62a3b146101085780633bc5de3014610126575b600080fd5b6100b66101f8565b6040516100c39190610acd565b60405180910390f35b6100d461028f565b6040516100e19190610b3b565b60405180910390f35b6100f26105a7565b6040516100ff9190610b71565b60405180910390f35b6101106106d4565b60405161011d9190610b3b565b60405180910390f35b61012e610751565b60405161013b9190610c1c565b60405180910390f35b61014c6107ed565b6040516101599190610cb3565b60405180910390f35b61016a610816565b6040516101779190610b3b565b60405180910390f35b6101886108b8565b6040516101959190610b71565b60405180910390f35b6101a66108c1565b6040516101b39190610cef565b60405180910390f35b6101c4610a60565b6040516101d19190610d2b565b60405180910390f35b6101e2610a8a565b6040516101ef9190610cef565b60405180910390f35b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637535d2466040518163ffffffff1660e01b8152600401602060405180830381865afa158015610266573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061028a9190610d77565b905090565b6000610299610a8a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610306576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102fd90610ddb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610395576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161038c90610e47565b60405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c3c5a547600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b81526004016104109190610cef565b602060405180830381865afa15801561042d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104519190610e93565b610490576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161048790610f32565b60405180910390fd5b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105239190610f90565b90508073ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b815260040161055e9190610fde565b6020604051808303816000875af115801561057d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105a19190611025565b91505090565b60008060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b81526004016106039190610cef565b602060405180830381865afa158015610620573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106449190611025565b9050806bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6330b8415f90916040518263ffffffff1660e01b815260040161068d9190611061565b602060405180830381865af41580156106aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ce9190610e93565b91505090565b60006106de610a60565b73ffffffffffffffffffffffffffffffffffffffff1663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610728573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074c9190611025565b905090565b606061075b610a60565b73ffffffffffffffffffffffffffffffffffffffff1663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107c99190611025565b6040516020016107d99190610b3b565b604051602081830303815290604052905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b81526004016108729190610cef565b602060405180830381865afa15801561088f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b39190611025565b905090565b60006001905090565b60008060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b815260040161091d9190610cef565b602060405180830381865afa15801561093a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095e9190611025565b905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663df33330b826040518263ffffffff1660e01b81526004016109b99190610b3b565b602060405180830381865afa1580156109d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109fa91906110a8565b9150600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a5857600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610a5a565b815b91505090565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000819050919050565b610ac781610ab4565b82525050565b6000602082019050610ae26000830184610abe565b92915050565b60006bffffffffffffffffffffffff82169050919050565b6000819050919050565b6000610b25610b20610b1b84610ae8565b610b00565b610ae8565b9050919050565b610b3581610b0a565b82525050565b6000602082019050610b506000830184610b2c565b92915050565b60008115159050919050565b610b6b81610b56565b82525050565b6000602082019050610b866000830184610b62565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610bc6578082015181840152602081019050610bab565b60008484015250505050565b6000601f19601f8301169050919050565b6000610bee82610b8c565b610bf88185610b97565b9350610c08818560208601610ba8565b610c1181610bd2565b840191505092915050565b60006020820190508181036000830152610c368184610be3565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610c79610c74610c6f84610c3e565b610b00565b610c3e565b9050919050565b6000610c8b82610c5e565b9050919050565b6000610c9d82610c80565b9050919050565b610cad81610c92565b82525050565b6000602082019050610cc86000830184610ca4565b92915050565b6000610cd982610c3e565b9050919050565b610ce981610cce565b82525050565b6000602082019050610d046000830184610ce0565b92915050565b6000610d1582610c80565b9050919050565b610d2581610d0a565b82525050565b6000602082019050610d406000830184610d1c565b92915050565b600080fd5b610d5481610ab4565b8114610d5f57600080fd5b50565b600081519050610d7181610d4b565b92915050565b600060208284031215610d8d57610d8c610d46565b5b6000610d9b84828501610d62565b91505092915050565b600082825260208201905092915050565b50565b6000610dc5600083610da4565b9150610dd082610db5565b600082019050919050565b60006020820190508181036000830152610df481610db8565b9050919050565b7f4552524f523a5052442d3030313a52454749535452595f5a45524f0000000000600082015250565b6000610e31601b83610da4565b9150610e3c82610dfb565b602082019050919050565b60006020820190508181036000830152610e6081610e24565b9050919050565b610e7081610b56565b8114610e7b57600080fd5b50565b600081519050610e8d81610e67565b92915050565b600060208284031215610ea957610ea8610d46565b5b6000610eb784828501610e7e565b91505092915050565b7f4552524f523a5052442d3030323a494e5354414e43455f4e4f545f524547495360008201527f5445524544000000000000000000000000000000000000000000000000000000602082015250565b6000610f1c602583610da4565b9150610f2782610ec0565b604082019050919050565b60006020820190508181036000830152610f4b81610f0f565b9050919050565b6000610f5d82610cce565b9050919050565b610f6d81610f52565b8114610f7857600080fd5b50565b600081519050610f8a81610f64565b92915050565b600060208284031215610fa657610fa5610d46565b5b6000610fb484828501610f7b565b91505092915050565b6000610fc882610c80565b9050919050565b610fd881610fbd565b82525050565b6000602082019050610ff36000830184610fcf565b92915050565b61100281610ae8565b811461100d57600080fd5b50565b60008151905061101f81610ff9565b92915050565b60006020828403121561103b5761103a610d46565b5b600061104984828501611010565b91505092915050565b61105b81610b0a565b82525050565b60006020820190506110766000830184611052565b92915050565b61108581610cce565b811461109057600080fd5b50565b6000815190506110a28161107c565b92915050565b6000602082840312156110be576110bd610d46565b5b60006110cc84828501611093565b9150509291505056fea264697066735822122005bac56705b457d638448a7de7b7f966cd247ed665bf88965d86c896c9bb923e64736f6c63430008140033",
|
193
|
-
"linkReferences": {
|
194
|
-
"contracts/types/NftId.sol": {
|
195
|
-
"NftIdLib": [
|
841
|
+
},
|
842
|
+
{
|
843
|
+
"inputs": [
|
196
844
|
{
|
197
|
-
"
|
198
|
-
"
|
845
|
+
"internalType": "address",
|
846
|
+
"name": "newWallet",
|
847
|
+
"type": "address"
|
199
848
|
}
|
200
|
-
]
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
849
|
+
],
|
850
|
+
"name": "setWallet",
|
851
|
+
"outputs": [],
|
852
|
+
"stateMutability": "nonpayable",
|
853
|
+
"type": "function"
|
854
|
+
},
|
855
|
+
{
|
856
|
+
"inputs": [
|
857
|
+
{
|
858
|
+
"internalType": "bytes4",
|
859
|
+
"name": "interfaceId",
|
860
|
+
"type": "bytes4"
|
861
|
+
}
|
862
|
+
],
|
863
|
+
"name": "supportsInterface",
|
864
|
+
"outputs": [
|
865
|
+
{
|
866
|
+
"internalType": "bool",
|
867
|
+
"name": "",
|
868
|
+
"type": "bool"
|
869
|
+
}
|
870
|
+
],
|
871
|
+
"stateMutability": "view",
|
872
|
+
"type": "function"
|
873
|
+
},
|
874
|
+
{
|
875
|
+
"inputs": [
|
876
|
+
{
|
877
|
+
"internalType": "NftId",
|
878
|
+
"name": "policyNftId",
|
879
|
+
"type": "uint96"
|
880
|
+
},
|
881
|
+
{
|
882
|
+
"internalType": "bytes",
|
883
|
+
"name": "policyData",
|
884
|
+
"type": "bytes"
|
885
|
+
},
|
886
|
+
{
|
887
|
+
"internalType": "bytes",
|
888
|
+
"name": "bundleFilter",
|
889
|
+
"type": "bytes"
|
890
|
+
},
|
206
891
|
{
|
207
|
-
"
|
208
|
-
"
|
892
|
+
"internalType": "uint256",
|
893
|
+
"name": "collateralizationAmount",
|
894
|
+
"type": "uint256"
|
209
895
|
}
|
210
|
-
]
|
896
|
+
],
|
897
|
+
"name": "underwrite",
|
898
|
+
"outputs": [],
|
899
|
+
"stateMutability": "nonpayable",
|
900
|
+
"type": "function"
|
901
|
+
},
|
902
|
+
{
|
903
|
+
"inputs": [],
|
904
|
+
"name": "unlock",
|
905
|
+
"outputs": [],
|
906
|
+
"stateMutability": "nonpayable",
|
907
|
+
"type": "function"
|
211
908
|
}
|
212
|
-
|
909
|
+
],
|
910
|
+
"bytecode": "0x",
|
911
|
+
"deployedBytecode": "0x",
|
912
|
+
"linkReferences": {},
|
913
|
+
"deployedLinkReferences": {}
|
213
914
|
}
|