@etherisc/gif-next 0.0.2-f619be3-760 → 0.0.2-f72939c-683
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +114 -11
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +4 -0
- package/artifacts/contracts/components/{Component.sol/Component.json → BaseComponent.sol/BaseComponent.json} +26 -57
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +4 -0
- package/artifacts/contracts/{instance/component/IComponent.sol/IComponentContract.json → components/IBaseComponent.sol/IBaseComponent.json} +26 -57
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +356 -0
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/components/{IPool.sol/IPoolComponent.json → IProductComponent.sol/IProductComponent.json} +89 -65
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +156 -29
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +74 -72
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +2 -2
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1124 -598
- 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 +1424 -782
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/{component/ComponentModule.sol/ComponentModule.json → base/ComponentServiceBase.sol/ComponentServiceBase.json} +133 -132
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +81 -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/{lifecycle/ILifecycle.sol/ILifecycleModule.json → base/ILifecycle.sol/ILifecycle.json} +10 -77
- package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +4 -0
- package/artifacts/contracts/instance/base/IService.sol/IService.json +300 -0
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +344 -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/instance/base/ServiceBase.sol/ServiceBase.json +300 -0
- 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 +265 -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 +265 -0
- package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +10 -0
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +4 -0
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +10 -0
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +10 -0
- package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +136 -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} +66 -57
- 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 +145 -111
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +4 -0
- package/artifacts/contracts/instance/{policy → module/policy}/PolicyModule.sol/PolicyModule.json +146 -112
- 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 +67 -52
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +4 -0
- package/artifacts/contracts/instance/{pool → module/pool}/PoolModule.sol/PoolModule.json +51 -62
- 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 +132 -0
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +150 -0
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +4 -0
- package/artifacts/contracts/instance/{treasury → module/treasury}/ITreasury.sol/ITreasury.json +1 -1
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +4 -0
- package/artifacts/contracts/instance/{treasury → module/treasury}/ITreasury.sol/ITreasuryModule.json +231 -190
- 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/{treasury → module/treasury}/TreasuryModule.sol/TreasuryModule.json +232 -191
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +523 -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/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +376 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +548 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +471 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +744 -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 +147 -30
- 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 +241 -25
- 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 +16 -61
- 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/Registerable.sol/Registerable.dbg.json +4 -0
- package/artifacts/contracts/{registry/Registry.sol → shared/Registerable.sol}/Registerable.json +16 -61
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +164 -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 +455 -0
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +4 -0
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +479 -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/{mock → test}/Usdc.sol/USDC.json +3 -3
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +4 -0
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +10 -0
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +218 -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 +65 -4
- 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 +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
- 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 +1 -1
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +64 -2
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +58 -58
- 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/IBaseComponent.sol +19 -0
- package/contracts/components/IPoolComponent.sol +57 -0
- package/contracts/components/{IProduct.sol → IProductComponent.sol} +9 -6
- package/contracts/components/Pool.sol +155 -16
- package/contracts/components/Product.sol +116 -24
- package/contracts/instance/IInstance.sol +37 -11
- package/contracts/instance/IInstanceLinked.sol +8 -0
- package/contracts/instance/Instance.sol +48 -49
- package/contracts/instance/base/ComponentServiceBase.sol +42 -0
- package/contracts/instance/base/IInstanceBase.sol +19 -0
- package/contracts/instance/base/IKeyValueStore.sol +50 -0
- package/contracts/instance/{lifecycle → base}/ILifecycle.sol +4 -21
- package/contracts/instance/base/IService.sol +15 -0
- package/contracts/instance/base/InstanceBase.sol +84 -0
- package/contracts/instance/base/KeyValueStore.sol +161 -0
- package/contracts/instance/base/Lifecycle.sol +100 -0
- package/contracts/instance/base/ModuleBase.sol +53 -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 +135 -0
- package/contracts/instance/module/bundle/IBundle.sol +51 -0
- package/contracts/instance/module/compensation/CompensationModule.sol +17 -0
- package/contracts/instance/module/compensation/ICompensation.sol +10 -0
- package/contracts/instance/module/component/ComponentModule.sol +81 -0
- package/contracts/instance/module/component/IComponent.sol +29 -0
- package/contracts/instance/module/policy/IPolicy.sol +62 -0
- package/contracts/instance/module/policy/PolicyModule.sol +92 -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 +27 -0
- package/contracts/instance/module/risk/RiskModule.sol +70 -0
- package/contracts/instance/module/treasury/ITreasury.sol +96 -0
- package/contracts/instance/module/treasury/TokenHandler.sol +48 -0
- package/contracts/instance/module/treasury/TreasuryModule.sol +171 -0
- package/contracts/instance/service/ComponentOwnerService.sol +155 -0
- package/contracts/instance/service/IComponentOwnerService.sol +22 -0
- package/contracts/instance/service/IPoolService.sol +30 -0
- package/contracts/instance/service/IProductService.sol +78 -0
- package/contracts/instance/service/PoolService.sol +129 -0
- package/contracts/instance/service/ProductService.sol +406 -0
- package/contracts/registry/ChainNft.sol +61 -37
- package/contracts/registry/IRegistry.sol +24 -34
- package/contracts/registry/IRegistryLinked.sol +8 -0
- package/contracts/registry/Registry.sol +284 -85
- 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/Registerable.sol +86 -0
- package/contracts/shared/Versionable.sol +89 -0
- package/contracts/test/TestFee.sol +25 -0
- package/contracts/test/TestPool.sol +24 -0
- package/contracts/test/TestProduct.sol +66 -0
- package/contracts/test/TestRegisterable.sol +19 -0
- package/contracts/test/TestRoleId.sol +14 -0
- package/contracts/test/TestService.sol +32 -0
- package/contracts/{mock/Dip.sol → test/TestToken.sol} +5 -5
- package/contracts/test/TestVersion.sol +44 -0
- package/contracts/test/TestVersionable.sol +17 -0
- package/contracts/{mock → test}/Usdc.sol +1 -1
- package/contracts/types/AddressSet.sol +58 -0
- package/contracts/types/Fee.sol +39 -20
- package/contracts/types/Key32.sol +45 -0
- package/contracts/types/NftId.sol +22 -1
- package/contracts/types/NftIdSet.sol +60 -0
- package/contracts/types/ObjectType.sol +33 -13
- package/contracts/types/RiskId.sol +43 -0
- package/contracts/types/RoleId.sol +38 -0
- package/contracts/types/StateId.sol +13 -3
- package/contracts/types/Timestamp.sol +22 -1
- package/contracts/types/UFixed.sol +12 -13
- package/contracts/types/Version.sol +95 -0
- package/package.json +8 -3
- 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/components/IProduct.sol/IProductComponent.json +0 -74
- 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 -202
- package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -217
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -141
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.json +0 -134
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +0 -4
- package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +0 -4
- package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.json +0 -221
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/policy/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 -196
- package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
- package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
- package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
- package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.json +0 -45
- package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
- package/artifacts/contracts/mock/Dip.sol/DIP.dbg.json +0 -4
- package/artifacts/contracts/mock/Dip.sol/DIP.json +0 -338
- package/artifacts/contracts/mock/TestPool.sol/TestPool.dbg.json +0 -4
- package/artifacts/contracts/mock/TestPool.sol/TestPool.json +0 -294
- package/artifacts/contracts/mock/TestProduct.sol/TestProduct.dbg.json +0 -4
- package/artifacts/contracts/mock/TestProduct.sol/TestProduct.json +0 -384
- package/artifacts/contracts/mock/Usdc.sol/USDC.dbg.json +0 -4
- package/artifacts/contracts/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 -77
- package/contracts/components/IPool.sol +0 -15
- package/contracts/instance/access/Access.sol +0 -165
- package/contracts/instance/access/IAccess.sol +0 -63
- package/contracts/instance/component/ComponentModule.sol +0 -274
- package/contracts/instance/component/IComponent.sol +0 -74
- package/contracts/instance/lifecycle/LifecycleModule.sol +0 -88
- package/contracts/instance/policy/IPolicy.sol +0 -50
- package/contracts/instance/policy/PolicyModule.sol +0 -114
- package/contracts/instance/pool/IPoolModule.sol +0 -23
- package/contracts/instance/pool/PoolModule.sol +0 -81
- package/contracts/instance/product/IProductService.sol +0 -36
- package/contracts/instance/product/ProductService.sol +0 -136
- package/contracts/instance/treasury/ITreasury.sol +0 -91
- package/contracts/instance/treasury/TokenHandler.sol +0 -24
- package/contracts/instance/treasury/TreasuryModule.sol +0 -168
- package/contracts/mock/TestPool.sol +0 -16
- package/contracts/mock/TestProduct.sol +0 -39
@@ -0,0 +1,479 @@
|
|
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
|
+
"components": [
|
30
|
+
{
|
31
|
+
"internalType": "UFixed",
|
32
|
+
"name": "fractionalFee",
|
33
|
+
"type": "uint256"
|
34
|
+
},
|
35
|
+
{
|
36
|
+
"internalType": "uint256",
|
37
|
+
"name": "fixedFee",
|
38
|
+
"type": "uint256"
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"internalType": "struct Fee",
|
42
|
+
"name": "policyFee",
|
43
|
+
"type": "tuple"
|
44
|
+
},
|
45
|
+
{
|
46
|
+
"components": [
|
47
|
+
{
|
48
|
+
"internalType": "UFixed",
|
49
|
+
"name": "fractionalFee",
|
50
|
+
"type": "uint256"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"internalType": "uint256",
|
54
|
+
"name": "fixedFee",
|
55
|
+
"type": "uint256"
|
56
|
+
}
|
57
|
+
],
|
58
|
+
"internalType": "struct Fee",
|
59
|
+
"name": "processingFee",
|
60
|
+
"type": "tuple"
|
61
|
+
}
|
62
|
+
],
|
63
|
+
"stateMutability": "nonpayable",
|
64
|
+
"type": "constructor"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"anonymous": false,
|
68
|
+
"inputs": [
|
69
|
+
{
|
70
|
+
"indexed": false,
|
71
|
+
"internalType": "address",
|
72
|
+
"name": "sender",
|
73
|
+
"type": "address"
|
74
|
+
}
|
75
|
+
],
|
76
|
+
"name": "LogTestProductSender",
|
77
|
+
"type": "event"
|
78
|
+
},
|
79
|
+
{
|
80
|
+
"inputs": [],
|
81
|
+
"name": "DEFAULT_RISK_NAME",
|
82
|
+
"outputs": [
|
83
|
+
{
|
84
|
+
"internalType": "string",
|
85
|
+
"name": "",
|
86
|
+
"type": "string"
|
87
|
+
}
|
88
|
+
],
|
89
|
+
"stateMutability": "view",
|
90
|
+
"type": "function"
|
91
|
+
},
|
92
|
+
{
|
93
|
+
"inputs": [
|
94
|
+
{
|
95
|
+
"internalType": "uint256",
|
96
|
+
"name": "sumInsuredAmount",
|
97
|
+
"type": "uint256"
|
98
|
+
},
|
99
|
+
{
|
100
|
+
"internalType": "uint256",
|
101
|
+
"name": "premiumAmount",
|
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
|
+
"name": "applyForPolicy",
|
116
|
+
"outputs": [
|
117
|
+
{
|
118
|
+
"internalType": "NftId",
|
119
|
+
"name": "nftId",
|
120
|
+
"type": "uint96"
|
121
|
+
}
|
122
|
+
],
|
123
|
+
"stateMutability": "nonpayable",
|
124
|
+
"type": "function"
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"inputs": [
|
128
|
+
{
|
129
|
+
"internalType": "NftId",
|
130
|
+
"name": "nftId",
|
131
|
+
"type": "uint96"
|
132
|
+
},
|
133
|
+
{
|
134
|
+
"internalType": "Timestamp",
|
135
|
+
"name": "activateAt",
|
136
|
+
"type": "uint40"
|
137
|
+
}
|
138
|
+
],
|
139
|
+
"name": "collectPremium",
|
140
|
+
"outputs": [],
|
141
|
+
"stateMutability": "nonpayable",
|
142
|
+
"type": "function"
|
143
|
+
},
|
144
|
+
{
|
145
|
+
"inputs": [],
|
146
|
+
"name": "getData",
|
147
|
+
"outputs": [
|
148
|
+
{
|
149
|
+
"internalType": "bytes",
|
150
|
+
"name": "data",
|
151
|
+
"type": "bytes"
|
152
|
+
}
|
153
|
+
],
|
154
|
+
"stateMutability": "view",
|
155
|
+
"type": "function"
|
156
|
+
},
|
157
|
+
{
|
158
|
+
"inputs": [],
|
159
|
+
"name": "getDefaultRiskId",
|
160
|
+
"outputs": [
|
161
|
+
{
|
162
|
+
"internalType": "RiskId",
|
163
|
+
"name": "",
|
164
|
+
"type": "bytes8"
|
165
|
+
}
|
166
|
+
],
|
167
|
+
"stateMutability": "pure",
|
168
|
+
"type": "function"
|
169
|
+
},
|
170
|
+
{
|
171
|
+
"inputs": [],
|
172
|
+
"name": "getInstance",
|
173
|
+
"outputs": [
|
174
|
+
{
|
175
|
+
"internalType": "contract IInstance",
|
176
|
+
"name": "instance",
|
177
|
+
"type": "address"
|
178
|
+
}
|
179
|
+
],
|
180
|
+
"stateMutability": "view",
|
181
|
+
"type": "function"
|
182
|
+
},
|
183
|
+
{
|
184
|
+
"inputs": [],
|
185
|
+
"name": "getNftId",
|
186
|
+
"outputs": [
|
187
|
+
{
|
188
|
+
"internalType": "NftId",
|
189
|
+
"name": "nftId",
|
190
|
+
"type": "uint96"
|
191
|
+
}
|
192
|
+
],
|
193
|
+
"stateMutability": "view",
|
194
|
+
"type": "function"
|
195
|
+
},
|
196
|
+
{
|
197
|
+
"inputs": [],
|
198
|
+
"name": "getOwner",
|
199
|
+
"outputs": [
|
200
|
+
{
|
201
|
+
"internalType": "address",
|
202
|
+
"name": "owner",
|
203
|
+
"type": "address"
|
204
|
+
}
|
205
|
+
],
|
206
|
+
"stateMutability": "view",
|
207
|
+
"type": "function"
|
208
|
+
},
|
209
|
+
{
|
210
|
+
"inputs": [],
|
211
|
+
"name": "getParentNftId",
|
212
|
+
"outputs": [
|
213
|
+
{
|
214
|
+
"internalType": "NftId",
|
215
|
+
"name": "nftId",
|
216
|
+
"type": "uint96"
|
217
|
+
}
|
218
|
+
],
|
219
|
+
"stateMutability": "view",
|
220
|
+
"type": "function"
|
221
|
+
},
|
222
|
+
{
|
223
|
+
"inputs": [],
|
224
|
+
"name": "getPolicyFee",
|
225
|
+
"outputs": [
|
226
|
+
{
|
227
|
+
"components": [
|
228
|
+
{
|
229
|
+
"internalType": "UFixed",
|
230
|
+
"name": "fractionalFee",
|
231
|
+
"type": "uint256"
|
232
|
+
},
|
233
|
+
{
|
234
|
+
"internalType": "uint256",
|
235
|
+
"name": "fixedFee",
|
236
|
+
"type": "uint256"
|
237
|
+
}
|
238
|
+
],
|
239
|
+
"internalType": "struct Fee",
|
240
|
+
"name": "policyFee",
|
241
|
+
"type": "tuple"
|
242
|
+
}
|
243
|
+
],
|
244
|
+
"stateMutability": "view",
|
245
|
+
"type": "function"
|
246
|
+
},
|
247
|
+
{
|
248
|
+
"inputs": [],
|
249
|
+
"name": "getPoolNftId",
|
250
|
+
"outputs": [
|
251
|
+
{
|
252
|
+
"internalType": "NftId",
|
253
|
+
"name": "poolNftId",
|
254
|
+
"type": "uint96"
|
255
|
+
}
|
256
|
+
],
|
257
|
+
"stateMutability": "view",
|
258
|
+
"type": "function"
|
259
|
+
},
|
260
|
+
{
|
261
|
+
"inputs": [],
|
262
|
+
"name": "getProcessingFee",
|
263
|
+
"outputs": [
|
264
|
+
{
|
265
|
+
"components": [
|
266
|
+
{
|
267
|
+
"internalType": "UFixed",
|
268
|
+
"name": "fractionalFee",
|
269
|
+
"type": "uint256"
|
270
|
+
},
|
271
|
+
{
|
272
|
+
"internalType": "uint256",
|
273
|
+
"name": "fixedFee",
|
274
|
+
"type": "uint256"
|
275
|
+
}
|
276
|
+
],
|
277
|
+
"internalType": "struct Fee",
|
278
|
+
"name": "processingFee",
|
279
|
+
"type": "tuple"
|
280
|
+
}
|
281
|
+
],
|
282
|
+
"stateMutability": "view",
|
283
|
+
"type": "function"
|
284
|
+
},
|
285
|
+
{
|
286
|
+
"inputs": [],
|
287
|
+
"name": "getRegistry",
|
288
|
+
"outputs": [
|
289
|
+
{
|
290
|
+
"internalType": "contract IRegistry",
|
291
|
+
"name": "registry",
|
292
|
+
"type": "address"
|
293
|
+
}
|
294
|
+
],
|
295
|
+
"stateMutability": "view",
|
296
|
+
"type": "function"
|
297
|
+
},
|
298
|
+
{
|
299
|
+
"inputs": [],
|
300
|
+
"name": "getToken",
|
301
|
+
"outputs": [
|
302
|
+
{
|
303
|
+
"internalType": "contract IERC20Metadata",
|
304
|
+
"name": "token",
|
305
|
+
"type": "address"
|
306
|
+
}
|
307
|
+
],
|
308
|
+
"stateMutability": "view",
|
309
|
+
"type": "function"
|
310
|
+
},
|
311
|
+
{
|
312
|
+
"inputs": [],
|
313
|
+
"name": "getType",
|
314
|
+
"outputs": [
|
315
|
+
{
|
316
|
+
"internalType": "ObjectType",
|
317
|
+
"name": "",
|
318
|
+
"type": "uint8"
|
319
|
+
}
|
320
|
+
],
|
321
|
+
"stateMutability": "pure",
|
322
|
+
"type": "function"
|
323
|
+
},
|
324
|
+
{
|
325
|
+
"inputs": [],
|
326
|
+
"name": "getWallet",
|
327
|
+
"outputs": [
|
328
|
+
{
|
329
|
+
"internalType": "address",
|
330
|
+
"name": "walletAddress",
|
331
|
+
"type": "address"
|
332
|
+
}
|
333
|
+
],
|
334
|
+
"stateMutability": "view",
|
335
|
+
"type": "function"
|
336
|
+
},
|
337
|
+
{
|
338
|
+
"inputs": [],
|
339
|
+
"name": "lock",
|
340
|
+
"outputs": [],
|
341
|
+
"stateMutability": "nonpayable",
|
342
|
+
"type": "function"
|
343
|
+
},
|
344
|
+
{
|
345
|
+
"inputs": [],
|
346
|
+
"name": "register",
|
347
|
+
"outputs": [
|
348
|
+
{
|
349
|
+
"internalType": "NftId",
|
350
|
+
"name": "componentId",
|
351
|
+
"type": "uint96"
|
352
|
+
}
|
353
|
+
],
|
354
|
+
"stateMutability": "nonpayable",
|
355
|
+
"type": "function"
|
356
|
+
},
|
357
|
+
{
|
358
|
+
"inputs": [
|
359
|
+
{
|
360
|
+
"components": [
|
361
|
+
{
|
362
|
+
"internalType": "UFixed",
|
363
|
+
"name": "fractionalFee",
|
364
|
+
"type": "uint256"
|
365
|
+
},
|
366
|
+
{
|
367
|
+
"internalType": "uint256",
|
368
|
+
"name": "fixedFee",
|
369
|
+
"type": "uint256"
|
370
|
+
}
|
371
|
+
],
|
372
|
+
"internalType": "struct Fee",
|
373
|
+
"name": "policyFee",
|
374
|
+
"type": "tuple"
|
375
|
+
},
|
376
|
+
{
|
377
|
+
"components": [
|
378
|
+
{
|
379
|
+
"internalType": "UFixed",
|
380
|
+
"name": "fractionalFee",
|
381
|
+
"type": "uint256"
|
382
|
+
},
|
383
|
+
{
|
384
|
+
"internalType": "uint256",
|
385
|
+
"name": "fixedFee",
|
386
|
+
"type": "uint256"
|
387
|
+
}
|
388
|
+
],
|
389
|
+
"internalType": "struct Fee",
|
390
|
+
"name": "processingFee",
|
391
|
+
"type": "tuple"
|
392
|
+
}
|
393
|
+
],
|
394
|
+
"name": "setFees",
|
395
|
+
"outputs": [],
|
396
|
+
"stateMutability": "nonpayable",
|
397
|
+
"type": "function"
|
398
|
+
},
|
399
|
+
{
|
400
|
+
"inputs": [
|
401
|
+
{
|
402
|
+
"internalType": "bytes4",
|
403
|
+
"name": "interfaceId",
|
404
|
+
"type": "bytes4"
|
405
|
+
}
|
406
|
+
],
|
407
|
+
"name": "supportsInterface",
|
408
|
+
"outputs": [
|
409
|
+
{
|
410
|
+
"internalType": "bool",
|
411
|
+
"name": "",
|
412
|
+
"type": "bool"
|
413
|
+
}
|
414
|
+
],
|
415
|
+
"stateMutability": "view",
|
416
|
+
"type": "function"
|
417
|
+
},
|
418
|
+
{
|
419
|
+
"inputs": [
|
420
|
+
{
|
421
|
+
"internalType": "NftId",
|
422
|
+
"name": "nftId",
|
423
|
+
"type": "uint96"
|
424
|
+
},
|
425
|
+
{
|
426
|
+
"internalType": "bool",
|
427
|
+
"name": "requirePremiumPayment",
|
428
|
+
"type": "bool"
|
429
|
+
},
|
430
|
+
{
|
431
|
+
"internalType": "Timestamp",
|
432
|
+
"name": "activateAt",
|
433
|
+
"type": "uint40"
|
434
|
+
}
|
435
|
+
],
|
436
|
+
"name": "underwrite",
|
437
|
+
"outputs": [],
|
438
|
+
"stateMutability": "nonpayable",
|
439
|
+
"type": "function"
|
440
|
+
},
|
441
|
+
{
|
442
|
+
"inputs": [],
|
443
|
+
"name": "unlock",
|
444
|
+
"outputs": [],
|
445
|
+
"stateMutability": "nonpayable",
|
446
|
+
"type": "function"
|
447
|
+
}
|
448
|
+
],
|
449
|
+
"bytecode": "0x60e06040523480156200001157600080fd5b5060405162001d2338038062001d23833981016040819052620000349162000700565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff1916600117905585858585858585858582826001600160a01b038216620000d75760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6001600160a01b03821660808190526040516301ffc9a760e01b81526306ecd8ef60e01b60048201526301ffc9a790602401602060405180830381865afa15801562000127573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200014d91906200078b565b6200019b5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f52454749535452590000000000006044820152606401620000ce565b6001600160601b03811660a081905260805160405163e74d052f60e01b815260048101929092526001600160a01b03169063e74d052f90602401602060405180830381865afa158015620001f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200021991906200078b565b620002735760405162461bcd60e51b815260206004820152602360248201527f4552524f523a5247422d3031323a504152454e545f4e4f545f5245474953544560448201526214915160ea1b6064820152608401620000ce565b3360c052631dfba64760e11b60009081526020527f95e5a2564f7af40498dc043c6da135e06324c5edb1f60c2bf4dcdf2da207fa45805460ff1916600117905550506080516040516305247a1760e51b81526001600160601b03841660048201526000916001600160a01b03169063a48f42e090602401600060405180830381865afa15801562000308573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000332919081019062000843565b6060810151600580546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b8152630506037b60e21b6004820152919250906301ffc9a790602401602060405180830381865afa1580156200039a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003c091906200078b565b620003e85760405162461bcd60e51b81526020600482015260006024820152604401620000ce565b600560009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200043c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200046291906200091d565b600180546001600160a01b039283166001600160a01b0319918216179091556003805482163017905560048054928516929091169190911781556005805460ff60a01b1916905560408051632bd182d360e01b8152815173__$a23651848365a6a5ca15f07b4331037f48$__93632bd182d39383820193909291908290030181865af4158015620004f7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200051d91906200093d565b805160065560209081015160075560055460408051634288121d60e01b815290516001600160a01b039092169650634288121d9550600480820195509293509091908290030181865afa15801562000579573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200059f91906200091d565b600880546001600160a01b039283166001600160a01b03199182161790915560098054959092169416939093179092558051600a55602090810151600b558151600c550151600d55506200095c975050505050505050565b6001600160a01b03811681146200060d57600080fd5b50565b80516200061d81620005f7565b919050565b80516001600160601b03811681146200061d57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b03811182821017156200067557620006756200063a565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620006a657620006a66200063a565b604052919050565b600060408284031215620006c157600080fd5b604080519081016001600160401b0381118282101715620006e657620006e66200063a565b604052825181526020928301519281019290925250919050565b60008060008060008061010087890312156200071b57600080fd5b86516200072881620005f7565b9550620007386020880162000622565b945060408701516200074a81620005f7565b60608801519094506200075d81620005f7565b92506200076e8860808901620006ae565b91506200077f8860c08901620006ae565b90509295509295509295565b6000602082840312156200079e57600080fd5b81518015158114620007af57600080fd5b9392505050565b600082601f830112620007c857600080fd5b81516001600160401b03811115620007e457620007e46200063a565b6020620007fa601f8301601f191682016200067b565b82815285828487010111156200080f57600080fd5b60005b838110156200082f57858101830151828201840152820162000812565b506000928101909101919091529392505050565b6000602082840312156200085657600080fd5b81516001600160401b03808211156200086e57600080fd5b9083019060c082860312156200088357600080fd5b6200088d62000650565b620008988362000622565b8152620008a86020840162000622565b6020820152604083015160ff81168114620008c257600080fd5b6040820152620008d56060840162000610565b6060820152620008e86080840162000610565b608082015260a0830151828111156200090057600080fd5b6200090e87828601620007b6565b60a08301525095945050505050565b6000602082840312156200093057600080fd5b8151620007af81620005f7565b6000604082840312156200095057600080fd5b620007af8383620006ae565b60805160a05160c05161136d620009b66000396000610711015260006101f801526000818161023b015281816103970152818161042d0152818161059601528181610639015281816106920152610754015261136d6000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c8063893d20e8116100b8578063bbfbbfba1161007c578063bbfbbfba146102eb578063bc74aab0146102fe578063daafed4014610313578063de7b5d141461031b578063f83d08ba1461032c578063ff47c73b1461033457600080fd5b8063893d20e81461027c578063955fd78214610284578063a69df4b5146102a5578063abd732ef146102ad578063b6b412ba146102d857600080fd5b806321df0da71161010a57806321df0da7146101e557806331b62a3b146101f65780633bc5de301461021c5780635ab1bd5314610239578063630361f61461025f578063644c45e01461027457600080fd5b806301ffc9a714610147578063132996041461018957806315dae03e146101ae5780631aa3a008146101bd5780631bdd6b76146101dd575b600080fd5b610174610155366004610ec2565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6003546001600160a01b03165b6040516001600160a01b039091168152602001610180565b604051606e8152602001610180565b6101c561034c565b6040516001600160601b039091168152602001610180565b6101c5610571565b6004546001600160a01b0316610196565b7f00000000000000000000000000000000000000000000000000000000000000006101c5565b6040805160208101909152600081525b6040516101809190610f39565b7f0000000000000000000000000000000000000000000000000000000000000000610196565b61027261026d366004610f8c565b6105de565b005b6101c5610621565b610196610670565b61028c6107cd565b6040516001600160c01b03199091168152602001610180565b6102726107fc565b61022c6040518060400160405280600c81526020016b44454641554c545f5249534b60a01b81525081565b6102726102e636600461106c565b610894565b6102726102f93660046110a1565b610934565b610306610942565b60405161018091906110cd565b610306610a85565b6005546001600160a01b0316610196565b610272610bc8565b6101c56103423660046110e4565b610c30565b905090565b6000610356610670565b6001600160a01b0316336001600160a01b0316146103955760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661040b5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a434f422d3030313a52454749535452595f5a45524f0000000000604482015260640161038c565b60055460405163c3c5a54760e01b81526001600160a01b0391821660048201527f00000000000000000000000000000000000000000000000000000000000000009091169063c3c5a54790602401602060405180830381865afa158015610476573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049a9190611125565b6104f05760405162461bcd60e51b815260206004820152602160248201527f4552524f523a434f423a494e5354414e43455f4e4f545f5245474953544552456044820152601160fa1b606482015260840161038c565b6005805460ff60a01b1916600160a01b179055600154604051632210724360e11b81523060048201526001600160a01b0390911690634420e486906024016020604051808303816000875af115801561054d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610347919061114d565b600954604051636939560f60e11b81526001600160a01b0391821660048201526000917f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e906024015b602060405180830381865afa15801561054d573d6000803e3d6000fd5b6040513381527fb00037f8426b35b13d3428bd0d8bb6059e05f90d0da23ee636f827aee1718e489060200160405180910390a161061c838383610c89565b505050565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e906024016105c1565b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa1580156106d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fd919061114d565b905061070a816000610d09565b15610736577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa1580156107a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107c7919061117f565b91505090565b60006103476040518060400160405280600c81526020016b44454641554c545f5249534b60a01b815250610d1f565b610804610670565b6001600160a01b0316336001600160a01b0316146108345760405162461bcd60e51b815260040161038c9061119c565b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b15801561087a57600080fd5b505af115801561088e573d6000803e3d6000fd5b50505050565b61089c610670565b6001600160a01b0316336001600160a01b0316146108cc5760405162461bcd60e51b815260040161038c9061119c565b600854604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba906108fe90859085906004016111d3565b600060405180830381600087803b15801561091857600080fd5b505af115801561092c573d6000803e3d6000fd5b505050505050565b61093e8282610d9a565b5050565b60408051808201909152600080825260208201526000610960610621565b60055460405163a310e2a360e01b81526001600160601b03831660048201529192506000916001600160a01b039091169063a310e2a390602401602060405180830381865afa1580156109b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109db919061117f565b6001600160a01b031614610a695760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101a060405180830381865afa158015610a3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5f9190611234565b6080015191505090565b505060408051808201909152600a548152600b54602082015290565b60408051808201909152600080825260208201526000610aa3610621565b60055460405163a310e2a360e01b81526001600160601b03831660048201529192506000916001600160a01b039091169063a310e2a390602401602060405180830381865afa158015610afa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b1e919061117f565b6001600160a01b031614610bac5760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101a060405180830381865afa158015610b7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba29190611234565b60a0015191505090565b505060408051808201909152600c548152600d54602082015290565b610bd0610670565b6001600160a01b0316336001600160a01b031614610c005760405162461bcd60e51b815260040161038c9061119c565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610860565b600e5460009060ff16610c6b57610c5d610c486107cd565b60405180602001604052806000815250610de0565b600e805460ff191660011790555b610c8033610c776107cd565b87878787610e12565b95945050505050565b600854604051633181b0fb60e11b81526001600160601b0385166004820152831515602482015264ffffffffff831660448201526001600160a01b039091169063630361f690606401600060405180830381600087803b158015610cec57600080fd5b505af1158015610d00573d6000803e3d6000fd5b50505050505050565b6001600160601b03828116908216145b92915050565b60405163253a42dd60e11b815260009073__$19a201e37be2e25dc57bd4aa563a0edb25$__90634a7485ba90610d59908590600401610f39565b602060405180830381865af4158015610d76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1991906112df565b600854604051635dfddfdd60e11b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b039091169063bbfbbfba906044016108fe565b6008546040516304af15b960e11b81526001600160a01b039091169063095e2b72906108fe9085908590600401611309565b6008546040516364d2cb2960e11b81526001600160a01b0388811660048301526001600160c01b0319881660248301526044820187905260648201869052608482018590526001600160601b03841660a4830152600092169063c9a596529060c4016020604051808303816000875af1158015610e93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb7919061114d565b979650505050505050565b600060208284031215610ed457600080fd5b81356001600160e01b031981168114610eec57600080fd5b9392505050565b6000815180845260005b81811015610f1957602081850181015186830182015201610efd565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610eec6020830184610ef3565b6001600160601b0381168114610f6157600080fd5b50565b8015158114610f6157600080fd5b803564ffffffffff81168114610f8757600080fd5b919050565b600080600060608486031215610fa157600080fd5b8335610fac81610f4c565b92506020840135610fbc81610f64565b9150610fca60408501610f72565b90509250925092565b6040805190810167ffffffffffffffff8111828210171561100457634e487b7160e01b600052604160045260246000fd5b60405290565b604051610100810167ffffffffffffffff8111828210171561100457634e487b7160e01b600052604160045260246000fd5b60006040828403121561104e57600080fd5b611056610fd3565b9050813581526020820135602082015292915050565b6000806080838503121561107f57600080fd5b611089848461103c565b9150611098846040850161103c565b90509250929050565b600080604083850312156110b457600080fd5b82356110bf81610f4c565b915061109860208401610f72565b815181526020808301519082015260408101610d19565b600080600080608085870312156110fa57600080fd5b843593506020850135925060408501359150606085013561111a81610f4c565b939692955090935050565b60006020828403121561113757600080fd5b8151610eec81610f64565b8051610f8781610f4c565b60006020828403121561115f57600080fd5b8151610eec81610f4c565b6001600160a01b0381168114610f6157600080fd5b60006020828403121561119157600080fd5b8151610eec8161116a565b60208082526017908201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b825181526020808401518183015282516040830152820151606082015260808101610eec565b8051610f878161116a565b60006040828403121561121657600080fd5b61121e610fd3565b9050815181526020820151602082015292915050565b60006101a0828403121561124757600080fd5b61124f61100a565b61125883611142565b815261126660208401611142565b6020820152611277604084016111f9565b60408201526112898460608501611204565b606082015261129b8460a08501611204565b60808201526112ad8460e08501611204565b60a08201526112c0846101208501611204565b60c08201526112d3846101608501611204565b60e08201529392505050565b6000602082840312156112f157600080fd5b81516001600160c01b031981168114610eec57600080fd5b67ffffffffffffffff60c01b8316815260406020820152600061132f6040830184610ef3565b94935050505056fea264697066735822122000731d726c0bda6351154f2c8cd25e7f09e1553fb1ac62d3080efd1094bf3acf64736f6c63430008140033",
|
450
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101425760003560e01c8063893d20e8116100b8578063bbfbbfba1161007c578063bbfbbfba146102eb578063bc74aab0146102fe578063daafed4014610313578063de7b5d141461031b578063f83d08ba1461032c578063ff47c73b1461033457600080fd5b8063893d20e81461027c578063955fd78214610284578063a69df4b5146102a5578063abd732ef146102ad578063b6b412ba146102d857600080fd5b806321df0da71161010a57806321df0da7146101e557806331b62a3b146101f65780633bc5de301461021c5780635ab1bd5314610239578063630361f61461025f578063644c45e01461027457600080fd5b806301ffc9a714610147578063132996041461018957806315dae03e146101ae5780631aa3a008146101bd5780631bdd6b76146101dd575b600080fd5b610174610155366004610ec2565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6003546001600160a01b03165b6040516001600160a01b039091168152602001610180565b604051606e8152602001610180565b6101c561034c565b6040516001600160601b039091168152602001610180565b6101c5610571565b6004546001600160a01b0316610196565b7f00000000000000000000000000000000000000000000000000000000000000006101c5565b6040805160208101909152600081525b6040516101809190610f39565b7f0000000000000000000000000000000000000000000000000000000000000000610196565b61027261026d366004610f8c565b6105de565b005b6101c5610621565b610196610670565b61028c6107cd565b6040516001600160c01b03199091168152602001610180565b6102726107fc565b61022c6040518060400160405280600c81526020016b44454641554c545f5249534b60a01b81525081565b6102726102e636600461106c565b610894565b6102726102f93660046110a1565b610934565b610306610942565b60405161018091906110cd565b610306610a85565b6005546001600160a01b0316610196565b610272610bc8565b6101c56103423660046110e4565b610c30565b905090565b6000610356610670565b6001600160a01b0316336001600160a01b0316146103955760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661040b5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a434f422d3030313a52454749535452595f5a45524f0000000000604482015260640161038c565b60055460405163c3c5a54760e01b81526001600160a01b0391821660048201527f00000000000000000000000000000000000000000000000000000000000000009091169063c3c5a54790602401602060405180830381865afa158015610476573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049a9190611125565b6104f05760405162461bcd60e51b815260206004820152602160248201527f4552524f523a434f423a494e5354414e43455f4e4f545f5245474953544552456044820152601160fa1b606482015260840161038c565b6005805460ff60a01b1916600160a01b179055600154604051632210724360e11b81523060048201526001600160a01b0390911690634420e486906024016020604051808303816000875af115801561054d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610347919061114d565b600954604051636939560f60e11b81526001600160a01b0391821660048201526000917f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e906024015b602060405180830381865afa15801561054d573d6000803e3d6000fd5b6040513381527fb00037f8426b35b13d3428bd0d8bb6059e05f90d0da23ee636f827aee1718e489060200160405180910390a161061c838383610c89565b505050565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e906024016105c1565b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa1580156106d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fd919061114d565b905061070a816000610d09565b15610736577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa1580156107a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107c7919061117f565b91505090565b60006103476040518060400160405280600c81526020016b44454641554c545f5249534b60a01b815250610d1f565b610804610670565b6001600160a01b0316336001600160a01b0316146108345760405162461bcd60e51b815260040161038c9061119c565b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b15801561087a57600080fd5b505af115801561088e573d6000803e3d6000fd5b50505050565b61089c610670565b6001600160a01b0316336001600160a01b0316146108cc5760405162461bcd60e51b815260040161038c9061119c565b600854604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba906108fe90859085906004016111d3565b600060405180830381600087803b15801561091857600080fd5b505af115801561092c573d6000803e3d6000fd5b505050505050565b61093e8282610d9a565b5050565b60408051808201909152600080825260208201526000610960610621565b60055460405163a310e2a360e01b81526001600160601b03831660048201529192506000916001600160a01b039091169063a310e2a390602401602060405180830381865afa1580156109b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109db919061117f565b6001600160a01b031614610a695760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101a060405180830381865afa158015610a3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5f9190611234565b6080015191505090565b505060408051808201909152600a548152600b54602082015290565b60408051808201909152600080825260208201526000610aa3610621565b60055460405163a310e2a360e01b81526001600160601b03831660048201529192506000916001600160a01b039091169063a310e2a390602401602060405180830381865afa158015610afa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b1e919061117f565b6001600160a01b031614610bac5760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101a060405180830381865afa158015610b7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba29190611234565b60a0015191505090565b505060408051808201909152600c548152600d54602082015290565b610bd0610670565b6001600160a01b0316336001600160a01b031614610c005760405162461bcd60e51b815260040161038c9061119c565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610860565b600e5460009060ff16610c6b57610c5d610c486107cd565b60405180602001604052806000815250610de0565b600e805460ff191660011790555b610c8033610c776107cd565b87878787610e12565b95945050505050565b600854604051633181b0fb60e11b81526001600160601b0385166004820152831515602482015264ffffffffff831660448201526001600160a01b039091169063630361f690606401600060405180830381600087803b158015610cec57600080fd5b505af1158015610d00573d6000803e3d6000fd5b50505050505050565b6001600160601b03828116908216145b92915050565b60405163253a42dd60e11b815260009073__$19a201e37be2e25dc57bd4aa563a0edb25$__90634a7485ba90610d59908590600401610f39565b602060405180830381865af4158015610d76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1991906112df565b600854604051635dfddfdd60e11b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b039091169063bbfbbfba906044016108fe565b6008546040516304af15b960e11b81526001600160a01b039091169063095e2b72906108fe9085908590600401611309565b6008546040516364d2cb2960e11b81526001600160a01b0388811660048301526001600160c01b0319881660248301526044820187905260648201869052608482018590526001600160601b03841660a4830152600092169063c9a596529060c4016020604051808303816000875af1158015610e93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb7919061114d565b979650505050505050565b600060208284031215610ed457600080fd5b81356001600160e01b031981168114610eec57600080fd5b9392505050565b6000815180845260005b81811015610f1957602081850181015186830182015201610efd565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610eec6020830184610ef3565b6001600160601b0381168114610f6157600080fd5b50565b8015158114610f6157600080fd5b803564ffffffffff81168114610f8757600080fd5b919050565b600080600060608486031215610fa157600080fd5b8335610fac81610f4c565b92506020840135610fbc81610f64565b9150610fca60408501610f72565b90509250925092565b6040805190810167ffffffffffffffff8111828210171561100457634e487b7160e01b600052604160045260246000fd5b60405290565b604051610100810167ffffffffffffffff8111828210171561100457634e487b7160e01b600052604160045260246000fd5b60006040828403121561104e57600080fd5b611056610fd3565b9050813581526020820135602082015292915050565b6000806080838503121561107f57600080fd5b611089848461103c565b9150611098846040850161103c565b90509250929050565b600080604083850312156110b457600080fd5b82356110bf81610f4c565b915061109860208401610f72565b815181526020808301519082015260408101610d19565b600080600080608085870312156110fa57600080fd5b843593506020850135925060408501359150606085013561111a81610f4c565b939692955090935050565b60006020828403121561113757600080fd5b8151610eec81610f64565b8051610f8781610f4c565b60006020828403121561115f57600080fd5b8151610eec81610f4c565b6001600160a01b0381168114610f6157600080fd5b60006020828403121561119157600080fd5b8151610eec8161116a565b60208082526017908201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b825181526020808401518183015282516040830152820151606082015260808101610eec565b8051610f878161116a565b60006040828403121561121657600080fd5b61121e610fd3565b9050815181526020820151602082015292915050565b60006101a0828403121561124757600080fd5b61124f61100a565b61125883611142565b815261126660208401611142565b6020820152611277604084016111f9565b60408201526112898460608501611204565b606082015261129b8460a08501611204565b60808201526112ad8460e08501611204565b60a08201526112c0846101208501611204565b60c08201526112d3846101608501611204565b60e08201529392505050565b6000602082840312156112f157600080fd5b81516001600160c01b031981168114610eec57600080fd5b67ffffffffffffffff60c01b8316815260406020820152600061132f6040830184610ef3565b94935050505056fea264697066735822122000731d726c0bda6351154f2c8cd25e7f09e1553fb1ac62d3080efd1094bf3acf64736f6c63430008140033",
|
451
|
+
"linkReferences": {
|
452
|
+
"contracts/types/Fee.sol": {
|
453
|
+
"FeeLib": [
|
454
|
+
{
|
455
|
+
"length": 20,
|
456
|
+
"start": 1211
|
457
|
+
}
|
458
|
+
]
|
459
|
+
},
|
460
|
+
"contracts/types/RiskId.sol": {
|
461
|
+
"RiskIdLib": [
|
462
|
+
{
|
463
|
+
"length": 20,
|
464
|
+
"start": 5863
|
465
|
+
}
|
466
|
+
]
|
467
|
+
}
|
468
|
+
},
|
469
|
+
"deployedLinkReferences": {
|
470
|
+
"contracts/types/RiskId.sol": {
|
471
|
+
"RiskIdLib": [
|
472
|
+
{
|
473
|
+
"length": 20,
|
474
|
+
"start": 3377
|
475
|
+
}
|
476
|
+
]
|
477
|
+
}
|
478
|
+
}
|
479
|
+
}
|
@@ -0,0 +1,137 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "TestRegisterable",
|
4
|
+
"sourceName": "contracts/test/TestRegisterable.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "registry",
|
11
|
+
"type": "address"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"internalType": "NftId",
|
15
|
+
"name": "registryNftId",
|
16
|
+
"type": "uint96"
|
17
|
+
}
|
18
|
+
],
|
19
|
+
"stateMutability": "nonpayable",
|
20
|
+
"type": "constructor"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"inputs": [],
|
24
|
+
"name": "getData",
|
25
|
+
"outputs": [
|
26
|
+
{
|
27
|
+
"internalType": "bytes",
|
28
|
+
"name": "data",
|
29
|
+
"type": "bytes"
|
30
|
+
}
|
31
|
+
],
|
32
|
+
"stateMutability": "view",
|
33
|
+
"type": "function"
|
34
|
+
},
|
35
|
+
{
|
36
|
+
"inputs": [],
|
37
|
+
"name": "getNftId",
|
38
|
+
"outputs": [
|
39
|
+
{
|
40
|
+
"internalType": "NftId",
|
41
|
+
"name": "nftId",
|
42
|
+
"type": "uint96"
|
43
|
+
}
|
44
|
+
],
|
45
|
+
"stateMutability": "view",
|
46
|
+
"type": "function"
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"inputs": [],
|
50
|
+
"name": "getOwner",
|
51
|
+
"outputs": [
|
52
|
+
{
|
53
|
+
"internalType": "address",
|
54
|
+
"name": "owner",
|
55
|
+
"type": "address"
|
56
|
+
}
|
57
|
+
],
|
58
|
+
"stateMutability": "view",
|
59
|
+
"type": "function"
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"inputs": [],
|
63
|
+
"name": "getParentNftId",
|
64
|
+
"outputs": [
|
65
|
+
{
|
66
|
+
"internalType": "NftId",
|
67
|
+
"name": "nftId",
|
68
|
+
"type": "uint96"
|
69
|
+
}
|
70
|
+
],
|
71
|
+
"stateMutability": "view",
|
72
|
+
"type": "function"
|
73
|
+
},
|
74
|
+
{
|
75
|
+
"inputs": [],
|
76
|
+
"name": "getRegistry",
|
77
|
+
"outputs": [
|
78
|
+
{
|
79
|
+
"internalType": "contract IRegistry",
|
80
|
+
"name": "registry",
|
81
|
+
"type": "address"
|
82
|
+
}
|
83
|
+
],
|
84
|
+
"stateMutability": "view",
|
85
|
+
"type": "function"
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"inputs": [],
|
89
|
+
"name": "getType",
|
90
|
+
"outputs": [
|
91
|
+
{
|
92
|
+
"internalType": "ObjectType",
|
93
|
+
"name": "",
|
94
|
+
"type": "uint8"
|
95
|
+
}
|
96
|
+
],
|
97
|
+
"stateMutability": "pure",
|
98
|
+
"type": "function"
|
99
|
+
},
|
100
|
+
{
|
101
|
+
"inputs": [],
|
102
|
+
"name": "register",
|
103
|
+
"outputs": [
|
104
|
+
{
|
105
|
+
"internalType": "NftId",
|
106
|
+
"name": "nftId",
|
107
|
+
"type": "uint96"
|
108
|
+
}
|
109
|
+
],
|
110
|
+
"stateMutability": "nonpayable",
|
111
|
+
"type": "function"
|
112
|
+
},
|
113
|
+
{
|
114
|
+
"inputs": [
|
115
|
+
{
|
116
|
+
"internalType": "bytes4",
|
117
|
+
"name": "interfaceId",
|
118
|
+
"type": "bytes4"
|
119
|
+
}
|
120
|
+
],
|
121
|
+
"name": "supportsInterface",
|
122
|
+
"outputs": [
|
123
|
+
{
|
124
|
+
"internalType": "bool",
|
125
|
+
"name": "",
|
126
|
+
"type": "bool"
|
127
|
+
}
|
128
|
+
],
|
129
|
+
"stateMutability": "view",
|
130
|
+
"type": "function"
|
131
|
+
}
|
132
|
+
],
|
133
|
+
"bytecode": "0x60e060405234801561001057600080fd5b506040516108b73803806108b783398101604081905261002f916102a3565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff1916600117905581816001600160a01b0382166100c85760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6001600160a01b03821660808190526040516301ffc9a760e01b81526306ecd8ef60e01b60048201526301ffc9a790602401602060405180830381865afa158015610117573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061013b91906102f5565b6101875760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f524547495354525900000000000060448201526064016100bf565b6001600160601b03811660a081905260805160405163e74d052f60e01b815260048101929092526001600160a01b03169063e74d052f90602401602060405180830381865afa1580156101de573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061020291906102f5565b61025a5760405162461bcd60e51b815260206004820152602360248201527f4552524f523a5247422d3031323a504152454e545f4e4f545f5245474953544560448201526214915160ea1b60648201526084016100bf565b3360c052631dfba64760e11b60009081526020527f95e5a2564f7af40498dc043c6da135e06324c5edb1f60c2bf4dcdf2da207fa45805460ff191660011790555050505061031e565b600080604083850312156102b657600080fd5b82516001600160a01b03811681146102cd57600080fd5b60208401519092506001600160601b03811681146102ea57600080fd5b809150509250929050565b60006020828403121561030757600080fd5b8151801515811461031757600080fd5b9392505050565b60805160a05160c05161054e610369600039600061038b01526000610100015260008181610140015281816102100152818161029d0152818161030e01526103ce015261054e6000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80633bc5de301161005b5780633bc5de30146101245780635ab1bd531461013e578063644c45e014610178578063893d20e81461018057600080fd5b806301ffc9a71461008d57806315dae03e146100cf5780631aa3a008146100de57806331b62a3b146100fe575b600080fd5b6100ba61009b366004610447565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b604051601e81526020016100c6565b6100e661018d565b6040516001600160601b0390911681526020016100c6565b7f00000000000000000000000000000000000000000000000000000000000000006100e6565b604080516020810182526000815290516100c69190610478565b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b0390911681526020016100c6565b6100e6610285565b6101606102ec565b905090565b60006101976102ec565b6001600160a01b0316336001600160a01b0316146101fb5760405162461bcd60e51b815260206004820152601760248201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604482015260640160405180910390fd5b604051632210724360e11b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634420e486906024016020604051808303816000875af1158015610261573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061018891906104c6565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa158015610261573d6000803e3d6000fd5b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa158015610355573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061037991906104c6565b90506001600160601b0381166103b0577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa15801561041d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061044191906104ef565b91505090565b60006020828403121561045957600080fd5b81356001600160e01b03198116811461047157600080fd5b9392505050565b600060208083528351808285015260005b818110156104a557858101830151858201604001528201610489565b506000604082860101526040601f19601f8301168501019250505092915050565b6000602082840312156104d857600080fd5b81516001600160601b038116811461047157600080fd5b60006020828403121561050157600080fd5b81516001600160a01b038116811461047157600080fdfea2646970667358221220cf9f04fa733367cb806f48e7d53185a93731836849ab6659cbda9809652115cc64736f6c63430008140033",
|
134
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100885760003560e01c80633bc5de301161005b5780633bc5de30146101245780635ab1bd531461013e578063644c45e014610178578063893d20e81461018057600080fd5b806301ffc9a71461008d57806315dae03e146100cf5780631aa3a008146100de57806331b62a3b146100fe575b600080fd5b6100ba61009b366004610447565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b604051601e81526020016100c6565b6100e661018d565b6040516001600160601b0390911681526020016100c6565b7f00000000000000000000000000000000000000000000000000000000000000006100e6565b604080516020810182526000815290516100c69190610478565b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b0390911681526020016100c6565b6100e6610285565b6101606102ec565b905090565b60006101976102ec565b6001600160a01b0316336001600160a01b0316146101fb5760405162461bcd60e51b815260206004820152601760248201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604482015260640160405180910390fd5b604051632210724360e11b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634420e486906024016020604051808303816000875af1158015610261573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061018891906104c6565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa158015610261573d6000803e3d6000fd5b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa158015610355573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061037991906104c6565b90506001600160601b0381166103b0577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa15801561041d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061044191906104ef565b91505090565b60006020828403121561045957600080fd5b81356001600160e01b03198116811461047157600080fd5b9392505050565b600060208083528351808285015260005b818110156104a557858101830151858201604001528201610489565b506000604082860101526040601f19601f8301168501019250505092915050565b6000602082840312156104d857600080fd5b81516001600160601b038116811461047157600080fd5b60006020828403121561050157600080fd5b81516001600160a01b038116811461047157600080fdfea2646970667358221220cf9f04fa733367cb806f48e7d53185a93731836849ab6659cbda9809652115cc64736f6c63430008140033",
|
135
|
+
"linkReferences": {},
|
136
|
+
"deployedLinkReferences": {}
|
137
|
+
}
|