@etherisc/gif-next 0.0.2-f752d2a-551 → 0.0.2-f7b8c9f-518
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +71 -0
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +166 -39
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +557 -0
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +119 -39
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +177 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +108 -156
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +67 -139
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +417 -88
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +360 -51
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +913 -530
- package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +1043 -556
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +224 -43
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +51 -1
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +49 -0
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/instance/base/IService.sol/IService.json +174 -53
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +263 -45
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +41 -23
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +4 -4
- package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +220 -52
- package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +55 -54
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +56 -55
- package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +22 -93
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +22 -93
- package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +10 -0
- package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{compensation/ICompensation.sol/ICompensation.json → distribution/IDistribution.sol/IDistribution.json} +2 -2
- package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{compensation/ICompensation.sol/ICompensationModule.json → distribution/IDistribution.sol/IDistributionModule.json} +2 -2
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +61 -51
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +61 -51
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +1 -1
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +29 -14
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +28 -13
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +104 -1
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +126 -5
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +1 -1
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +326 -221
- package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +2 -2
- package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +326 -221
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +350 -79
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +630 -0
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +176 -74
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +446 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +235 -50
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +325 -51
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +335 -53
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +466 -71
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +141 -12
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +5 -0
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +298 -39
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +745 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +489 -120
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +997 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +468 -0
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +127 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +117 -37
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -14
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +158 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +349 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +190 -37
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -14
- package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +4 -0
- package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +557 -0
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
- package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +1 -1
- package/artifacts/contracts/test/TestPool.sol/TestPool.json +417 -88
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +1 -1
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +407 -56
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +204 -36
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +2 -2
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +267 -62
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +89 -25
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +50 -11
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
- 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 +1 -1
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
- package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +99 -0
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.json +40 -2
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
- package/contracts/components/BaseComponent.sol +12 -21
- package/contracts/components/Distribution.sol +155 -0
- package/contracts/components/IBaseComponent.sol +2 -2
- package/contracts/components/IDistributionComponent.sol +46 -0
- package/contracts/components/IPoolComponent.sol +15 -8
- package/contracts/components/IProductComponent.sol +26 -8
- package/contracts/components/Pool.sol +99 -27
- package/contracts/components/Product.sol +204 -22
- package/contracts/instance/IInstance.sol +12 -10
- package/contracts/instance/Instance.sol +28 -9
- package/contracts/instance/base/ComponentServiceBase.sol +13 -6
- package/contracts/instance/base/IInstanceBase.sol +11 -2
- package/contracts/instance/base/IKeyValueStore.sol +4 -3
- package/contracts/instance/base/InstanceBase.sol +19 -10
- package/contracts/instance/base/KeyValueStore.sol +12 -7
- package/contracts/instance/base/Lifecycle.sol +15 -10
- package/contracts/instance/base/ModuleBase.sol +22 -17
- package/contracts/instance/base/ServiceBase.sol +20 -13
- package/contracts/instance/module/access/Access.sol +3 -3
- package/contracts/instance/module/bundle/BundleModule.sol +10 -12
- package/contracts/instance/module/bundle/IBundle.sol +6 -11
- package/contracts/instance/module/component/ComponentModule.sol +34 -58
- package/contracts/instance/module/component/IComponent.sol +7 -32
- package/contracts/instance/module/distribution/DistributionModule.sol +17 -0
- package/contracts/instance/module/distribution/IDistribution.sol +10 -0
- package/contracts/instance/module/policy/IPolicy.sol +13 -10
- package/contracts/instance/module/policy/PolicyModule.sol +35 -20
- package/contracts/instance/module/pool/IPoolModule.sol +4 -4
- package/contracts/instance/module/pool/PoolModule.sol +23 -15
- package/contracts/instance/module/risk/IRisk.sol +18 -2
- package/contracts/instance/module/risk/RiskModule.sol +56 -2
- package/contracts/instance/module/treasury/ITreasury.sol +32 -51
- package/contracts/instance/module/treasury/TokenHandler.sol +2 -2
- package/contracts/instance/module/treasury/TreasuryModule.sol +68 -89
- package/contracts/instance/service/ComponentOwnerService.sol +200 -95
- package/contracts/instance/service/DistributionService.sol +54 -0
- package/contracts/instance/service/IComponentOwnerService.sol +0 -2
- package/contracts/instance/service/IDistributionService.sol +12 -0
- package/contracts/instance/service/IPoolService.sol +7 -0
- package/contracts/instance/service/IProductService.sol +56 -7
- package/contracts/instance/service/PoolService.sol +49 -23
- package/contracts/instance/service/ProductService.sol +248 -92
- package/contracts/registry/ChainNft.sol +43 -15
- package/contracts/registry/IChainNft.sol +3 -2
- package/contracts/registry/IRegistry.sol +42 -26
- package/contracts/registry/IRegistryService.sol +29 -0
- package/contracts/registry/ITransferInterceptor.sol +6 -0
- package/contracts/registry/Registry.sol +384 -274
- package/contracts/registry/RegistryService.sol +368 -0
- package/contracts/registry/RegistryServiceManager.sol +43 -0
- package/contracts/shared/ContractDeployerLib.sol +72 -0
- package/contracts/shared/ERC165.sol +1 -1
- package/contracts/shared/INftOwnable.sol +22 -0
- package/contracts/shared/IRegisterable.sol +9 -16
- package/contracts/shared/IVersionable.sol +55 -11
- package/contracts/shared/NftOwnable.sol +136 -0
- package/contracts/shared/ProxyManager.sol +94 -0
- package/contracts/shared/Registerable.sol +62 -59
- package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
- package/contracts/shared/Versionable.sol +112 -54
- package/contracts/test/TestDistribution.sol +22 -0
- package/contracts/test/TestPool.sol +7 -2
- package/contracts/test/TestProduct.sol +37 -7
- package/contracts/test/TestRegisterable.sol +5 -6
- package/contracts/test/TestService.sol +5 -11
- package/contracts/types/Fee.sol +8 -3
- package/contracts/types/ObjectType.sol +24 -8
- package/contracts/types/ReferralId.sol +48 -0
- package/contracts/types/RiskId.sol +43 -0
- package/contracts/types/RoleId.sol +2 -2
- package/contracts/types/Version.sol +9 -0
- package/package.json +1 -1
- package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
- package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
- package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
- package/contracts/experiment/statemachine/README.md +0 -112
- package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
- package/contracts/instance/module/compensation/ICompensation.sol +0 -10
- package/contracts/registry/IRegistryLinked.sol +0 -8
- package/contracts/shared/IOwnable.sol +0 -6
@@ -20,22 +20,321 @@
|
|
20
20
|
"name": "token",
|
21
21
|
"type": "address"
|
22
22
|
},
|
23
|
+
{
|
24
|
+
"internalType": "bool",
|
25
|
+
"name": "isInterceptor",
|
26
|
+
"type": "bool"
|
27
|
+
},
|
23
28
|
{
|
24
29
|
"internalType": "address",
|
25
30
|
"name": "pool",
|
26
31
|
"type": "address"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"internalType": "address",
|
35
|
+
"name": "distribution",
|
36
|
+
"type": "address"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"components": [
|
40
|
+
{
|
41
|
+
"internalType": "UFixed",
|
42
|
+
"name": "fractionalFee",
|
43
|
+
"type": "uint256"
|
44
|
+
},
|
45
|
+
{
|
46
|
+
"internalType": "uint256",
|
47
|
+
"name": "fixedFee",
|
48
|
+
"type": "uint256"
|
49
|
+
}
|
50
|
+
],
|
51
|
+
"internalType": "struct Fee",
|
52
|
+
"name": "productFee",
|
53
|
+
"type": "tuple"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"components": [
|
57
|
+
{
|
58
|
+
"internalType": "UFixed",
|
59
|
+
"name": "fractionalFee",
|
60
|
+
"type": "uint256"
|
61
|
+
},
|
62
|
+
{
|
63
|
+
"internalType": "uint256",
|
64
|
+
"name": "fixedFee",
|
65
|
+
"type": "uint256"
|
66
|
+
}
|
67
|
+
],
|
68
|
+
"internalType": "struct Fee",
|
69
|
+
"name": "processingFee",
|
70
|
+
"type": "tuple"
|
71
|
+
},
|
72
|
+
{
|
73
|
+
"internalType": "address",
|
74
|
+
"name": "initialOwner",
|
75
|
+
"type": "address"
|
27
76
|
}
|
28
77
|
],
|
29
78
|
"stateMutability": "nonpayable",
|
30
79
|
"type": "constructor"
|
31
80
|
},
|
81
|
+
{
|
82
|
+
"inputs": [
|
83
|
+
{
|
84
|
+
"internalType": "address",
|
85
|
+
"name": "registry",
|
86
|
+
"type": "address"
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"internalType": "NftId",
|
90
|
+
"name": "nftId",
|
91
|
+
"type": "uint96"
|
92
|
+
}
|
93
|
+
],
|
94
|
+
"name": "ErrorAlreadyLinked",
|
95
|
+
"type": "error"
|
96
|
+
},
|
97
|
+
{
|
98
|
+
"inputs": [
|
99
|
+
{
|
100
|
+
"internalType": "address",
|
101
|
+
"name": "contractAddress",
|
102
|
+
"type": "address"
|
103
|
+
}
|
104
|
+
],
|
105
|
+
"name": "ErrorContractNotRegistered",
|
106
|
+
"type": "error"
|
107
|
+
},
|
108
|
+
{
|
109
|
+
"inputs": [
|
110
|
+
{
|
111
|
+
"internalType": "address",
|
112
|
+
"name": "account",
|
113
|
+
"type": "address"
|
114
|
+
}
|
115
|
+
],
|
116
|
+
"name": "ErrorNotOwner",
|
117
|
+
"type": "error"
|
118
|
+
},
|
119
|
+
{
|
120
|
+
"inputs": [
|
121
|
+
{
|
122
|
+
"internalType": "address",
|
123
|
+
"name": "registryAddress",
|
124
|
+
"type": "address"
|
125
|
+
}
|
126
|
+
],
|
127
|
+
"name": "ErrorNotRegistry",
|
128
|
+
"type": "error"
|
129
|
+
},
|
130
|
+
{
|
131
|
+
"inputs": [
|
132
|
+
{
|
133
|
+
"internalType": "address",
|
134
|
+
"name": "registryAddress",
|
135
|
+
"type": "address"
|
136
|
+
}
|
137
|
+
],
|
138
|
+
"name": "ErrorRegisterableNotRegistry",
|
139
|
+
"type": "error"
|
140
|
+
},
|
141
|
+
{
|
142
|
+
"inputs": [],
|
143
|
+
"name": "ErrorRegistryAddressZero",
|
144
|
+
"type": "error"
|
145
|
+
},
|
146
|
+
{
|
147
|
+
"inputs": [
|
148
|
+
{
|
149
|
+
"internalType": "address",
|
150
|
+
"name": "registry",
|
151
|
+
"type": "address"
|
152
|
+
}
|
153
|
+
],
|
154
|
+
"name": "ErrorRegistryAlreadyInitialized",
|
155
|
+
"type": "error"
|
156
|
+
},
|
157
|
+
{
|
158
|
+
"inputs": [],
|
159
|
+
"name": "ErrorRegistryNotInitialized",
|
160
|
+
"type": "error"
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"inputs": [],
|
164
|
+
"name": "InvalidInitialization",
|
165
|
+
"type": "error"
|
166
|
+
},
|
32
167
|
{
|
33
168
|
"inputs": [],
|
34
|
-
"name": "
|
169
|
+
"name": "NotInitializing",
|
170
|
+
"type": "error"
|
171
|
+
},
|
172
|
+
{
|
173
|
+
"anonymous": false,
|
174
|
+
"inputs": [
|
175
|
+
{
|
176
|
+
"indexed": false,
|
177
|
+
"internalType": "uint64",
|
178
|
+
"name": "version",
|
179
|
+
"type": "uint64"
|
180
|
+
}
|
181
|
+
],
|
182
|
+
"name": "Initialized",
|
183
|
+
"type": "event"
|
184
|
+
},
|
185
|
+
{
|
186
|
+
"inputs": [],
|
187
|
+
"name": "REGISTERABLE_LOCATION_V1",
|
35
188
|
"outputs": [
|
189
|
+
{
|
190
|
+
"internalType": "bytes32",
|
191
|
+
"name": "",
|
192
|
+
"type": "bytes32"
|
193
|
+
}
|
194
|
+
],
|
195
|
+
"stateMutability": "view",
|
196
|
+
"type": "function"
|
197
|
+
},
|
198
|
+
{
|
199
|
+
"inputs": [
|
200
|
+
{
|
201
|
+
"internalType": "uint256",
|
202
|
+
"name": "sumInsuredAmount",
|
203
|
+
"type": "uint256"
|
204
|
+
},
|
205
|
+
{
|
206
|
+
"internalType": "RiskId",
|
207
|
+
"name": "riskId",
|
208
|
+
"type": "bytes8"
|
209
|
+
},
|
210
|
+
{
|
211
|
+
"internalType": "uint256",
|
212
|
+
"name": "lifetime",
|
213
|
+
"type": "uint256"
|
214
|
+
},
|
36
215
|
{
|
37
216
|
"internalType": "bytes",
|
38
|
-
"name": "
|
217
|
+
"name": "applicationData",
|
218
|
+
"type": "bytes"
|
219
|
+
}
|
220
|
+
],
|
221
|
+
"name": "calculateNetPremium",
|
222
|
+
"outputs": [
|
223
|
+
{
|
224
|
+
"internalType": "uint256",
|
225
|
+
"name": "netPremiumAmount",
|
226
|
+
"type": "uint256"
|
227
|
+
}
|
228
|
+
],
|
229
|
+
"stateMutability": "view",
|
230
|
+
"type": "function"
|
231
|
+
},
|
232
|
+
{
|
233
|
+
"inputs": [
|
234
|
+
{
|
235
|
+
"internalType": "uint256",
|
236
|
+
"name": "sumInsuredAmount",
|
237
|
+
"type": "uint256"
|
238
|
+
},
|
239
|
+
{
|
240
|
+
"internalType": "RiskId",
|
241
|
+
"name": "riskId",
|
242
|
+
"type": "bytes8"
|
243
|
+
},
|
244
|
+
{
|
245
|
+
"internalType": "uint256",
|
246
|
+
"name": "lifetime",
|
247
|
+
"type": "uint256"
|
248
|
+
},
|
249
|
+
{
|
250
|
+
"internalType": "bytes",
|
251
|
+
"name": "applicationData",
|
252
|
+
"type": "bytes"
|
253
|
+
},
|
254
|
+
{
|
255
|
+
"internalType": "ReferralId",
|
256
|
+
"name": "referralId",
|
257
|
+
"type": "bytes8"
|
258
|
+
},
|
259
|
+
{
|
260
|
+
"internalType": "NftId",
|
261
|
+
"name": "bundleNftId",
|
262
|
+
"type": "uint96"
|
263
|
+
}
|
264
|
+
],
|
265
|
+
"name": "calculatePremium",
|
266
|
+
"outputs": [
|
267
|
+
{
|
268
|
+
"internalType": "uint256",
|
269
|
+
"name": "premiumAmount",
|
270
|
+
"type": "uint256"
|
271
|
+
}
|
272
|
+
],
|
273
|
+
"stateMutability": "view",
|
274
|
+
"type": "function"
|
275
|
+
},
|
276
|
+
{
|
277
|
+
"inputs": [],
|
278
|
+
"name": "getDistributionNftId",
|
279
|
+
"outputs": [
|
280
|
+
{
|
281
|
+
"internalType": "NftId",
|
282
|
+
"name": "distributionNftId",
|
283
|
+
"type": "uint96"
|
284
|
+
}
|
285
|
+
],
|
286
|
+
"stateMutability": "view",
|
287
|
+
"type": "function"
|
288
|
+
},
|
289
|
+
{
|
290
|
+
"inputs": [],
|
291
|
+
"name": "getInitialInfo",
|
292
|
+
"outputs": [
|
293
|
+
{
|
294
|
+
"components": [
|
295
|
+
{
|
296
|
+
"internalType": "NftId",
|
297
|
+
"name": "nftId",
|
298
|
+
"type": "uint96"
|
299
|
+
},
|
300
|
+
{
|
301
|
+
"internalType": "NftId",
|
302
|
+
"name": "parentNftId",
|
303
|
+
"type": "uint96"
|
304
|
+
},
|
305
|
+
{
|
306
|
+
"internalType": "ObjectType",
|
307
|
+
"name": "objectType",
|
308
|
+
"type": "uint8"
|
309
|
+
},
|
310
|
+
{
|
311
|
+
"internalType": "bool",
|
312
|
+
"name": "isInterceptor",
|
313
|
+
"type": "bool"
|
314
|
+
},
|
315
|
+
{
|
316
|
+
"internalType": "address",
|
317
|
+
"name": "objectAddress",
|
318
|
+
"type": "address"
|
319
|
+
},
|
320
|
+
{
|
321
|
+
"internalType": "address",
|
322
|
+
"name": "initialOwner",
|
323
|
+
"type": "address"
|
324
|
+
},
|
325
|
+
{
|
326
|
+
"internalType": "bytes",
|
327
|
+
"name": "data",
|
328
|
+
"type": "bytes"
|
329
|
+
}
|
330
|
+
],
|
331
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
332
|
+
"name": "",
|
333
|
+
"type": "tuple"
|
334
|
+
},
|
335
|
+
{
|
336
|
+
"internalType": "bytes",
|
337
|
+
"name": "",
|
39
338
|
"type": "bytes"
|
40
339
|
}
|
41
340
|
],
|
@@ -61,7 +360,7 @@
|
|
61
360
|
"outputs": [
|
62
361
|
{
|
63
362
|
"internalType": "NftId",
|
64
|
-
"name": "
|
363
|
+
"name": "",
|
65
364
|
"type": "uint96"
|
66
365
|
}
|
67
366
|
],
|
@@ -74,7 +373,7 @@
|
|
74
373
|
"outputs": [
|
75
374
|
{
|
76
375
|
"internalType": "address",
|
77
|
-
"name": "
|
376
|
+
"name": "",
|
78
377
|
"type": "address"
|
79
378
|
}
|
80
379
|
],
|
@@ -83,11 +382,11 @@
|
|
83
382
|
},
|
84
383
|
{
|
85
384
|
"inputs": [],
|
86
|
-
"name": "
|
385
|
+
"name": "getPoolNftId",
|
87
386
|
"outputs": [
|
88
387
|
{
|
89
388
|
"internalType": "NftId",
|
90
|
-
"name": "
|
389
|
+
"name": "poolNftId",
|
91
390
|
"type": "uint96"
|
92
391
|
}
|
93
392
|
],
|
@@ -96,7 +395,7 @@
|
|
96
395
|
},
|
97
396
|
{
|
98
397
|
"inputs": [],
|
99
|
-
"name": "
|
398
|
+
"name": "getProcessingFee",
|
100
399
|
"outputs": [
|
101
400
|
{
|
102
401
|
"components": [
|
@@ -112,7 +411,7 @@
|
|
112
411
|
}
|
113
412
|
],
|
114
413
|
"internalType": "struct Fee",
|
115
|
-
"name": "
|
414
|
+
"name": "processingFee",
|
116
415
|
"type": "tuple"
|
117
416
|
}
|
118
417
|
],
|
@@ -121,20 +420,7 @@
|
|
121
420
|
},
|
122
421
|
{
|
123
422
|
"inputs": [],
|
124
|
-
"name": "
|
125
|
-
"outputs": [
|
126
|
-
{
|
127
|
-
"internalType": "NftId",
|
128
|
-
"name": "poolNftId",
|
129
|
-
"type": "uint96"
|
130
|
-
}
|
131
|
-
],
|
132
|
-
"stateMutability": "view",
|
133
|
-
"type": "function"
|
134
|
-
},
|
135
|
-
{
|
136
|
-
"inputs": [],
|
137
|
-
"name": "getProcessingFee",
|
423
|
+
"name": "getProductFee",
|
138
424
|
"outputs": [
|
139
425
|
{
|
140
426
|
"components": [
|
@@ -150,7 +436,7 @@
|
|
150
436
|
}
|
151
437
|
],
|
152
438
|
"internalType": "struct Fee",
|
153
|
-
"name": "
|
439
|
+
"name": "productFee",
|
154
440
|
"type": "tuple"
|
155
441
|
}
|
156
442
|
],
|
@@ -163,7 +449,7 @@
|
|
163
449
|
"outputs": [
|
164
450
|
{
|
165
451
|
"internalType": "contract IRegistry",
|
166
|
-
"name": "
|
452
|
+
"name": "",
|
167
453
|
"type": "address"
|
168
454
|
}
|
169
455
|
],
|
@@ -183,19 +469,6 @@
|
|
183
469
|
"stateMutability": "view",
|
184
470
|
"type": "function"
|
185
471
|
},
|
186
|
-
{
|
187
|
-
"inputs": [],
|
188
|
-
"name": "getType",
|
189
|
-
"outputs": [
|
190
|
-
{
|
191
|
-
"internalType": "ObjectType",
|
192
|
-
"name": "",
|
193
|
-
"type": "uint8"
|
194
|
-
}
|
195
|
-
],
|
196
|
-
"stateMutability": "pure",
|
197
|
-
"type": "function"
|
198
|
-
},
|
199
472
|
{
|
200
473
|
"inputs": [],
|
201
474
|
"name": "getWallet",
|
@@ -211,21 +484,15 @@
|
|
211
484
|
},
|
212
485
|
{
|
213
486
|
"inputs": [],
|
214
|
-
"name": "
|
487
|
+
"name": "linkToRegisteredNftId",
|
215
488
|
"outputs": [],
|
216
489
|
"stateMutability": "nonpayable",
|
217
490
|
"type": "function"
|
218
491
|
},
|
219
492
|
{
|
220
493
|
"inputs": [],
|
221
|
-
"name": "
|
222
|
-
"outputs": [
|
223
|
-
{
|
224
|
-
"internalType": "NftId",
|
225
|
-
"name": "componentId",
|
226
|
-
"type": "uint96"
|
227
|
-
}
|
228
|
-
],
|
494
|
+
"name": "lock",
|
495
|
+
"outputs": [],
|
229
496
|
"stateMutability": "nonpayable",
|
230
497
|
"type": "function"
|
231
498
|
},
|
@@ -245,7 +512,7 @@
|
|
245
512
|
}
|
246
513
|
],
|
247
514
|
"internalType": "struct Fee",
|
248
|
-
"name": "
|
515
|
+
"name": "productFee",
|
249
516
|
"type": "tuple"
|
250
517
|
},
|
251
518
|
{
|
@@ -298,8 +565,50 @@
|
|
298
565
|
"type": "function"
|
299
566
|
}
|
300
567
|
],
|
301
|
-
"bytecode": "0x60e06040523480156200001157600080fd5b50604051620015543803806200155483398101604081905262000034916200057c565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff1916600117905583838382826001600160a01b038216620000d15760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6001600160a01b03821660808190526040516301ffc9a760e01b81526306ecd8ef60e01b60048201526301ffc9a790602401602060405180830381865afa15801562000121573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001479190620005e0565b620001955760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f52454749535452590000000000006044820152606401620000c8565b6001600160601b03811660a081905260805160405163e74d052f60e01b815260048101929092526001600160a01b03169063e74d052f90602401602060405180830381865afa158015620001ed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002139190620005e0565b6200026d5760405162461bcd60e51b815260206004820152602360248201527f4552524f523a5247422d3031323a504152454e545f4e4f545f5245474953544560448201526214915160ea1b6064820152608401620000c8565b3360c052631dfba64760e11b60009081526020527f95e5a2564f7af40498dc043c6da135e06324c5edb1f60c2bf4dcdf2da207fa45805460ff1916600117905550506080516040516305247a1760e51b81526001600160601b03841660048201526000916001600160a01b03169063a48f42e090602401600060405180830381865afa15801562000302573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200032c91908101906200070c565b6060810151600580546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b8152638de54b9b60e01b6004820152919250906301ffc9a790602401602060405180830381865afa15801562000394573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003ba9190620005e0565b620003e25760405162461bcd60e51b81526020600482015260006024820152604401620000c8565b600560009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000436573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200045c9190620007e6565b600180546001600160a01b039283166001600160a01b03199182161790915560038054821630179055600480549483169490911693909317835560055460408051634288121d60e01b81529051919092169550634288121d9450818401936020935090918290030181865afa158015620004da573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005009190620007e6565b600680546001600160a01b039283166001600160a01b031991821617909155600780549390921692169190911790555062000806915050565b6001600160a01b03811681146200054f57600080fd5b50565b80516200055f8162000539565b919050565b80516001600160601b03811681146200055f57600080fd5b600080600080608085870312156200059357600080fd5b8451620005a08162000539565b9350620005b06020860162000564565b92506040850151620005c28162000539565b6060860151909250620005d58162000539565b939692955090935050565b600060208284031215620005f357600080fd5b815180151581146200060457600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b03811182821017156200064657620006466200060b565b60405290565b604051601f8201601f191681016001600160401b03811182821017156200067757620006776200060b565b604052919050565b600082601f8301126200069157600080fd5b81516001600160401b03811115620006ad57620006ad6200060b565b6020620006c3601f8301601f191682016200064c565b8281528582848701011115620006d857600080fd5b60005b83811015620006f8578581018301518282018401528201620006db565b506000928101909101919091529392505050565b6000602082840312156200071f57600080fd5b81516001600160401b03808211156200073757600080fd5b9083019060c082860312156200074c57600080fd5b6200075662000621565b620007618362000564565b8152620007716020840162000564565b6020820152604083015160ff811681146200078b57600080fd5b60408201526200079e6060840162000552565b6060820152620007b16080840162000552565b608082015260a083015182811115620007c957600080fd5b620007d7878286016200067f565b60a08301525095945050505050565b600060208284031215620007f957600080fd5b8151620006048162000539565b60805160a05160c051610cf46200086060003960006105fc015260006101c1015260008181610201015281816102d80152818161036e015281816104c4015281816105240152818161057d015261063f0152610cf46000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c80635ab1bd53116100a2578063b6b412ba11610071578063b6b412ba1461023f578063bc74aab014610252578063daafed4014610267578063de7b5d141461026f578063f83d08ba1461028057600080fd5b80635ab1bd53146101ff578063644c45e014610225578063893d20e81461022d578063a69df4b51461023557600080fd5b80631bdd6b76116100de5780631bdd6b76146101a657806321df0da7146101ae57806331b62a3b146101bf5780633bc5de30146101e557600080fd5b806301ffc9a714610110578063132996041461015257806315dae03e146101775780631aa3a00814610186575b600080fd5b61013d61011e3660046109ac565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6003546001600160a01b03165b6040516001600160a01b039091168152602001610149565b60405160648152602001610149565b61018e61028d565b6040516001600160601b039091168152602001610149565b61018e61049f565b6004546001600160a01b031661015f565b7f000000000000000000000000000000000000000000000000000000000000000061018e565b6040805160208101825260008152905161014991906109dd565b7f000000000000000000000000000000000000000000000000000000000000000061015f565b61018e61050c565b61015f61055b565b61023d6106b8565b005b61023d61024d366004610a92565b610750565b61025a6107f0565b6040516101499190610ac7565b61025a61088f565b6005546001600160a01b031661015f565b61023d61092e565b905090565b600061029761055b565b6001600160a01b0316336001600160a01b0316146102d65760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661034c5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a434f422d3030313a52454749535452595f5a45524f000000000060448201526064016102cd565b60055460405163c3c5a54760e01b81526001600160a01b0391821660048201527f00000000000000000000000000000000000000000000000000000000000000009091169063c3c5a54790602401602060405180830381865afa1580156103b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103db9190610ade565b6104315760405162461bcd60e51b815260206004820152602160248201527f4552524f523a434f423a494e5354414e43455f4e4f545f5245474953544552456044820152601160fa1b60648201526084016102cd565b600154604051632210724360e11b81523060048201526001600160a01b0390911690634420e486906024016020604051808303816000875af115801561047b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102889190610b1c565b600754604051636939560f60e11b81526001600160a01b0391821660048201526000917f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e906024015b602060405180830381865afa15801561047b573d6000803e3d6000fd5b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e906024016104ef565b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa1580156105c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e89190610b1c565b90506105f5816000610996565b15610621577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa15801561068e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b29190610b4f565b91505090565b6106c061055b565b6001600160a01b0316336001600160a01b0316146106f05760405162461bcd60e51b81526004016102cd90610b6c565b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b15801561073657600080fd5b505af115801561074a573d6000803e3d6000fd5b50505050565b61075861055b565b6001600160a01b0316336001600160a01b0316146107885760405162461bcd60e51b81526004016102cd90610b6c565b600654604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba906107ba9085908590600401610ba3565b600060405180830381600087803b1580156107d457600080fd5b505af11580156107e8573d6000803e3d6000fd5b505050505050565b60408051808201909152600080825260208201526005546001600160a01b0316634fd077f561081d61050c565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161012060405180830381865afa158015610862573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108869190610bf9565b60a00151905090565b60408051808201909152600080825260208201526005546001600160a01b0316634fd077f56108bc61050c565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161012060405180830381865afa158015610901573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109259190610bf9565b60c00151905090565b61093661055b565b6001600160a01b0316336001600160a01b0316146109665760405162461bcd60e51b81526004016102cd90610b6c565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a79060240161071c565b6001600160601b03828116908216145b92915050565b6000602082840312156109be57600080fd5b81356001600160e01b0319811681146109d657600080fd5b9392505050565b600060208083528351808285015260005b81811015610a0a578581018301518582016040015282016109ee565b506000604082860101526040601f19601f8301168501019250505092915050565b6040805190810167ffffffffffffffff81118282101715610a5c57634e487b7160e01b600052604160045260246000fd5b60405290565b600060408284031215610a7457600080fd5b610a7c610a2b565b9050813581526020820135602082015292915050565b60008060808385031215610aa557600080fd5b610aaf8484610a62565b9150610abe8460408501610a62565b90509250929050565b8151815260208083015190820152604081016109a6565b600060208284031215610af057600080fd5b815180151581146109d657600080fd5b80516001600160601b0381168114610b1757600080fd5b919050565b600060208284031215610b2e57600080fd5b6109d682610b00565b6001600160a01b0381168114610b4c57600080fd5b50565b600060208284031215610b6157600080fd5b81516109d681610b37565b60208082526017908201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b8251815260208084015181830152825160408301528201516060820152608081016109d6565b600060408284031215610bdb57600080fd5b610be3610a2b565b9050815181526020820151602082015292915050565b60006101208284031215610c0c57600080fd5b60405160e0810181811067ffffffffffffffff82111715610c3d57634e487b7160e01b600052604160045260246000fd5b604052610c4983610b00565b8152610c5760208401610b00565b6020820152610c6860408401610b00565b60408201526060830151610c7b81610b37565b60608201526080830151610c8e81610b37565b6080820152610ca08460a08501610bc9565b60a0820152610cb28460e08501610bc9565b60c0820152939250505056fea2646970667358221220f743d4ca5f40ffc70c8455b2b9d3b37bc272833eaa55252eca2214d1183da9eb64736f6c63430008140033",
|
302
|
-
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061010b5760003560e01c80635ab1bd53116100a2578063b6b412ba11610071578063b6b412ba1461023f578063bc74aab014610252578063daafed4014610267578063de7b5d141461026f578063f83d08ba1461028057600080fd5b80635ab1bd53146101ff578063644c45e014610225578063893d20e81461022d578063a69df4b51461023557600080fd5b80631bdd6b76116100de5780631bdd6b76146101a657806321df0da7146101ae57806331b62a3b146101bf5780633bc5de30146101e557600080fd5b806301ffc9a714610110578063132996041461015257806315dae03e146101775780631aa3a00814610186575b600080fd5b61013d61011e3660046109ac565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6003546001600160a01b03165b6040516001600160a01b039091168152602001610149565b60405160648152602001610149565b61018e61028d565b6040516001600160601b039091168152602001610149565b61018e61049f565b6004546001600160a01b031661015f565b7f000000000000000000000000000000000000000000000000000000000000000061018e565b6040805160208101825260008152905161014991906109dd565b7f000000000000000000000000000000000000000000000000000000000000000061015f565b61018e61050c565b61015f61055b565b61023d6106b8565b005b61023d61024d366004610a92565b610750565b61025a6107f0565b6040516101499190610ac7565b61025a61088f565b6005546001600160a01b031661015f565b61023d61092e565b905090565b600061029761055b565b6001600160a01b0316336001600160a01b0316146102d65760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661034c5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a434f422d3030313a52454749535452595f5a45524f000000000060448201526064016102cd565b60055460405163c3c5a54760e01b81526001600160a01b0391821660048201527f00000000000000000000000000000000000000000000000000000000000000009091169063c3c5a54790602401602060405180830381865afa1580156103b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103db9190610ade565b6104315760405162461bcd60e51b815260206004820152602160248201527f4552524f523a434f423a494e5354414e43455f4e4f545f5245474953544552456044820152601160fa1b60648201526084016102cd565b600154604051632210724360e11b81523060048201526001600160a01b0390911690634420e486906024016020604051808303816000875af115801561047b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102889190610b1c565b600754604051636939560f60e11b81526001600160a01b0391821660048201526000917f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e906024015b602060405180830381865afa15801561047b573d6000803e3d6000fd5b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e906024016104ef565b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa1580156105c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e89190610b1c565b90506105f5816000610996565b15610621577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa15801561068e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b29190610b4f565b91505090565b6106c061055b565b6001600160a01b0316336001600160a01b0316146106f05760405162461bcd60e51b81526004016102cd90610b6c565b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b15801561073657600080fd5b505af115801561074a573d6000803e3d6000fd5b50505050565b61075861055b565b6001600160a01b0316336001600160a01b0316146107885760405162461bcd60e51b81526004016102cd90610b6c565b600654604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba906107ba9085908590600401610ba3565b600060405180830381600087803b1580156107d457600080fd5b505af11580156107e8573d6000803e3d6000fd5b505050505050565b60408051808201909152600080825260208201526005546001600160a01b0316634fd077f561081d61050c565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161012060405180830381865afa158015610862573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108869190610bf9565b60a00151905090565b60408051808201909152600080825260208201526005546001600160a01b0316634fd077f56108bc61050c565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161012060405180830381865afa158015610901573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109259190610bf9565b60c00151905090565b61093661055b565b6001600160a01b0316336001600160a01b0316146109665760405162461bcd60e51b81526004016102cd90610b6c565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a79060240161071c565b6001600160601b03828116908216145b92915050565b6000602082840312156109be57600080fd5b81356001600160e01b0319811681146109d657600080fd5b9392505050565b600060208083528351808285015260005b81811015610a0a578581018301518582016040015282016109ee565b506000604082860101526040601f19601f8301168501019250505092915050565b6040805190810167ffffffffffffffff81118282101715610a5c57634e487b7160e01b600052604160045260246000fd5b60405290565b600060408284031215610a7457600080fd5b610a7c610a2b565b9050813581526020820135602082015292915050565b60008060808385031215610aa557600080fd5b610aaf8484610a62565b9150610abe8460408501610a62565b90509250929050565b8151815260208083015190820152604081016109a6565b600060208284031215610af057600080fd5b815180151581146109d657600080fd5b80516001600160601b0381168114610b1757600080fd5b919050565b600060208284031215610b2e57600080fd5b6109d682610b00565b6001600160a01b0381168114610b4c57600080fd5b50565b600060208284031215610b6157600080fd5b81516109d681610b37565b60208082526017908201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b8251815260208084015181830152825160408301528201516060820152608081016109d6565b600060408284031215610bdb57600080fd5b610be3610a2b565b9050815181526020820151602082015292915050565b60006101208284031215610c0c57600080fd5b60405160e0810181811067ffffffffffffffff82111715610c3d57634e487b7160e01b600052604160045260246000fd5b604052610c4983610b00565b8152610c5760208401610b00565b6020820152610c6860408401610b00565b60408201526060830151610c7b81610b37565b60608201526080830151610c8e81610b37565b6080820152610ca08460a08501610bc9565b60a0820152610cb28460e08501610bc9565b60c0820152939250505056fea2646970667358221220f743d4ca5f40ffc70c8455b2b9d3b37bc272833eaa55252eca2214d1183da9eb64736f6c63430008140033",
|
303
|
-
"linkReferences": {
|
304
|
-
|
568
|
+
"bytecode": "0x60806040523480156200001157600080fd5b5060405162002618380380620026188339810160408190526200003491620008cc565b888888606e6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff191660011790558985600280546001600160a01b03191633179055604080516020810190915260008152620000a88787868686866200054a565b6000620000bd6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156200010d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000137919081019062000a36565b6080810151600780546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b8152630de7806f60e41b6004820152919250906301ffc9a790602401602060405180830381865afa1580156200019f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001c5919062000b1c565b620001f15760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b600760009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000245573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200026b919062000b41565b600380546001600160a01b03199081166001600160a01b0393841617909155600580543090831617905560068054909116918816919091179055631b1599eb60e21b60009081526020527f82dc1aafdf8e16d475718790c9464a2912866acb395e292abd1ea37be80f5b28805460ff191660011790555050505050505050600760009054906101000a90046001600160a01b03166001600160a01b0316634288121d6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200033d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000363919062000b41565b600880546001600160a01b03199081166001600160a01b0393841617909155600980548216888416179055600a80549091168683161790558351600b55602080850151600c558351600d55830151600e5560015416600954604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e90602401602060405180830381865afa15801562000402573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000428919062000b61565b600f80546001600160601b0319166001600160601b03929092169190911790556200045b6001546001600160a01b031690565b600a54604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e90602401602060405180830381865afa158015620004a5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004cb919062000b61565b600f80546001600160601b03929092166c0100000000000000000000000002600160601b600160c01b03199092169190911790556379fc0e7160e11b60009081526020527fae37458bb8945ae7571d1722238fea83f3c5619cf829a972c67f136a0bac29d2805460ff1916600117905550505050505050505062000cda565b6200055682876200061b565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d010000000000000000000000000086151502178155905060018101620005d5838262000c0e565b506303fb044760e21b60009081526020527fb43e4f3791bfcdefa3a0fbe2a5555f8d6490b90e01de0ff40c66f18b49b562c5805460ff1916600117905550505050505050565b600280546001600160a01b0319166001600160a01b038416179055620006418162000645565b5050565b6001546001600160a01b031615620006805760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401620001e8565b6001600160a01b038116620006a85760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003620006e05760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001e8565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632c1c764b60e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156200075d575060408051601f3d908101601f191682019092526200075a9181019062000b1c565b60015b620007875760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001e8565b80620006415760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620001e8565b50565b6001600160a01b0381168114620007b257600080fd5b8051620007d881620007b5565b919050565b80516001600160601b0381168114620007d857600080fd5b80518015158114620007d857600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171562000841576200084162000806565b60405290565b604051601f8201601f191681016001600160401b038111828210171562000872576200087262000806565b604052919050565b6000604082840312156200088d57600080fd5b604080519081016001600160401b0381118282101715620008b257620008b262000806565b604052825181526020928301519281019290925250919050565b60008060008060008060008060006101608a8c031215620008ec57600080fd5b8951620008f981620007b5565b98506200090960208b01620007dd565b975060408a01516200091b81620007b5565b96506200092b60608b01620007f5565b955060808a01516200093d81620007b5565b60a08b01519095506200095081620007b5565b9350620009618b60c08c016200087a565b9250620009738b6101008c016200087a565b91506101408a01516200098681620007b5565b809150509295985092959850929598565b805160ff81168114620007d857600080fd5b600082601f830112620009bb57600080fd5b81516001600160401b03811115620009d757620009d762000806565b6020620009ed601f8301601f1916820162000847565b828152858284870101111562000a0257600080fd5b60005b8381101562000a2257858101830151828201840152820162000a05565b506000928101909101919091529392505050565b60006020828403121562000a4957600080fd5b81516001600160401b038082111562000a6157600080fd5b9083019060e0828603121562000a7657600080fd5b62000a806200081c565b62000a8b83620007dd565b815262000a9b60208401620007dd565b602082015262000aae6040840162000997565b604082015262000ac160608401620007f5565b606082015262000ad460808401620007cb565b608082015262000ae760a08401620007cb565b60a082015260c08301518281111562000aff57600080fd5b62000b0d87828601620009a9565b60c08301525095945050505050565b60006020828403121562000b2f57600080fd5b62000b3a82620007f5565b9392505050565b60006020828403121562000b5457600080fd5b815162000b3a81620007b5565b60006020828403121562000b7457600080fd5b62000b3a82620007dd565b600181811c9082168062000b9457607f821691505b60208210810362000bb557634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000c0957600081815260208120601f850160051c8101602086101562000be45750805b601f850160051c820191505b8181101562000c055782815560010162000bf0565b5050505b505050565b81516001600160401b0381111562000c2a5762000c2a62000806565b62000c428162000c3b845462000b7f565b8462000bbb565b602080601f83116001811462000c7a576000841562000c615750858301515b600019600386901b1c1916600185901b17855562000c05565b600085815260208120601f198616915b8281101562000cab5788860151825594840194600190910190840162000c8a565b508582101562000cca5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61192e8062000cea6000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c80635ab1bd53116100ad578063b6b412ba11610071578063b6b412ba14610295578063daafed40146102a8578063db6dcc95146102b0578063de7b5d14146102b8578063f83d08ba146102c957600080fd5b80635ab1bd53146102495780635e78426b1461025a578063644c45e01461026d578063893d20e814610285578063a69df4b51461028d57600080fd5b80631380bf23116100f45780631380bf23146101c4578063138461e0146101e75780631bdd6b76146101f15780631eff4b221461021157806321df0da71461023857600080fd5b806301ffc9a7146101265780630fec111c1461016857806312abb9b31461017e578063132996041461019f575b600080fd5b610153610134366004610f7b565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101706102d1565b60405161015f929190610ffc565b61019161018c3660046111fd565b6104fb565b60405190815260200161015f565b6005546001600160a01b03165b6040516001600160a01b03909116815260200161015f565b6101cc610587565b6040805182518152602092830151928101929092520161015f565b6101ef6106c8565b005b6101f96108ea565b6040516001600160601b03909116815260200161015f565b6101917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6006546001600160a01b03166101ac565b6001546001600160a01b03166101ac565b610191610268366004611286565b610971565b600154600160a01b90046001600160601b03166101f9565b6101ac610987565b6101ef610aa0565b6101ef6102a3366004611319565b610b4e565b6101cc610c04565b6101f9610d45565b6007546001600160a01b03166101ac565b6101ef610d8a565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201819052909180610315610e07565b91509150600080600960009054906101000a90046001600160a01b03166001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561036f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261039791908101906113ec565b915091506000806000838060200190518101906103b49190611515565b6040805161012081018252600f546001600160601b038082168352600160601b909104166020808301919091526006546001600160a01b03168284015282518084018452600b548152600c5481830152606083015282518084018452600d548152600e5491810191909152608082015260a0810185905260c0810184905260e081018390528151632bd182d360e01b81528251959b509399509197508d96509094506101008501935073__$a23651848365a6a5ca15f07b4331037f48$__92632bd182d39260048082019392918290030181865af415801561049a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104be91906115b9565b90526005546040516104dd92916001600160a01b0316906020016115d5565b60405160208183030381529060405298509850505050505050509091565b600854604051639cdaa7f960e01b81526000916001600160a01b031690639cdaa7f9906105369089908b908a908a9089908b906004016116cb565b60a060405180830381865afa158015610553573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105779190611722565b50929a9950505050505050505050565b6040805180820190915260008082526020820152600154600090600160a01b90046001600160601b031660075460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610603573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106279190611762565b156106ac5760075460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa15801561067e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106a2919061177d565b6060015191505090565b505060408051808201909152600b548152600c54602082015290565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561072a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074e9190611762565b15610795576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166107be5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610807573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061082b9190611762565b610853576040516372657a5160e01b81526001600160a01b038216600482015260240161078c565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa15801561089d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c1919061183c565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60006108fe6001546001600160a01b031690565b600954604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024015b602060405180830381865afa158015610948573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096c919061183c565b905090565b600061097e600a86611859565b95945050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156109ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a109190611762565b15610a9057600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610a6c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096c919061187b565b506002546001600160a01b031690565b6000610aaa610987565b90506001600160a01b03811615801590610acd5750336001600160a01b03821614155b15610aed5760405163700dd81160e01b815233600482015260240161078c565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610b3357600080fd5b505af1158015610b47573d6000803e3d6000fd5b5050505050565b6000610b58610987565b90506001600160a01b03811615801590610b7b5750336001600160a01b03821614155b15610b9b5760405163700dd81160e01b815233600482015260240161078c565b600854604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba90610bcd9086908690600401611898565b600060405180830381600087803b158015610be757600080fd5b505af1158015610bfb573d6000803e3d6000fd5b50505050505050565b6040805180820190915260008082526020820152600154600090600160a01b90046001600160601b031660075460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610c80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca49190611762565b15610d295760075460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610cfb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1f919061177d565b6080015191505090565b505060408051808201909152600d548152600e54602082015290565b6000610d596001546001600160a01b031690565b600a54604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e9060240161092b565b6000610d94610987565b90506001600160a01b03811615801590610db75750336001600160a01b03821614155b15610dd75760405163700dd81160e01b815233600482015260240161078c565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610b19565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610e7c600090565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610ec4610987565b6001600160a01b03168152602001826001018054610ee1906118be565b80601f0160208091040260200160405190810160405280929190818152602001828054610f0d906118be565b8015610f5a5780601f10610f2f57610100808354040283529160200191610f5a565b820191906000526020600020905b815481529060010190602001808311610f3d57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b600060208284031215610f8d57600080fd5b81356001600160e01b031981168114610fa557600080fd5b9392505050565b60005b83811015610fc7578181015183820152602001610faf565b50506000910152565b60008151808452610fe8816020860160208601610fac565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161104060a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152611086610120840182610fd0565b9050828103602084015261097e8185610fd0565b6001600160c01b0319811681146110b057600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156110ec576110ec6110b3565b60405290565b60405160e0810167ffffffffffffffff811182821017156110ec576110ec6110b3565b604051610120810167ffffffffffffffff811182821017156110ec576110ec6110b3565b604051601f8201601f1916810167ffffffffffffffff81118282101715611162576111626110b3565b604052919050565b600067ffffffffffffffff821115611184576111846110b3565b50601f01601f191660200190565b600082601f8301126111a357600080fd5b81356111b66111b18261116a565b611139565b8181528460208386010111156111cb57600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160601b03811681146110b057600080fd5b60008060008060008060c0878903121561121657600080fd5b8635955060208701356112288161109a565b945060408701359350606087013567ffffffffffffffff81111561124b57600080fd5b61125789828a01611192565b93505060808701356112688161109a565b915060a0870135611278816111e8565b809150509295509295509295565b6000806000806080858703121561129c57600080fd5b8435935060208501356112ae8161109a565b925060408501359150606085013567ffffffffffffffff8111156112d157600080fd5b6112dd87828801611192565b91505092959194509250565b6000604082840312156112fb57600080fd5b6113036110c9565b9050813581526020820135602082015292915050565b6000806080838503121561132c57600080fd5b61133684846112e9565b915061134584604085016112e9565b90509250929050565b8051611359816111e8565b919050565b805160ff8116811461135957600080fd5b8051801515811461135957600080fd5b6001600160a01b03811681146110b057600080fd5b80516113598161137f565b600082601f8301126113b057600080fd5b81516113be6111b18261116a565b8181528460208386010111156113d357600080fd5b6113e4826020830160208701610fac565b949350505050565b600080604083850312156113ff57600080fd5b825167ffffffffffffffff8082111561141757600080fd5b9084019060e0828703121561142b57600080fd5b6114336110f2565b61143c8361134e565b815261144a6020840161134e565b602082015261145b6040840161135e565b604082015261146c6060840161136f565b606082015261147d60808401611394565b608082015261148e60a08401611394565b60a082015260c0830151828111156114a557600080fd5b6114b18882860161139f565b60c08301525060208601519094509150808211156114ce57600080fd5b506114db8582860161139f565b9150509250929050565b6000604082840312156114f757600080fd5b6114ff6110c9565b9050815181526020820151602082015292915050565b60008060008060008086880361014081121561153057600080fd5b604081121561153e57600080fd5b506115476110c9565b6115508861136f565b81526020880151602082015280965050604087015161156e8161137f565b606088015190955061157f8161137f565b935061158e88608089016114e5565b925061159d8860c089016114e5565b91506115ad8861010089016114e5565b90509295509295509295565b6000604082840312156115cb57600080fd5b610fa583836114e5565b82516001600160601b03168152602080840151610200830191611602908401826001600160601b03169052565b50604084015161161d60408401826001600160a01b03169052565b50606084015161163a606084018280518252602090810151910152565b506080840151805160a0840152602081015160c08401525060a0840151805160e084015260208101516101008401525060c0840151805161012084015260208101516101408401525060e0840151805161016084015260208101516101808401525061010084015180516101a084015260208101516101c0840152506001600160a01b0383166101e0830152610fa5565b600067ffffffffffffffff60c01b808916835287602084015286604084015260c060608401526116fe60c0840187610fd0565b6001600160601b039590951660808401529290921660a09091015250949350505050565b600080600080600060a0868803121561173a57600080fd5b5050835160208501516040860151606087015160809097015192989197509594509092509050565b60006020828403121561177457600080fd5b610fa58261136f565b60006101e0828403121561179057600080fd5b611798611115565b6117a18361134e565b81526117af6020840161134e565b60208201526117c060408401611394565b60408201526117d284606085016114e5565b60608201526117e48460a085016114e5565b60808201526117f68460e085016114e5565b60a08201526118098461012085016114e5565b60c082015261181c8461016085016114e5565b60e082015261182f846101a085016114e5565b6101008201529392505050565b60006020828403121561184e57600080fd5b8151610fa5816111e8565b60008261187657634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561188d57600080fd5b8151610fa58161137f565b825181526020808401518183015282516040830152820151606082015260808101610fa5565b600181811c908216806118d257607f821691505b6020821081036118f257634e487b7160e01b600052602260045260246000fd5b5091905056fea2646970667358221220465ab3938a5adbc6d018d850038e33e877ef67fee7f9438882db380e2f6ba81d64736f6c63430008140033",
|
569
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101215760003560e01c80635ab1bd53116100ad578063b6b412ba11610071578063b6b412ba14610295578063daafed40146102a8578063db6dcc95146102b0578063de7b5d14146102b8578063f83d08ba146102c957600080fd5b80635ab1bd53146102495780635e78426b1461025a578063644c45e01461026d578063893d20e814610285578063a69df4b51461028d57600080fd5b80631380bf23116100f45780631380bf23146101c4578063138461e0146101e75780631bdd6b76146101f15780631eff4b221461021157806321df0da71461023857600080fd5b806301ffc9a7146101265780630fec111c1461016857806312abb9b31461017e578063132996041461019f575b600080fd5b610153610134366004610f7b565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101706102d1565b60405161015f929190610ffc565b61019161018c3660046111fd565b6104fb565b60405190815260200161015f565b6005546001600160a01b03165b6040516001600160a01b03909116815260200161015f565b6101cc610587565b6040805182518152602092830151928101929092520161015f565b6101ef6106c8565b005b6101f96108ea565b6040516001600160601b03909116815260200161015f565b6101917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6006546001600160a01b03166101ac565b6001546001600160a01b03166101ac565b610191610268366004611286565b610971565b600154600160a01b90046001600160601b03166101f9565b6101ac610987565b6101ef610aa0565b6101ef6102a3366004611319565b610b4e565b6101cc610c04565b6101f9610d45565b6007546001600160a01b03166101ac565b6101ef610d8a565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201819052909180610315610e07565b91509150600080600960009054906101000a90046001600160a01b03166001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561036f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261039791908101906113ec565b915091506000806000838060200190518101906103b49190611515565b6040805161012081018252600f546001600160601b038082168352600160601b909104166020808301919091526006546001600160a01b03168284015282518084018452600b548152600c5481830152606083015282518084018452600d548152600e5491810191909152608082015260a0810185905260c0810184905260e081018390528151632bd182d360e01b81528251959b509399509197508d96509094506101008501935073__$a23651848365a6a5ca15f07b4331037f48$__92632bd182d39260048082019392918290030181865af415801561049a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104be91906115b9565b90526005546040516104dd92916001600160a01b0316906020016115d5565b60405160208183030381529060405298509850505050505050509091565b600854604051639cdaa7f960e01b81526000916001600160a01b031690639cdaa7f9906105369089908b908a908a9089908b906004016116cb565b60a060405180830381865afa158015610553573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105779190611722565b50929a9950505050505050505050565b6040805180820190915260008082526020820152600154600090600160a01b90046001600160601b031660075460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610603573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106279190611762565b156106ac5760075460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa15801561067e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106a2919061177d565b6060015191505090565b505060408051808201909152600b548152600c54602082015290565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561072a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074e9190611762565b15610795576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166107be5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610807573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061082b9190611762565b610853576040516372657a5160e01b81526001600160a01b038216600482015260240161078c565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa15801561089d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c1919061183c565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60006108fe6001546001600160a01b031690565b600954604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024015b602060405180830381865afa158015610948573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096c919061183c565b905090565b600061097e600a86611859565b95945050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156109ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a109190611762565b15610a9057600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610a6c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096c919061187b565b506002546001600160a01b031690565b6000610aaa610987565b90506001600160a01b03811615801590610acd5750336001600160a01b03821614155b15610aed5760405163700dd81160e01b815233600482015260240161078c565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610b3357600080fd5b505af1158015610b47573d6000803e3d6000fd5b5050505050565b6000610b58610987565b90506001600160a01b03811615801590610b7b5750336001600160a01b03821614155b15610b9b5760405163700dd81160e01b815233600482015260240161078c565b600854604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba90610bcd9086908690600401611898565b600060405180830381600087803b158015610be757600080fd5b505af1158015610bfb573d6000803e3d6000fd5b50505050505050565b6040805180820190915260008082526020820152600154600090600160a01b90046001600160601b031660075460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610c80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca49190611762565b15610d295760075460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610cfb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1f919061177d565b6080015191505090565b505060408051808201909152600d548152600e54602082015290565b6000610d596001546001600160a01b031690565b600a54604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e9060240161092b565b6000610d94610987565b90506001600160a01b03811615801590610db75750336001600160a01b03821614155b15610dd75760405163700dd81160e01b815233600482015260240161078c565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610b19565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610e7c600090565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610ec4610987565b6001600160a01b03168152602001826001018054610ee1906118be565b80601f0160208091040260200160405190810160405280929190818152602001828054610f0d906118be565b8015610f5a5780601f10610f2f57610100808354040283529160200191610f5a565b820191906000526020600020905b815481529060010190602001808311610f3d57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b600060208284031215610f8d57600080fd5b81356001600160e01b031981168114610fa557600080fd5b9392505050565b60005b83811015610fc7578181015183820152602001610faf565b50506000910152565b60008151808452610fe8816020860160208601610fac565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161104060a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152611086610120840182610fd0565b9050828103602084015261097e8185610fd0565b6001600160c01b0319811681146110b057600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156110ec576110ec6110b3565b60405290565b60405160e0810167ffffffffffffffff811182821017156110ec576110ec6110b3565b604051610120810167ffffffffffffffff811182821017156110ec576110ec6110b3565b604051601f8201601f1916810167ffffffffffffffff81118282101715611162576111626110b3565b604052919050565b600067ffffffffffffffff821115611184576111846110b3565b50601f01601f191660200190565b600082601f8301126111a357600080fd5b81356111b66111b18261116a565b611139565b8181528460208386010111156111cb57600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160601b03811681146110b057600080fd5b60008060008060008060c0878903121561121657600080fd5b8635955060208701356112288161109a565b945060408701359350606087013567ffffffffffffffff81111561124b57600080fd5b61125789828a01611192565b93505060808701356112688161109a565b915060a0870135611278816111e8565b809150509295509295509295565b6000806000806080858703121561129c57600080fd5b8435935060208501356112ae8161109a565b925060408501359150606085013567ffffffffffffffff8111156112d157600080fd5b6112dd87828801611192565b91505092959194509250565b6000604082840312156112fb57600080fd5b6113036110c9565b9050813581526020820135602082015292915050565b6000806080838503121561132c57600080fd5b61133684846112e9565b915061134584604085016112e9565b90509250929050565b8051611359816111e8565b919050565b805160ff8116811461135957600080fd5b8051801515811461135957600080fd5b6001600160a01b03811681146110b057600080fd5b80516113598161137f565b600082601f8301126113b057600080fd5b81516113be6111b18261116a565b8181528460208386010111156113d357600080fd5b6113e4826020830160208701610fac565b949350505050565b600080604083850312156113ff57600080fd5b825167ffffffffffffffff8082111561141757600080fd5b9084019060e0828703121561142b57600080fd5b6114336110f2565b61143c8361134e565b815261144a6020840161134e565b602082015261145b6040840161135e565b604082015261146c6060840161136f565b606082015261147d60808401611394565b608082015261148e60a08401611394565b60a082015260c0830151828111156114a557600080fd5b6114b18882860161139f565b60c08301525060208601519094509150808211156114ce57600080fd5b506114db8582860161139f565b9150509250929050565b6000604082840312156114f757600080fd5b6114ff6110c9565b9050815181526020820151602082015292915050565b60008060008060008086880361014081121561153057600080fd5b604081121561153e57600080fd5b506115476110c9565b6115508861136f565b81526020880151602082015280965050604087015161156e8161137f565b606088015190955061157f8161137f565b935061158e88608089016114e5565b925061159d8860c089016114e5565b91506115ad8861010089016114e5565b90509295509295509295565b6000604082840312156115cb57600080fd5b610fa583836114e5565b82516001600160601b03168152602080840151610200830191611602908401826001600160601b03169052565b50604084015161161d60408401826001600160a01b03169052565b50606084015161163a606084018280518252602090810151910152565b506080840151805160a0840152602081015160c08401525060a0840151805160e084015260208101516101008401525060c0840151805161012084015260208101516101408401525060e0840151805161016084015260208101516101808401525061010084015180516101a084015260208101516101c0840152506001600160a01b0383166101e0830152610fa5565b600067ffffffffffffffff60c01b808916835287602084015286604084015260c060608401526116fe60c0840187610fd0565b6001600160601b039590951660808401529290921660a09091015250949350505050565b600080600080600060a0868803121561173a57600080fd5b5050835160208501516040860151606087015160809097015192989197509594509092509050565b60006020828403121561177457600080fd5b610fa58261136f565b60006101e0828403121561179057600080fd5b611798611115565b6117a18361134e565b81526117af6020840161134e565b60208201526117c060408401611394565b60408201526117d284606085016114e5565b60608201526117e48460a085016114e5565b60808201526117f68460e085016114e5565b60a08201526118098461012085016114e5565b60c082015261181c8461016085016114e5565b60e082015261182f846101a085016114e5565b6101008201529392505050565b60006020828403121561184e57600080fd5b8151610fa5816111e8565b60008261187657634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561188d57600080fd5b8151610fa58161137f565b825181526020808401518183015282516040830152820151606082015260808101610fa5565b600181811c908216806118d257607f821691505b6020821081036118f257634e487b7160e01b600052602260045260246000fd5b5091905056fea2646970667358221220465ab3938a5adbc6d018d850038e33e877ef67fee7f9438882db380e2f6ba81d64736f6c63430008140033",
|
570
|
+
"linkReferences": {
|
571
|
+
"contracts/types/Fee.sol": {
|
572
|
+
"FeeLib": [
|
573
|
+
{
|
574
|
+
"length": 20,
|
575
|
+
"start": 4425
|
576
|
+
}
|
577
|
+
]
|
578
|
+
},
|
579
|
+
"contracts/types/NftId.sol": {
|
580
|
+
"NftIdLib": [
|
581
|
+
{
|
582
|
+
"length": 20,
|
583
|
+
"start": 5082
|
584
|
+
},
|
585
|
+
{
|
586
|
+
"length": 20,
|
587
|
+
"start": 5788
|
588
|
+
}
|
589
|
+
]
|
590
|
+
}
|
591
|
+
},
|
592
|
+
"deployedLinkReferences": {
|
593
|
+
"contracts/types/Fee.sol": {
|
594
|
+
"FeeLib": [
|
595
|
+
{
|
596
|
+
"length": 20,
|
597
|
+
"start": 1119
|
598
|
+
}
|
599
|
+
]
|
600
|
+
},
|
601
|
+
"contracts/types/NftId.sol": {
|
602
|
+
"NftIdLib": [
|
603
|
+
{
|
604
|
+
"length": 20,
|
605
|
+
"start": 1776
|
606
|
+
},
|
607
|
+
{
|
608
|
+
"length": 20,
|
609
|
+
"start": 2482
|
610
|
+
}
|
611
|
+
]
|
612
|
+
}
|
613
|
+
}
|
305
614
|
}
|