@etherisc/gif-next 0.0.2-cc253b3 → 0.0.2-cddad6b-504
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +178 -6
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +4 -0
- package/artifacts/contracts/components/{Component.sol/Component.json → BaseComponent.sol/BaseComponent.json} +48 -53
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +405 -0
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +4 -0
- package/artifacts/contracts/components/{IPool.sol/IPoolComponent.json → IBaseComponent.sol/IBaseComponent.json} +48 -53
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +340 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +487 -0
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +370 -0
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +405 -40
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +258 -45
- 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/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1362 -247
- package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +4 -0
- package/artifacts/contracts/instance/{component/IComponent.sol → IInstanceLinked.sol}/IInstanceLinked.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +1682 -356
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/{component/IComponent.sol/IComponentModule.json → base/ComponentServiceBase.sol/ComponentServiceBase.json} +156 -101
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +113 -0
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +560 -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/IService.sol/IService.dbg.json +4 -0
- package/artifacts/contracts/instance/{component/IComponent.sol/IComponentContract.json → base/IService.sol/IService.json} +148 -27
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +376 -0
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +710 -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/base/ModuleBase.sol/ModuleBase.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.json +10 -0
- package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +4 -0
- package/artifacts/contracts/{components/IProduct.sol/IProductComponent.json → instance/base/ServiceBase.sol/ServiceBase.json} +145 -37
- package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +4 -0
- package/artifacts/contracts/instance/{access → module/access}/Access.sol/AccessModule.json +85 -152
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/instance/{access → module/access}/IAccess.sol/IAccess.json +1 -1
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +4 -0
- package/artifacts/contracts/instance/{access → module/access}/IAccess.sol/IAccessModule.json +96 -99
- package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +297 -0
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +4 -0
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.json +10 -0
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +297 -0
- package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +117 -0
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/instance/{component → module/component}/IComponent.sol/IComponent.json +1 -1
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +4 -0
- package/artifacts/contracts/instance/{product/IProductService.sol/IProductService.json → module/component/IComponent.sol/IComponentModule.json} +56 -53
- package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +10 -0
- package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +4 -0
- package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.json +10 -0
- package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +10 -0
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +4 -0
- package/artifacts/contracts/instance/{policy → module/policy}/IPolicy.sol/IPolicy.json +1 -1
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +4 -0
- package/artifacts/contracts/instance/{policy → module/policy}/IPolicy.sol/IPolicyModule.json +159 -106
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +4 -0
- package/artifacts/contracts/instance/{policy → module/policy}/PolicyModule.sol/PolicyModule.json +159 -106
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +4 -0
- package/artifacts/contracts/instance/{pool → module/pool}/IPoolModule.sol/IPool.json +1 -1
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +4 -0
- package/artifacts/contracts/instance/{pool → module/pool}/IPoolModule.sol/IPoolModule.json +57 -62
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +144 -0
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +4 -0
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.json +10 -0
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +113 -0
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +131 -0
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +4 -0
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.json +10 -0
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +511 -0
- package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +4 -0
- package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +76 -0
- package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +511 -0
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +531 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +420 -0
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +364 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/{component/ComponentModule.sol/ComponentModule.json → service/IDistributionService.sol/IDistributionService.json} +137 -139
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +440 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +630 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +543 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +858 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +65 -2
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +103 -77
- package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +24 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +194 -69
- package/artifacts/contracts/registry/RegistryUpgradeable.sol/RegistryUpgradeable.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryUpgradeable.sol/RegistryUpgradeable.json +495 -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/IOwnable.sol/IOwnable.dbg.json +4 -0
- package/artifacts/contracts/{registry/IRegistry.sol → shared/IOwnable.sol}/IOwnable.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
- package/artifacts/contracts/{registry/IRegistry.sol → shared/IRegisterable.sol}/IRegisterable.json +18 -63
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +164 -0
- package/artifacts/contracts/shared/Proxy.sol/Proxy.dbg.json +4 -0
- package/artifacts/contracts/shared/Proxy.sol/Proxy.json +178 -0
- package/artifacts/contracts/shared/Proxy.sol/ProxyWithProxyAdminGetter.dbg.json +4 -0
- package/artifacts/contracts/shared/Proxy.sol/ProxyWithProxyAdminGetter.json +129 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
- package/artifacts/contracts/{registry/Registry.sol → shared/Registerable.sol}/Registerable.json +18 -63
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
- package/artifacts/contracts/{instance/pool/PoolModule.sol/PoolModule.json → shared/Versionable.sol/Versionable.json} +74 -72
- package/artifacts/contracts/shared/VersionableUpgradeable.sol/VersionableUpgradeable.dbg.json +4 -0
- package/artifacts/contracts/shared/VersionableUpgradeable.sol/VersionableUpgradeable.json +187 -0
- package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +4 -0
- package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +405 -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/TestPool.sol/TestPool.dbg.json +4 -0
- package/artifacts/contracts/test/TestPool.sol/TestPool.json +578 -0
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +4 -0
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +575 -0
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +137 -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 +379 -0
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +4 -0
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +338 -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 +206 -0
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
- package/artifacts/contracts/test/Usdc.sol/USDC.json +338 -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 +4 -0
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +174 -0
- 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/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 +111 -0
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +91 -6
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +10 -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/ReferralId.sol/ReferralIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +99 -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 +30 -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 +4 -0
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +236 -0
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +4 -0
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +479 -0
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
- package/artifacts/contracts/types/Version.sol/VersionLib.json +139 -0
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +30 -0
- package/contracts/components/BaseComponent.sol +94 -0
- package/contracts/components/Distribution.sol +132 -0
- package/contracts/components/IBaseComponent.sol +19 -0
- package/contracts/components/IDistributionComponent.sol +47 -0
- package/contracts/components/IPoolComponent.sol +71 -0
- package/contracts/components/IProductComponent.sol +38 -0
- package/contracts/components/Pool.sol +222 -16
- package/contracts/components/Product.sol +193 -32
- 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/README.md +112 -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/IInstance.sol +41 -8
- package/contracts/instance/IInstanceLinked.sol +8 -0
- package/contracts/instance/Instance.sol +54 -44
- package/contracts/instance/base/ComponentServiceBase.sol +42 -0
- package/contracts/instance/base/IInstanceBase.sol +22 -0
- package/contracts/instance/base/IKeyValueStore.sol +50 -0
- package/contracts/instance/base/ILifecycle.sol +30 -0
- package/contracts/instance/base/IService.sol +15 -0
- package/contracts/instance/base/InstanceBase.sol +91 -0
- package/contracts/instance/base/KeyValueStore.sol +161 -0
- package/contracts/instance/base/Lifecycle.sol +100 -0
- package/contracts/instance/base/ModuleBase.sol +57 -0
- package/contracts/instance/base/ServiceBase.sol +37 -0
- package/contracts/instance/module/access/Access.sol +149 -0
- package/contracts/instance/module/access/IAccess.sol +53 -0
- package/contracts/instance/module/bundle/BundleModule.sol +134 -0
- package/contracts/instance/module/bundle/IBundle.sol +53 -0
- package/contracts/instance/module/component/ComponentModule.sol +70 -0
- package/contracts/instance/module/component/IComponent.sol +28 -0
- package/contracts/instance/module/distribution/DistributionModule.sol +17 -0
- package/contracts/instance/module/distribution/IDistribution.sol +10 -0
- package/contracts/instance/module/policy/IPolicy.sol +63 -0
- package/contracts/instance/module/policy/PolicyModule.sol +91 -0
- package/contracts/instance/module/pool/IPoolModule.sol +40 -0
- package/contracts/instance/module/pool/PoolModule.sol +90 -0
- package/contracts/instance/module/risk/IRisk.sol +26 -0
- package/contracts/instance/module/risk/RiskModule.sol +62 -0
- package/contracts/instance/module/treasury/ITreasury.sol +82 -0
- package/contracts/instance/module/treasury/TokenHandler.sol +48 -0
- package/contracts/instance/module/treasury/TreasuryModule.sol +138 -0
- package/contracts/instance/service/ComponentOwnerService.sol +157 -0
- package/contracts/instance/service/DistributionService.sol +59 -0
- package/contracts/instance/service/IComponentOwnerService.sol +22 -0
- package/contracts/instance/service/IDistributionService.sol +12 -0
- package/contracts/instance/service/IPoolService.sol +37 -0
- package/contracts/instance/service/IProductService.sol +107 -0
- package/contracts/instance/service/PoolService.sol +149 -0
- package/contracts/instance/service/ProductService.sol +509 -0
- package/contracts/registry/ChainNft.sol +80 -94
- package/contracts/registry/IChainNft.sol +10 -7
- package/contracts/registry/IRegistry.sol +38 -51
- package/contracts/registry/IRegistryLinked.sol +8 -0
- package/contracts/registry/Registry.sol +310 -111
- package/contracts/registry/RegistryUpgradeable.sol +416 -0
- package/contracts/shared/ERC165.sol +21 -0
- package/contracts/shared/IOwnable.sol +6 -0
- package/contracts/shared/IRegisterable.sol +24 -0
- package/contracts/shared/IVersionable.sol +52 -0
- package/contracts/shared/Proxy.sol +83 -0
- package/contracts/shared/Registerable.sol +86 -0
- package/contracts/shared/Versionable.sol +89 -0
- package/contracts/shared/VersionableUpgradeable.sol +108 -0
- package/contracts/test/TestDistribution.sol +21 -0
- package/contracts/test/TestFee.sol +25 -0
- package/contracts/test/TestPool.sol +25 -0
- package/contracts/test/TestProduct.sol +72 -0
- package/contracts/test/TestRegisterable.sol +19 -0
- package/contracts/test/TestRoleId.sol +14 -0
- package/contracts/test/TestService.sol +32 -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 +118 -0
- package/contracts/types/ChainId.sol +24 -10
- package/contracts/types/Fee.sol +56 -0
- package/contracts/types/Key32.sol +45 -0
- package/contracts/types/NftId.sol +55 -9
- package/contracts/types/NftIdSet.sol +60 -0
- package/contracts/types/ObjectType.sol +131 -0
- package/contracts/types/ReferralId.sol +48 -0
- package/contracts/types/RiskId.sol +43 -0
- package/contracts/types/RoleId.sol +38 -0
- package/contracts/types/StateId.sol +101 -0
- package/contracts/types/Timestamp.sol +123 -0
- package/contracts/types/UFixed.sol +209 -0
- package/contracts/types/Version.sol +95 -0
- package/package.json +19 -5
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
- 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/instance/access/Access.sol/AccessModule.dbg.json +0 -4
- 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/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
- 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/IComponentModule.dbg.json +0 -4
- 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/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/PolicyModule.sol/PolicyModule.dbg.json +0 -4
- 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/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/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/IRegistry.sol/IOwnable.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
- 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/RegistryLinked.dbg.json +0 -4
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
- package/contracts/components/Component.sol +0 -62
- 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
@@ -0,0 +1,575 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "TestProduct",
|
4
|
+
"sourceName": "contracts/test/TestProduct.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "registry",
|
11
|
+
"type": "address"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"internalType": "NftId",
|
15
|
+
"name": "instanceNftid",
|
16
|
+
"type": "uint96"
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"internalType": "address",
|
20
|
+
"name": "token",
|
21
|
+
"type": "address"
|
22
|
+
},
|
23
|
+
{
|
24
|
+
"internalType": "address",
|
25
|
+
"name": "pool",
|
26
|
+
"type": "address"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"internalType": "address",
|
30
|
+
"name": "distribution",
|
31
|
+
"type": "address"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"components": [
|
35
|
+
{
|
36
|
+
"internalType": "UFixed",
|
37
|
+
"name": "fractionalFee",
|
38
|
+
"type": "uint256"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"internalType": "uint256",
|
42
|
+
"name": "fixedFee",
|
43
|
+
"type": "uint256"
|
44
|
+
}
|
45
|
+
],
|
46
|
+
"internalType": "struct Fee",
|
47
|
+
"name": "productFee",
|
48
|
+
"type": "tuple"
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"components": [
|
52
|
+
{
|
53
|
+
"internalType": "UFixed",
|
54
|
+
"name": "fractionalFee",
|
55
|
+
"type": "uint256"
|
56
|
+
},
|
57
|
+
{
|
58
|
+
"internalType": "uint256",
|
59
|
+
"name": "fixedFee",
|
60
|
+
"type": "uint256"
|
61
|
+
}
|
62
|
+
],
|
63
|
+
"internalType": "struct Fee",
|
64
|
+
"name": "processingFee",
|
65
|
+
"type": "tuple"
|
66
|
+
}
|
67
|
+
],
|
68
|
+
"stateMutability": "nonpayable",
|
69
|
+
"type": "constructor"
|
70
|
+
},
|
71
|
+
{
|
72
|
+
"anonymous": false,
|
73
|
+
"inputs": [
|
74
|
+
{
|
75
|
+
"indexed": false,
|
76
|
+
"internalType": "address",
|
77
|
+
"name": "sender",
|
78
|
+
"type": "address"
|
79
|
+
}
|
80
|
+
],
|
81
|
+
"name": "LogTestProductSender",
|
82
|
+
"type": "event"
|
83
|
+
},
|
84
|
+
{
|
85
|
+
"inputs": [],
|
86
|
+
"name": "DEFAULT_RISK_NAME",
|
87
|
+
"outputs": [
|
88
|
+
{
|
89
|
+
"internalType": "string",
|
90
|
+
"name": "",
|
91
|
+
"type": "string"
|
92
|
+
}
|
93
|
+
],
|
94
|
+
"stateMutability": "view",
|
95
|
+
"type": "function"
|
96
|
+
},
|
97
|
+
{
|
98
|
+
"inputs": [
|
99
|
+
{
|
100
|
+
"internalType": "uint256",
|
101
|
+
"name": "sumInsuredAmount",
|
102
|
+
"type": "uint256"
|
103
|
+
},
|
104
|
+
{
|
105
|
+
"internalType": "uint256",
|
106
|
+
"name": "lifetime",
|
107
|
+
"type": "uint256"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"internalType": "NftId",
|
111
|
+
"name": "bundleNftId",
|
112
|
+
"type": "uint96"
|
113
|
+
},
|
114
|
+
{
|
115
|
+
"internalType": "ReferralId",
|
116
|
+
"name": "referralId",
|
117
|
+
"type": "bytes8"
|
118
|
+
}
|
119
|
+
],
|
120
|
+
"name": "applyForPolicy",
|
121
|
+
"outputs": [
|
122
|
+
{
|
123
|
+
"internalType": "NftId",
|
124
|
+
"name": "nftId",
|
125
|
+
"type": "uint96"
|
126
|
+
}
|
127
|
+
],
|
128
|
+
"stateMutability": "nonpayable",
|
129
|
+
"type": "function"
|
130
|
+
},
|
131
|
+
{
|
132
|
+
"inputs": [
|
133
|
+
{
|
134
|
+
"internalType": "uint256",
|
135
|
+
"name": "sumInsuredAmount",
|
136
|
+
"type": "uint256"
|
137
|
+
},
|
138
|
+
{
|
139
|
+
"internalType": "RiskId",
|
140
|
+
"name": "riskId",
|
141
|
+
"type": "bytes8"
|
142
|
+
},
|
143
|
+
{
|
144
|
+
"internalType": "uint256",
|
145
|
+
"name": "lifetime",
|
146
|
+
"type": "uint256"
|
147
|
+
},
|
148
|
+
{
|
149
|
+
"internalType": "bytes",
|
150
|
+
"name": "applicationData",
|
151
|
+
"type": "bytes"
|
152
|
+
}
|
153
|
+
],
|
154
|
+
"name": "calculateNetPremium",
|
155
|
+
"outputs": [
|
156
|
+
{
|
157
|
+
"internalType": "uint256",
|
158
|
+
"name": "netPremiumAmount",
|
159
|
+
"type": "uint256"
|
160
|
+
}
|
161
|
+
],
|
162
|
+
"stateMutability": "view",
|
163
|
+
"type": "function"
|
164
|
+
},
|
165
|
+
{
|
166
|
+
"inputs": [
|
167
|
+
{
|
168
|
+
"internalType": "uint256",
|
169
|
+
"name": "sumInsuredAmount",
|
170
|
+
"type": "uint256"
|
171
|
+
},
|
172
|
+
{
|
173
|
+
"internalType": "RiskId",
|
174
|
+
"name": "riskId",
|
175
|
+
"type": "bytes8"
|
176
|
+
},
|
177
|
+
{
|
178
|
+
"internalType": "uint256",
|
179
|
+
"name": "lifetime",
|
180
|
+
"type": "uint256"
|
181
|
+
},
|
182
|
+
{
|
183
|
+
"internalType": "bytes",
|
184
|
+
"name": "applicationData",
|
185
|
+
"type": "bytes"
|
186
|
+
},
|
187
|
+
{
|
188
|
+
"internalType": "ReferralId",
|
189
|
+
"name": "referralId",
|
190
|
+
"type": "bytes8"
|
191
|
+
},
|
192
|
+
{
|
193
|
+
"internalType": "NftId",
|
194
|
+
"name": "bundleNftId",
|
195
|
+
"type": "uint96"
|
196
|
+
}
|
197
|
+
],
|
198
|
+
"name": "calculatePremium",
|
199
|
+
"outputs": [
|
200
|
+
{
|
201
|
+
"internalType": "uint256",
|
202
|
+
"name": "premiumAmount",
|
203
|
+
"type": "uint256"
|
204
|
+
}
|
205
|
+
],
|
206
|
+
"stateMutability": "view",
|
207
|
+
"type": "function"
|
208
|
+
},
|
209
|
+
{
|
210
|
+
"inputs": [
|
211
|
+
{
|
212
|
+
"internalType": "NftId",
|
213
|
+
"name": "nftId",
|
214
|
+
"type": "uint96"
|
215
|
+
},
|
216
|
+
{
|
217
|
+
"internalType": "Timestamp",
|
218
|
+
"name": "activateAt",
|
219
|
+
"type": "uint40"
|
220
|
+
}
|
221
|
+
],
|
222
|
+
"name": "collectPremium",
|
223
|
+
"outputs": [],
|
224
|
+
"stateMutability": "nonpayable",
|
225
|
+
"type": "function"
|
226
|
+
},
|
227
|
+
{
|
228
|
+
"inputs": [],
|
229
|
+
"name": "getData",
|
230
|
+
"outputs": [
|
231
|
+
{
|
232
|
+
"internalType": "bytes",
|
233
|
+
"name": "data",
|
234
|
+
"type": "bytes"
|
235
|
+
}
|
236
|
+
],
|
237
|
+
"stateMutability": "view",
|
238
|
+
"type": "function"
|
239
|
+
},
|
240
|
+
{
|
241
|
+
"inputs": [],
|
242
|
+
"name": "getDefaultRiskId",
|
243
|
+
"outputs": [
|
244
|
+
{
|
245
|
+
"internalType": "RiskId",
|
246
|
+
"name": "",
|
247
|
+
"type": "bytes8"
|
248
|
+
}
|
249
|
+
],
|
250
|
+
"stateMutability": "pure",
|
251
|
+
"type": "function"
|
252
|
+
},
|
253
|
+
{
|
254
|
+
"inputs": [],
|
255
|
+
"name": "getDistributionNftId",
|
256
|
+
"outputs": [
|
257
|
+
{
|
258
|
+
"internalType": "NftId",
|
259
|
+
"name": "distributionNftId",
|
260
|
+
"type": "uint96"
|
261
|
+
}
|
262
|
+
],
|
263
|
+
"stateMutability": "view",
|
264
|
+
"type": "function"
|
265
|
+
},
|
266
|
+
{
|
267
|
+
"inputs": [],
|
268
|
+
"name": "getInstance",
|
269
|
+
"outputs": [
|
270
|
+
{
|
271
|
+
"internalType": "contract IInstance",
|
272
|
+
"name": "instance",
|
273
|
+
"type": "address"
|
274
|
+
}
|
275
|
+
],
|
276
|
+
"stateMutability": "view",
|
277
|
+
"type": "function"
|
278
|
+
},
|
279
|
+
{
|
280
|
+
"inputs": [],
|
281
|
+
"name": "getNftId",
|
282
|
+
"outputs": [
|
283
|
+
{
|
284
|
+
"internalType": "NftId",
|
285
|
+
"name": "nftId",
|
286
|
+
"type": "uint96"
|
287
|
+
}
|
288
|
+
],
|
289
|
+
"stateMutability": "view",
|
290
|
+
"type": "function"
|
291
|
+
},
|
292
|
+
{
|
293
|
+
"inputs": [],
|
294
|
+
"name": "getOwner",
|
295
|
+
"outputs": [
|
296
|
+
{
|
297
|
+
"internalType": "address",
|
298
|
+
"name": "owner",
|
299
|
+
"type": "address"
|
300
|
+
}
|
301
|
+
],
|
302
|
+
"stateMutability": "view",
|
303
|
+
"type": "function"
|
304
|
+
},
|
305
|
+
{
|
306
|
+
"inputs": [],
|
307
|
+
"name": "getParentNftId",
|
308
|
+
"outputs": [
|
309
|
+
{
|
310
|
+
"internalType": "NftId",
|
311
|
+
"name": "nftId",
|
312
|
+
"type": "uint96"
|
313
|
+
}
|
314
|
+
],
|
315
|
+
"stateMutability": "view",
|
316
|
+
"type": "function"
|
317
|
+
},
|
318
|
+
{
|
319
|
+
"inputs": [],
|
320
|
+
"name": "getPoolNftId",
|
321
|
+
"outputs": [
|
322
|
+
{
|
323
|
+
"internalType": "NftId",
|
324
|
+
"name": "poolNftId",
|
325
|
+
"type": "uint96"
|
326
|
+
}
|
327
|
+
],
|
328
|
+
"stateMutability": "view",
|
329
|
+
"type": "function"
|
330
|
+
},
|
331
|
+
{
|
332
|
+
"inputs": [],
|
333
|
+
"name": "getProcessingFee",
|
334
|
+
"outputs": [
|
335
|
+
{
|
336
|
+
"components": [
|
337
|
+
{
|
338
|
+
"internalType": "UFixed",
|
339
|
+
"name": "fractionalFee",
|
340
|
+
"type": "uint256"
|
341
|
+
},
|
342
|
+
{
|
343
|
+
"internalType": "uint256",
|
344
|
+
"name": "fixedFee",
|
345
|
+
"type": "uint256"
|
346
|
+
}
|
347
|
+
],
|
348
|
+
"internalType": "struct Fee",
|
349
|
+
"name": "processingFee",
|
350
|
+
"type": "tuple"
|
351
|
+
}
|
352
|
+
],
|
353
|
+
"stateMutability": "view",
|
354
|
+
"type": "function"
|
355
|
+
},
|
356
|
+
{
|
357
|
+
"inputs": [],
|
358
|
+
"name": "getProductFee",
|
359
|
+
"outputs": [
|
360
|
+
{
|
361
|
+
"components": [
|
362
|
+
{
|
363
|
+
"internalType": "UFixed",
|
364
|
+
"name": "fractionalFee",
|
365
|
+
"type": "uint256"
|
366
|
+
},
|
367
|
+
{
|
368
|
+
"internalType": "uint256",
|
369
|
+
"name": "fixedFee",
|
370
|
+
"type": "uint256"
|
371
|
+
}
|
372
|
+
],
|
373
|
+
"internalType": "struct Fee",
|
374
|
+
"name": "productFee",
|
375
|
+
"type": "tuple"
|
376
|
+
}
|
377
|
+
],
|
378
|
+
"stateMutability": "view",
|
379
|
+
"type": "function"
|
380
|
+
},
|
381
|
+
{
|
382
|
+
"inputs": [],
|
383
|
+
"name": "getRegistry",
|
384
|
+
"outputs": [
|
385
|
+
{
|
386
|
+
"internalType": "contract IRegistry",
|
387
|
+
"name": "registry",
|
388
|
+
"type": "address"
|
389
|
+
}
|
390
|
+
],
|
391
|
+
"stateMutability": "view",
|
392
|
+
"type": "function"
|
393
|
+
},
|
394
|
+
{
|
395
|
+
"inputs": [],
|
396
|
+
"name": "getToken",
|
397
|
+
"outputs": [
|
398
|
+
{
|
399
|
+
"internalType": "contract IERC20Metadata",
|
400
|
+
"name": "token",
|
401
|
+
"type": "address"
|
402
|
+
}
|
403
|
+
],
|
404
|
+
"stateMutability": "view",
|
405
|
+
"type": "function"
|
406
|
+
},
|
407
|
+
{
|
408
|
+
"inputs": [],
|
409
|
+
"name": "getType",
|
410
|
+
"outputs": [
|
411
|
+
{
|
412
|
+
"internalType": "ObjectType",
|
413
|
+
"name": "",
|
414
|
+
"type": "uint8"
|
415
|
+
}
|
416
|
+
],
|
417
|
+
"stateMutability": "pure",
|
418
|
+
"type": "function"
|
419
|
+
},
|
420
|
+
{
|
421
|
+
"inputs": [],
|
422
|
+
"name": "getWallet",
|
423
|
+
"outputs": [
|
424
|
+
{
|
425
|
+
"internalType": "address",
|
426
|
+
"name": "walletAddress",
|
427
|
+
"type": "address"
|
428
|
+
}
|
429
|
+
],
|
430
|
+
"stateMutability": "view",
|
431
|
+
"type": "function"
|
432
|
+
},
|
433
|
+
{
|
434
|
+
"inputs": [],
|
435
|
+
"name": "lock",
|
436
|
+
"outputs": [],
|
437
|
+
"stateMutability": "nonpayable",
|
438
|
+
"type": "function"
|
439
|
+
},
|
440
|
+
{
|
441
|
+
"inputs": [],
|
442
|
+
"name": "register",
|
443
|
+
"outputs": [
|
444
|
+
{
|
445
|
+
"internalType": "NftId",
|
446
|
+
"name": "componentId",
|
447
|
+
"type": "uint96"
|
448
|
+
}
|
449
|
+
],
|
450
|
+
"stateMutability": "nonpayable",
|
451
|
+
"type": "function"
|
452
|
+
},
|
453
|
+
{
|
454
|
+
"inputs": [
|
455
|
+
{
|
456
|
+
"components": [
|
457
|
+
{
|
458
|
+
"internalType": "UFixed",
|
459
|
+
"name": "fractionalFee",
|
460
|
+
"type": "uint256"
|
461
|
+
},
|
462
|
+
{
|
463
|
+
"internalType": "uint256",
|
464
|
+
"name": "fixedFee",
|
465
|
+
"type": "uint256"
|
466
|
+
}
|
467
|
+
],
|
468
|
+
"internalType": "struct Fee",
|
469
|
+
"name": "productFee",
|
470
|
+
"type": "tuple"
|
471
|
+
},
|
472
|
+
{
|
473
|
+
"components": [
|
474
|
+
{
|
475
|
+
"internalType": "UFixed",
|
476
|
+
"name": "fractionalFee",
|
477
|
+
"type": "uint256"
|
478
|
+
},
|
479
|
+
{
|
480
|
+
"internalType": "uint256",
|
481
|
+
"name": "fixedFee",
|
482
|
+
"type": "uint256"
|
483
|
+
}
|
484
|
+
],
|
485
|
+
"internalType": "struct Fee",
|
486
|
+
"name": "processingFee",
|
487
|
+
"type": "tuple"
|
488
|
+
}
|
489
|
+
],
|
490
|
+
"name": "setFees",
|
491
|
+
"outputs": [],
|
492
|
+
"stateMutability": "nonpayable",
|
493
|
+
"type": "function"
|
494
|
+
},
|
495
|
+
{
|
496
|
+
"inputs": [
|
497
|
+
{
|
498
|
+
"internalType": "bytes4",
|
499
|
+
"name": "interfaceId",
|
500
|
+
"type": "bytes4"
|
501
|
+
}
|
502
|
+
],
|
503
|
+
"name": "supportsInterface",
|
504
|
+
"outputs": [
|
505
|
+
{
|
506
|
+
"internalType": "bool",
|
507
|
+
"name": "",
|
508
|
+
"type": "bool"
|
509
|
+
}
|
510
|
+
],
|
511
|
+
"stateMutability": "view",
|
512
|
+
"type": "function"
|
513
|
+
},
|
514
|
+
{
|
515
|
+
"inputs": [
|
516
|
+
{
|
517
|
+
"internalType": "NftId",
|
518
|
+
"name": "nftId",
|
519
|
+
"type": "uint96"
|
520
|
+
},
|
521
|
+
{
|
522
|
+
"internalType": "bool",
|
523
|
+
"name": "requirePremiumPayment",
|
524
|
+
"type": "bool"
|
525
|
+
},
|
526
|
+
{
|
527
|
+
"internalType": "Timestamp",
|
528
|
+
"name": "activateAt",
|
529
|
+
"type": "uint40"
|
530
|
+
}
|
531
|
+
],
|
532
|
+
"name": "underwrite",
|
533
|
+
"outputs": [],
|
534
|
+
"stateMutability": "nonpayable",
|
535
|
+
"type": "function"
|
536
|
+
},
|
537
|
+
{
|
538
|
+
"inputs": [],
|
539
|
+
"name": "unlock",
|
540
|
+
"outputs": [],
|
541
|
+
"stateMutability": "nonpayable",
|
542
|
+
"type": "function"
|
543
|
+
}
|
544
|
+
],
|
545
|
+
"bytecode": "0x60e06040523480156200001157600080fd5b506040516200213d3803806200213d833981016040819052620000349162000711565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff191660011790558686868686868686868682826001600160a01b038216620000d85760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6001600160a01b03821660808190526040516301ffc9a760e01b81526306ecd8ef60e01b60048201526301ffc9a790602401602060405180830381865afa15801562000128573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200014e9190620007b3565b6200019c5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f52454749535452590000000000006044820152606401620000cf565b6001600160601b03811660a081905260805160405163e74d052f60e01b815260048101929092526001600160a01b03169063e74d052f90602401602060405180830381865afa158015620001f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200021a9190620007b3565b620002745760405162461bcd60e51b815260206004820152602360248201527f4552524f523a5247422d3031323a504152454e545f4e4f545f5245474953544560448201526214915160ea1b6064820152608401620000cf565b3360c052631dfba64760e11b60009081526020527f95e5a2564f7af40498dc043c6da135e06324c5edb1f60c2bf4dcdf2da207fa45805460ff1916600117905550506080516040516305247a1760e51b81526001600160601b03841660048201526000916001600160a01b03169063a48f42e090602401600060405180830381865afa15801562000309573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200033391908101906200086b565b6060810151600580546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b8152630de7806f60e41b6004820152919250906301ffc9a790602401602060405180830381865afa1580156200039b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003c19190620007b3565b620003e95760405162461bcd60e51b81526020600482015260006024820152604401620000cf565b600560009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200043d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000463919062000945565b600180546001600160a01b039283166001600160a01b0319918216179091556003805482163017905560048054928516929091169190911781556005805460ff60a01b1916905560408051632bd182d360e01b8152815173__$a23651848365a6a5ca15f07b4331037f48$__93632bd182d39383820193909291908290030181865af4158015620004f8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200051e919062000965565b805160065560209081015160075560055460408051634288121d60e01b815290516001600160a01b039092169650634288121d9550600480820195509293509091908290030181865afa1580156200057a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005a0919062000945565b600880546001600160a01b03199081166001600160a01b039384161790915560098054821696831696909617909555600a80549095169316929092179092558151600b55602091820151600c558051600d550151600e55506200098498505050505050505050565b6001600160a01b03811681146200061e57600080fd5b50565b80516200062e8162000608565b919050565b80516001600160601b03811681146200062e57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b03811182821017156200068657620006866200064b565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620006b757620006b76200064b565b604052919050565b600060408284031215620006d257600080fd5b604080519081016001600160401b0381118282101715620006f757620006f76200064b565b604052825181526020928301519281019290925250919050565b6000806000806000806000610120888a0312156200072e57600080fd5b87516200073b8162000608565b96506200074b6020890162000633565b955060408801516200075d8162000608565b6060890151909550620007708162000608565b6080890151909450620007838162000608565b9250620007948960a08a01620006bf565b9150620007a58960e08a01620006bf565b905092959891949750929550565b600060208284031215620007c657600080fd5b81518015158114620007d757600080fd5b9392505050565b600082601f830112620007f057600080fd5b81516001600160401b038111156200080c576200080c6200064b565b602062000822601f8301601f191682016200068c565b82815285828487010111156200083757600080fd5b60005b83811015620008575785810183015182820184015282016200083a565b506000928101909101919091529392505050565b6000602082840312156200087e57600080fd5b81516001600160401b03808211156200089657600080fd5b9083019060c08286031215620008ab57600080fd5b620008b562000661565b620008c08362000633565b8152620008d06020840162000633565b6020820152604083015160ff81168114620008ea57600080fd5b6040820152620008fd6060840162000621565b6060820152620009106080840162000621565b608082015260a0830151828111156200092857600080fd5b6200093687828601620007de565b60a08301525095945050505050565b6000602082840312156200095857600080fd5b8151620007d78162000608565b6000604082840312156200097857600080fd5b620007d78383620006bf565b60805160a05160c051611758620009e560003960006109be0152600061025f0152600081816102b5015281816105c50152818161065b015281816107c4015281816108e60152818161093f01528181610a010152610d4901526117586000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c80635e78426b116100de578063abd732ef11610097578063daafed4011610071578063daafed401461038b578063db6dcc9514610393578063de7b5d141461039b578063f83d08ba146103ac57600080fd5b8063abd732ef1461033a578063b6b412ba14610365578063bbfbbfba1461037857600080fd5b80635e78426b146102d9578063630361f6146102ec578063644c45e014610301578063893d20e814610309578063955fd78214610311578063a69df4b51461033257600080fd5b80631bdd6b76116101305780631bdd6b761461024457806321df0da71461024c57806331b62a3b1461025d5780633bc5de30146102835780633f28c2ec146102a05780635ab1bd53146102b357600080fd5b806301ffc9a71461017857806312abb9b3146101ba57806313299604146101db5780631380bf231461020057806315dae03e146102155780631aa3a00814610224575b600080fd5b6101a5610186366004610ff5565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101cd6101c8366004611144565b6103b4565b6040519081526020016101b1565b6003546001600160a01b03165b6040516001600160a01b0390911681526020016101b1565b610208610440565b6040516101b191906111cd565b604051606e81526020016101b1565b61022c61057a565b6040516001600160601b0390911681526020016101b1565b61022c61079f565b6004546001600160a01b03166101e8565b7f000000000000000000000000000000000000000000000000000000000000000061022c565b6040805160208101909152600081525b6040516101b1919061122a565b61022c6102ae36600461123d565b61080c565b7f00000000000000000000000000000000000000000000000000000000000000006101e8565b6101cd6102e7366004611287565b610875565b6102ff6102fa366004611312565b61088b565b005b61022c6108ce565b6101e861091d565b610319610a7a565b6040516001600160c01b031990911681526020016101b1565b6102ff610aa9565b6102936040518060400160405280600c81526020016b44454641554c545f5249534b60a01b81525081565b6102ff610373366004611389565b610b41565b6102ff6103863660046113be565b610be1565b610208610bef565b61022c610d24565b6005546001600160a01b03166101e8565b6102ff610d78565b600854604051639cdaa7f960e01b81526000916001600160a01b031690639cdaa7f9906103ef9089908b908a908a9089908b906004016113ea565b60a060405180830381865afa15801561040c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104309190611441565b50929a9950505050505050505050565b6040805180820190915260008082526020820152600061045e6108ce565b60055460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa1580156104b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d49190611481565b156105595760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa15801561052b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054f91906114f9565b6060015191505090565b505060408051808201909152600b548152600c54602082015290565b905090565b600061058461091d565b6001600160a01b0316336001600160a01b0316146105c35760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166106395760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a434f422d3030313a52454749535452595f5a45524f000000000060448201526064016105ba565b60055460405163c3c5a54760e01b81526001600160a01b0391821660048201527f00000000000000000000000000000000000000000000000000000000000000009091169063c3c5a54790602401602060405180830381865afa1580156106a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c89190611481565b61071e5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a434f423a494e5354414e43455f4e4f545f5245474953544552456044820152601160fa1b60648201526084016105ba565b6005805460ff60a01b1916600160a01b179055600154604051632210724360e11b81523060048201526001600160a01b0390911690634420e486906024016020604051808303816000875af115801561077b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057591906115b8565b600954604051636939560f60e11b81526001600160a01b0391821660048201526000917f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e906024015b602060405180830381865afa15801561077b573d6000803e3d6000fd5b600080610817610a7a565b604080516020810190915260008152600f549192509060ff1661085b5761084d8260405180602001604052806000815250610de0565b600f805460ff191660011790555b61086a33838989858a8a610e12565b979650505050505050565b6000610882600a866115d5565b95945050505050565b6040513381527fb00037f8426b35b13d3428bd0d8bb6059e05f90d0da23ee636f827aee1718e489060200160405180910390a16108c9838383610e9e565b505050565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e906024016107ef565b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa158015610986573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109aa91906115b8565b90506109b7816000610f1e565b156109e3577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa158015610a50573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7491906115f7565b91505090565b60006105756040518060400160405280600c81526020016b44454641554c545f5249534b60a01b815250610f34565b610ab161091d565b6001600160a01b0316336001600160a01b031614610ae15760405162461bcd60e51b81526004016105ba90611614565b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610b2757600080fd5b505af1158015610b3b573d6000803e3d6000fd5b50505050565b610b4961091d565b6001600160a01b0316336001600160a01b031614610b795760405162461bcd60e51b81526004016105ba90611614565b600854604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba90610bab908590859060040161164b565b600060405180830381600087803b158015610bc557600080fd5b505af1158015610bd9573d6000803e3d6000fd5b505050505050565b610beb8282610faf565b5050565b60408051808201909152600080825260208201526000610c0d6108ce565b60055460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610c5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c839190611481565b15610d085760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610cda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfe91906114f9565b6080015191505090565b505060408051808201909152600d548152600e54602082015290565b600a54604051636939560f60e11b81526001600160a01b0391821660048201526000917f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e906024016107ef565b610d8061091d565b6001600160a01b0316336001600160a01b031614610db05760405162461bcd60e51b81526004016105ba90611614565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610b0d565b6008546040516304af15b960e11b81526001600160a01b039091169063095e2b7290610bab9085908590600401611671565b60085460405163c2c7498760e01b81526000916001600160a01b03169063c2c7498790610e4f908b908b908b908b908b908b908b9060040161169f565b6020604051808303816000875af1158015610e6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9291906115b8565b98975050505050505050565b600854604051633181b0fb60e11b81526001600160601b0385166004820152831515602482015264ffffffffff831660448201526001600160a01b039091169063630361f690606401600060405180830381600087803b158015610f0157600080fd5b505af1158015610f15573d6000803e3d6000fd5b50505050505050565b6001600160601b03828116908216145b92915050565b60405163253a42dd60e11b815260009073__$19a201e37be2e25dc57bd4aa563a0edb25$__90634a7485ba90610f6e90859060040161122a565b602060405180830381865af4158015610f8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2e9190611705565b600854604051635dfddfdd60e11b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b039091169063bbfbbfba90604401610bab565b60006020828403121561100757600080fd5b81356001600160e01b03198116811461101f57600080fd5b9392505050565b6001600160c01b03198116811461103c57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156110785761107861103f565b60405290565b604051610120810167ffffffffffffffff811182821017156110785761107861103f565b600082601f8301126110b357600080fd5b813567ffffffffffffffff808211156110ce576110ce61103f565b604051601f8301601f19908116603f011681019082821181831017156110f6576110f661103f565b8160405283815286602085880101111561110f57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6001600160601b038116811461103c57600080fd5b60008060008060008060c0878903121561115d57600080fd5b86359550602087013561116f81611026565b945060408701359350606087013567ffffffffffffffff81111561119257600080fd5b61119e89828a016110a2565b93505060808701356111af81611026565b915060a08701356111bf8161112f565b809150509295509295509295565b815181526020808301519082015260408101610f2e565b6000815180845260005b8181101561120a576020818501810151868301820152016111ee565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061101f60208301846111e4565b6000806000806080858703121561125357600080fd5b8435935060208501359250604085013561126c8161112f565b9150606085013561127c81611026565b939692955090935050565b6000806000806080858703121561129d57600080fd5b8435935060208501356112af81611026565b925060408501359150606085013567ffffffffffffffff8111156112d257600080fd5b6112de878288016110a2565b91505092959194509250565b801515811461103c57600080fd5b803564ffffffffff8116811461130d57600080fd5b919050565b60008060006060848603121561132757600080fd5b83356113328161112f565b92506020840135611342816112ea565b9150611350604085016112f8565b90509250925092565b60006040828403121561136b57600080fd5b611373611055565b9050813581526020820135602082015292915050565b6000806080838503121561139c57600080fd5b6113a68484611359565b91506113b58460408501611359565b90509250929050565b600080604083850312156113d157600080fd5b82356113dc8161112f565b91506113b5602084016112f8565b600067ffffffffffffffff60c01b808916835287602084015286604084015260c0606084015261141d60c08401876111e4565b6001600160601b039590951660808401529290921660a09091015250949350505050565b600080600080600060a0868803121561145957600080fd5b5050835160208501516040860151606087015160809097015192989197509594509092509050565b60006020828403121561149357600080fd5b815161101f816112ea565b805161130d8161112f565b6001600160a01b038116811461103c57600080fd5b805161130d816114a9565b6000604082840312156114db57600080fd5b6114e3611055565b9050815181526020820151602082015292915050565b60006101e0828403121561150c57600080fd5b61151461107e565b61151d8361149e565b815261152b6020840161149e565b602082015261153c604084016114be565b604082015261154e84606085016114c9565b60608201526115608460a085016114c9565b60808201526115728460e085016114c9565b60a08201526115858461012085016114c9565b60c08201526115988461016085016114c9565b60e08201526115ab846101a085016114c9565b6101008201529392505050565b6000602082840312156115ca57600080fd5b815161101f8161112f565b6000826115f257634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561160957600080fd5b815161101f816114a9565b60208082526017908201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b82518152602080840151818301528251604083015282015160608201526080810161101f565b67ffffffffffffffff60c01b8316815260406020820152600061169760408301846111e4565b949350505050565b60018060a01b0388168152600067ffffffffffffffff60c01b808916602084015287604084015286606084015260e060808401526116e060e08401876111e4565b6001600160601b039590951660a08401529290921660c0909101525095945050505050565b60006020828403121561171757600080fd5b815161101f8161102656fea264697066735822122064a34f6105feb004fba71af88243e4a6ecff61381795b73c8f74b750149e36b364736f6c63430008140033",
|
546
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101735760003560e01c80635e78426b116100de578063abd732ef11610097578063daafed4011610071578063daafed401461038b578063db6dcc9514610393578063de7b5d141461039b578063f83d08ba146103ac57600080fd5b8063abd732ef1461033a578063b6b412ba14610365578063bbfbbfba1461037857600080fd5b80635e78426b146102d9578063630361f6146102ec578063644c45e014610301578063893d20e814610309578063955fd78214610311578063a69df4b51461033257600080fd5b80631bdd6b76116101305780631bdd6b761461024457806321df0da71461024c57806331b62a3b1461025d5780633bc5de30146102835780633f28c2ec146102a05780635ab1bd53146102b357600080fd5b806301ffc9a71461017857806312abb9b3146101ba57806313299604146101db5780631380bf231461020057806315dae03e146102155780631aa3a00814610224575b600080fd5b6101a5610186366004610ff5565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101cd6101c8366004611144565b6103b4565b6040519081526020016101b1565b6003546001600160a01b03165b6040516001600160a01b0390911681526020016101b1565b610208610440565b6040516101b191906111cd565b604051606e81526020016101b1565b61022c61057a565b6040516001600160601b0390911681526020016101b1565b61022c61079f565b6004546001600160a01b03166101e8565b7f000000000000000000000000000000000000000000000000000000000000000061022c565b6040805160208101909152600081525b6040516101b1919061122a565b61022c6102ae36600461123d565b61080c565b7f00000000000000000000000000000000000000000000000000000000000000006101e8565b6101cd6102e7366004611287565b610875565b6102ff6102fa366004611312565b61088b565b005b61022c6108ce565b6101e861091d565b610319610a7a565b6040516001600160c01b031990911681526020016101b1565b6102ff610aa9565b6102936040518060400160405280600c81526020016b44454641554c545f5249534b60a01b81525081565b6102ff610373366004611389565b610b41565b6102ff6103863660046113be565b610be1565b610208610bef565b61022c610d24565b6005546001600160a01b03166101e8565b6102ff610d78565b600854604051639cdaa7f960e01b81526000916001600160a01b031690639cdaa7f9906103ef9089908b908a908a9089908b906004016113ea565b60a060405180830381865afa15801561040c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104309190611441565b50929a9950505050505050505050565b6040805180820190915260008082526020820152600061045e6108ce565b60055460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa1580156104b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d49190611481565b156105595760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa15801561052b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054f91906114f9565b6060015191505090565b505060408051808201909152600b548152600c54602082015290565b905090565b600061058461091d565b6001600160a01b0316336001600160a01b0316146105c35760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166106395760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a434f422d3030313a52454749535452595f5a45524f000000000060448201526064016105ba565b60055460405163c3c5a54760e01b81526001600160a01b0391821660048201527f00000000000000000000000000000000000000000000000000000000000000009091169063c3c5a54790602401602060405180830381865afa1580156106a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c89190611481565b61071e5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a434f423a494e5354414e43455f4e4f545f5245474953544552456044820152601160fa1b60648201526084016105ba565b6005805460ff60a01b1916600160a01b179055600154604051632210724360e11b81523060048201526001600160a01b0390911690634420e486906024016020604051808303816000875af115801561077b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057591906115b8565b600954604051636939560f60e11b81526001600160a01b0391821660048201526000917f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e906024015b602060405180830381865afa15801561077b573d6000803e3d6000fd5b600080610817610a7a565b604080516020810190915260008152600f549192509060ff1661085b5761084d8260405180602001604052806000815250610de0565b600f805460ff191660011790555b61086a33838989858a8a610e12565b979650505050505050565b6000610882600a866115d5565b95945050505050565b6040513381527fb00037f8426b35b13d3428bd0d8bb6059e05f90d0da23ee636f827aee1718e489060200160405180910390a16108c9838383610e9e565b505050565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e906024016107ef565b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa158015610986573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109aa91906115b8565b90506109b7816000610f1e565b156109e3577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa158015610a50573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7491906115f7565b91505090565b60006105756040518060400160405280600c81526020016b44454641554c545f5249534b60a01b815250610f34565b610ab161091d565b6001600160a01b0316336001600160a01b031614610ae15760405162461bcd60e51b81526004016105ba90611614565b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610b2757600080fd5b505af1158015610b3b573d6000803e3d6000fd5b50505050565b610b4961091d565b6001600160a01b0316336001600160a01b031614610b795760405162461bcd60e51b81526004016105ba90611614565b600854604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba90610bab908590859060040161164b565b600060405180830381600087803b158015610bc557600080fd5b505af1158015610bd9573d6000803e3d6000fd5b505050505050565b610beb8282610faf565b5050565b60408051808201909152600080825260208201526000610c0d6108ce565b60055460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610c5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c839190611481565b15610d085760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610cda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfe91906114f9565b6080015191505090565b505060408051808201909152600d548152600e54602082015290565b600a54604051636939560f60e11b81526001600160a01b0391821660048201526000917f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e906024016107ef565b610d8061091d565b6001600160a01b0316336001600160a01b031614610db05760405162461bcd60e51b81526004016105ba90611614565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610b0d565b6008546040516304af15b960e11b81526001600160a01b039091169063095e2b7290610bab9085908590600401611671565b60085460405163c2c7498760e01b81526000916001600160a01b03169063c2c7498790610e4f908b908b908b908b908b908b908b9060040161169f565b6020604051808303816000875af1158015610e6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9291906115b8565b98975050505050505050565b600854604051633181b0fb60e11b81526001600160601b0385166004820152831515602482015264ffffffffff831660448201526001600160a01b039091169063630361f690606401600060405180830381600087803b158015610f0157600080fd5b505af1158015610f15573d6000803e3d6000fd5b50505050505050565b6001600160601b03828116908216145b92915050565b60405163253a42dd60e11b815260009073__$19a201e37be2e25dc57bd4aa563a0edb25$__90634a7485ba90610f6e90859060040161122a565b602060405180830381865af4158015610f8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2e9190611705565b600854604051635dfddfdd60e11b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b039091169063bbfbbfba90604401610bab565b60006020828403121561100757600080fd5b81356001600160e01b03198116811461101f57600080fd5b9392505050565b6001600160c01b03198116811461103c57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156110785761107861103f565b60405290565b604051610120810167ffffffffffffffff811182821017156110785761107861103f565b600082601f8301126110b357600080fd5b813567ffffffffffffffff808211156110ce576110ce61103f565b604051601f8301601f19908116603f011681019082821181831017156110f6576110f661103f565b8160405283815286602085880101111561110f57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6001600160601b038116811461103c57600080fd5b60008060008060008060c0878903121561115d57600080fd5b86359550602087013561116f81611026565b945060408701359350606087013567ffffffffffffffff81111561119257600080fd5b61119e89828a016110a2565b93505060808701356111af81611026565b915060a08701356111bf8161112f565b809150509295509295509295565b815181526020808301519082015260408101610f2e565b6000815180845260005b8181101561120a576020818501810151868301820152016111ee565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061101f60208301846111e4565b6000806000806080858703121561125357600080fd5b8435935060208501359250604085013561126c8161112f565b9150606085013561127c81611026565b939692955090935050565b6000806000806080858703121561129d57600080fd5b8435935060208501356112af81611026565b925060408501359150606085013567ffffffffffffffff8111156112d257600080fd5b6112de878288016110a2565b91505092959194509250565b801515811461103c57600080fd5b803564ffffffffff8116811461130d57600080fd5b919050565b60008060006060848603121561132757600080fd5b83356113328161112f565b92506020840135611342816112ea565b9150611350604085016112f8565b90509250925092565b60006040828403121561136b57600080fd5b611373611055565b9050813581526020820135602082015292915050565b6000806080838503121561139c57600080fd5b6113a68484611359565b91506113b58460408501611359565b90509250929050565b600080604083850312156113d157600080fd5b82356113dc8161112f565b91506113b5602084016112f8565b600067ffffffffffffffff60c01b808916835287602084015286604084015260c0606084015261141d60c08401876111e4565b6001600160601b039590951660808401529290921660a09091015250949350505050565b600080600080600060a0868803121561145957600080fd5b5050835160208501516040860151606087015160809097015192989197509594509092509050565b60006020828403121561149357600080fd5b815161101f816112ea565b805161130d8161112f565b6001600160a01b038116811461103c57600080fd5b805161130d816114a9565b6000604082840312156114db57600080fd5b6114e3611055565b9050815181526020820151602082015292915050565b60006101e0828403121561150c57600080fd5b61151461107e565b61151d8361149e565b815261152b6020840161149e565b602082015261153c604084016114be565b604082015261154e84606085016114c9565b60608201526115608460a085016114c9565b60808201526115728460e085016114c9565b60a08201526115858461012085016114c9565b60c08201526115988461016085016114c9565b60e08201526115ab846101a085016114c9565b6101008201529392505050565b6000602082840312156115ca57600080fd5b815161101f8161112f565b6000826115f257634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561160957600080fd5b815161101f816114a9565b60208082526017908201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b82518152602080840151818301528251604083015282015160608201526080810161101f565b67ffffffffffffffff60c01b8316815260406020820152600061169760408301846111e4565b949350505050565b60018060a01b0388168152600067ffffffffffffffff60c01b808916602084015287604084015286606084015260e060808401526116e060e08401876111e4565b6001600160601b039590951660a08401529290921660c0909101525095945050505050565b60006020828403121561171757600080fd5b815161101f8161102656fea264697066735822122064a34f6105feb004fba71af88243e4a6ecff61381795b73c8f74b750149e36b364736f6c63430008140033",
|
547
|
+
"linkReferences": {
|
548
|
+
"contracts/types/Fee.sol": {
|
549
|
+
"FeeLib": [
|
550
|
+
{
|
551
|
+
"length": 20,
|
552
|
+
"start": 1212
|
553
|
+
}
|
554
|
+
]
|
555
|
+
},
|
556
|
+
"contracts/types/RiskId.sol": {
|
557
|
+
"RiskIdLib": [
|
558
|
+
{
|
559
|
+
"length": 20,
|
560
|
+
"start": 6443
|
561
|
+
}
|
562
|
+
]
|
563
|
+
}
|
564
|
+
},
|
565
|
+
"deployedLinkReferences": {
|
566
|
+
"contracts/types/RiskId.sol": {
|
567
|
+
"RiskIdLib": [
|
568
|
+
{
|
569
|
+
"length": 20,
|
570
|
+
"start": 3910
|
571
|
+
}
|
572
|
+
]
|
573
|
+
}
|
574
|
+
}
|
575
|
+
}
|