@etherisc/gif-next 0.0.2-c40f9a5 → 0.0.2-c576a00-897
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +109 -0
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +4 -0
- package/artifacts/contracts/components/{Component.sol/Component.json → BaseComponent.sol/BaseComponent.json} +48 -53
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +4 -0
- package/artifacts/contracts/components/{IPool.sol/IPoolComponent.json → IBaseComponent.sol/IBaseComponent.json} +48 -53
- package/artifacts/contracts/components/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/{IProduct.sol → IProductComponent.sol}/IProductComponent.json +139 -52
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +218 -44
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +144 -70
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +2 -2
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +2 -2
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +2 -2
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +2 -2
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
- package/artifacts/contracts/experiment/kvstore/BundleModuleStore.sol/BundleModuleStore.dbg.json +4 -0
- package/artifacts/contracts/experiment/kvstore/BundleModuleStore.sol/BundleModuleStore.json +543 -0
- package/artifacts/contracts/experiment/kvstore/IBundle.sol/IBundle.dbg.json +4 -0
- package/artifacts/contracts/experiment/kvstore/IBundle.sol/IBundle.json +10 -0
- package/artifacts/contracts/experiment/kvstore/KeyMapper.sol/KeyMapper.dbg.json +4 -0
- package/artifacts/contracts/experiment/kvstore/KeyMapper.sol/KeyMapper.json +185 -0
- package/artifacts/contracts/experiment/kvstore/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/experiment/kvstore/KeyValueStore.sol/KeyValueStore.json +383 -0
- package/artifacts/contracts/experiment/kvstore/KvStore.sol/KvStore.dbg.json +4 -0
- package/artifacts/contracts/experiment/kvstore/KvStore.sol/KvStore.json +1064 -0
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +4 -0
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +59 -0
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +4 -0
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +124 -0
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +4 -0
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +74 -0
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +4 -0
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +124 -0
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +4 -0
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +207 -0
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +2 -2
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +2 -2
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1414 -289
- 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/IServiceLinked.sol/IServiceLinked.dbg.json +4 -0
- package/artifacts/contracts/instance/{access/IAccess.sol/IAccessComponentTypeRoles.json → IServiceLinked.sol/IServiceLinked.json} +14 -14
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +1715 -345
- package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/{component/ComponentModule.sol/ComponentModule.json → InstanceBase.sol/InstanceBase.json} +128 -142
- 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 +276 -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 +276 -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 +188 -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/{component → module/component}/IComponent.sol/IComponentModule.json +40 -97
- package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycle.json +134 -0
- package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycleModule.json +182 -0
- package/artifacts/contracts/instance/module/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/lifecycle/LifecycleModule.sol/LifecycleModule.json +221 -0
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +4 -0
- package/artifacts/contracts/instance/{policy → module/policy}/IPolicy.sol/IPolicy.json +1 -1
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +4 -0
- package/artifacts/contracts/instance/{policy → module/policy}/IPolicy.sol/IPolicyModule.json +142 -112
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +4 -0
- package/artifacts/contracts/instance/{policy → module/policy}/PolicyModule.sol/PolicyModule.json +142 -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 +57 -57
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +4 -0
- package/artifacts/contracts/instance/{pool → module/pool}/PoolModule.sol/PoolModule.json +50 -63
- 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 +167 -0
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +185 -0
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +4 -0
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.json +10 -0
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +533 -0
- package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +4 -0
- package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +76 -0
- package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +533 -0
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +491 -0
- package/artifacts/contracts/instance/service/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ComponentServiceBase.sol/ComponentServiceBase.json +300 -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 +477 -0
- package/artifacts/contracts/instance/service/IService.sol/IService.dbg.json +4 -0
- package/artifacts/contracts/instance/{component/IComponent.sol/IComponentContract.json → service/IService.sol/IService.json} +148 -27
- 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 +673 -0
- package/artifacts/contracts/instance/service/ServiceBase.sol/ServiceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ServiceBase.sol/ServiceBase.json +300 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +65 -2
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +103 -77
- package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +24 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +194 -69
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +35 -0
- package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +4 -0
- package/artifacts/contracts/{registry/IRegistry.sol → shared/IOwnable.sol}/IOwnable.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
- package/artifacts/contracts/{registry/IRegistry.sol → shared/IRegisterable.sol}/IRegisterable.json +18 -63
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +164 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
- package/artifacts/contracts/{registry/Registry.sol → shared/Registerable.sol}/Registerable.json +18 -63
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
- package/artifacts/contracts/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 +387 -0
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +4 -0
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +393 -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 +82 -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/types/AddressSet.sol/LibAddressSet.dbg.json +4 -0
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +10 -0
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +40 -2
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +218 -0
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +10 -0
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +92 -0
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +92 -0
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +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 +89 -0
- package/contracts/components/IBaseComponent.sol +19 -0
- package/contracts/components/IPoolComponent.sol +57 -0
- package/contracts/components/IProductComponent.sol +19 -0
- package/contracts/components/Pool.sol +161 -16
- package/contracts/components/Product.sol +77 -26
- package/contracts/experiment/errors/Require.sol +10 -5
- package/contracts/experiment/errors/Revert.sol +13 -8
- package/contracts/experiment/inheritance/A.sol +8 -11
- package/contracts/experiment/inheritance/B.sol +10 -5
- package/contracts/experiment/inheritance/C.sol +11 -5
- package/contracts/experiment/inheritance/IA.sol +2 -7
- package/contracts/experiment/inheritance/IB.sol +3 -2
- package/contracts/experiment/inheritance/IC.sol +4 -3
- package/contracts/experiment/kvstore/BundleModuleStore.sol +93 -0
- package/contracts/experiment/kvstore/IBundle.sol +22 -0
- package/contracts/experiment/kvstore/KeyMapper.sol +40 -0
- package/contracts/experiment/kvstore/KeyValueStore.sol +156 -0
- package/contracts/experiment/kvstore/KvStore.sol +195 -0
- package/contracts/experiment/statemachine/Dummy.sol +27 -0
- package/contracts/experiment/statemachine/ISM.sol +25 -0
- package/contracts/experiment/statemachine/README.md +112 -0
- package/contracts/experiment/statemachine/SM.sol +57 -0
- package/contracts/experiment/statemachine/SimpleStateMachine.sol +31 -0
- package/contracts/experiment/types/TypeA.sol +14 -9
- package/contracts/experiment/types/TypeB.sol +14 -9
- package/contracts/instance/IInstance.sol +41 -8
- package/contracts/instance/IInstanceLinked.sol +8 -0
- package/contracts/instance/IServiceLinked.sol +12 -0
- package/contracts/instance/Instance.sol +46 -44
- package/contracts/instance/InstanceBase.sol +71 -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 +228 -0
- package/contracts/instance/module/bundle/IBundle.sol +53 -0
- package/contracts/instance/module/compensation/CompensationModule.sol +8 -0
- package/contracts/instance/module/compensation/ICompensation.sol +10 -0
- package/contracts/instance/module/component/ComponentModule.sol +103 -0
- package/contracts/instance/module/component/IComponent.sol +53 -0
- package/contracts/instance/module/lifecycle/ILifecycle.sol +47 -0
- package/contracts/instance/module/lifecycle/LifecycleModule.sol +89 -0
- package/contracts/instance/module/policy/IPolicy.sol +60 -0
- package/contracts/instance/module/policy/PolicyModule.sol +84 -0
- package/contracts/instance/module/pool/IPoolModule.sol +41 -0
- package/contracts/instance/module/pool/PoolModule.sol +87 -0
- package/contracts/instance/module/risk/IRisk.sol +39 -0
- package/contracts/instance/module/risk/RiskModule.sol +55 -0
- package/contracts/instance/module/treasury/ITreasury.sol +103 -0
- package/contracts/instance/module/treasury/TokenHandler.sol +48 -0
- package/contracts/instance/module/treasury/TreasuryModule.sol +152 -0
- package/contracts/instance/service/ComponentOwnerService.sol +171 -0
- package/contracts/instance/service/ComponentServiceBase.sol +41 -0
- package/contracts/instance/service/IComponentOwnerService.sol +22 -0
- package/contracts/instance/service/IPoolService.sol +30 -0
- package/contracts/instance/service/IProductService.sol +58 -0
- package/contracts/instance/service/IService.sol +15 -0
- package/contracts/instance/service/PoolService.sol +123 -0
- package/contracts/instance/service/ProductService.sol +355 -0
- package/contracts/instance/service/ServiceBase.sol +39 -0
- package/contracts/registry/ChainNft.sol +80 -94
- package/contracts/registry/IChainNft.sol +10 -7
- package/contracts/registry/IRegistry.sol +38 -51
- package/contracts/registry/IRegistryLinked.sol +8 -0
- package/contracts/registry/Registry.sol +310 -111
- package/contracts/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 +22 -0
- package/contracts/test/TestProduct.sol +44 -0
- package/contracts/test/TestRegisterable.sol +19 -0
- package/contracts/test/TestRoleId.sol +14 -0
- package/contracts/test/TestService.sol +32 -0
- package/contracts/test/TestToken.sol +26 -0
- package/contracts/test/TestVersion.sol +44 -0
- package/contracts/test/TestVersionable.sol +17 -0
- package/contracts/types/AddressSet.sol +58 -0
- package/contracts/types/Blocknumber.sol +92 -18
- package/contracts/types/ChainId.sol +18 -10
- package/contracts/types/Fee.sol +51 -0
- package/contracts/types/NftId.sol +33 -11
- package/contracts/types/NftIdSet.sol +60 -0
- package/contracts/types/ObjectType.sol +119 -0
- package/contracts/types/RiskId.sol +26 -0
- package/contracts/types/RoleId.sol +36 -0
- package/contracts/types/StateId.sol +95 -0
- package/contracts/types/Timestamp.sol +85 -17
- package/contracts/types/UFixed.sol +67 -72
- package/contracts/types/Version.sol +95 -0
- package/package.json +14 -4
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
- package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
- package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
- package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
- package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.json +0 -35
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -147
- package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -94
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
- package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
- package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +0 -114
- package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
- package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -167
- package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.json +0 -49
- package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
- package/contracts/components/Component.sol +0 -62
- package/contracts/components/IPool.sol +0 -9
- package/contracts/components/IProduct.sol +0 -12
- package/contracts/instance/access/Access.sol +0 -218
- package/contracts/instance/access/IAccess.sol +0 -83
- package/contracts/instance/component/ComponentModule.sol +0 -248
- package/contracts/instance/component/IComponent.sol +0 -95
- package/contracts/instance/policy/IPolicy.sol +0 -66
- package/contracts/instance/policy/PolicyModule.sol +0 -107
- package/contracts/instance/pool/IPoolModule.sol +0 -41
- package/contracts/instance/pool/PoolModule.sol +0 -86
- package/contracts/instance/product/IProductService.sol +0 -46
- package/contracts/instance/product/ProductService.sol +0 -108
@@ -0,0 +1,1064 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "KvStore",
|
4
|
+
"sourceName": "contracts/experiment/kvstore/KvStore.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [],
|
8
|
+
"name": "ID_MASK",
|
9
|
+
"outputs": [
|
10
|
+
{
|
11
|
+
"internalType": "bytes32",
|
12
|
+
"name": "",
|
13
|
+
"type": "bytes32"
|
14
|
+
}
|
15
|
+
],
|
16
|
+
"stateMutability": "view",
|
17
|
+
"type": "function"
|
18
|
+
},
|
19
|
+
{
|
20
|
+
"inputs": [],
|
21
|
+
"name": "TYPE_MASK",
|
22
|
+
"outputs": [
|
23
|
+
{
|
24
|
+
"internalType": "bytes32",
|
25
|
+
"name": "",
|
26
|
+
"type": "bytes32"
|
27
|
+
}
|
28
|
+
],
|
29
|
+
"stateMutability": "view",
|
30
|
+
"type": "function"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"inputs": [],
|
34
|
+
"name": "TYPE_SHIFT",
|
35
|
+
"outputs": [
|
36
|
+
{
|
37
|
+
"internalType": "uint8",
|
38
|
+
"name": "",
|
39
|
+
"type": "uint8"
|
40
|
+
}
|
41
|
+
],
|
42
|
+
"stateMutability": "view",
|
43
|
+
"type": "function"
|
44
|
+
},
|
45
|
+
{
|
46
|
+
"inputs": [
|
47
|
+
{
|
48
|
+
"internalType": "bytes",
|
49
|
+
"name": "b",
|
50
|
+
"type": "bytes"
|
51
|
+
}
|
52
|
+
],
|
53
|
+
"name": "b2s",
|
54
|
+
"outputs": [
|
55
|
+
{
|
56
|
+
"internalType": "string",
|
57
|
+
"name": "s",
|
58
|
+
"type": "string"
|
59
|
+
}
|
60
|
+
],
|
61
|
+
"stateMutability": "pure",
|
62
|
+
"type": "function"
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"inputs": [
|
66
|
+
{
|
67
|
+
"internalType": "VersionPart",
|
68
|
+
"name": "majorVersion",
|
69
|
+
"type": "uint8"
|
70
|
+
},
|
71
|
+
{
|
72
|
+
"components": [
|
73
|
+
{
|
74
|
+
"internalType": "NftId",
|
75
|
+
"name": "nftId",
|
76
|
+
"type": "uint96"
|
77
|
+
},
|
78
|
+
{
|
79
|
+
"internalType": "NftId",
|
80
|
+
"name": "poolNftId",
|
81
|
+
"type": "uint96"
|
82
|
+
},
|
83
|
+
{
|
84
|
+
"internalType": "StateId",
|
85
|
+
"name": "state",
|
86
|
+
"type": "uint8"
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"internalType": "bytes",
|
90
|
+
"name": "filter",
|
91
|
+
"type": "bytes"
|
92
|
+
},
|
93
|
+
{
|
94
|
+
"internalType": "uint256",
|
95
|
+
"name": "capitalAmount",
|
96
|
+
"type": "uint256"
|
97
|
+
},
|
98
|
+
{
|
99
|
+
"internalType": "uint256",
|
100
|
+
"name": "lockedAmount",
|
101
|
+
"type": "uint256"
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"internalType": "uint256",
|
105
|
+
"name": "balanceAmount",
|
106
|
+
"type": "uint256"
|
107
|
+
},
|
108
|
+
{
|
109
|
+
"internalType": "Timestamp",
|
110
|
+
"name": "expiredAt",
|
111
|
+
"type": "uint40"
|
112
|
+
},
|
113
|
+
{
|
114
|
+
"internalType": "Timestamp",
|
115
|
+
"name": "closedAt",
|
116
|
+
"type": "uint40"
|
117
|
+
}
|
118
|
+
],
|
119
|
+
"internalType": "struct IBundle.BundleInfo",
|
120
|
+
"name": "info",
|
121
|
+
"type": "tuple"
|
122
|
+
}
|
123
|
+
],
|
124
|
+
"name": "bundleInfoToValue",
|
125
|
+
"outputs": [
|
126
|
+
{
|
127
|
+
"components": [
|
128
|
+
{
|
129
|
+
"internalType": "VersionPart",
|
130
|
+
"name": "majorVersion",
|
131
|
+
"type": "uint8"
|
132
|
+
},
|
133
|
+
{
|
134
|
+
"internalType": "bytes",
|
135
|
+
"name": "data",
|
136
|
+
"type": "bytes"
|
137
|
+
}
|
138
|
+
],
|
139
|
+
"internalType": "struct KvStore.Value",
|
140
|
+
"name": "value",
|
141
|
+
"type": "tuple"
|
142
|
+
}
|
143
|
+
],
|
144
|
+
"stateMutability": "pure",
|
145
|
+
"type": "function"
|
146
|
+
},
|
147
|
+
{
|
148
|
+
"inputs": [
|
149
|
+
{
|
150
|
+
"internalType": "bytes32",
|
151
|
+
"name": "key",
|
152
|
+
"type": "bytes32"
|
153
|
+
},
|
154
|
+
{
|
155
|
+
"components": [
|
156
|
+
{
|
157
|
+
"internalType": "VersionPart",
|
158
|
+
"name": "majorVersion",
|
159
|
+
"type": "uint8"
|
160
|
+
},
|
161
|
+
{
|
162
|
+
"internalType": "bytes",
|
163
|
+
"name": "data",
|
164
|
+
"type": "bytes"
|
165
|
+
}
|
166
|
+
],
|
167
|
+
"internalType": "struct KvStore.Value",
|
168
|
+
"name": "value",
|
169
|
+
"type": "tuple"
|
170
|
+
}
|
171
|
+
],
|
172
|
+
"name": "create",
|
173
|
+
"outputs": [],
|
174
|
+
"stateMutability": "nonpayable",
|
175
|
+
"type": "function"
|
176
|
+
},
|
177
|
+
{
|
178
|
+
"inputs": [
|
179
|
+
{
|
180
|
+
"internalType": "NftId",
|
181
|
+
"name": "bundleNftId",
|
182
|
+
"type": "uint96"
|
183
|
+
},
|
184
|
+
{
|
185
|
+
"internalType": "uint256",
|
186
|
+
"name": "amount",
|
187
|
+
"type": "uint256"
|
188
|
+
},
|
189
|
+
{
|
190
|
+
"internalType": "bytes",
|
191
|
+
"name": "filter",
|
192
|
+
"type": "bytes"
|
193
|
+
}
|
194
|
+
],
|
195
|
+
"name": "createBundleInfo",
|
196
|
+
"outputs": [
|
197
|
+
{
|
198
|
+
"components": [
|
199
|
+
{
|
200
|
+
"internalType": "NftId",
|
201
|
+
"name": "nftId",
|
202
|
+
"type": "uint96"
|
203
|
+
},
|
204
|
+
{
|
205
|
+
"internalType": "NftId",
|
206
|
+
"name": "poolNftId",
|
207
|
+
"type": "uint96"
|
208
|
+
},
|
209
|
+
{
|
210
|
+
"internalType": "StateId",
|
211
|
+
"name": "state",
|
212
|
+
"type": "uint8"
|
213
|
+
},
|
214
|
+
{
|
215
|
+
"internalType": "bytes",
|
216
|
+
"name": "filter",
|
217
|
+
"type": "bytes"
|
218
|
+
},
|
219
|
+
{
|
220
|
+
"internalType": "uint256",
|
221
|
+
"name": "capitalAmount",
|
222
|
+
"type": "uint256"
|
223
|
+
},
|
224
|
+
{
|
225
|
+
"internalType": "uint256",
|
226
|
+
"name": "lockedAmount",
|
227
|
+
"type": "uint256"
|
228
|
+
},
|
229
|
+
{
|
230
|
+
"internalType": "uint256",
|
231
|
+
"name": "balanceAmount",
|
232
|
+
"type": "uint256"
|
233
|
+
},
|
234
|
+
{
|
235
|
+
"internalType": "Timestamp",
|
236
|
+
"name": "expiredAt",
|
237
|
+
"type": "uint40"
|
238
|
+
},
|
239
|
+
{
|
240
|
+
"internalType": "Timestamp",
|
241
|
+
"name": "closedAt",
|
242
|
+
"type": "uint40"
|
243
|
+
}
|
244
|
+
],
|
245
|
+
"internalType": "struct IBundle.BundleInfo",
|
246
|
+
"name": "info",
|
247
|
+
"type": "tuple"
|
248
|
+
}
|
249
|
+
],
|
250
|
+
"stateMutability": "view",
|
251
|
+
"type": "function"
|
252
|
+
},
|
253
|
+
{
|
254
|
+
"inputs": [
|
255
|
+
{
|
256
|
+
"internalType": "bytes",
|
257
|
+
"name": "specification",
|
258
|
+
"type": "bytes"
|
259
|
+
}
|
260
|
+
],
|
261
|
+
"name": "createRiskInfo",
|
262
|
+
"outputs": [
|
263
|
+
{
|
264
|
+
"components": [
|
265
|
+
{
|
266
|
+
"internalType": "RiskId",
|
267
|
+
"name": "id",
|
268
|
+
"type": "bytes12"
|
269
|
+
},
|
270
|
+
{
|
271
|
+
"internalType": "StateId",
|
272
|
+
"name": "state",
|
273
|
+
"type": "uint8"
|
274
|
+
},
|
275
|
+
{
|
276
|
+
"internalType": "bytes",
|
277
|
+
"name": "specification",
|
278
|
+
"type": "bytes"
|
279
|
+
},
|
280
|
+
{
|
281
|
+
"internalType": "Timestamp",
|
282
|
+
"name": "createdAt",
|
283
|
+
"type": "uint40"
|
284
|
+
},
|
285
|
+
{
|
286
|
+
"internalType": "Blocknumber",
|
287
|
+
"name": "updatedIn",
|
288
|
+
"type": "uint32"
|
289
|
+
}
|
290
|
+
],
|
291
|
+
"internalType": "struct IRisk.RiskInfo",
|
292
|
+
"name": "info",
|
293
|
+
"type": "tuple"
|
294
|
+
}
|
295
|
+
],
|
296
|
+
"stateMutability": "view",
|
297
|
+
"type": "function"
|
298
|
+
},
|
299
|
+
{
|
300
|
+
"inputs": [
|
301
|
+
{
|
302
|
+
"internalType": "bytes",
|
303
|
+
"name": "data",
|
304
|
+
"type": "bytes"
|
305
|
+
}
|
306
|
+
],
|
307
|
+
"name": "decodeBundleInfo",
|
308
|
+
"outputs": [
|
309
|
+
{
|
310
|
+
"components": [
|
311
|
+
{
|
312
|
+
"internalType": "NftId",
|
313
|
+
"name": "nftId",
|
314
|
+
"type": "uint96"
|
315
|
+
},
|
316
|
+
{
|
317
|
+
"internalType": "NftId",
|
318
|
+
"name": "poolNftId",
|
319
|
+
"type": "uint96"
|
320
|
+
},
|
321
|
+
{
|
322
|
+
"internalType": "StateId",
|
323
|
+
"name": "state",
|
324
|
+
"type": "uint8"
|
325
|
+
},
|
326
|
+
{
|
327
|
+
"internalType": "bytes",
|
328
|
+
"name": "filter",
|
329
|
+
"type": "bytes"
|
330
|
+
},
|
331
|
+
{
|
332
|
+
"internalType": "uint256",
|
333
|
+
"name": "capitalAmount",
|
334
|
+
"type": "uint256"
|
335
|
+
},
|
336
|
+
{
|
337
|
+
"internalType": "uint256",
|
338
|
+
"name": "lockedAmount",
|
339
|
+
"type": "uint256"
|
340
|
+
},
|
341
|
+
{
|
342
|
+
"internalType": "uint256",
|
343
|
+
"name": "balanceAmount",
|
344
|
+
"type": "uint256"
|
345
|
+
},
|
346
|
+
{
|
347
|
+
"internalType": "Timestamp",
|
348
|
+
"name": "expiredAt",
|
349
|
+
"type": "uint40"
|
350
|
+
},
|
351
|
+
{
|
352
|
+
"internalType": "Timestamp",
|
353
|
+
"name": "closedAt",
|
354
|
+
"type": "uint40"
|
355
|
+
}
|
356
|
+
],
|
357
|
+
"internalType": "struct IBundle.BundleInfo",
|
358
|
+
"name": "info",
|
359
|
+
"type": "tuple"
|
360
|
+
}
|
361
|
+
],
|
362
|
+
"stateMutability": "pure",
|
363
|
+
"type": "function"
|
364
|
+
},
|
365
|
+
{
|
366
|
+
"inputs": [
|
367
|
+
{
|
368
|
+
"internalType": "bytes",
|
369
|
+
"name": "data",
|
370
|
+
"type": "bytes"
|
371
|
+
}
|
372
|
+
],
|
373
|
+
"name": "decodeRiskInfo",
|
374
|
+
"outputs": [
|
375
|
+
{
|
376
|
+
"components": [
|
377
|
+
{
|
378
|
+
"internalType": "RiskId",
|
379
|
+
"name": "id",
|
380
|
+
"type": "bytes12"
|
381
|
+
},
|
382
|
+
{
|
383
|
+
"internalType": "StateId",
|
384
|
+
"name": "state",
|
385
|
+
"type": "uint8"
|
386
|
+
},
|
387
|
+
{
|
388
|
+
"internalType": "bytes",
|
389
|
+
"name": "specification",
|
390
|
+
"type": "bytes"
|
391
|
+
},
|
392
|
+
{
|
393
|
+
"internalType": "Timestamp",
|
394
|
+
"name": "createdAt",
|
395
|
+
"type": "uint40"
|
396
|
+
},
|
397
|
+
{
|
398
|
+
"internalType": "Blocknumber",
|
399
|
+
"name": "updatedIn",
|
400
|
+
"type": "uint32"
|
401
|
+
}
|
402
|
+
],
|
403
|
+
"internalType": "struct IRisk.RiskInfo",
|
404
|
+
"name": "info",
|
405
|
+
"type": "tuple"
|
406
|
+
}
|
407
|
+
],
|
408
|
+
"stateMutability": "pure",
|
409
|
+
"type": "function"
|
410
|
+
},
|
411
|
+
{
|
412
|
+
"inputs": [
|
413
|
+
{
|
414
|
+
"components": [
|
415
|
+
{
|
416
|
+
"internalType": "NftId",
|
417
|
+
"name": "nftId",
|
418
|
+
"type": "uint96"
|
419
|
+
},
|
420
|
+
{
|
421
|
+
"internalType": "NftId",
|
422
|
+
"name": "poolNftId",
|
423
|
+
"type": "uint96"
|
424
|
+
},
|
425
|
+
{
|
426
|
+
"internalType": "StateId",
|
427
|
+
"name": "state",
|
428
|
+
"type": "uint8"
|
429
|
+
},
|
430
|
+
{
|
431
|
+
"internalType": "bytes",
|
432
|
+
"name": "filter",
|
433
|
+
"type": "bytes"
|
434
|
+
},
|
435
|
+
{
|
436
|
+
"internalType": "uint256",
|
437
|
+
"name": "capitalAmount",
|
438
|
+
"type": "uint256"
|
439
|
+
},
|
440
|
+
{
|
441
|
+
"internalType": "uint256",
|
442
|
+
"name": "lockedAmount",
|
443
|
+
"type": "uint256"
|
444
|
+
},
|
445
|
+
{
|
446
|
+
"internalType": "uint256",
|
447
|
+
"name": "balanceAmount",
|
448
|
+
"type": "uint256"
|
449
|
+
},
|
450
|
+
{
|
451
|
+
"internalType": "Timestamp",
|
452
|
+
"name": "expiredAt",
|
453
|
+
"type": "uint40"
|
454
|
+
},
|
455
|
+
{
|
456
|
+
"internalType": "Timestamp",
|
457
|
+
"name": "closedAt",
|
458
|
+
"type": "uint40"
|
459
|
+
}
|
460
|
+
],
|
461
|
+
"internalType": "struct IBundle.BundleInfo",
|
462
|
+
"name": "info",
|
463
|
+
"type": "tuple"
|
464
|
+
}
|
465
|
+
],
|
466
|
+
"name": "encodeBundleInfo",
|
467
|
+
"outputs": [
|
468
|
+
{
|
469
|
+
"internalType": "bytes",
|
470
|
+
"name": "data",
|
471
|
+
"type": "bytes"
|
472
|
+
}
|
473
|
+
],
|
474
|
+
"stateMutability": "pure",
|
475
|
+
"type": "function"
|
476
|
+
},
|
477
|
+
{
|
478
|
+
"inputs": [
|
479
|
+
{
|
480
|
+
"components": [
|
481
|
+
{
|
482
|
+
"internalType": "RiskId",
|
483
|
+
"name": "id",
|
484
|
+
"type": "bytes12"
|
485
|
+
},
|
486
|
+
{
|
487
|
+
"internalType": "StateId",
|
488
|
+
"name": "state",
|
489
|
+
"type": "uint8"
|
490
|
+
},
|
491
|
+
{
|
492
|
+
"internalType": "bytes",
|
493
|
+
"name": "specification",
|
494
|
+
"type": "bytes"
|
495
|
+
},
|
496
|
+
{
|
497
|
+
"internalType": "Timestamp",
|
498
|
+
"name": "createdAt",
|
499
|
+
"type": "uint40"
|
500
|
+
},
|
501
|
+
{
|
502
|
+
"internalType": "Blocknumber",
|
503
|
+
"name": "updatedIn",
|
504
|
+
"type": "uint32"
|
505
|
+
}
|
506
|
+
],
|
507
|
+
"internalType": "struct IRisk.RiskInfo",
|
508
|
+
"name": "info",
|
509
|
+
"type": "tuple"
|
510
|
+
}
|
511
|
+
],
|
512
|
+
"name": "encodeRiskInfo",
|
513
|
+
"outputs": [
|
514
|
+
{
|
515
|
+
"internalType": "bytes",
|
516
|
+
"name": "data",
|
517
|
+
"type": "bytes"
|
518
|
+
}
|
519
|
+
],
|
520
|
+
"stateMutability": "pure",
|
521
|
+
"type": "function"
|
522
|
+
},
|
523
|
+
{
|
524
|
+
"inputs": [
|
525
|
+
{
|
526
|
+
"internalType": "bytes32",
|
527
|
+
"name": "key",
|
528
|
+
"type": "bytes32"
|
529
|
+
}
|
530
|
+
],
|
531
|
+
"name": "exists",
|
532
|
+
"outputs": [
|
533
|
+
{
|
534
|
+
"internalType": "bool",
|
535
|
+
"name": "",
|
536
|
+
"type": "bool"
|
537
|
+
}
|
538
|
+
],
|
539
|
+
"stateMutability": "view",
|
540
|
+
"type": "function"
|
541
|
+
},
|
542
|
+
{
|
543
|
+
"inputs": [
|
544
|
+
{
|
545
|
+
"internalType": "bytes32",
|
546
|
+
"name": "key",
|
547
|
+
"type": "bytes32"
|
548
|
+
}
|
549
|
+
],
|
550
|
+
"name": "get",
|
551
|
+
"outputs": [
|
552
|
+
{
|
553
|
+
"components": [
|
554
|
+
{
|
555
|
+
"internalType": "VersionPart",
|
556
|
+
"name": "majorVersion",
|
557
|
+
"type": "uint8"
|
558
|
+
},
|
559
|
+
{
|
560
|
+
"internalType": "bytes",
|
561
|
+
"name": "data",
|
562
|
+
"type": "bytes"
|
563
|
+
}
|
564
|
+
],
|
565
|
+
"internalType": "struct KvStore.Value",
|
566
|
+
"name": "value",
|
567
|
+
"type": "tuple"
|
568
|
+
}
|
569
|
+
],
|
570
|
+
"stateMutability": "view",
|
571
|
+
"type": "function"
|
572
|
+
},
|
573
|
+
{
|
574
|
+
"inputs": [],
|
575
|
+
"name": "getIdMask",
|
576
|
+
"outputs": [
|
577
|
+
{
|
578
|
+
"internalType": "bytes32",
|
579
|
+
"name": "",
|
580
|
+
"type": "bytes32"
|
581
|
+
}
|
582
|
+
],
|
583
|
+
"stateMutability": "pure",
|
584
|
+
"type": "function"
|
585
|
+
},
|
586
|
+
{
|
587
|
+
"inputs": [
|
588
|
+
{
|
589
|
+
"internalType": "uint256",
|
590
|
+
"name": "index",
|
591
|
+
"type": "uint256"
|
592
|
+
}
|
593
|
+
],
|
594
|
+
"name": "getKey",
|
595
|
+
"outputs": [
|
596
|
+
{
|
597
|
+
"internalType": "bytes32",
|
598
|
+
"name": "key",
|
599
|
+
"type": "bytes32"
|
600
|
+
}
|
601
|
+
],
|
602
|
+
"stateMutability": "view",
|
603
|
+
"type": "function"
|
604
|
+
},
|
605
|
+
{
|
606
|
+
"inputs": [],
|
607
|
+
"name": "getKeyCount",
|
608
|
+
"outputs": [
|
609
|
+
{
|
610
|
+
"internalType": "uint256",
|
611
|
+
"name": "keyCount",
|
612
|
+
"type": "uint256"
|
613
|
+
}
|
614
|
+
],
|
615
|
+
"stateMutability": "view",
|
616
|
+
"type": "function"
|
617
|
+
},
|
618
|
+
{
|
619
|
+
"inputs": [],
|
620
|
+
"name": "getTypeMask",
|
621
|
+
"outputs": [
|
622
|
+
{
|
623
|
+
"internalType": "bytes32",
|
624
|
+
"name": "",
|
625
|
+
"type": "bytes32"
|
626
|
+
}
|
627
|
+
],
|
628
|
+
"stateMutability": "pure",
|
629
|
+
"type": "function"
|
630
|
+
},
|
631
|
+
{
|
632
|
+
"inputs": [
|
633
|
+
{
|
634
|
+
"components": [
|
635
|
+
{
|
636
|
+
"internalType": "ObjectType",
|
637
|
+
"name": "objectType",
|
638
|
+
"type": "uint8"
|
639
|
+
},
|
640
|
+
{
|
641
|
+
"internalType": "KeyId",
|
642
|
+
"name": "id",
|
643
|
+
"type": "bytes31"
|
644
|
+
}
|
645
|
+
],
|
646
|
+
"internalType": "struct KvStore.Key",
|
647
|
+
"name": "key",
|
648
|
+
"type": "tuple"
|
649
|
+
}
|
650
|
+
],
|
651
|
+
"name": "keyToRiskId",
|
652
|
+
"outputs": [
|
653
|
+
{
|
654
|
+
"internalType": "RiskId",
|
655
|
+
"name": "id",
|
656
|
+
"type": "bytes12"
|
657
|
+
}
|
658
|
+
],
|
659
|
+
"stateMutability": "pure",
|
660
|
+
"type": "function"
|
661
|
+
},
|
662
|
+
{
|
663
|
+
"inputs": [
|
664
|
+
{
|
665
|
+
"internalType": "NftId",
|
666
|
+
"name": "nftId",
|
667
|
+
"type": "uint96"
|
668
|
+
}
|
669
|
+
],
|
670
|
+
"name": "nftIdToKey",
|
671
|
+
"outputs": [
|
672
|
+
{
|
673
|
+
"internalType": "bytes32",
|
674
|
+
"name": "key",
|
675
|
+
"type": "bytes32"
|
676
|
+
}
|
677
|
+
],
|
678
|
+
"stateMutability": "pure",
|
679
|
+
"type": "function"
|
680
|
+
},
|
681
|
+
{
|
682
|
+
"inputs": [
|
683
|
+
{
|
684
|
+
"internalType": "NftId",
|
685
|
+
"name": "nftId",
|
686
|
+
"type": "uint96"
|
687
|
+
}
|
688
|
+
],
|
689
|
+
"name": "nftIdToKeyPacked",
|
690
|
+
"outputs": [
|
691
|
+
{
|
692
|
+
"internalType": "bytes32",
|
693
|
+
"name": "key",
|
694
|
+
"type": "bytes32"
|
695
|
+
}
|
696
|
+
],
|
697
|
+
"stateMutability": "pure",
|
698
|
+
"type": "function"
|
699
|
+
},
|
700
|
+
{
|
701
|
+
"inputs": [
|
702
|
+
{
|
703
|
+
"internalType": "RiskId",
|
704
|
+
"name": "riskId",
|
705
|
+
"type": "bytes12"
|
706
|
+
}
|
707
|
+
],
|
708
|
+
"name": "riskIdToKey",
|
709
|
+
"outputs": [
|
710
|
+
{
|
711
|
+
"internalType": "bytes32",
|
712
|
+
"name": "key",
|
713
|
+
"type": "bytes32"
|
714
|
+
}
|
715
|
+
],
|
716
|
+
"stateMutability": "pure",
|
717
|
+
"type": "function"
|
718
|
+
},
|
719
|
+
{
|
720
|
+
"inputs": [
|
721
|
+
{
|
722
|
+
"internalType": "VersionPart",
|
723
|
+
"name": "majorVersion",
|
724
|
+
"type": "uint8"
|
725
|
+
},
|
726
|
+
{
|
727
|
+
"components": [
|
728
|
+
{
|
729
|
+
"internalType": "RiskId",
|
730
|
+
"name": "id",
|
731
|
+
"type": "bytes12"
|
732
|
+
},
|
733
|
+
{
|
734
|
+
"internalType": "StateId",
|
735
|
+
"name": "state",
|
736
|
+
"type": "uint8"
|
737
|
+
},
|
738
|
+
{
|
739
|
+
"internalType": "bytes",
|
740
|
+
"name": "specification",
|
741
|
+
"type": "bytes"
|
742
|
+
},
|
743
|
+
{
|
744
|
+
"internalType": "Timestamp",
|
745
|
+
"name": "createdAt",
|
746
|
+
"type": "uint40"
|
747
|
+
},
|
748
|
+
{
|
749
|
+
"internalType": "Blocknumber",
|
750
|
+
"name": "updatedIn",
|
751
|
+
"type": "uint32"
|
752
|
+
}
|
753
|
+
],
|
754
|
+
"internalType": "struct IRisk.RiskInfo",
|
755
|
+
"name": "info",
|
756
|
+
"type": "tuple"
|
757
|
+
}
|
758
|
+
],
|
759
|
+
"name": "riskInfoToKeyValue",
|
760
|
+
"outputs": [
|
761
|
+
{
|
762
|
+
"internalType": "bytes32",
|
763
|
+
"name": "key",
|
764
|
+
"type": "bytes32"
|
765
|
+
},
|
766
|
+
{
|
767
|
+
"components": [
|
768
|
+
{
|
769
|
+
"internalType": "VersionPart",
|
770
|
+
"name": "majorVersion",
|
771
|
+
"type": "uint8"
|
772
|
+
},
|
773
|
+
{
|
774
|
+
"internalType": "bytes",
|
775
|
+
"name": "data",
|
776
|
+
"type": "bytes"
|
777
|
+
}
|
778
|
+
],
|
779
|
+
"internalType": "struct KvStore.Value",
|
780
|
+
"name": "value",
|
781
|
+
"type": "tuple"
|
782
|
+
}
|
783
|
+
],
|
784
|
+
"stateMutability": "pure",
|
785
|
+
"type": "function"
|
786
|
+
},
|
787
|
+
{
|
788
|
+
"inputs": [
|
789
|
+
{
|
790
|
+
"internalType": "string",
|
791
|
+
"name": "s",
|
792
|
+
"type": "string"
|
793
|
+
}
|
794
|
+
],
|
795
|
+
"name": "s2b",
|
796
|
+
"outputs": [
|
797
|
+
{
|
798
|
+
"internalType": "bytes",
|
799
|
+
"name": "b",
|
800
|
+
"type": "bytes"
|
801
|
+
}
|
802
|
+
],
|
803
|
+
"stateMutability": "pure",
|
804
|
+
"type": "function"
|
805
|
+
},
|
806
|
+
{
|
807
|
+
"inputs": [
|
808
|
+
{
|
809
|
+
"internalType": "uint256",
|
810
|
+
"name": "value",
|
811
|
+
"type": "uint256"
|
812
|
+
}
|
813
|
+
],
|
814
|
+
"name": "toBytes32",
|
815
|
+
"outputs": [
|
816
|
+
{
|
817
|
+
"internalType": "bytes32",
|
818
|
+
"name": "",
|
819
|
+
"type": "bytes32"
|
820
|
+
}
|
821
|
+
],
|
822
|
+
"stateMutability": "pure",
|
823
|
+
"type": "function"
|
824
|
+
},
|
825
|
+
{
|
826
|
+
"inputs": [
|
827
|
+
{
|
828
|
+
"internalType": "bytes32",
|
829
|
+
"name": "key32",
|
830
|
+
"type": "bytes32"
|
831
|
+
}
|
832
|
+
],
|
833
|
+
"name": "toKey",
|
834
|
+
"outputs": [
|
835
|
+
{
|
836
|
+
"components": [
|
837
|
+
{
|
838
|
+
"internalType": "ObjectType",
|
839
|
+
"name": "objectType",
|
840
|
+
"type": "uint8"
|
841
|
+
},
|
842
|
+
{
|
843
|
+
"internalType": "KeyId",
|
844
|
+
"name": "id",
|
845
|
+
"type": "bytes31"
|
846
|
+
}
|
847
|
+
],
|
848
|
+
"internalType": "struct KvStore.Key",
|
849
|
+
"name": "key",
|
850
|
+
"type": "tuple"
|
851
|
+
}
|
852
|
+
],
|
853
|
+
"stateMutability": "pure",
|
854
|
+
"type": "function"
|
855
|
+
},
|
856
|
+
{
|
857
|
+
"inputs": [
|
858
|
+
{
|
859
|
+
"internalType": "RiskId",
|
860
|
+
"name": "riskId",
|
861
|
+
"type": "bytes12"
|
862
|
+
}
|
863
|
+
],
|
864
|
+
"name": "toKey32",
|
865
|
+
"outputs": [
|
866
|
+
{
|
867
|
+
"internalType": "bytes32",
|
868
|
+
"name": "key",
|
869
|
+
"type": "bytes32"
|
870
|
+
}
|
871
|
+
],
|
872
|
+
"stateMutability": "pure",
|
873
|
+
"type": "function"
|
874
|
+
},
|
875
|
+
{
|
876
|
+
"inputs": [
|
877
|
+
{
|
878
|
+
"internalType": "bytes32",
|
879
|
+
"name": "key",
|
880
|
+
"type": "bytes32"
|
881
|
+
},
|
882
|
+
{
|
883
|
+
"components": [
|
884
|
+
{
|
885
|
+
"internalType": "VersionPart",
|
886
|
+
"name": "majorVersion",
|
887
|
+
"type": "uint8"
|
888
|
+
},
|
889
|
+
{
|
890
|
+
"internalType": "bytes",
|
891
|
+
"name": "data",
|
892
|
+
"type": "bytes"
|
893
|
+
}
|
894
|
+
],
|
895
|
+
"internalType": "struct KvStore.Value",
|
896
|
+
"name": "value",
|
897
|
+
"type": "tuple"
|
898
|
+
}
|
899
|
+
],
|
900
|
+
"name": "update",
|
901
|
+
"outputs": [],
|
902
|
+
"stateMutability": "nonpayable",
|
903
|
+
"type": "function"
|
904
|
+
},
|
905
|
+
{
|
906
|
+
"inputs": [
|
907
|
+
{
|
908
|
+
"components": [
|
909
|
+
{
|
910
|
+
"internalType": "VersionPart",
|
911
|
+
"name": "majorVersion",
|
912
|
+
"type": "uint8"
|
913
|
+
},
|
914
|
+
{
|
915
|
+
"internalType": "bytes",
|
916
|
+
"name": "data",
|
917
|
+
"type": "bytes"
|
918
|
+
}
|
919
|
+
],
|
920
|
+
"internalType": "struct KvStore.Value",
|
921
|
+
"name": "value",
|
922
|
+
"type": "tuple"
|
923
|
+
}
|
924
|
+
],
|
925
|
+
"name": "valueToBundleInfo",
|
926
|
+
"outputs": [
|
927
|
+
{
|
928
|
+
"components": [
|
929
|
+
{
|
930
|
+
"internalType": "NftId",
|
931
|
+
"name": "nftId",
|
932
|
+
"type": "uint96"
|
933
|
+
},
|
934
|
+
{
|
935
|
+
"internalType": "NftId",
|
936
|
+
"name": "poolNftId",
|
937
|
+
"type": "uint96"
|
938
|
+
},
|
939
|
+
{
|
940
|
+
"internalType": "StateId",
|
941
|
+
"name": "state",
|
942
|
+
"type": "uint8"
|
943
|
+
},
|
944
|
+
{
|
945
|
+
"internalType": "bytes",
|
946
|
+
"name": "filter",
|
947
|
+
"type": "bytes"
|
948
|
+
},
|
949
|
+
{
|
950
|
+
"internalType": "uint256",
|
951
|
+
"name": "capitalAmount",
|
952
|
+
"type": "uint256"
|
953
|
+
},
|
954
|
+
{
|
955
|
+
"internalType": "uint256",
|
956
|
+
"name": "lockedAmount",
|
957
|
+
"type": "uint256"
|
958
|
+
},
|
959
|
+
{
|
960
|
+
"internalType": "uint256",
|
961
|
+
"name": "balanceAmount",
|
962
|
+
"type": "uint256"
|
963
|
+
},
|
964
|
+
{
|
965
|
+
"internalType": "Timestamp",
|
966
|
+
"name": "expiredAt",
|
967
|
+
"type": "uint40"
|
968
|
+
},
|
969
|
+
{
|
970
|
+
"internalType": "Timestamp",
|
971
|
+
"name": "closedAt",
|
972
|
+
"type": "uint40"
|
973
|
+
}
|
974
|
+
],
|
975
|
+
"internalType": "struct IBundle.BundleInfo",
|
976
|
+
"name": "info",
|
977
|
+
"type": "tuple"
|
978
|
+
}
|
979
|
+
],
|
980
|
+
"stateMutability": "pure",
|
981
|
+
"type": "function"
|
982
|
+
},
|
983
|
+
{
|
984
|
+
"inputs": [
|
985
|
+
{
|
986
|
+
"components": [
|
987
|
+
{
|
988
|
+
"internalType": "VersionPart",
|
989
|
+
"name": "majorVersion",
|
990
|
+
"type": "uint8"
|
991
|
+
},
|
992
|
+
{
|
993
|
+
"internalType": "bytes",
|
994
|
+
"name": "data",
|
995
|
+
"type": "bytes"
|
996
|
+
}
|
997
|
+
],
|
998
|
+
"internalType": "struct KvStore.Value",
|
999
|
+
"name": "value",
|
1000
|
+
"type": "tuple"
|
1001
|
+
}
|
1002
|
+
],
|
1003
|
+
"name": "valueToRiskInfo",
|
1004
|
+
"outputs": [
|
1005
|
+
{
|
1006
|
+
"components": [
|
1007
|
+
{
|
1008
|
+
"internalType": "RiskId",
|
1009
|
+
"name": "id",
|
1010
|
+
"type": "bytes12"
|
1011
|
+
},
|
1012
|
+
{
|
1013
|
+
"internalType": "StateId",
|
1014
|
+
"name": "state",
|
1015
|
+
"type": "uint8"
|
1016
|
+
},
|
1017
|
+
{
|
1018
|
+
"internalType": "bytes",
|
1019
|
+
"name": "specification",
|
1020
|
+
"type": "bytes"
|
1021
|
+
},
|
1022
|
+
{
|
1023
|
+
"internalType": "Timestamp",
|
1024
|
+
"name": "createdAt",
|
1025
|
+
"type": "uint40"
|
1026
|
+
},
|
1027
|
+
{
|
1028
|
+
"internalType": "Blocknumber",
|
1029
|
+
"name": "updatedIn",
|
1030
|
+
"type": "uint32"
|
1031
|
+
}
|
1032
|
+
],
|
1033
|
+
"internalType": "struct IRisk.RiskInfo",
|
1034
|
+
"name": "info",
|
1035
|
+
"type": "tuple"
|
1036
|
+
}
|
1037
|
+
],
|
1038
|
+
"stateMutability": "pure",
|
1039
|
+
"type": "function"
|
1040
|
+
}
|
1041
|
+
],
|
1042
|
+
"bytecode": "0x608060405234801561001057600080fd5b50612d58806100206000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c806373aafb5311610104578063bb5b27e1116100a2578063d546ecf411610071578063d546ecf414610662578063d92bb60d14610680578063ea27fd501461069e578063ee1ce841146106ce576101da565b8063bb5b27e1146105b4578063bc2d00a7146105e4578063c3b6d3d714610614578063d238106f14610632576101da565b8063904d2c5f116100de578063904d2c5f146104f4578063a4dc7d8614610524578063b028ee1314610554578063ba0d69f614610584576101da565b806373aafb5314610464578063772391f3146104945780638eaa6ac0146104c4576101da565b806326b416c71161017c57806345414df11161014b57806345414df1146103b857806345d5c235146103e85780635e464ef7146104045780636f93bf6d14610434576101da565b806326b416c71461031e578063277ec8fb1461033a57806329e9b2261461036a57806338a699a414610388576101da565b806317181d3b116101b857806317181d3b1461025e5780631784cac91461028e57806318f08d24146102be57806322917a30146102ee576101da565b80630140cb3c146101df5780630b76bb6e146102105780630f94cc5014610240575b600080fd5b6101f960048036038101906101f49190611534565b6106ec565b6040516102079291906116a0565b60405180910390f35b61022a600480360381019061022591906116d0565b610745565b6040516102379190611763565b60405180910390f35b61024861076e565b6040516102559190611785565b60405180910390f35b6102786004803603810190610273919061187a565b610798565b6040516102859190611a33565b60405180910390f35b6102a860048036038101906102a39190611b29565b610907565b6040516102b59190611b77565b60405180910390f35b6102d860048036038101906102d39190611c8e565b610969565b6040516102e59190611763565b60405180910390f35b61030860048036038101906103039190611cd7565b610992565b6040516103159190611785565b60405180910390f35b61033860048036038101906103339190611d9c565b6109cb565b005b610354600480360381019061034f9190611df8565b610aad565b6040516103619190611ef7565b60405180910390f35b610372610ad4565b60405161037f9190611f28565b60405180910390f35b6103a2600480360381019061039d9190611f43565b610ad9565b6040516103af9190611f8b565b60405180910390f35b6103d260048036038101906103cd9190611fa6565b610b0a565b6040516103df9190612044565b60405180910390f35b61040260048036038101906103fd9190611d9c565b610b27565b005b61041e60048036038101906104199190611fa6565b610be0565b60405161042b9190611a33565b60405180910390f35b61044e60048036038101906104499190611fa6565b610c03565b60405161045b9190611ef7565b60405180910390f35b61047e60048036038101906104799190612066565b610c26565b60405161048b9190611785565b60405180910390f35b6104ae60048036038101906104a99190612093565b610c33565b6040516104bb9190611785565b60405180910390f35b6104de60048036038101906104d99190611f43565b610c6c565b6040516104eb91906120c0565b60405180910390f35b61050e60048036038101906105099190611df8565b610d47565b60405161051b9190611a33565b60405180910390f35b61053e60048036038101906105399190611f43565b610d6e565b60405161054b9190612141565b60405180910390f35b61056e600480360381019061056991906121fd565b610e00565b60405161057b9190611763565b60405180910390f35b61059e60048036038101906105999190611fa6565b610e29565b6040516105ab9190611ef7565b60405180910390f35b6105ce60048036038101906105c99190612066565b610ea9565b6040516105db9190611785565b60405180910390f35b6105fe60048036038101906105f99190611cd7565b610ed1565b60405161060b9190611785565b60405180910390f35b61061c610f16565b6040516106299190611785565b60405180910390f35b61064c60048036038101906106479190612093565b610f44565b6040516106599190611785565b60405180910390f35b61066a610f7d565b6040516106779190611785565b60405180910390f35b610688610fac565b6040516106959190611785565b60405180910390f35b6106b860048036038101906106b39190612246565b610fd7565b6040516106c591906120c0565b60405180910390f35b6106d661101e565b6040516106e391906122b1565b60405180910390f35b60006106f66110e5565b6107038360000151610ed1565b60405180604001604052808660ff168152602001856040516020016107289190611ef7565b604051602081830303815290604052815250915091509250929050565b6060816040516020016107589190611ef7565b6040516020818303038152906040529050919050565b60ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681565b6107a0611102565b600062278d009050604051806101200160405280876bffffffffffffffffffffffff1681526020016107d46201e24061102b565b6bffffffffffffffffffffffff1681526020016107ef611035565b60ff16815260200185858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505081526020018681526020016000815260200186815260200161085c611046565b64ffffffffff1673__$d53880c81dc91c20799140d711e5ab8718$__63ef6c0d789091856040518363ffffffff1660e01b815260040161089d9291906122ea565b602060405180830381865af41580156108ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108de9190612328565b64ffffffffff1681526020016108f2611056565b64ffffffffff16815250915050949350505050565b600061091e8260000151610919611067565b611078565b61095d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610954906123a1565b60405180910390fd5b81602001519050919050565b60608160405160200161097c9190611a33565b6040516020818303038152906040529050919050565b600061099c611067565b826040516020016109ae9291906123d0565b604051602081830303815290604052805190602001209050919050565b600080600084815260200190815260200160002060000160009054906101000a900460ff1660ff1614610a33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2a90612445565b60405180910390fd5b8060008084815260200190815260200160002060008201518160000160006101000a81548160ff021916908360ff1602179055506020820151816001019081610a7c9190612667565b5090505060018290806001815401808255809150506001900390600052602060002001600090919091909150555050565b610ab561117b565b8160200151806020019051810190610acd9190612890565b9050919050565b60f881565b60008060008084815260200190815260200160002060000160009054906101000a900460ff1660ff16119050919050565b606081806020019051810190610b209190612949565b9050919050565b600080600084815260200190815260200160002060000160009054906101000a900460ff1660ff1611610b8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b86906129de565b60405180910390fd5b8060008084815260200190815260200160002060008201518160000160006101000a81548160ff021916908360ff1602179055506020820151816001019081610bd89190612667565b509050505050565b610be8611102565b81806020019051810190610bfc9190612b24565b9050919050565b610c0b61117b565b81806020019051810190610c1f9190612890565b9050919050565b60008160001b9050919050565b6000610c3d61108b565b82604051602001610c4f929190612bd9565b604051602081830303815290604052805190602001209050919050565b610c746110e5565b6000808381526020019081526020016000206040518060400160405290816000820160009054906101000a900460ff1660ff1660ff168152602001600182018054610cbe90612494565b80601f0160208091040260200160405190810160405280929190818152602001828054610cea90612494565b8015610d375780601f10610d0c57610100808354040283529160200191610d37565b820191906000526020600020905b815481529060010190602001808311610d1a57829003601f168201915b5050505050815250509050919050565b610d4f611102565b8160200151806020019051810190610d679190612b24565b9050919050565b610d766111d1565b600060f860ff1660ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916841660001c901c9050600060ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916198416905060405180604001604052808360ff1681526020018260ff191681525092505050919050565b606081604051602001610e139190612c41565b6040516020818303038152906040529050919050565b610e3161117b565b6000610e3c8361109c565b90506040518060a001604052808273ffffffffffffffffffffffffffffffffffffffff19168152602001610e6e611035565b60ff168152602001848152602001610e84611046565b64ffffffffff168152602001610e986110ad565b63ffffffff16815250915050919050565b600060018281548110610ebf57610ebe612c58565b5b90600052602060002001549050919050565b600080610edc611067565b60ff16905060008360a01c6bffffffffffffffffffffffff1690508060f860ff16610f079190612cb6565b82901b60001b92505050919050565b600060ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916905090565b6000610f4e61108b565b82604051602001610f60929190612cf9565b604051602081830303815290604052805190602001209050919050565b600060ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191619905090565b60ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161981565b610fdf6110e5565b60405180604001604052808460ff168152602001836040516020016110049190611a33565b604051602081830303815290604052815250905092915050565b6000600180549050905090565b6000819050919050565b600061104160646110bd565b905090565b6000611051426110c7565b905090565b600061106260006110c7565b905090565b600061107360656110d1565b905090565b60008160ff168360ff1614905092915050565b600061109760d26110d1565b905090565b600081805190602001209050919050565b60006110b8436110db565b905090565b6000819050919050565b6000819050919050565b6000819050919050565b6000819050919050565b6040518060400160405280600060ff168152602001606081525090565b60405180610120016040528060006bffffffffffffffffffffffff16815260200160006bffffffffffffffffffffffff168152602001600060ff16815260200160608152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b6040518060a00160405280600073ffffffffffffffffffffffffffffffffffffffff19168152602001600060ff16815260200160608152602001600064ffffffffff168152602001600063ffffffff1681525090565b6040518060400160405280600060ff168152602001600060ff191681525090565b6000604051905090565b600080fd5b600080fd5b600060ff82169050919050565b61121c81611206565b811461122757600080fd5b50565b60008135905061123981611213565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61128d82611244565b810181811067ffffffffffffffff821117156112ac576112ab611255565b5b80604052505050565b60006112bf6111f2565b90506112cb8282611284565b919050565b600080fd5b60007fffffffffffffffffffffffff000000000000000000000000000000000000000082169050919050565b61130a816112d5565b811461131557600080fd5b50565b60008135905061132781611301565b92915050565b61133681611206565b811461134157600080fd5b50565b6000813590506113538161132d565b92915050565b600080fd5b600080fd5b600067ffffffffffffffff82111561137e5761137d611255565b5b61138782611244565b9050602081019050919050565b82818337600083830152505050565b60006113b66113b184611363565b6112b5565b9050828152602081018484840111156113d2576113d161135e565b5b6113dd848285611394565b509392505050565b600082601f8301126113fa576113f9611359565b5b813561140a8482602086016113a3565b91505092915050565b600064ffffffffff82169050919050565b61142d81611413565b811461143857600080fd5b50565b60008135905061144a81611424565b92915050565b600063ffffffff82169050919050565b61146981611450565b811461147457600080fd5b50565b60008135905061148681611460565b92915050565b600060a082840312156114a2576114a161123f565b5b6114ac60a06112b5565b905060006114bc84828501611318565b60008301525060206114d084828501611344565b602083015250604082013567ffffffffffffffff8111156114f4576114f36112d0565b5b611500848285016113e5565b60408301525060606115148482850161143b565b606083015250608061152884828501611477565b60808301525092915050565b6000806040838503121561154b5761154a6111fc565b5b60006115598582860161122a565b925050602083013567ffffffffffffffff81111561157a57611579611201565b5b6115868582860161148c565b9150509250929050565b6000819050919050565b6115a381611590565b82525050565b6000819050919050565b60006115ce6115c96115c484611206565b6115a9565b611206565b9050919050565b6115de816115b3565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561161e578082015181840152602081019050611603565b60008484015250505050565b6000611635826115e4565b61163f81856115ef565b935061164f818560208601611600565b61165881611244565b840191505092915050565b600060408301600083015161167b60008601826115d5565b5060208301518482036020860152611693828261162a565b9150508091505092915050565b60006040820190506116b5600083018561159a565b81810360208301526116c78184611663565b90509392505050565b6000602082840312156116e6576116e56111fc565b5b600082013567ffffffffffffffff81111561170457611703611201565b5b6117108482850161148c565b91505092915050565b600082825260208201905092915050565b6000611735826115e4565b61173f8185611719565b935061174f818560208601611600565b61175881611244565b840191505092915050565b6000602082019050818103600083015261177d818461172a565b905092915050565b600060208201905061179a600083018461159a565b92915050565b60006bffffffffffffffffffffffff82169050919050565b6117c1816117a0565b81146117cc57600080fd5b50565b6000813590506117de816117b8565b92915050565b6000819050919050565b6117f7816117e4565b811461180257600080fd5b50565b600081359050611814816117ee565b92915050565b600080fd5b600080fd5b60008083601f84011261183a57611839611359565b5b8235905067ffffffffffffffff8111156118575761185661181a565b5b6020830191508360018202830111156118735761187261181f565b5b9250929050565b60008060008060608587031215611894576118936111fc565b5b60006118a2878288016117cf565b94505060206118b387828801611805565b935050604085013567ffffffffffffffff8111156118d4576118d3611201565b5b6118e087828801611824565b925092505092959194509250565b60006119096119046118ff846117a0565b6115a9565b6117a0565b9050919050565b611919816118ee565b82525050565b611928816115b3565b82525050565b611937816117e4565b82525050565b600061195861195361194e84611413565b6115a9565b611413565b9050919050565b6119688161193d565b82525050565b6000610120830160008301516119876000860182611910565b50602083015161199a6020860182611910565b5060408301516119ad604086018261191f565b50606083015184820360608601526119c5828261162a565b91505060808301516119da608086018261192e565b5060a08301516119ed60a086018261192e565b5060c0830151611a0060c086018261192e565b5060e0830151611a1360e086018261195f565b50610100830151611a2861010086018261195f565b508091505092915050565b60006020820190508181036000830152611a4d818461196e565b905092915050565b611a5e81611206565b8114611a6957600080fd5b50565b600081359050611a7b81611a55565b92915050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0082169050919050565b611ab681611a81565b8114611ac157600080fd5b50565b600081359050611ad381611aad565b92915050565b600060408284031215611aef57611aee61123f565b5b611af960406112b5565b90506000611b0984828501611a6c565b6000830152506020611b1d84828501611ac4565b60208301525092915050565b600060408284031215611b3f57611b3e6111fc565b5b6000611b4d84828501611ad9565b91505092915050565b6000611b61826112d5565b9050919050565b611b7181611b56565b82525050565b6000602082019050611b8c6000830184611b68565b92915050565b60006101208284031215611ba957611ba861123f565b5b611bb46101206112b5565b90506000611bc4848285016117cf565b6000830152506020611bd8848285016117cf565b6020830152506040611bec84828501611344565b604083015250606082013567ffffffffffffffff811115611c1057611c0f6112d0565b5b611c1c848285016113e5565b6060830152506080611c3084828501611805565b60808301525060a0611c4484828501611805565b60a08301525060c0611c5884828501611805565b60c08301525060e0611c6c8482850161143b565b60e083015250610100611c818482850161143b565b6101008301525092915050565b600060208284031215611ca457611ca36111fc565b5b600082013567ffffffffffffffff811115611cc257611cc1611201565b5b611cce84828501611b92565b91505092915050565b600060208284031215611ced57611cec6111fc565b5b6000611cfb84828501611318565b91505092915050565b611d0d81611590565b8114611d1857600080fd5b50565b600081359050611d2a81611d04565b92915050565b600060408284031215611d4657611d4561123f565b5b611d5060406112b5565b90506000611d608482850161122a565b600083015250602082013567ffffffffffffffff811115611d8457611d836112d0565b5b611d90848285016113e5565b60208301525092915050565b60008060408385031215611db357611db26111fc565b5b6000611dc185828601611d1b565b925050602083013567ffffffffffffffff811115611de257611de1611201565b5b611dee85828601611d30565b9150509250929050565b600060208284031215611e0e57611e0d6111fc565b5b600082013567ffffffffffffffff811115611e2c57611e2b611201565b5b611e3884828501611d30565b91505092915050565b611e4a81611b56565b82525050565b6000611e6b611e66611e6184611450565b6115a9565b611450565b9050919050565b611e7b81611e50565b82525050565b600060a083016000830151611e996000860182611e41565b506020830151611eac602086018261191f565b5060408301518482036040860152611ec4828261162a565b9150506060830151611ed9606086018261195f565b506080830151611eec6080860182611e72565b508091505092915050565b60006020820190508181036000830152611f118184611e81565b905092915050565b611f2281611206565b82525050565b6000602082019050611f3d6000830184611f19565b92915050565b600060208284031215611f5957611f586111fc565b5b6000611f6784828501611d1b565b91505092915050565b60008115159050919050565b611f8581611f70565b82525050565b6000602082019050611fa06000830184611f7c565b92915050565b600060208284031215611fbc57611fbb6111fc565b5b600082013567ffffffffffffffff811115611fda57611fd9611201565b5b611fe6848285016113e5565b91505092915050565b600081519050919050565b600082825260208201905092915050565b600061201682611fef565b6120208185611ffa565b9350612030818560208601611600565b61203981611244565b840191505092915050565b6000602082019050818103600083015261205e818461200b565b905092915050565b60006020828403121561207c5761207b6111fc565b5b600061208a84828501611805565b91505092915050565b6000602082840312156120a9576120a86111fc565b5b60006120b7848285016117cf565b91505092915050565b600060208201905081810360008301526120da8184611663565b905092915050565b6120eb816115b3565b82525050565b60006120fc82611a81565b9050919050565b61210c816120f1565b82525050565b60408201600082015161212860008501826120e2565b50602082015161213b6020850182612103565b50505050565b60006040820190506121566000830184612112565b92915050565b600067ffffffffffffffff82111561217757612176611255565b5b61218082611244565b9050602081019050919050565b60006121a061219b8461215c565b6112b5565b9050828152602081018484840111156121bc576121bb61135e565b5b6121c7848285611394565b509392505050565b600082601f8301126121e4576121e3611359565b5b81356121f484826020860161218d565b91505092915050565b600060208284031215612213576122126111fc565b5b600082013567ffffffffffffffff81111561223157612230611201565b5b61223d848285016121cf565b91505092915050565b6000806040838503121561225d5761225c6111fc565b5b600061226b8582860161122a565b925050602083013567ffffffffffffffff81111561228c5761228b611201565b5b61229885828601611b92565b9150509250929050565b6122ab816117e4565b82525050565b60006020820190506122c660008301846122a2565b92915050565b6122d58161193d565b82525050565b6122e4816117e4565b82525050565b60006040820190506122ff60008301856122cc565b61230c60208301846122db565b9392505050565b60008151905061232281611424565b92915050565b60006020828403121561233e5761233d6111fc565b5b600061234c84828501612313565b91505092915050565b7f4552524f525f4e4f545f5249534b5f4b45590000000000000000000000000000600082015250565b600061238b601283611ffa565b915061239682612355565b602082019050919050565b600060208201905081810360008301526123ba8161237e565b9050919050565b6123ca816115b3565b82525050565b60006040820190506123e560008301856123c1565b6123f26020830184611b68565b9392505050565b7f4552524f525f4b45595f55534544000000000000000000000000000000000000600082015250565b600061242f600e83611ffa565b915061243a826123f9565b602082019050919050565b6000602082019050818103600083015261245e81612422565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806124ac57607f821691505b6020821081036124bf576124be612465565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026125277fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826124ea565b61253186836124ea565b95508019841693508086168417925050509392505050565b600061256461255f61255a846117e4565b6115a9565b6117e4565b9050919050565b6000819050919050565b61257e83612549565b61259261258a8261256b565b8484546124f7565b825550505050565b600090565b6125a761259a565b6125b2818484612575565b505050565b5b818110156125d6576125cb60008261259f565b6001810190506125b8565b5050565b601f82111561261b576125ec816124c5565b6125f5846124da565b81016020851015612604578190505b612618612610856124da565b8301826125b7565b50505b505050565b600082821c905092915050565b600061263e60001984600802612620565b1980831691505092915050565b6000612657838361262d565b9150826002028217905092915050565b612670826115e4565b67ffffffffffffffff81111561268957612688611255565b5b6126938254612494565b61269e8282856125da565b600060209050601f8311600181146126d157600084156126bf578287015190505b6126c9858261264b565b865550612731565b601f1984166126df866124c5565b60005b82811015612707578489015182556001820191506020850194506020810190506126e2565b868310156127245784890151612720601f89168261262d565b8355505b6001600288020188555050505b505050505050565b60008151905061274881611301565b92915050565b60008151905061275d8161132d565b92915050565b600061277661277184611363565b6112b5565b9050828152602081018484840111156127925761279161135e565b5b61279d848285611600565b509392505050565b600082601f8301126127ba576127b9611359565b5b81516127ca848260208601612763565b91505092915050565b6000815190506127e281611460565b92915050565b600060a082840312156127fe576127fd61123f565b5b61280860a06112b5565b9050600061281884828501612739565b600083015250602061282c8482850161274e565b602083015250604082015167ffffffffffffffff8111156128505761284f6112d0565b5b61285c848285016127a5565b604083015250606061287084828501612313565b6060830152506080612884848285016127d3565b60808301525092915050565b6000602082840312156128a6576128a56111fc565b5b600082015167ffffffffffffffff8111156128c4576128c3611201565b5b6128d0848285016127e8565b91505092915050565b60006128ec6128e78461215c565b6112b5565b9050828152602081018484840111156129085761290761135e565b5b612913848285611600565b509392505050565b600082601f8301126129305761292f611359565b5b81516129408482602086016128d9565b91505092915050565b60006020828403121561295f5761295e6111fc565b5b600082015167ffffffffffffffff81111561297d5761297c611201565b5b6129898482850161291b565b91505092915050565b7f4552524f525f4b45595f554e4b4e4f574e000000000000000000000000000000600082015250565b60006129c8601183611ffa565b91506129d382612992565b602082019050919050565b600060208201905081810360008301526129f7816129bb565b9050919050565b600081519050612a0d816117b8565b92915050565b600081519050612a22816117ee565b92915050565b60006101208284031215612a3f57612a3e61123f565b5b612a4a6101206112b5565b90506000612a5a848285016129fe565b6000830152506020612a6e848285016129fe565b6020830152506040612a828482850161274e565b604083015250606082015167ffffffffffffffff811115612aa657612aa56112d0565b5b612ab2848285016127a5565b6060830152506080612ac684828501612a13565b60808301525060a0612ada84828501612a13565b60a08301525060c0612aee84828501612a13565b60c08301525060e0612b0284828501612313565b60e083015250610100612b1784828501612313565b6101008301525092915050565b600060208284031215612b3a57612b396111fc565b5b600082015167ffffffffffffffff811115612b5857612b57611201565b5b612b6484828501612a28565b91505092915050565b60008160f81b9050919050565b6000612b8582612b6d565b9050919050565b612b9d612b98826115b3565b612b7a565b82525050565b60008160a01b9050919050565b6000612bbb82612ba3565b9050919050565b612bd3612bce826118ee565b612bb0565b82525050565b6000612be58285612b8c565b600182019150612bf58284612bc2565b600c820191508190509392505050565b600081905092915050565b6000612c1b82611fef565b612c258185612c05565b9350612c35818560208601611600565b80840191505092915050565b6000612c4d8284612c10565b915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612cc1826117e4565b9150612ccc836117e4565b9250828201905080821115612ce457612ce3612c87565b5b92915050565b612cf3816118ee565b82525050565b6000604082019050612d0e60008301856123c1565b612d1b6020830184612cea565b939250505056fea26469706673582212202163ec94fb595dbbd39b56337074a1424c037605b8317f2e0bc513c734e071d364736f6c63430008140033",
|
1043
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101da5760003560e01c806373aafb5311610104578063bb5b27e1116100a2578063d546ecf411610071578063d546ecf414610662578063d92bb60d14610680578063ea27fd501461069e578063ee1ce841146106ce576101da565b8063bb5b27e1146105b4578063bc2d00a7146105e4578063c3b6d3d714610614578063d238106f14610632576101da565b8063904d2c5f116100de578063904d2c5f146104f4578063a4dc7d8614610524578063b028ee1314610554578063ba0d69f614610584576101da565b806373aafb5314610464578063772391f3146104945780638eaa6ac0146104c4576101da565b806326b416c71161017c57806345414df11161014b57806345414df1146103b857806345d5c235146103e85780635e464ef7146104045780636f93bf6d14610434576101da565b806326b416c71461031e578063277ec8fb1461033a57806329e9b2261461036a57806338a699a414610388576101da565b806317181d3b116101b857806317181d3b1461025e5780631784cac91461028e57806318f08d24146102be57806322917a30146102ee576101da565b80630140cb3c146101df5780630b76bb6e146102105780630f94cc5014610240575b600080fd5b6101f960048036038101906101f49190611534565b6106ec565b6040516102079291906116a0565b60405180910390f35b61022a600480360381019061022591906116d0565b610745565b6040516102379190611763565b60405180910390f35b61024861076e565b6040516102559190611785565b60405180910390f35b6102786004803603810190610273919061187a565b610798565b6040516102859190611a33565b60405180910390f35b6102a860048036038101906102a39190611b29565b610907565b6040516102b59190611b77565b60405180910390f35b6102d860048036038101906102d39190611c8e565b610969565b6040516102e59190611763565b60405180910390f35b61030860048036038101906103039190611cd7565b610992565b6040516103159190611785565b60405180910390f35b61033860048036038101906103339190611d9c565b6109cb565b005b610354600480360381019061034f9190611df8565b610aad565b6040516103619190611ef7565b60405180910390f35b610372610ad4565b60405161037f9190611f28565b60405180910390f35b6103a2600480360381019061039d9190611f43565b610ad9565b6040516103af9190611f8b565b60405180910390f35b6103d260048036038101906103cd9190611fa6565b610b0a565b6040516103df9190612044565b60405180910390f35b61040260048036038101906103fd9190611d9c565b610b27565b005b61041e60048036038101906104199190611fa6565b610be0565b60405161042b9190611a33565b60405180910390f35b61044e60048036038101906104499190611fa6565b610c03565b60405161045b9190611ef7565b60405180910390f35b61047e60048036038101906104799190612066565b610c26565b60405161048b9190611785565b60405180910390f35b6104ae60048036038101906104a99190612093565b610c33565b6040516104bb9190611785565b60405180910390f35b6104de60048036038101906104d99190611f43565b610c6c565b6040516104eb91906120c0565b60405180910390f35b61050e60048036038101906105099190611df8565b610d47565b60405161051b9190611a33565b60405180910390f35b61053e60048036038101906105399190611f43565b610d6e565b60405161054b9190612141565b60405180910390f35b61056e600480360381019061056991906121fd565b610e00565b60405161057b9190611763565b60405180910390f35b61059e60048036038101906105999190611fa6565b610e29565b6040516105ab9190611ef7565b60405180910390f35b6105ce60048036038101906105c99190612066565b610ea9565b6040516105db9190611785565b60405180910390f35b6105fe60048036038101906105f99190611cd7565b610ed1565b60405161060b9190611785565b60405180910390f35b61061c610f16565b6040516106299190611785565b60405180910390f35b61064c60048036038101906106479190612093565b610f44565b6040516106599190611785565b60405180910390f35b61066a610f7d565b6040516106779190611785565b60405180910390f35b610688610fac565b6040516106959190611785565b60405180910390f35b6106b860048036038101906106b39190612246565b610fd7565b6040516106c591906120c0565b60405180910390f35b6106d661101e565b6040516106e391906122b1565b60405180910390f35b60006106f66110e5565b6107038360000151610ed1565b60405180604001604052808660ff168152602001856040516020016107289190611ef7565b604051602081830303815290604052815250915091509250929050565b6060816040516020016107589190611ef7565b6040516020818303038152906040529050919050565b60ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681565b6107a0611102565b600062278d009050604051806101200160405280876bffffffffffffffffffffffff1681526020016107d46201e24061102b565b6bffffffffffffffffffffffff1681526020016107ef611035565b60ff16815260200185858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505081526020018681526020016000815260200186815260200161085c611046565b64ffffffffff1673__$d53880c81dc91c20799140d711e5ab8718$__63ef6c0d789091856040518363ffffffff1660e01b815260040161089d9291906122ea565b602060405180830381865af41580156108ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108de9190612328565b64ffffffffff1681526020016108f2611056565b64ffffffffff16815250915050949350505050565b600061091e8260000151610919611067565b611078565b61095d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610954906123a1565b60405180910390fd5b81602001519050919050565b60608160405160200161097c9190611a33565b6040516020818303038152906040529050919050565b600061099c611067565b826040516020016109ae9291906123d0565b604051602081830303815290604052805190602001209050919050565b600080600084815260200190815260200160002060000160009054906101000a900460ff1660ff1614610a33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2a90612445565b60405180910390fd5b8060008084815260200190815260200160002060008201518160000160006101000a81548160ff021916908360ff1602179055506020820151816001019081610a7c9190612667565b5090505060018290806001815401808255809150506001900390600052602060002001600090919091909150555050565b610ab561117b565b8160200151806020019051810190610acd9190612890565b9050919050565b60f881565b60008060008084815260200190815260200160002060000160009054906101000a900460ff1660ff16119050919050565b606081806020019051810190610b209190612949565b9050919050565b600080600084815260200190815260200160002060000160009054906101000a900460ff1660ff1611610b8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b86906129de565b60405180910390fd5b8060008084815260200190815260200160002060008201518160000160006101000a81548160ff021916908360ff1602179055506020820151816001019081610bd89190612667565b509050505050565b610be8611102565b81806020019051810190610bfc9190612b24565b9050919050565b610c0b61117b565b81806020019051810190610c1f9190612890565b9050919050565b60008160001b9050919050565b6000610c3d61108b565b82604051602001610c4f929190612bd9565b604051602081830303815290604052805190602001209050919050565b610c746110e5565b6000808381526020019081526020016000206040518060400160405290816000820160009054906101000a900460ff1660ff1660ff168152602001600182018054610cbe90612494565b80601f0160208091040260200160405190810160405280929190818152602001828054610cea90612494565b8015610d375780601f10610d0c57610100808354040283529160200191610d37565b820191906000526020600020905b815481529060010190602001808311610d1a57829003601f168201915b5050505050815250509050919050565b610d4f611102565b8160200151806020019051810190610d679190612b24565b9050919050565b610d766111d1565b600060f860ff1660ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916841660001c901c9050600060ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916198416905060405180604001604052808360ff1681526020018260ff191681525092505050919050565b606081604051602001610e139190612c41565b6040516020818303038152906040529050919050565b610e3161117b565b6000610e3c8361109c565b90506040518060a001604052808273ffffffffffffffffffffffffffffffffffffffff19168152602001610e6e611035565b60ff168152602001848152602001610e84611046565b64ffffffffff168152602001610e986110ad565b63ffffffff16815250915050919050565b600060018281548110610ebf57610ebe612c58565b5b90600052602060002001549050919050565b600080610edc611067565b60ff16905060008360a01c6bffffffffffffffffffffffff1690508060f860ff16610f079190612cb6565b82901b60001b92505050919050565b600060ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916905090565b6000610f4e61108b565b82604051602001610f60929190612cf9565b604051602081830303815290604052805190602001209050919050565b600060ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191619905090565b60ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161981565b610fdf6110e5565b60405180604001604052808460ff168152602001836040516020016110049190611a33565b604051602081830303815290604052815250905092915050565b6000600180549050905090565b6000819050919050565b600061104160646110bd565b905090565b6000611051426110c7565b905090565b600061106260006110c7565b905090565b600061107360656110d1565b905090565b60008160ff168360ff1614905092915050565b600061109760d26110d1565b905090565b600081805190602001209050919050565b60006110b8436110db565b905090565b6000819050919050565b6000819050919050565b6000819050919050565b6000819050919050565b6040518060400160405280600060ff168152602001606081525090565b60405180610120016040528060006bffffffffffffffffffffffff16815260200160006bffffffffffffffffffffffff168152602001600060ff16815260200160608152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b6040518060a00160405280600073ffffffffffffffffffffffffffffffffffffffff19168152602001600060ff16815260200160608152602001600064ffffffffff168152602001600063ffffffff1681525090565b6040518060400160405280600060ff168152602001600060ff191681525090565b6000604051905090565b600080fd5b600080fd5b600060ff82169050919050565b61121c81611206565b811461122757600080fd5b50565b60008135905061123981611213565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61128d82611244565b810181811067ffffffffffffffff821117156112ac576112ab611255565b5b80604052505050565b60006112bf6111f2565b90506112cb8282611284565b919050565b600080fd5b60007fffffffffffffffffffffffff000000000000000000000000000000000000000082169050919050565b61130a816112d5565b811461131557600080fd5b50565b60008135905061132781611301565b92915050565b61133681611206565b811461134157600080fd5b50565b6000813590506113538161132d565b92915050565b600080fd5b600080fd5b600067ffffffffffffffff82111561137e5761137d611255565b5b61138782611244565b9050602081019050919050565b82818337600083830152505050565b60006113b66113b184611363565b6112b5565b9050828152602081018484840111156113d2576113d161135e565b5b6113dd848285611394565b509392505050565b600082601f8301126113fa576113f9611359565b5b813561140a8482602086016113a3565b91505092915050565b600064ffffffffff82169050919050565b61142d81611413565b811461143857600080fd5b50565b60008135905061144a81611424565b92915050565b600063ffffffff82169050919050565b61146981611450565b811461147457600080fd5b50565b60008135905061148681611460565b92915050565b600060a082840312156114a2576114a161123f565b5b6114ac60a06112b5565b905060006114bc84828501611318565b60008301525060206114d084828501611344565b602083015250604082013567ffffffffffffffff8111156114f4576114f36112d0565b5b611500848285016113e5565b60408301525060606115148482850161143b565b606083015250608061152884828501611477565b60808301525092915050565b6000806040838503121561154b5761154a6111fc565b5b60006115598582860161122a565b925050602083013567ffffffffffffffff81111561157a57611579611201565b5b6115868582860161148c565b9150509250929050565b6000819050919050565b6115a381611590565b82525050565b6000819050919050565b60006115ce6115c96115c484611206565b6115a9565b611206565b9050919050565b6115de816115b3565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561161e578082015181840152602081019050611603565b60008484015250505050565b6000611635826115e4565b61163f81856115ef565b935061164f818560208601611600565b61165881611244565b840191505092915050565b600060408301600083015161167b60008601826115d5565b5060208301518482036020860152611693828261162a565b9150508091505092915050565b60006040820190506116b5600083018561159a565b81810360208301526116c78184611663565b90509392505050565b6000602082840312156116e6576116e56111fc565b5b600082013567ffffffffffffffff81111561170457611703611201565b5b6117108482850161148c565b91505092915050565b600082825260208201905092915050565b6000611735826115e4565b61173f8185611719565b935061174f818560208601611600565b61175881611244565b840191505092915050565b6000602082019050818103600083015261177d818461172a565b905092915050565b600060208201905061179a600083018461159a565b92915050565b60006bffffffffffffffffffffffff82169050919050565b6117c1816117a0565b81146117cc57600080fd5b50565b6000813590506117de816117b8565b92915050565b6000819050919050565b6117f7816117e4565b811461180257600080fd5b50565b600081359050611814816117ee565b92915050565b600080fd5b600080fd5b60008083601f84011261183a57611839611359565b5b8235905067ffffffffffffffff8111156118575761185661181a565b5b6020830191508360018202830111156118735761187261181f565b5b9250929050565b60008060008060608587031215611894576118936111fc565b5b60006118a2878288016117cf565b94505060206118b387828801611805565b935050604085013567ffffffffffffffff8111156118d4576118d3611201565b5b6118e087828801611824565b925092505092959194509250565b60006119096119046118ff846117a0565b6115a9565b6117a0565b9050919050565b611919816118ee565b82525050565b611928816115b3565b82525050565b611937816117e4565b82525050565b600061195861195361194e84611413565b6115a9565b611413565b9050919050565b6119688161193d565b82525050565b6000610120830160008301516119876000860182611910565b50602083015161199a6020860182611910565b5060408301516119ad604086018261191f565b50606083015184820360608601526119c5828261162a565b91505060808301516119da608086018261192e565b5060a08301516119ed60a086018261192e565b5060c0830151611a0060c086018261192e565b5060e0830151611a1360e086018261195f565b50610100830151611a2861010086018261195f565b508091505092915050565b60006020820190508181036000830152611a4d818461196e565b905092915050565b611a5e81611206565b8114611a6957600080fd5b50565b600081359050611a7b81611a55565b92915050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0082169050919050565b611ab681611a81565b8114611ac157600080fd5b50565b600081359050611ad381611aad565b92915050565b600060408284031215611aef57611aee61123f565b5b611af960406112b5565b90506000611b0984828501611a6c565b6000830152506020611b1d84828501611ac4565b60208301525092915050565b600060408284031215611b3f57611b3e6111fc565b5b6000611b4d84828501611ad9565b91505092915050565b6000611b61826112d5565b9050919050565b611b7181611b56565b82525050565b6000602082019050611b8c6000830184611b68565b92915050565b60006101208284031215611ba957611ba861123f565b5b611bb46101206112b5565b90506000611bc4848285016117cf565b6000830152506020611bd8848285016117cf565b6020830152506040611bec84828501611344565b604083015250606082013567ffffffffffffffff811115611c1057611c0f6112d0565b5b611c1c848285016113e5565b6060830152506080611c3084828501611805565b60808301525060a0611c4484828501611805565b60a08301525060c0611c5884828501611805565b60c08301525060e0611c6c8482850161143b565b60e083015250610100611c818482850161143b565b6101008301525092915050565b600060208284031215611ca457611ca36111fc565b5b600082013567ffffffffffffffff811115611cc257611cc1611201565b5b611cce84828501611b92565b91505092915050565b600060208284031215611ced57611cec6111fc565b5b6000611cfb84828501611318565b91505092915050565b611d0d81611590565b8114611d1857600080fd5b50565b600081359050611d2a81611d04565b92915050565b600060408284031215611d4657611d4561123f565b5b611d5060406112b5565b90506000611d608482850161122a565b600083015250602082013567ffffffffffffffff811115611d8457611d836112d0565b5b611d90848285016113e5565b60208301525092915050565b60008060408385031215611db357611db26111fc565b5b6000611dc185828601611d1b565b925050602083013567ffffffffffffffff811115611de257611de1611201565b5b611dee85828601611d30565b9150509250929050565b600060208284031215611e0e57611e0d6111fc565b5b600082013567ffffffffffffffff811115611e2c57611e2b611201565b5b611e3884828501611d30565b91505092915050565b611e4a81611b56565b82525050565b6000611e6b611e66611e6184611450565b6115a9565b611450565b9050919050565b611e7b81611e50565b82525050565b600060a083016000830151611e996000860182611e41565b506020830151611eac602086018261191f565b5060408301518482036040860152611ec4828261162a565b9150506060830151611ed9606086018261195f565b506080830151611eec6080860182611e72565b508091505092915050565b60006020820190508181036000830152611f118184611e81565b905092915050565b611f2281611206565b82525050565b6000602082019050611f3d6000830184611f19565b92915050565b600060208284031215611f5957611f586111fc565b5b6000611f6784828501611d1b565b91505092915050565b60008115159050919050565b611f8581611f70565b82525050565b6000602082019050611fa06000830184611f7c565b92915050565b600060208284031215611fbc57611fbb6111fc565b5b600082013567ffffffffffffffff811115611fda57611fd9611201565b5b611fe6848285016113e5565b91505092915050565b600081519050919050565b600082825260208201905092915050565b600061201682611fef565b6120208185611ffa565b9350612030818560208601611600565b61203981611244565b840191505092915050565b6000602082019050818103600083015261205e818461200b565b905092915050565b60006020828403121561207c5761207b6111fc565b5b600061208a84828501611805565b91505092915050565b6000602082840312156120a9576120a86111fc565b5b60006120b7848285016117cf565b91505092915050565b600060208201905081810360008301526120da8184611663565b905092915050565b6120eb816115b3565b82525050565b60006120fc82611a81565b9050919050565b61210c816120f1565b82525050565b60408201600082015161212860008501826120e2565b50602082015161213b6020850182612103565b50505050565b60006040820190506121566000830184612112565b92915050565b600067ffffffffffffffff82111561217757612176611255565b5b61218082611244565b9050602081019050919050565b60006121a061219b8461215c565b6112b5565b9050828152602081018484840111156121bc576121bb61135e565b5b6121c7848285611394565b509392505050565b600082601f8301126121e4576121e3611359565b5b81356121f484826020860161218d565b91505092915050565b600060208284031215612213576122126111fc565b5b600082013567ffffffffffffffff81111561223157612230611201565b5b61223d848285016121cf565b91505092915050565b6000806040838503121561225d5761225c6111fc565b5b600061226b8582860161122a565b925050602083013567ffffffffffffffff81111561228c5761228b611201565b5b61229885828601611b92565b9150509250929050565b6122ab816117e4565b82525050565b60006020820190506122c660008301846122a2565b92915050565b6122d58161193d565b82525050565b6122e4816117e4565b82525050565b60006040820190506122ff60008301856122cc565b61230c60208301846122db565b9392505050565b60008151905061232281611424565b92915050565b60006020828403121561233e5761233d6111fc565b5b600061234c84828501612313565b91505092915050565b7f4552524f525f4e4f545f5249534b5f4b45590000000000000000000000000000600082015250565b600061238b601283611ffa565b915061239682612355565b602082019050919050565b600060208201905081810360008301526123ba8161237e565b9050919050565b6123ca816115b3565b82525050565b60006040820190506123e560008301856123c1565b6123f26020830184611b68565b9392505050565b7f4552524f525f4b45595f55534544000000000000000000000000000000000000600082015250565b600061242f600e83611ffa565b915061243a826123f9565b602082019050919050565b6000602082019050818103600083015261245e81612422565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806124ac57607f821691505b6020821081036124bf576124be612465565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026125277fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826124ea565b61253186836124ea565b95508019841693508086168417925050509392505050565b600061256461255f61255a846117e4565b6115a9565b6117e4565b9050919050565b6000819050919050565b61257e83612549565b61259261258a8261256b565b8484546124f7565b825550505050565b600090565b6125a761259a565b6125b2818484612575565b505050565b5b818110156125d6576125cb60008261259f565b6001810190506125b8565b5050565b601f82111561261b576125ec816124c5565b6125f5846124da565b81016020851015612604578190505b612618612610856124da565b8301826125b7565b50505b505050565b600082821c905092915050565b600061263e60001984600802612620565b1980831691505092915050565b6000612657838361262d565b9150826002028217905092915050565b612670826115e4565b67ffffffffffffffff81111561268957612688611255565b5b6126938254612494565b61269e8282856125da565b600060209050601f8311600181146126d157600084156126bf578287015190505b6126c9858261264b565b865550612731565b601f1984166126df866124c5565b60005b82811015612707578489015182556001820191506020850194506020810190506126e2565b868310156127245784890151612720601f89168261262d565b8355505b6001600288020188555050505b505050505050565b60008151905061274881611301565b92915050565b60008151905061275d8161132d565b92915050565b600061277661277184611363565b6112b5565b9050828152602081018484840111156127925761279161135e565b5b61279d848285611600565b509392505050565b600082601f8301126127ba576127b9611359565b5b81516127ca848260208601612763565b91505092915050565b6000815190506127e281611460565b92915050565b600060a082840312156127fe576127fd61123f565b5b61280860a06112b5565b9050600061281884828501612739565b600083015250602061282c8482850161274e565b602083015250604082015167ffffffffffffffff8111156128505761284f6112d0565b5b61285c848285016127a5565b604083015250606061287084828501612313565b6060830152506080612884848285016127d3565b60808301525092915050565b6000602082840312156128a6576128a56111fc565b5b600082015167ffffffffffffffff8111156128c4576128c3611201565b5b6128d0848285016127e8565b91505092915050565b60006128ec6128e78461215c565b6112b5565b9050828152602081018484840111156129085761290761135e565b5b612913848285611600565b509392505050565b600082601f8301126129305761292f611359565b5b81516129408482602086016128d9565b91505092915050565b60006020828403121561295f5761295e6111fc565b5b600082015167ffffffffffffffff81111561297d5761297c611201565b5b6129898482850161291b565b91505092915050565b7f4552524f525f4b45595f554e4b4e4f574e000000000000000000000000000000600082015250565b60006129c8601183611ffa565b91506129d382612992565b602082019050919050565b600060208201905081810360008301526129f7816129bb565b9050919050565b600081519050612a0d816117b8565b92915050565b600081519050612a22816117ee565b92915050565b60006101208284031215612a3f57612a3e61123f565b5b612a4a6101206112b5565b90506000612a5a848285016129fe565b6000830152506020612a6e848285016129fe565b6020830152506040612a828482850161274e565b604083015250606082015167ffffffffffffffff811115612aa657612aa56112d0565b5b612ab2848285016127a5565b6060830152506080612ac684828501612a13565b60808301525060a0612ada84828501612a13565b60a08301525060c0612aee84828501612a13565b60c08301525060e0612b0284828501612313565b60e083015250610100612b1784828501612313565b6101008301525092915050565b600060208284031215612b3a57612b396111fc565b5b600082015167ffffffffffffffff811115612b5857612b57611201565b5b612b6484828501612a28565b91505092915050565b60008160f81b9050919050565b6000612b8582612b6d565b9050919050565b612b9d612b98826115b3565b612b7a565b82525050565b60008160a01b9050919050565b6000612bbb82612ba3565b9050919050565b612bd3612bce826118ee565b612bb0565b82525050565b6000612be58285612b8c565b600182019150612bf58284612bc2565b600c820191508190509392505050565b600081905092915050565b6000612c1b82611fef565b612c258185612c05565b9350612c35818560208601611600565b80840191505092915050565b6000612c4d8284612c10565b915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612cc1826117e4565b9150612ccc836117e4565b9250828201905080821115612ce457612ce3612c87565b5b92915050565b612cf3816118ee565b82525050565b6000604082019050612d0e60008301856123c1565b612d1b6020830184612cea565b939250505056fea26469706673582212202163ec94fb595dbbd39b56337074a1424c037605b8317f2e0bc513c734e071d364736f6c63430008140033",
|
1044
|
+
"linkReferences": {
|
1045
|
+
"contracts/types/Timestamp.sol": {
|
1046
|
+
"TimestampLib": [
|
1047
|
+
{
|
1048
|
+
"length": 20,
|
1049
|
+
"start": 2181
|
1050
|
+
}
|
1051
|
+
]
|
1052
|
+
}
|
1053
|
+
},
|
1054
|
+
"deployedLinkReferences": {
|
1055
|
+
"contracts/types/Timestamp.sol": {
|
1056
|
+
"TimestampLib": [
|
1057
|
+
{
|
1058
|
+
"length": 20,
|
1059
|
+
"start": 2149
|
1060
|
+
}
|
1061
|
+
]
|
1062
|
+
}
|
1063
|
+
}
|
1064
|
+
}
|