@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,119 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "TestFee",
|
4
|
+
"sourceName": "contracts/test/TestFee.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "uint256",
|
10
|
+
"name": "fractionalValue",
|
11
|
+
"type": "uint256"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"internalType": "int8",
|
15
|
+
"name": "exponent",
|
16
|
+
"type": "int8"
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"internalType": "uint256",
|
20
|
+
"name": "fixedValue",
|
21
|
+
"type": "uint256"
|
22
|
+
}
|
23
|
+
],
|
24
|
+
"name": "createFee",
|
25
|
+
"outputs": [
|
26
|
+
{
|
27
|
+
"components": [
|
28
|
+
{
|
29
|
+
"internalType": "UFixed",
|
30
|
+
"name": "fractionalFee",
|
31
|
+
"type": "uint256"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"internalType": "uint256",
|
35
|
+
"name": "fixedFee",
|
36
|
+
"type": "uint256"
|
37
|
+
}
|
38
|
+
],
|
39
|
+
"internalType": "struct Fee",
|
40
|
+
"name": "fee",
|
41
|
+
"type": "tuple"
|
42
|
+
}
|
43
|
+
],
|
44
|
+
"stateMutability": "pure",
|
45
|
+
"type": "function"
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"inputs": [],
|
49
|
+
"name": "getZeroFee",
|
50
|
+
"outputs": [
|
51
|
+
{
|
52
|
+
"components": [
|
53
|
+
{
|
54
|
+
"internalType": "UFixed",
|
55
|
+
"name": "fractionalFee",
|
56
|
+
"type": "uint256"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"internalType": "uint256",
|
60
|
+
"name": "fixedFee",
|
61
|
+
"type": "uint256"
|
62
|
+
}
|
63
|
+
],
|
64
|
+
"internalType": "struct Fee",
|
65
|
+
"name": "fee",
|
66
|
+
"type": "tuple"
|
67
|
+
}
|
68
|
+
],
|
69
|
+
"stateMutability": "pure",
|
70
|
+
"type": "function"
|
71
|
+
}
|
72
|
+
],
|
73
|
+
"bytecode": "0x608060405234801561001057600080fd5b50610301806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80634e3dca121461003b57806387c565861461006d575b600080fd5b61004e610049366004610217565b610075565b6040805182518152602092830151928101929092520160405180910390f35b61004e610192565b6040805180820190915260008082526020820152604051631488c84560e01b815260048101859052600084900b602482015273__$a23651848365a6a5ca15f07b4331037f48$__9063c7010dfa9073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__90631488c84590604401602060405180830381865af41580156100ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101239190610255565b846040518363ffffffff1660e01b815260040161014a929190918252602082015260400190565b6040805180830381865af4158015610166573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061018a919061026e565b949350505050565b604080518082019091526000808252602082015273__$a23651848365a6a5ca15f07b4331037f48$__632bd182d36040518163ffffffff1660e01b81526004016040805180830381865af41580156101ee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610212919061026e565b905090565b60008060006060848603121561022c57600080fd5b8335925060208401358060000b811461024457600080fd5b929592945050506040919091013590565b60006020828403121561026757600080fd5b5051919050565b60006040828403121561028057600080fd5b6040516040810181811067ffffffffffffffff821117156102b157634e487b7160e01b600052604160045260246000fd5b60405282518152602092830151928101929092525091905056fea2646970667358221220d6577b6d3c521dfb89ca0e611e3511320264cc3a6631b08890e6477b15728e7364736f6c63430008140033",
|
74
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100365760003560e01c80634e3dca121461003b57806387c565861461006d575b600080fd5b61004e610049366004610217565b610075565b6040805182518152602092830151928101929092520160405180910390f35b61004e610192565b6040805180820190915260008082526020820152604051631488c84560e01b815260048101859052600084900b602482015273__$a23651848365a6a5ca15f07b4331037f48$__9063c7010dfa9073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__90631488c84590604401602060405180830381865af41580156100ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101239190610255565b846040518363ffffffff1660e01b815260040161014a929190918252602082015260400190565b6040805180830381865af4158015610166573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061018a919061026e565b949350505050565b604080518082019091526000808252602082015273__$a23651848365a6a5ca15f07b4331037f48$__632bd182d36040518163ffffffff1660e01b81526004016040805180830381865af41580156101ee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610212919061026e565b905090565b60008060006060848603121561022c57600080fd5b8335925060208401358060000b811461024457600080fd5b929592945050506040919091013590565b60006020828403121561026757600080fd5b5051919050565b60006040828403121561028057600080fd5b6040516040810181811067ffffffffffffffff821117156102b157634e487b7160e01b600052604160045260246000fd5b60405282518152602092830151928101929092525091905056fea2646970667358221220d6577b6d3c521dfb89ca0e611e3511320264cc3a6631b08890e6477b15728e7364736f6c63430008140033",
|
75
|
+
"linkReferences": {
|
76
|
+
"contracts/types/Fee.sol": {
|
77
|
+
"FeeLib": [
|
78
|
+
{
|
79
|
+
"length": 20,
|
80
|
+
"start": 201
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"length": 20,
|
84
|
+
"start": 456
|
85
|
+
}
|
86
|
+
]
|
87
|
+
},
|
88
|
+
"contracts/types/UFixed.sol": {
|
89
|
+
"UFixedMathLib": [
|
90
|
+
{
|
91
|
+
"length": 20,
|
92
|
+
"start": 229
|
93
|
+
}
|
94
|
+
]
|
95
|
+
}
|
96
|
+
},
|
97
|
+
"deployedLinkReferences": {
|
98
|
+
"contracts/types/Fee.sol": {
|
99
|
+
"FeeLib": [
|
100
|
+
{
|
101
|
+
"length": 20,
|
102
|
+
"start": 169
|
103
|
+
},
|
104
|
+
{
|
105
|
+
"length": 20,
|
106
|
+
"start": 424
|
107
|
+
}
|
108
|
+
]
|
109
|
+
},
|
110
|
+
"contracts/types/UFixed.sol": {
|
111
|
+
"UFixedMathLib": [
|
112
|
+
{
|
113
|
+
"length": 20,
|
114
|
+
"start": 197
|
115
|
+
}
|
116
|
+
]
|
117
|
+
}
|
118
|
+
}
|
119
|
+
}
|
@@ -0,0 +1,455 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "TestPool",
|
4
|
+
"sourceName": "contracts/test/TestPool.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": "bool",
|
25
|
+
"name": "isVerifying",
|
26
|
+
"type": "bool"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"internalType": "UFixed",
|
30
|
+
"name": "collateralizationLevel",
|
31
|
+
"type": "uint256"
|
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": "stakingFee",
|
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": "performanceFee",
|
65
|
+
"type": "tuple"
|
66
|
+
}
|
67
|
+
],
|
68
|
+
"stateMutability": "nonpayable",
|
69
|
+
"type": "constructor"
|
70
|
+
},
|
71
|
+
{
|
72
|
+
"anonymous": false,
|
73
|
+
"inputs": [
|
74
|
+
{
|
75
|
+
"indexed": false,
|
76
|
+
"internalType": "NftId",
|
77
|
+
"name": "policyNftId",
|
78
|
+
"type": "uint96"
|
79
|
+
},
|
80
|
+
{
|
81
|
+
"indexed": false,
|
82
|
+
"internalType": "uint256",
|
83
|
+
"name": "collateralizationAmount",
|
84
|
+
"type": "uint256"
|
85
|
+
},
|
86
|
+
{
|
87
|
+
"indexed": false,
|
88
|
+
"internalType": "address",
|
89
|
+
"name": "pool",
|
90
|
+
"type": "address"
|
91
|
+
}
|
92
|
+
],
|
93
|
+
"name": "LogUnderwrittenByPool",
|
94
|
+
"type": "event"
|
95
|
+
},
|
96
|
+
{
|
97
|
+
"inputs": [
|
98
|
+
{
|
99
|
+
"internalType": "uint256",
|
100
|
+
"name": "initialAmount",
|
101
|
+
"type": "uint256"
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"internalType": "uint256",
|
105
|
+
"name": "lifetime",
|
106
|
+
"type": "uint256"
|
107
|
+
},
|
108
|
+
{
|
109
|
+
"internalType": "bytes",
|
110
|
+
"name": "filter",
|
111
|
+
"type": "bytes"
|
112
|
+
}
|
113
|
+
],
|
114
|
+
"name": "createBundle",
|
115
|
+
"outputs": [
|
116
|
+
{
|
117
|
+
"internalType": "NftId",
|
118
|
+
"name": "bundleNftId",
|
119
|
+
"type": "uint96"
|
120
|
+
}
|
121
|
+
],
|
122
|
+
"stateMutability": "nonpayable",
|
123
|
+
"type": "function"
|
124
|
+
},
|
125
|
+
{
|
126
|
+
"inputs": [],
|
127
|
+
"name": "getCollateralizationLevel",
|
128
|
+
"outputs": [
|
129
|
+
{
|
130
|
+
"internalType": "UFixed",
|
131
|
+
"name": "collateralizationLevel",
|
132
|
+
"type": "uint256"
|
133
|
+
}
|
134
|
+
],
|
135
|
+
"stateMutability": "view",
|
136
|
+
"type": "function"
|
137
|
+
},
|
138
|
+
{
|
139
|
+
"inputs": [],
|
140
|
+
"name": "getData",
|
141
|
+
"outputs": [
|
142
|
+
{
|
143
|
+
"internalType": "bytes",
|
144
|
+
"name": "data",
|
145
|
+
"type": "bytes"
|
146
|
+
}
|
147
|
+
],
|
148
|
+
"stateMutability": "view",
|
149
|
+
"type": "function"
|
150
|
+
},
|
151
|
+
{
|
152
|
+
"inputs": [],
|
153
|
+
"name": "getInstance",
|
154
|
+
"outputs": [
|
155
|
+
{
|
156
|
+
"internalType": "contract IInstance",
|
157
|
+
"name": "instance",
|
158
|
+
"type": "address"
|
159
|
+
}
|
160
|
+
],
|
161
|
+
"stateMutability": "view",
|
162
|
+
"type": "function"
|
163
|
+
},
|
164
|
+
{
|
165
|
+
"inputs": [],
|
166
|
+
"name": "getNftId",
|
167
|
+
"outputs": [
|
168
|
+
{
|
169
|
+
"internalType": "NftId",
|
170
|
+
"name": "nftId",
|
171
|
+
"type": "uint96"
|
172
|
+
}
|
173
|
+
],
|
174
|
+
"stateMutability": "view",
|
175
|
+
"type": "function"
|
176
|
+
},
|
177
|
+
{
|
178
|
+
"inputs": [],
|
179
|
+
"name": "getOwner",
|
180
|
+
"outputs": [
|
181
|
+
{
|
182
|
+
"internalType": "address",
|
183
|
+
"name": "owner",
|
184
|
+
"type": "address"
|
185
|
+
}
|
186
|
+
],
|
187
|
+
"stateMutability": "view",
|
188
|
+
"type": "function"
|
189
|
+
},
|
190
|
+
{
|
191
|
+
"inputs": [],
|
192
|
+
"name": "getParentNftId",
|
193
|
+
"outputs": [
|
194
|
+
{
|
195
|
+
"internalType": "NftId",
|
196
|
+
"name": "nftId",
|
197
|
+
"type": "uint96"
|
198
|
+
}
|
199
|
+
],
|
200
|
+
"stateMutability": "view",
|
201
|
+
"type": "function"
|
202
|
+
},
|
203
|
+
{
|
204
|
+
"inputs": [],
|
205
|
+
"name": "getPerformanceFee",
|
206
|
+
"outputs": [
|
207
|
+
{
|
208
|
+
"components": [
|
209
|
+
{
|
210
|
+
"internalType": "UFixed",
|
211
|
+
"name": "fractionalFee",
|
212
|
+
"type": "uint256"
|
213
|
+
},
|
214
|
+
{
|
215
|
+
"internalType": "uint256",
|
216
|
+
"name": "fixedFee",
|
217
|
+
"type": "uint256"
|
218
|
+
}
|
219
|
+
],
|
220
|
+
"internalType": "struct Fee",
|
221
|
+
"name": "performanceFee",
|
222
|
+
"type": "tuple"
|
223
|
+
}
|
224
|
+
],
|
225
|
+
"stateMutability": "view",
|
226
|
+
"type": "function"
|
227
|
+
},
|
228
|
+
{
|
229
|
+
"inputs": [],
|
230
|
+
"name": "getRegistry",
|
231
|
+
"outputs": [
|
232
|
+
{
|
233
|
+
"internalType": "contract IRegistry",
|
234
|
+
"name": "registry",
|
235
|
+
"type": "address"
|
236
|
+
}
|
237
|
+
],
|
238
|
+
"stateMutability": "view",
|
239
|
+
"type": "function"
|
240
|
+
},
|
241
|
+
{
|
242
|
+
"inputs": [],
|
243
|
+
"name": "getStakingFee",
|
244
|
+
"outputs": [
|
245
|
+
{
|
246
|
+
"components": [
|
247
|
+
{
|
248
|
+
"internalType": "UFixed",
|
249
|
+
"name": "fractionalFee",
|
250
|
+
"type": "uint256"
|
251
|
+
},
|
252
|
+
{
|
253
|
+
"internalType": "uint256",
|
254
|
+
"name": "fixedFee",
|
255
|
+
"type": "uint256"
|
256
|
+
}
|
257
|
+
],
|
258
|
+
"internalType": "struct Fee",
|
259
|
+
"name": "stakingFee",
|
260
|
+
"type": "tuple"
|
261
|
+
}
|
262
|
+
],
|
263
|
+
"stateMutability": "view",
|
264
|
+
"type": "function"
|
265
|
+
},
|
266
|
+
{
|
267
|
+
"inputs": [],
|
268
|
+
"name": "getToken",
|
269
|
+
"outputs": [
|
270
|
+
{
|
271
|
+
"internalType": "contract IERC20Metadata",
|
272
|
+
"name": "token",
|
273
|
+
"type": "address"
|
274
|
+
}
|
275
|
+
],
|
276
|
+
"stateMutability": "view",
|
277
|
+
"type": "function"
|
278
|
+
},
|
279
|
+
{
|
280
|
+
"inputs": [],
|
281
|
+
"name": "getType",
|
282
|
+
"outputs": [
|
283
|
+
{
|
284
|
+
"internalType": "ObjectType",
|
285
|
+
"name": "",
|
286
|
+
"type": "uint8"
|
287
|
+
}
|
288
|
+
],
|
289
|
+
"stateMutability": "pure",
|
290
|
+
"type": "function"
|
291
|
+
},
|
292
|
+
{
|
293
|
+
"inputs": [],
|
294
|
+
"name": "getWallet",
|
295
|
+
"outputs": [
|
296
|
+
{
|
297
|
+
"internalType": "address",
|
298
|
+
"name": "walletAddress",
|
299
|
+
"type": "address"
|
300
|
+
}
|
301
|
+
],
|
302
|
+
"stateMutability": "view",
|
303
|
+
"type": "function"
|
304
|
+
},
|
305
|
+
{
|
306
|
+
"inputs": [],
|
307
|
+
"name": "isVerifying",
|
308
|
+
"outputs": [
|
309
|
+
{
|
310
|
+
"internalType": "bool",
|
311
|
+
"name": "verifying",
|
312
|
+
"type": "bool"
|
313
|
+
}
|
314
|
+
],
|
315
|
+
"stateMutability": "view",
|
316
|
+
"type": "function"
|
317
|
+
},
|
318
|
+
{
|
319
|
+
"inputs": [],
|
320
|
+
"name": "lock",
|
321
|
+
"outputs": [],
|
322
|
+
"stateMutability": "nonpayable",
|
323
|
+
"type": "function"
|
324
|
+
},
|
325
|
+
{
|
326
|
+
"inputs": [
|
327
|
+
{
|
328
|
+
"internalType": "bytes",
|
329
|
+
"name": "",
|
330
|
+
"type": "bytes"
|
331
|
+
},
|
332
|
+
{
|
333
|
+
"internalType": "bytes",
|
334
|
+
"name": "",
|
335
|
+
"type": "bytes"
|
336
|
+
}
|
337
|
+
],
|
338
|
+
"name": "policyMatchesBundle",
|
339
|
+
"outputs": [
|
340
|
+
{
|
341
|
+
"internalType": "bool",
|
342
|
+
"name": "isMatching",
|
343
|
+
"type": "bool"
|
344
|
+
}
|
345
|
+
],
|
346
|
+
"stateMutability": "view",
|
347
|
+
"type": "function"
|
348
|
+
},
|
349
|
+
{
|
350
|
+
"inputs": [],
|
351
|
+
"name": "register",
|
352
|
+
"outputs": [
|
353
|
+
{
|
354
|
+
"internalType": "NftId",
|
355
|
+
"name": "componentId",
|
356
|
+
"type": "uint96"
|
357
|
+
}
|
358
|
+
],
|
359
|
+
"stateMutability": "nonpayable",
|
360
|
+
"type": "function"
|
361
|
+
},
|
362
|
+
{
|
363
|
+
"inputs": [
|
364
|
+
{
|
365
|
+
"internalType": "bytes4",
|
366
|
+
"name": "interfaceId",
|
367
|
+
"type": "bytes4"
|
368
|
+
}
|
369
|
+
],
|
370
|
+
"name": "supportsInterface",
|
371
|
+
"outputs": [
|
372
|
+
{
|
373
|
+
"internalType": "bool",
|
374
|
+
"name": "",
|
375
|
+
"type": "bool"
|
376
|
+
}
|
377
|
+
],
|
378
|
+
"stateMutability": "view",
|
379
|
+
"type": "function"
|
380
|
+
},
|
381
|
+
{
|
382
|
+
"inputs": [
|
383
|
+
{
|
384
|
+
"internalType": "NftId",
|
385
|
+
"name": "policyNftId",
|
386
|
+
"type": "uint96"
|
387
|
+
},
|
388
|
+
{
|
389
|
+
"internalType": "bytes",
|
390
|
+
"name": "policyData",
|
391
|
+
"type": "bytes"
|
392
|
+
},
|
393
|
+
{
|
394
|
+
"internalType": "bytes",
|
395
|
+
"name": "bundleFilter",
|
396
|
+
"type": "bytes"
|
397
|
+
},
|
398
|
+
{
|
399
|
+
"internalType": "uint256",
|
400
|
+
"name": "collateralizationAmount",
|
401
|
+
"type": "uint256"
|
402
|
+
}
|
403
|
+
],
|
404
|
+
"name": "underwrite",
|
405
|
+
"outputs": [],
|
406
|
+
"stateMutability": "nonpayable",
|
407
|
+
"type": "function"
|
408
|
+
},
|
409
|
+
{
|
410
|
+
"inputs": [],
|
411
|
+
"name": "unlock",
|
412
|
+
"outputs": [],
|
413
|
+
"stateMutability": "nonpayable",
|
414
|
+
"type": "function"
|
415
|
+
}
|
416
|
+
],
|
417
|
+
"bytecode": "0x60e06040523480156200001157600080fd5b5060405162001bcd38038062001bcd83398101604081905262000034916200079f565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff191660011790558686868686868686868682826001600160a01b038216620000d85760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6001600160a01b03821660808190526040516301ffc9a760e01b81526306ecd8ef60e01b60048201526301ffc9a790602401602060405180830381865afa15801562000128573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200014e919062000832565b6200019c5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f52454749535452590000000000006044820152606401620000cf565b6001600160601b03811660a081905260805160405163e74d052f60e01b815260048101929092526001600160a01b03169063e74d052f90602401602060405180830381865afa158015620001f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200021a919062000832565b620002745760405162461bcd60e51b815260206004820152602360248201527f4552524f523a5247422d3031323a504152454e545f4e4f545f5245474953544560448201526214915160ea1b6064820152608401620000cf565b3360c052631dfba64760e11b60009081526020527f95e5a2564f7af40498dc043c6da135e06324c5edb1f60c2bf4dcdf2da207fa45805460ff1916600117905550506080516040516305247a1760e51b81526001600160601b03841660048201526000916001600160a01b03169063a48f42e090602401600060405180830381865afa15801562000309573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620003339190810190620008e4565b6060810151600580546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b8152630506037b60e21b6004820152919250906301ffc9a790602401602060405180830381865afa1580156200039b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003c1919062000832565b620003e95760405162461bcd60e51b81526020600482015260006024820152604401620000cf565b600560009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200043d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004639190620009be565b600180546001600160a01b039283166001600160a01b0319918216179091556003805482163017905560048054928516929091169190911781556005805460ff60a01b1916905560408051632bd182d360e01b8152815173__$a23651848365a6a5ca15f07b4331037f48$__93632bd182d39383820193909291908290030181865af4158015620004f8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200051e9190620009de565b80516006556020908101516007556008805460ff19168a151517905560098890558651600a5586810151600b558551600c5585810151600d5560055460408051636b9bf08b60e01b815290516001600160a01b039092169650636b9bf08b9550600480820195509293509091908290030181865afa158015620005a5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005cb9190620009be565b600e80546001600160a01b0319166001600160a01b0392831617905560055460408051634288121d60e01b815290519190921691634288121d9160048083019260209291908290030181865afa1580156200062a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006509190620009be565b600f80546001600160a01b0319166001600160a01b039290921691909117905550620009fd9c50505050505050505050505050565b6001600160a01b03811681146200069b57600080fd5b50565b8051620006ab8162000685565b919050565b80516001600160601b0381168114620006ab57600080fd5b80518015158114620006ab57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715620007145762000714620006d9565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620007455762000745620006d9565b604052919050565b6000604082840312156200076057600080fd5b604080519081016001600160401b0381118282101715620007855762000785620006d9565b604052825181526020928301519281019290925250919050565b6000806000806000806000610120888a031215620007bc57600080fd5b8751620007c98162000685565b9650620007d960208901620006b0565b95506040880151620007eb8162000685565b9450620007fb60608901620006c8565b935060808801519250620008138960a08a016200074d565b9150620008248960e08a016200074d565b905092959891949750929550565b6000602082840312156200084557600080fd5b6200085082620006c8565b9392505050565b600082601f8301126200086957600080fd5b81516001600160401b03811115620008855762000885620006d9565b60206200089b601f8301601f191682016200071a565b8281528582848701011115620008b057600080fd5b60005b83811015620008d0578581018301518282018401528201620008b3565b506000928101909101919091529392505050565b600060208284031215620008f757600080fd5b81516001600160401b03808211156200090f57600080fd5b9083019060c082860312156200092457600080fd5b6200092e620006ef565b6200093983620006b0565b81526200094960208401620006b0565b6020820152604083015160ff811681146200096357600080fd5b604082015262000976606084016200069e565b606082015262000989608084016200069e565b608082015260a083015182811115620009a157600080fd5b620009af8782860162000857565b60a08301525095945050505050565b600060208284031215620009d157600080fd5b8151620008508162000685565b600060408284031215620009f157600080fd5b6200085083836200074d565b60805160a05160c05161117d62000a506000396000610a0a015260006101fd01526000818161025601528181610344015281816103da015281816108a60152818161098d0152610a4d015261117d6000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c80635ab1bd53116100ad578063a69df4b511610071578063a69df4b5146102aa578063b487aa7d146102b2578063dab12325146102c5578063de7b5d14146102db578063f83d08ba146102ec57600080fd5b80635ab1bd5314610254578063644c45e01461027a57806365effc1a1461028257806387ef9ba014610297578063893d20e8146102a257600080fd5b8063235c3603116100f4578063235c3603146101d857806331b62a3b146101fb5780633bc5de30146102215780634b270a461461023b57806354afef631461024357600080fd5b806301ffc9a714610131578063132996041461017357806315dae03e146101985780631aa3a008146101a757806321df0da7146101c7575b600080fd5b61015e61013f366004610ce9565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6003546001600160a01b03165b6040516001600160a01b03909116815260200161016a565b604051608c815260200161016a565b6101af6102f9565b6040516001600160601b03909116815260200161016a565b6004546001600160a01b0316610180565b6101e061051e565b6040805182518152602092830151928101929092520161016a565b7f00000000000000000000000000000000000000000000000000000000000000006101af565b6040805160208101825260008152905161016a9190610d60565b6101e06106d6565b60095460405190815260200161016a565b7f0000000000000000000000000000000000000000000000000000000000000000610180565b6101af61088e565b610295610290366004610e58565b6108f5565b005b60085460ff1661015e565b61018061096b565b610295610ac6565b6101af6102c0366004610ed6565b610b82565b61015e6102d3366004610f26565b600192915050565b6005546001600160a01b0316610180565b610295610c09565b905090565b600061030361096b565b6001600160a01b0316336001600160a01b0316146103425760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166103b85760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a434f422d3030313a52454749535452595f5a45524f00000000006044820152606401610339565b60055460405163c3c5a54760e01b81526001600160a01b0391821660048201527f00000000000000000000000000000000000000000000000000000000000000009091169063c3c5a54790602401602060405180830381865afa158015610423573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104479190610f8a565b61049d5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a434f423a494e5354414e43455f4e4f545f5245474953544552456044820152601160fa1b6064820152608401610339565b6005805460ff60a01b1916600160a01b179055600154604051632210724360e11b81523060048201526001600160a01b0390911690634420e486906024016020604051808303816000875af11580156104fa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102f49190610fbc565b60408051808201909152600080825260208201526005546000906001600160a01b0316639ae31ff561054e61088e565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015610592573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b69190610fbc565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610611573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106359190610f8a565b156106ba5760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101a060405180830381865afa15801561068c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b09190611048565b60e0015191505090565b505060408051808201909152600c548152600d54602082015290565b60408051808201909152600080825260208201526005546000906001600160a01b0316639ae31ff561070661088e565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa15801561074a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076e9190610fbc565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ed9190610f8a565b156108725760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101a060405180830381865afa158015610844573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108689190611048565b60c0015191505090565b505060408051808201909152600a548152600b54602082015290565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa1580156104fa573d6000803e3d6000fd5b600f546001600160a01b031633146109595760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b6064820152608401610339565b61096584848484610c9b565b50505050565b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa1580156109d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109f89190610fbc565b90506001600160601b038116610a2f577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa158015610a9c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac091906110f3565b91505090565b610ace61096b565b6001600160a01b0316336001600160a01b031614610b285760405162461bcd60e51b815260206004820152601760248201527622a92927a91d2923a1169818189d2727aa2fa7aba722a960491b6044820152606401610339565b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610b6e57600080fd5b505af1158015610965573d6000803e3d6000fd5b600e546040516360458fc560e11b815260009133916001600160a01b039091169063c08b1f8a90610bbd908490899089908990600401611110565b6020604051808303816000875af1158015610bdc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c009190610fbc565b95945050505050565b610c1161096b565b6001600160a01b0316336001600160a01b031614610c6b5760405162461bcd60e51b815260206004820152601760248201527622a92927a91d2923a1169818189d2727aa2fa7aba722a960491b6044820152606401610339565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610b54565b604080516001600160601b038616815260208101839052308183015290517ffa749b7f8c958183586325608c5d122eb3a8beb56a4d6ac2c88b78193e9facb99181900360600190a150505050565b600060208284031215610cfb57600080fd5b81356001600160e01b031981168114610d1357600080fd5b9392505050565b6000815180845260005b81811015610d4057602081850181015186830182015201610d24565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610d136020830184610d1a565b6001600160601b0381168114610d8857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b604051610100810167ffffffffffffffff81118282101715610dc557610dc5610d8b565b60405290565b600082601f830112610ddc57600080fd5b813567ffffffffffffffff80821115610df757610df7610d8b565b604051601f8301601f19908116603f01168101908282118183101715610e1f57610e1f610d8b565b81604052838152866020858801011115610e3857600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060808587031215610e6e57600080fd5b8435610e7981610d73565b9350602085013567ffffffffffffffff80821115610e9657600080fd5b610ea288838901610dcb565b94506040870135915080821115610eb857600080fd5b50610ec587828801610dcb565b949793965093946060013593505050565b600080600060608486031215610eeb57600080fd5b8335925060208401359150604084013567ffffffffffffffff811115610f1057600080fd5b610f1c86828701610dcb565b9150509250925092565b60008060408385031215610f3957600080fd5b823567ffffffffffffffff80821115610f5157600080fd5b610f5d86838701610dcb565b93506020850135915080821115610f7357600080fd5b50610f8085828601610dcb565b9150509250929050565b600060208284031215610f9c57600080fd5b81518015158114610d1357600080fd5b8051610fb781610d73565b919050565b600060208284031215610fce57600080fd5b8151610d1381610d73565b6001600160a01b0381168114610d8857600080fd5b8051610fb781610fd9565b60006040828403121561100b57600080fd5b6040516040810181811067ffffffffffffffff8211171561102e5761102e610d8b565b604052825181526020928301519281019290925250919050565b60006101a0828403121561105b57600080fd5b611063610da1565b61106c83610fac565b815261107a60208401610fac565b602082015261108b60408401610fee565b604082015261109d8460608501610ff9565b60608201526110af8460a08501610ff9565b60808201526110c18460e08501610ff9565b60a08201526110d4846101208501610ff9565b60c08201526110e7846101608501610ff9565b60e08201529392505050565b60006020828403121561110557600080fd5b8151610d1381610fd9565b60018060a01b038516815283602082015282604082015260806060820152600061113d6080830184610d1a565b969550505050505056fea264697066735822122098d2e06f47760b309994163403554e248d1518ffb454d28a78450e3d9d8271e064736f6c63430008140033",
|
418
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061012c5760003560e01c80635ab1bd53116100ad578063a69df4b511610071578063a69df4b5146102aa578063b487aa7d146102b2578063dab12325146102c5578063de7b5d14146102db578063f83d08ba146102ec57600080fd5b80635ab1bd5314610254578063644c45e01461027a57806365effc1a1461028257806387ef9ba014610297578063893d20e8146102a257600080fd5b8063235c3603116100f4578063235c3603146101d857806331b62a3b146101fb5780633bc5de30146102215780634b270a461461023b57806354afef631461024357600080fd5b806301ffc9a714610131578063132996041461017357806315dae03e146101985780631aa3a008146101a757806321df0da7146101c7575b600080fd5b61015e61013f366004610ce9565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6003546001600160a01b03165b6040516001600160a01b03909116815260200161016a565b604051608c815260200161016a565b6101af6102f9565b6040516001600160601b03909116815260200161016a565b6004546001600160a01b0316610180565b6101e061051e565b6040805182518152602092830151928101929092520161016a565b7f00000000000000000000000000000000000000000000000000000000000000006101af565b6040805160208101825260008152905161016a9190610d60565b6101e06106d6565b60095460405190815260200161016a565b7f0000000000000000000000000000000000000000000000000000000000000000610180565b6101af61088e565b610295610290366004610e58565b6108f5565b005b60085460ff1661015e565b61018061096b565b610295610ac6565b6101af6102c0366004610ed6565b610b82565b61015e6102d3366004610f26565b600192915050565b6005546001600160a01b0316610180565b610295610c09565b905090565b600061030361096b565b6001600160a01b0316336001600160a01b0316146103425760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166103b85760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a434f422d3030313a52454749535452595f5a45524f00000000006044820152606401610339565b60055460405163c3c5a54760e01b81526001600160a01b0391821660048201527f00000000000000000000000000000000000000000000000000000000000000009091169063c3c5a54790602401602060405180830381865afa158015610423573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104479190610f8a565b61049d5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a434f423a494e5354414e43455f4e4f545f5245474953544552456044820152601160fa1b6064820152608401610339565b6005805460ff60a01b1916600160a01b179055600154604051632210724360e11b81523060048201526001600160a01b0390911690634420e486906024016020604051808303816000875af11580156104fa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102f49190610fbc565b60408051808201909152600080825260208201526005546000906001600160a01b0316639ae31ff561054e61088e565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015610592573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b69190610fbc565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610611573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106359190610f8a565b156106ba5760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101a060405180830381865afa15801561068c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b09190611048565b60e0015191505090565b505060408051808201909152600c548152600d54602082015290565b60408051808201909152600080825260208201526005546000906001600160a01b0316639ae31ff561070661088e565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa15801561074a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076e9190610fbc565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ed9190610f8a565b156108725760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101a060405180830381865afa158015610844573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108689190611048565b60c0015191505090565b505060408051808201909152600a548152600b54602082015290565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa1580156104fa573d6000803e3d6000fd5b600f546001600160a01b031633146109595760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b6064820152608401610339565b61096584848484610c9b565b50505050565b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa1580156109d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109f89190610fbc565b90506001600160601b038116610a2f577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa158015610a9c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac091906110f3565b91505090565b610ace61096b565b6001600160a01b0316336001600160a01b031614610b285760405162461bcd60e51b815260206004820152601760248201527622a92927a91d2923a1169818189d2727aa2fa7aba722a960491b6044820152606401610339565b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610b6e57600080fd5b505af1158015610965573d6000803e3d6000fd5b600e546040516360458fc560e11b815260009133916001600160a01b039091169063c08b1f8a90610bbd908490899089908990600401611110565b6020604051808303816000875af1158015610bdc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c009190610fbc565b95945050505050565b610c1161096b565b6001600160a01b0316336001600160a01b031614610c6b5760405162461bcd60e51b815260206004820152601760248201527622a92927a91d2923a1169818189d2727aa2fa7aba722a960491b6044820152606401610339565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610b54565b604080516001600160601b038616815260208101839052308183015290517ffa749b7f8c958183586325608c5d122eb3a8beb56a4d6ac2c88b78193e9facb99181900360600190a150505050565b600060208284031215610cfb57600080fd5b81356001600160e01b031981168114610d1357600080fd5b9392505050565b6000815180845260005b81811015610d4057602081850181015186830182015201610d24565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610d136020830184610d1a565b6001600160601b0381168114610d8857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b604051610100810167ffffffffffffffff81118282101715610dc557610dc5610d8b565b60405290565b600082601f830112610ddc57600080fd5b813567ffffffffffffffff80821115610df757610df7610d8b565b604051601f8301601f19908116603f01168101908282118183101715610e1f57610e1f610d8b565b81604052838152866020858801011115610e3857600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060808587031215610e6e57600080fd5b8435610e7981610d73565b9350602085013567ffffffffffffffff80821115610e9657600080fd5b610ea288838901610dcb565b94506040870135915080821115610eb857600080fd5b50610ec587828801610dcb565b949793965093946060013593505050565b600080600060608486031215610eeb57600080fd5b8335925060208401359150604084013567ffffffffffffffff811115610f1057600080fd5b610f1c86828701610dcb565b9150509250925092565b60008060408385031215610f3957600080fd5b823567ffffffffffffffff80821115610f5157600080fd5b610f5d86838701610dcb565b93506020850135915080821115610f7357600080fd5b50610f8085828601610dcb565b9150509250929050565b600060208284031215610f9c57600080fd5b81518015158114610d1357600080fd5b8051610fb781610d73565b919050565b600060208284031215610fce57600080fd5b8151610d1381610d73565b6001600160a01b0381168114610d8857600080fd5b8051610fb781610fd9565b60006040828403121561100b57600080fd5b6040516040810181811067ffffffffffffffff8211171561102e5761102e610d8b565b604052825181526020928301519281019290925250919050565b60006101a0828403121561105b57600080fd5b611063610da1565b61106c83610fac565b815261107a60208401610fac565b602082015261108b60408401610fee565b604082015261109d8460608501610ff9565b60608201526110af8460a08501610ff9565b60808201526110c18460e08501610ff9565b60a08201526110d4846101208501610ff9565b60c08201526110e7846101608501610ff9565b60e08201529392505050565b60006020828403121561110557600080fd5b8151610d1381610fd9565b60018060a01b038516815283602082015282604082015260806060820152600061113d6080830184610d1a565b969550505050505056fea264697066735822122098d2e06f47760b309994163403554e248d1518ffb454d28a78450e3d9d8271e064736f6c63430008140033",
|
419
|
+
"linkReferences": {
|
420
|
+
"contracts/types/Fee.sol": {
|
421
|
+
"FeeLib": [
|
422
|
+
{
|
423
|
+
"length": 20,
|
424
|
+
"start": 1212
|
425
|
+
}
|
426
|
+
]
|
427
|
+
},
|
428
|
+
"contracts/types/NftId.sol": {
|
429
|
+
"NftIdLib": [
|
430
|
+
{
|
431
|
+
"length": 20,
|
432
|
+
"start": 4135
|
433
|
+
},
|
434
|
+
{
|
435
|
+
"length": 20,
|
436
|
+
"start": 4575
|
437
|
+
}
|
438
|
+
]
|
439
|
+
}
|
440
|
+
},
|
441
|
+
"deployedLinkReferences": {
|
442
|
+
"contracts/types/NftId.sol": {
|
443
|
+
"NftIdLib": [
|
444
|
+
{
|
445
|
+
"length": 20,
|
446
|
+
"start": 1495
|
447
|
+
},
|
448
|
+
{
|
449
|
+
"length": 20,
|
450
|
+
"start": 1935
|
451
|
+
}
|
452
|
+
]
|
453
|
+
}
|
454
|
+
}
|
455
|
+
}
|