@etherisc/gif-next 0.0.2-f9bc4c7-556 → 0.0.2-fe34d97-357
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +36 -0
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +72 -4
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +46 -3
- 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 +540 -401
- 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 +640 -469
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +18 -0
- 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/InstanceBase.sol/InstanceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +18 -0
- 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/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 +17 -48
- 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 +18 -49
- package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +2 -2
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +1 -1
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +36 -88
- 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 +36 -88
- 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 +65 -38
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +65 -38
- 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 +0 -5
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -5
- 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 +123 -1
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +145 -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 +166 -168
- 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 +167 -169
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +21 -21
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +71 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +6 -6
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +97 -26
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- 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/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +2 -2
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
- package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +1 -1
- package/artifacts/contracts/test/TestPool.sol/TestPool.json +72 -4
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +1 -1
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +90 -4
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +2 -2
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +2 -2
- 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/TestVersionable.sol/TestVersionable.dbg.json +1 -1
- 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/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/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/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/VersionPartLib.dbg.json +1 -1
- package/contracts/components/BaseComponent.sol +7 -1
- package/contracts/components/Pool.sol +20 -3
- package/contracts/components/Product.sol +69 -5
- package/contracts/instance/IInstance.sol +3 -4
- package/contracts/instance/Instance.sol +7 -4
- package/contracts/instance/base/IInstanceBase.sol +5 -0
- package/contracts/instance/base/IKeyValueStore.sol +4 -3
- package/contracts/instance/base/InstanceBase.sol +6 -2
- package/contracts/instance/base/KeyValueStore.sol +12 -7
- package/contracts/instance/base/Lifecycle.sol +15 -10
- package/contracts/instance/base/ModuleBase.sol +18 -17
- package/contracts/instance/module/bundle/BundleModule.sol +10 -11
- package/contracts/instance/module/bundle/IBundle.sol +4 -11
- package/contracts/instance/module/compensation/CompensationModule.sol +11 -2
- package/contracts/instance/module/component/ComponentModule.sol +39 -53
- package/contracts/instance/module/component/IComponent.sol +6 -30
- package/contracts/instance/module/policy/IPolicy.sol +11 -9
- package/contracts/instance/module/policy/PolicyModule.sol +35 -19
- package/contracts/instance/module/pool/IPoolModule.sol +0 -1
- package/contracts/instance/module/pool/PoolModule.sol +12 -9
- package/contracts/instance/module/risk/IRisk.sol +19 -2
- package/contracts/instance/module/risk/RiskModule.sol +64 -2
- package/contracts/instance/module/treasury/ITreasury.sol +35 -42
- package/contracts/instance/module/treasury/TreasuryModule.sol +96 -77
- package/contracts/instance/service/ComponentOwnerService.sol +19 -34
- package/contracts/instance/service/IProductService.sol +21 -1
- package/contracts/instance/service/PoolService.sol +10 -4
- package/contracts/instance/service/ProductService.sol +120 -68
- package/contracts/registry/Registry.sol +2 -2
- package/contracts/test/TestPool.sol +4 -2
- package/contracts/test/TestProduct.sol +25 -3
- package/contracts/types/ObjectType.sol +20 -8
- package/contracts/types/RiskId.sol +43 -0
- package/package.json +1 -1
package/README.md
CHANGED
@@ -23,11 +23,22 @@ npm run coverage
|
|
23
23
|
|
24
24
|
### Deployment
|
25
25
|
|
26
|
+
Install the dependencies before running the script below for the first time.
|
27
|
+
|
28
|
+
```bash
|
29
|
+
npm install
|
30
|
+
```
|
31
|
+
|
26
32
|
The deploy script will deploy all required contracts and create a test instance with a test product and a test pool.
|
27
33
|
|
28
34
|
```bash
|
29
35
|
# run deployment on a locally created ganache instance
|
36
|
+
export SKIP_VERIFICATION=true
|
30
37
|
hh run scripts/deploy_all.ts
|
38
|
+
```
|
39
|
+
|
40
|
+
```bash
|
41
|
+
# set appropriate values vor env variables (see below)
|
31
42
|
|
32
43
|
# run deployment on another network
|
33
44
|
hh run --network <networkname> scripts/deploy_all.ts
|
@@ -241,3 +252,28 @@ pool_id = pool.getNftId()
|
|
241
252
|
product_id = product.getNftId()
|
242
253
|
```
|
243
254
|
|
255
|
+
## migrate to kv store
|
256
|
+
|
257
|
+
sizes before
|
258
|
+
| Instance | 23.178 | 1.398 |
|
259
|
+
| TestInstanceBase | 3.305 | 21.271 |
|
260
|
+
| TestInstanceModuleAccess | 7.86 | 16.716 |
|
261
|
+
| TestInstanceModuleBundle | 7.586 | 16.99 |
|
262
|
+
| TestInstanceModuleCompensation | 3.305 | 21.271 |
|
263
|
+
| TestInstanceModuleComponent | 5.123 | 19.453 |
|
264
|
+
| TestInstanceModulePolicy | 6.937 | 17.639 |
|
265
|
+
| TestInstanceModulePool | 4.809 | 19.767 |
|
266
|
+
| TestInstanceModuleRisk | 3.305 | 21.271 |
|
267
|
+
| TestInstanceModuleTreasury | 7.563 | 17.013 |
|
268
|
+
---
|
269
|
+
sizes after
|
270
|
+
| Instance | 22.727 | 1.849 |
|
271
|
+
| TestInstanceBase | 3.485 | 21.091 |
|
272
|
+
| TestInstanceModuleAccess | 8.036 | 16.54 |
|
273
|
+
| TestInstanceModuleBundle | 8.354 | 16.222 |
|
274
|
+
| TestInstanceModuleCompensation | 3.485 | 21.091 |
|
275
|
+
| TestInstanceModuleComponent | 5.482 | 19.094 |
|
276
|
+
| TestInstanceModulePolicy | 7.502 | 17.074 |
|
277
|
+
| TestInstanceModulePool | 5.522 | 19.054 |
|
278
|
+
| TestInstanceModuleRisk | 4.635 | 19.941 |
|
279
|
+
| TestInstanceModuleTreasury | 8.945 | 15.631 |
|
@@ -29,6 +29,40 @@
|
|
29
29
|
"internalType": "UFixed",
|
30
30
|
"name": "collateralizationLevel",
|
31
31
|
"type": "uint256"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"components": [
|
35
|
+
{
|
36
|
+
"internalType": "UFixed",
|
37
|
+
"name": "fractionalFee",
|
38
|
+
"type": "uint256"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"internalType": "uint256",
|
42
|
+
"name": "fixedFee",
|
43
|
+
"type": "uint256"
|
44
|
+
}
|
45
|
+
],
|
46
|
+
"internalType": "struct Fee",
|
47
|
+
"name": "stakingFee",
|
48
|
+
"type": "tuple"
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"components": [
|
52
|
+
{
|
53
|
+
"internalType": "UFixed",
|
54
|
+
"name": "fractionalFee",
|
55
|
+
"type": "uint256"
|
56
|
+
},
|
57
|
+
{
|
58
|
+
"internalType": "uint256",
|
59
|
+
"name": "fixedFee",
|
60
|
+
"type": "uint256"
|
61
|
+
}
|
62
|
+
],
|
63
|
+
"internalType": "struct Fee",
|
64
|
+
"name": "performanceFee",
|
65
|
+
"type": "tuple"
|
32
66
|
}
|
33
67
|
],
|
34
68
|
"stateMutability": "nonpayable",
|
@@ -380,8 +414,42 @@
|
|
380
414
|
"type": "function"
|
381
415
|
}
|
382
416
|
],
|
383
|
-
"bytecode": "0x60e06040523480156200001157600080fd5b50604051620017d6380380620017d6833981016040819052620000349162000625565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff1916600117905584848482826001600160a01b038216620000d15760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6001600160a01b03821660808190526040516301ffc9a760e01b81526306ecd8ef60e01b60048201526301ffc9a790602401602060405180830381865afa15801562000121573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000147919062000690565b620001955760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f52454749535452590000000000006044820152606401620000c8565b6001600160601b03811660a081905260805160405163e74d052f60e01b815260048101929092526001600160a01b03169063e74d052f90602401602060405180830381865afa158015620001ed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000213919062000690565b6200026d5760405162461bcd60e51b815260206004820152602360248201527f4552524f523a5247422d3031323a504152454e545f4e4f545f5245474953544560448201526214915160ea1b6064820152608401620000c8565b3360c052631dfba64760e11b60009081526020527f95e5a2564f7af40498dc043c6da135e06324c5edb1f60c2bf4dcdf2da207fa45805460ff1916600117905550506080516040516305247a1760e51b81526001600160601b03841660048201526000916001600160a01b03169063a48f42e090602401600060405180830381865afa15801562000302573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200032c9190810190620007b6565b6060810151600580546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b8152638de54b9b60e01b6004820152919250906301ffc9a790602401602060405180830381865afa15801562000394573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003ba919062000690565b620003e25760405162461bcd60e51b81526020600482015260006024820152604401620000c8565b600560009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000436573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200045c919062000890565b600180546001600160a01b039283166001600160a01b03199182161790915560038054821630179055600480549483169490911693909317835560058054881515600160a01b0260ff60a01b1982168117909255600688905560408051636b9bf08b60e01b8152905192841691909316179550636b9bf08b9450818401936020935090918290030181865afa158015620004fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000520919062000890565b600780546001600160a01b0319166001600160a01b0392831617905560055460408051634288121d60e01b815290519190921691634288121d9160048083019260209291908290030181865afa1580156200057f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005a5919062000890565b600880546001600160a01b0319166001600160a01b039290921691909117905550620008b09350505050565b6001600160a01b0381168114620005e757600080fd5b50565b8051620005f781620005d1565b919050565b80516001600160601b0381168114620005f757600080fd5b80518015158114620005f757600080fd5b600080600080600060a086880312156200063e57600080fd5b85516200064b81620005d1565b94506200065b60208701620005fc565b935060408601516200066d81620005d1565b92506200067d6060870162000614565b9150608086015190509295509295909350565b600060208284031215620006a357600080fd5b620006ae8262000614565b9392505050565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715620006f057620006f0620006b5565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620007215762000721620006b5565b604052919050565b600082601f8301126200073b57600080fd5b81516001600160401b03811115620007575762000757620006b5565b60206200076d601f8301601f19168201620006f6565b82815285828487010111156200078257600080fd5b60005b83811015620007a257858101830151828201840152820162000785565b506000928101909101919091529392505050565b600060208284031215620007c957600080fd5b81516001600160401b0380821115620007e157600080fd5b9083019060c08286031215620007f657600080fd5b62000800620006cb565b6200080b83620005fc565b81526200081b60208401620005fc565b6020820152604083015160ff811681146200083557600080fd5b60408201526200084860608401620005ea565b60608201526200085b60808401620005ea565b608082015260a0830151828111156200087357600080fd5b620008818782860162000729565b60a08301525095945050505050565b600060208284031215620008a357600080fd5b8151620006ae81620005d1565b60805160a05160c051610ed36200090360003960006107ca015260006101fd0152600081816102560152818161034b015281816103e1015281816106660152818161074d015261080d0152610ed36000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c80635ab1bd53116100ad578063a69df4b511610071578063a69df4b5146102b1578063b487aa7d146102b9578063dab12325146102cc578063de7b5d14146102e2578063f83d08ba146102f357600080fd5b80635ab1bd5314610254578063644c45e01461027a57806365effc1a1461028257806387ef9ba014610297578063893d20e8146102a957600080fd5b8063235c3603116100f4578063235c3603146101d857806331b62a3b146101fb5780633bc5de30146102215780634b270a461461023b57806354afef631461024357600080fd5b806301ffc9a714610131578063132996041461017357806315dae03e146101985780631aa3a008146101a757806321df0da7146101c7575b600080fd5b61015e61013f366004610aa9565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6003546001600160a01b03165b6040516001600160a01b03909116815260200161016a565b6040516082815260200161016a565b6101af610300565b6040516001600160601b03909116815260200161016a565b6004546001600160a01b0316610180565b6101e0610512565b6040805182518152602092830151928101929092520161016a565b7f00000000000000000000000000000000000000000000000000000000000000006101af565b6040805160208101825260008152905161016a9190610b20565b6101e06105b0565b60065460405190815260200161016a565b7f0000000000000000000000000000000000000000000000000000000000000000610180565b6101af61064e565b610295610290366004610bee565b6106b5565b005b600554600160a01b900460ff1661015e565b61018061072b565b610295610886565b6101af6102c7366004610c6c565b610942565b61015e6102da366004610cbc565b600192915050565b6005546001600160a01b0316610180565b6102956109c9565b905090565b600061030a61072b565b6001600160a01b0316336001600160a01b0316146103495760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166103bf5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a434f422d3030313a52454749535452595f5a45524f00000000006044820152606401610340565b60055460405163c3c5a54760e01b81526001600160a01b0391821660048201527f00000000000000000000000000000000000000000000000000000000000000009091169063c3c5a54790602401602060405180830381865afa15801561042a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061044e9190610d20565b6104a45760405162461bcd60e51b815260206004820152602160248201527f4552524f523a434f423a494e5354414e43455f4e4f545f5245474953544552456044820152601160fa1b6064820152608401610340565b600154604051632210724360e11b81523060048201526001600160a01b0390911690634420e486906024016020604051808303816000875af11580156104ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102fb9190610d42565b60408051808201909152600080825260208201526005546001600160a01b0316633300a8a861053f61064e565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240160c060405180830381865afa158015610583573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105a79190610dca565b60600151905090565b60408051808201909152600080825260208201526005546001600160a01b0316633300a8a86105dd61064e565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240160c060405180830381865afa158015610621573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106459190610dca565b60400151905090565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa1580156104ee573d6000803e3d6000fd5b6008546001600160a01b031633146107195760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b6064820152608401610340565b61072584848484610a5b565b50505050565b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa158015610794573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b89190610d42565b90506001600160601b0381166107ef577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa15801561085c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108809190610e4b565b91505090565b61088e61072b565b6001600160a01b0316336001600160a01b0316146108e85760405162461bcd60e51b815260206004820152601760248201527622a92927a91d2923a1169818189d2727aa2fa7aba722a960491b6044820152606401610340565b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b15801561092e57600080fd5b505af1158015610725573d6000803e3d6000fd5b6007546040516360458fc560e11b815260009133916001600160a01b039091169063c08b1f8a9061097d908490899089908990600401610e66565b6020604051808303816000875af115801561099c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c09190610d42565b95945050505050565b6109d161072b565b6001600160a01b0316336001600160a01b031614610a2b5760405162461bcd60e51b815260206004820152601760248201527622a92927a91d2923a1169818189d2727aa2fa7aba722a960491b6044820152606401610340565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610914565b604080516001600160601b038616815260208101839052308183015290517ffa749b7f8c958183586325608c5d122eb3a8beb56a4d6ac2c88b78193e9facb99181900360600190a150505050565b600060208284031215610abb57600080fd5b81356001600160e01b031981168114610ad357600080fd5b9392505050565b6000815180845260005b81811015610b0057602081850181015186830182015201610ae4565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610ad36020830184610ada565b6001600160601b0381168114610b4857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b600082601f830112610b7257600080fd5b813567ffffffffffffffff80821115610b8d57610b8d610b4b565b604051601f8301601f19908116603f01168101908282118183101715610bb557610bb5610b4b565b81604052838152866020858801011115610bce57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060808587031215610c0457600080fd5b8435610c0f81610b33565b9350602085013567ffffffffffffffff80821115610c2c57600080fd5b610c3888838901610b61565b94506040870135915080821115610c4e57600080fd5b50610c5b87828801610b61565b949793965093946060013593505050565b600080600060608486031215610c8157600080fd5b8335925060208401359150604084013567ffffffffffffffff811115610ca657600080fd5b610cb286828701610b61565b9150509250925092565b60008060408385031215610ccf57600080fd5b823567ffffffffffffffff80821115610ce757600080fd5b610cf386838701610b61565b93506020850135915080821115610d0957600080fd5b50610d1685828601610b61565b9150509250929050565b600060208284031215610d3257600080fd5b81518015158114610ad357600080fd5b600060208284031215610d5457600080fd5b8151610ad381610b33565b80516001600160a01b0381168114610d7657600080fd5b919050565b600060408284031215610d8d57600080fd5b6040516040810181811067ffffffffffffffff82111715610db057610db0610b4b565b604052825181526020928301519281019290925250919050565b600060c08284031215610ddc57600080fd5b6040516080810181811067ffffffffffffffff82111715610dff57610dff610b4b565b6040528251610e0d81610b33565b8152610e1b60208401610d5f565b6020820152610e2d8460408501610d7b565b6040820152610e3f8460808501610d7b565b60608201529392505050565b600060208284031215610e5d57600080fd5b610ad382610d5f565b60018060a01b0385168152836020820152826040820152608060608201526000610e936080830184610ada565b969550505050505056fea2646970667358221220dd362c668025033fedf48f7dbb065353e0ca1f54b8a49aeec1860a87e7ebbc1164736f6c63430008140033",
|
384
|
-
"deployedBytecode": "
|
385
|
-
"linkReferences": {
|
386
|
-
|
417
|
+
"bytecode": "0x60e06040523480156200001157600080fd5b5060405162001bbf38038062001bbf833981016040819052620000349162000791565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff1916600117905586868682826001600160a01b038216620000d15760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6001600160a01b03821660808190526040516301ffc9a760e01b81526306ecd8ef60e01b60048201526301ffc9a790602401602060405180830381865afa15801562000121573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000147919062000824565b620001955760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f52454749535452590000000000006044820152606401620000c8565b6001600160601b03811660a081905260805160405163e74d052f60e01b815260048101929092526001600160a01b03169063e74d052f90602401602060405180830381865afa158015620001ed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000213919062000824565b6200026d5760405162461bcd60e51b815260206004820152602360248201527f4552524f523a5247422d3031323a504152454e545f4e4f545f5245474953544560448201526214915160ea1b6064820152608401620000c8565b3360c052631dfba64760e11b60009081526020527f95e5a2564f7af40498dc043c6da135e06324c5edb1f60c2bf4dcdf2da207fa45805460ff1916600117905550506080516040516305247a1760e51b81526001600160601b03841660048201526000916001600160a01b03169063a48f42e090602401600060405180830381865afa15801562000302573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200032c9190810190620008d6565b6060810151600580546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b8152630506037b60e21b6004820152919250906301ffc9a790602401602060405180830381865afa15801562000394573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003ba919062000824565b620003e25760405162461bcd60e51b81526020600482015260006024820152604401620000c8565b600560009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000436573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200045c9190620009b0565b600180546001600160a01b039283166001600160a01b0319918216179091556003805482163017905560048054928516929091169190911781556005805460ff60a01b1916905560408051632bd182d360e01b8152815173__$a23651848365a6a5ca15f07b4331037f48$__93632bd182d39383820193909291908290030181865af4158015620004f1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005179190620009d0565b80516006556020908101516007556008805460ff19168a151517905560098890558651600a5586810151600b558551600c5585810151600d5560055460408051636b9bf08b60e01b815290516001600160a01b039092169650636b9bf08b9550600480820195509293509091908290030181865afa1580156200059e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005c49190620009b0565b600e80546001600160a01b0319166001600160a01b0392831617905560055460408051634288121d60e01b815290519190921691634288121d9160048083019260209291908290030181865afa15801562000623573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006499190620009b0565b600f80546001600160a01b0319166001600160a01b039290921691909117905550620009ef95505050505050565b6001600160a01b03811681146200068d57600080fd5b50565b80516200069d8162000677565b919050565b80516001600160601b03811681146200069d57600080fd5b805180151581146200069d57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715620007065762000706620006cb565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620007375762000737620006cb565b604052919050565b6000604082840312156200075257600080fd5b604080519081016001600160401b0381118282101715620007775762000777620006cb565b604052825181526020928301519281019290925250919050565b6000806000806000806000610120888a031215620007ae57600080fd5b8751620007bb8162000677565b9650620007cb60208901620006a2565b95506040880151620007dd8162000677565b9450620007ed60608901620006ba565b935060808801519250620008058960a08a016200073f565b9150620008168960e08a016200073f565b905092959891949750929550565b6000602082840312156200083757600080fd5b6200084282620006ba565b9392505050565b600082601f8301126200085b57600080fd5b81516001600160401b03811115620008775762000877620006cb565b60206200088d601f8301601f191682016200070c565b8281528582848701011115620008a257600080fd5b60005b83811015620008c2578581018301518282018401528201620008a5565b506000928101909101919091529392505050565b600060208284031215620008e957600080fd5b81516001600160401b03808211156200090157600080fd5b9083019060c082860312156200091657600080fd5b62000920620006e1565b6200092b83620006a2565b81526200093b60208401620006a2565b6020820152604083015160ff811681146200095557600080fd5b6040820152620009686060840162000690565b60608201526200097b6080840162000690565b608082015260a0830151828111156200099357600080fd5b620009a18782860162000849565b60a08301525095945050505050565b600060208284031215620009c357600080fd5b8151620008428162000677565b600060408284031215620009e357600080fd5b6200084283836200073f565b60805160a05160c05161117d62000a426000396000610a0a015260006101fd01526000818161025601528181610344015281816103da015281816108a60152818161098d0152610a4d015261117d6000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c80635ab1bd53116100ad578063a69df4b511610071578063a69df4b5146102aa578063b487aa7d146102b2578063dab12325146102c5578063de7b5d14146102db578063f83d08ba146102ec57600080fd5b80635ab1bd5314610254578063644c45e01461027a57806365effc1a1461028257806387ef9ba014610297578063893d20e8146102a257600080fd5b8063235c3603116100f4578063235c3603146101d857806331b62a3b146101fb5780633bc5de30146102215780634b270a461461023b57806354afef631461024357600080fd5b806301ffc9a714610131578063132996041461017357806315dae03e146101985780631aa3a008146101a757806321df0da7146101c7575b600080fd5b61015e61013f366004610ce9565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6003546001600160a01b03165b6040516001600160a01b03909116815260200161016a565b604051608c815260200161016a565b6101af6102f9565b6040516001600160601b03909116815260200161016a565b6004546001600160a01b0316610180565b6101e061051e565b6040805182518152602092830151928101929092520161016a565b7f00000000000000000000000000000000000000000000000000000000000000006101af565b6040805160208101825260008152905161016a9190610d60565b6101e06106d6565b60095460405190815260200161016a565b7f0000000000000000000000000000000000000000000000000000000000000000610180565b6101af61088e565b610295610290366004610e58565b6108f5565b005b60085460ff1661015e565b61018061096b565b610295610ac6565b6101af6102c0366004610ed6565b610b82565b61015e6102d3366004610f26565b600192915050565b6005546001600160a01b0316610180565b610295610c09565b905090565b600061030361096b565b6001600160a01b0316336001600160a01b0316146103425760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166103b85760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a434f422d3030313a52454749535452595f5a45524f00000000006044820152606401610339565b60055460405163c3c5a54760e01b81526001600160a01b0391821660048201527f00000000000000000000000000000000000000000000000000000000000000009091169063c3c5a54790602401602060405180830381865afa158015610423573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104479190610f8a565b61049d5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a434f423a494e5354414e43455f4e4f545f5245474953544552456044820152601160fa1b6064820152608401610339565b6005805460ff60a01b1916600160a01b179055600154604051632210724360e11b81523060048201526001600160a01b0390911690634420e486906024016020604051808303816000875af11580156104fa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102f49190610fbc565b60408051808201909152600080825260208201526005546000906001600160a01b0316639ae31ff561054e61088e565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015610592573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b69190610fbc565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610611573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106359190610f8a565b156106ba5760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101a060405180830381865afa15801561068c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b09190611048565b60e0015191505090565b505060408051808201909152600c548152600d54602082015290565b60408051808201909152600080825260208201526005546000906001600160a01b0316639ae31ff561070661088e565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa15801561074a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076e9190610fbc565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ed9190610f8a565b156108725760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101a060405180830381865afa158015610844573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108689190611048565b60c0015191505090565b505060408051808201909152600a548152600b54602082015290565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa1580156104fa573d6000803e3d6000fd5b600f546001600160a01b031633146109595760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b6064820152608401610339565b61096584848484610c9b565b50505050565b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa1580156109d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109f89190610fbc565b90506001600160601b038116610a2f577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa158015610a9c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac091906110f3565b91505090565b610ace61096b565b6001600160a01b0316336001600160a01b031614610b285760405162461bcd60e51b815260206004820152601760248201527622a92927a91d2923a1169818189d2727aa2fa7aba722a960491b6044820152606401610339565b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610b6e57600080fd5b505af1158015610965573d6000803e3d6000fd5b600e546040516360458fc560e11b815260009133916001600160a01b039091169063c08b1f8a90610bbd908490899089908990600401611110565b6020604051808303816000875af1158015610bdc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c009190610fbc565b95945050505050565b610c1161096b565b6001600160a01b0316336001600160a01b031614610c6b5760405162461bcd60e51b815260206004820152601760248201527622a92927a91d2923a1169818189d2727aa2fa7aba722a960491b6044820152606401610339565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610b54565b604080516001600160601b038616815260208101839052308183015290517ffa749b7f8c958183586325608c5d122eb3a8beb56a4d6ac2c88b78193e9facb99181900360600190a150505050565b600060208284031215610cfb57600080fd5b81356001600160e01b031981168114610d1357600080fd5b9392505050565b6000815180845260005b81811015610d4057602081850181015186830182015201610d24565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610d136020830184610d1a565b6001600160601b0381168114610d8857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b604051610100810167ffffffffffffffff81118282101715610dc557610dc5610d8b565b60405290565b600082601f830112610ddc57600080fd5b813567ffffffffffffffff80821115610df757610df7610d8b565b604051601f8301601f19908116603f01168101908282118183101715610e1f57610e1f610d8b565b81604052838152866020858801011115610e3857600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060808587031215610e6e57600080fd5b8435610e7981610d73565b9350602085013567ffffffffffffffff80821115610e9657600080fd5b610ea288838901610dcb565b94506040870135915080821115610eb857600080fd5b50610ec587828801610dcb565b949793965093946060013593505050565b600080600060608486031215610eeb57600080fd5b8335925060208401359150604084013567ffffffffffffffff811115610f1057600080fd5b610f1c86828701610dcb565b9150509250925092565b60008060408385031215610f3957600080fd5b823567ffffffffffffffff80821115610f5157600080fd5b610f5d86838701610dcb565b93506020850135915080821115610f7357600080fd5b50610f8085828601610dcb565b9150509250929050565b600060208284031215610f9c57600080fd5b81518015158114610d1357600080fd5b8051610fb781610d73565b919050565b600060208284031215610fce57600080fd5b8151610d1381610d73565b6001600160a01b0381168114610d8857600080fd5b8051610fb781610fd9565b60006040828403121561100b57600080fd5b6040516040810181811067ffffffffffffffff8211171561102e5761102e610d8b565b604052825181526020928301519281019290925250919050565b60006101a0828403121561105b57600080fd5b611063610da1565b61106c83610fac565b815261107a60208401610fac565b602082015261108b60408401610fee565b604082015261109d8460608501610ff9565b60608201526110af8460a08501610ff9565b60808201526110c18460e08501610ff9565b60a08201526110d4846101208501610ff9565b60c08201526110e7846101608501610ff9565b60e08201529392505050565b60006020828403121561110557600080fd5b8151610d1381610fd9565b60018060a01b038516815283602082015282604082015260806060820152600061113d6080830184610d1a565b969550505050505056fea264697066735822122085475ff8a614064b967a2ad7948529ba04b4691ccc652724fc5d037c3e34b7d764736f6c63430008140033",
|
418
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061012c5760003560e01c80635ab1bd53116100ad578063a69df4b511610071578063a69df4b5146102aa578063b487aa7d146102b2578063dab12325146102c5578063de7b5d14146102db578063f83d08ba146102ec57600080fd5b80635ab1bd5314610254578063644c45e01461027a57806365effc1a1461028257806387ef9ba014610297578063893d20e8146102a257600080fd5b8063235c3603116100f4578063235c3603146101d857806331b62a3b146101fb5780633bc5de30146102215780634b270a461461023b57806354afef631461024357600080fd5b806301ffc9a714610131578063132996041461017357806315dae03e146101985780631aa3a008146101a757806321df0da7146101c7575b600080fd5b61015e61013f366004610ce9565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6003546001600160a01b03165b6040516001600160a01b03909116815260200161016a565b604051608c815260200161016a565b6101af6102f9565b6040516001600160601b03909116815260200161016a565b6004546001600160a01b0316610180565b6101e061051e565b6040805182518152602092830151928101929092520161016a565b7f00000000000000000000000000000000000000000000000000000000000000006101af565b6040805160208101825260008152905161016a9190610d60565b6101e06106d6565b60095460405190815260200161016a565b7f0000000000000000000000000000000000000000000000000000000000000000610180565b6101af61088e565b610295610290366004610e58565b6108f5565b005b60085460ff1661015e565b61018061096b565b610295610ac6565b6101af6102c0366004610ed6565b610b82565b61015e6102d3366004610f26565b600192915050565b6005546001600160a01b0316610180565b610295610c09565b905090565b600061030361096b565b6001600160a01b0316336001600160a01b0316146103425760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166103b85760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a434f422d3030313a52454749535452595f5a45524f00000000006044820152606401610339565b60055460405163c3c5a54760e01b81526001600160a01b0391821660048201527f00000000000000000000000000000000000000000000000000000000000000009091169063c3c5a54790602401602060405180830381865afa158015610423573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104479190610f8a565b61049d5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a434f423a494e5354414e43455f4e4f545f5245474953544552456044820152601160fa1b6064820152608401610339565b6005805460ff60a01b1916600160a01b179055600154604051632210724360e11b81523060048201526001600160a01b0390911690634420e486906024016020604051808303816000875af11580156104fa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102f49190610fbc565b60408051808201909152600080825260208201526005546000906001600160a01b0316639ae31ff561054e61088e565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015610592573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b69190610fbc565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610611573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106359190610f8a565b156106ba5760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101a060405180830381865afa15801561068c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b09190611048565b60e0015191505090565b505060408051808201909152600c548152600d54602082015290565b60408051808201909152600080825260208201526005546000906001600160a01b0316639ae31ff561070661088e565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa15801561074a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076e9190610fbc565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ed9190610f8a565b156108725760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101a060405180830381865afa158015610844573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108689190611048565b60c0015191505090565b505060408051808201909152600a548152600b54602082015290565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa1580156104fa573d6000803e3d6000fd5b600f546001600160a01b031633146109595760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b6064820152608401610339565b61096584848484610c9b565b50505050565b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa1580156109d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109f89190610fbc565b90506001600160601b038116610a2f577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa158015610a9c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac091906110f3565b91505090565b610ace61096b565b6001600160a01b0316336001600160a01b031614610b285760405162461bcd60e51b815260206004820152601760248201527622a92927a91d2923a1169818189d2727aa2fa7aba722a960491b6044820152606401610339565b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610b6e57600080fd5b505af1158015610965573d6000803e3d6000fd5b600e546040516360458fc560e11b815260009133916001600160a01b039091169063c08b1f8a90610bbd908490899089908990600401611110565b6020604051808303816000875af1158015610bdc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c009190610fbc565b95945050505050565b610c1161096b565b6001600160a01b0316336001600160a01b031614610c6b5760405162461bcd60e51b815260206004820152601760248201527622a92927a91d2923a1169818189d2727aa2fa7aba722a960491b6044820152606401610339565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610b54565b604080516001600160601b038616815260208101839052308183015290517ffa749b7f8c958183586325608c5d122eb3a8beb56a4d6ac2c88b78193e9facb99181900360600190a150505050565b600060208284031215610cfb57600080fd5b81356001600160e01b031981168114610d1357600080fd5b9392505050565b6000815180845260005b81811015610d4057602081850181015186830182015201610d24565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610d136020830184610d1a565b6001600160601b0381168114610d8857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b604051610100810167ffffffffffffffff81118282101715610dc557610dc5610d8b565b60405290565b600082601f830112610ddc57600080fd5b813567ffffffffffffffff80821115610df757610df7610d8b565b604051601f8301601f19908116603f01168101908282118183101715610e1f57610e1f610d8b565b81604052838152866020858801011115610e3857600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060808587031215610e6e57600080fd5b8435610e7981610d73565b9350602085013567ffffffffffffffff80821115610e9657600080fd5b610ea288838901610dcb565b94506040870135915080821115610eb857600080fd5b50610ec587828801610dcb565b949793965093946060013593505050565b600080600060608486031215610eeb57600080fd5b8335925060208401359150604084013567ffffffffffffffff811115610f1057600080fd5b610f1c86828701610dcb565b9150509250925092565b60008060408385031215610f3957600080fd5b823567ffffffffffffffff80821115610f5157600080fd5b610f5d86838701610dcb565b93506020850135915080821115610f7357600080fd5b50610f8085828601610dcb565b9150509250929050565b600060208284031215610f9c57600080fd5b81518015158114610d1357600080fd5b8051610fb781610d73565b919050565b600060208284031215610fce57600080fd5b8151610d1381610d73565b6001600160a01b0381168114610d8857600080fd5b8051610fb781610fd9565b60006040828403121561100b57600080fd5b6040516040810181811067ffffffffffffffff8211171561102e5761102e610d8b565b604052825181526020928301519281019290925250919050565b60006101a0828403121561105b57600080fd5b611063610da1565b61106c83610fac565b815261107a60208401610fac565b602082015261108b60408401610fee565b604082015261109d8460608501610ff9565b60608201526110af8460a08501610ff9565b60808201526110c18460e08501610ff9565b60a08201526110d4846101208501610ff9565b60c08201526110e7846101608501610ff9565b60e08201529392505050565b60006020828403121561110557600080fd5b8151610d1381610fd9565b60018060a01b038516815283602082015282604082015260806060820152600061113d6080830184610d1a565b969550505050505056fea264697066735822122085475ff8a614064b967a2ad7948529ba04b4691ccc652724fc5d037c3e34b7d764736f6c63430008140033",
|
419
|
+
"linkReferences": {
|
420
|
+
"contracts/types/Fee.sol": {
|
421
|
+
"FeeLib": [
|
422
|
+
{
|
423
|
+
"length": 20,
|
424
|
+
"start": 1205
|
425
|
+
}
|
426
|
+
]
|
427
|
+
},
|
428
|
+
"contracts/types/NftId.sol": {
|
429
|
+
"NftIdLib": [
|
430
|
+
{
|
431
|
+
"length": 20,
|
432
|
+
"start": 4121
|
433
|
+
},
|
434
|
+
{
|
435
|
+
"length": 20,
|
436
|
+
"start": 4561
|
437
|
+
}
|
438
|
+
]
|
439
|
+
}
|
440
|
+
},
|
441
|
+
"deployedLinkReferences": {
|
442
|
+
"contracts/types/NftId.sol": {
|
443
|
+
"NftIdLib": [
|
444
|
+
{
|
445
|
+
"length": 20,
|
446
|
+
"start": 1495
|
447
|
+
},
|
448
|
+
{
|
449
|
+
"length": 20,
|
450
|
+
"start": 1935
|
451
|
+
}
|
452
|
+
]
|
453
|
+
}
|
454
|
+
}
|
387
455
|
}
|
@@ -24,6 +24,40 @@
|
|
24
24
|
"internalType": "address",
|
25
25
|
"name": "pool",
|
26
26
|
"type": "address"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"components": [
|
30
|
+
{
|
31
|
+
"internalType": "UFixed",
|
32
|
+
"name": "fractionalFee",
|
33
|
+
"type": "uint256"
|
34
|
+
},
|
35
|
+
{
|
36
|
+
"internalType": "uint256",
|
37
|
+
"name": "fixedFee",
|
38
|
+
"type": "uint256"
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"internalType": "struct Fee",
|
42
|
+
"name": "policyFee",
|
43
|
+
"type": "tuple"
|
44
|
+
},
|
45
|
+
{
|
46
|
+
"components": [
|
47
|
+
{
|
48
|
+
"internalType": "UFixed",
|
49
|
+
"name": "fractionalFee",
|
50
|
+
"type": "uint256"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"internalType": "uint256",
|
54
|
+
"name": "fixedFee",
|
55
|
+
"type": "uint256"
|
56
|
+
}
|
57
|
+
],
|
58
|
+
"internalType": "struct Fee",
|
59
|
+
"name": "processingFee",
|
60
|
+
"type": "tuple"
|
27
61
|
}
|
28
62
|
],
|
29
63
|
"stateMutability": "nonpayable",
|
@@ -298,8 +332,17 @@
|
|
298
332
|
"type": "function"
|
299
333
|
}
|
300
334
|
],
|
301
|
-
"bytecode": "0x60e06040523480156200001157600080fd5b50604051620015543803806200155483398101604081905262000034916200057c565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff1916600117905583838382826001600160a01b038216620000d15760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6001600160a01b03821660808190526040516301ffc9a760e01b81526306ecd8ef60e01b60048201526301ffc9a790602401602060405180830381865afa15801562000121573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001479190620005e0565b620001955760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f52454749535452590000000000006044820152606401620000c8565b6001600160601b03811660a081905260805160405163e74d052f60e01b815260048101929092526001600160a01b03169063e74d052f90602401602060405180830381865afa158015620001ed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002139190620005e0565b6200026d5760405162461bcd60e51b815260206004820152602360248201527f4552524f523a5247422d3031323a504152454e545f4e4f545f5245474953544560448201526214915160ea1b6064820152608401620000c8565b3360c052631dfba64760e11b60009081526020527f95e5a2564f7af40498dc043c6da135e06324c5edb1f60c2bf4dcdf2da207fa45805460ff1916600117905550506080516040516305247a1760e51b81526001600160601b03841660048201526000916001600160a01b03169063a48f42e090602401600060405180830381865afa15801562000302573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200032c91908101906200070c565b6060810151600580546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b8152638de54b9b60e01b6004820152919250906301ffc9a790602401602060405180830381865afa15801562000394573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003ba9190620005e0565b620003e25760405162461bcd60e51b81526020600482015260006024820152604401620000c8565b600560009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000436573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200045c9190620007e6565b600180546001600160a01b039283166001600160a01b03199182161790915560038054821630179055600480549483169490911693909317835560055460408051634288121d60e01b81529051919092169550634288121d9450818401936020935090918290030181865afa158015620004da573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005009190620007e6565b600680546001600160a01b039283166001600160a01b031991821617909155600780549390921692169190911790555062000806915050565b6001600160a01b03811681146200054f57600080fd5b50565b80516200055f8162000539565b919050565b80516001600160601b03811681146200055f57600080fd5b600080600080608085870312156200059357600080fd5b8451620005a08162000539565b9350620005b06020860162000564565b92506040850151620005c28162000539565b6060860151909250620005d58162000539565b939692955090935050565b600060208284031215620005f357600080fd5b815180151581146200060457600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b03811182821017156200064657620006466200060b565b60405290565b604051601f8201601f191681016001600160401b03811182821017156200067757620006776200060b565b604052919050565b600082601f8301126200069157600080fd5b81516001600160401b03811115620006ad57620006ad6200060b565b6020620006c3601f8301601f191682016200064c565b8281528582848701011115620006d857600080fd5b60005b83811015620006f8578581018301518282018401528201620006db565b506000928101909101919091529392505050565b6000602082840312156200071f57600080fd5b81516001600160401b03808211156200073757600080fd5b9083019060c082860312156200074c57600080fd5b6200075662000621565b620007618362000564565b8152620007716020840162000564565b6020820152604083015160ff811681146200078b57600080fd5b60408201526200079e6060840162000552565b6060820152620007b16080840162000552565b608082015260a083015182811115620007c957600080fd5b620007d7878286016200067f565b60a08301525095945050505050565b600060208284031215620007f957600080fd5b8151620006048162000539565b60805160a05160c051610cf46200086060003960006105fc015260006101c1015260008181610201015281816102d80152818161036e015281816104c4015281816105240152818161057d015261063f0152610cf46000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c80635ab1bd53116100a2578063b6b412ba11610071578063b6b412ba1461023f578063bc74aab014610252578063daafed4014610267578063de7b5d141461026f578063f83d08ba1461028057600080fd5b80635ab1bd53146101ff578063644c45e014610225578063893d20e81461022d578063a69df4b51461023557600080fd5b80631bdd6b76116100de5780631bdd6b76146101a657806321df0da7146101ae57806331b62a3b146101bf5780633bc5de30146101e557600080fd5b806301ffc9a714610110578063132996041461015257806315dae03e146101775780631aa3a00814610186575b600080fd5b61013d61011e3660046109ac565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6003546001600160a01b03165b6040516001600160a01b039091168152602001610149565b60405160648152602001610149565b61018e61028d565b6040516001600160601b039091168152602001610149565b61018e61049f565b6004546001600160a01b031661015f565b7f000000000000000000000000000000000000000000000000000000000000000061018e565b6040805160208101825260008152905161014991906109dd565b7f000000000000000000000000000000000000000000000000000000000000000061015f565b61018e61050c565b61015f61055b565b61023d6106b8565b005b61023d61024d366004610a92565b610750565b61025a6107f0565b6040516101499190610ac7565b61025a61088f565b6005546001600160a01b031661015f565b61023d61092e565b905090565b600061029761055b565b6001600160a01b0316336001600160a01b0316146102d65760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661034c5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a434f422d3030313a52454749535452595f5a45524f000000000060448201526064016102cd565b60055460405163c3c5a54760e01b81526001600160a01b0391821660048201527f00000000000000000000000000000000000000000000000000000000000000009091169063c3c5a54790602401602060405180830381865afa1580156103b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103db9190610ade565b6104315760405162461bcd60e51b815260206004820152602160248201527f4552524f523a434f423a494e5354414e43455f4e4f545f5245474953544552456044820152601160fa1b60648201526084016102cd565b600154604051632210724360e11b81523060048201526001600160a01b0390911690634420e486906024016020604051808303816000875af115801561047b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102889190610b1c565b600754604051636939560f60e11b81526001600160a01b0391821660048201526000917f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e906024015b602060405180830381865afa15801561047b573d6000803e3d6000fd5b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e906024016104ef565b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa1580156105c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e89190610b1c565b90506105f5816000610996565b15610621577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa15801561068e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b29190610b4f565b91505090565b6106c061055b565b6001600160a01b0316336001600160a01b0316146106f05760405162461bcd60e51b81526004016102cd90610b6c565b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b15801561073657600080fd5b505af115801561074a573d6000803e3d6000fd5b50505050565b61075861055b565b6001600160a01b0316336001600160a01b0316146107885760405162461bcd60e51b81526004016102cd90610b6c565b600654604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba906107ba9085908590600401610ba3565b600060405180830381600087803b1580156107d457600080fd5b505af11580156107e8573d6000803e3d6000fd5b505050505050565b60408051808201909152600080825260208201526005546001600160a01b0316634fd077f561081d61050c565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161012060405180830381865afa158015610862573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108869190610bf9565b60a00151905090565b60408051808201909152600080825260208201526005546001600160a01b0316634fd077f56108bc61050c565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161012060405180830381865afa158015610901573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109259190610bf9565b60c00151905090565b61093661055b565b6001600160a01b0316336001600160a01b0316146109665760405162461bcd60e51b81526004016102cd90610b6c565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a79060240161071c565b6001600160601b03828116908216145b92915050565b6000602082840312156109be57600080fd5b81356001600160e01b0319811681146109d657600080fd5b9392505050565b600060208083528351808285015260005b81811015610a0a578581018301518582016040015282016109ee565b506000604082860101526040601f19601f8301168501019250505092915050565b6040805190810167ffffffffffffffff81118282101715610a5c57634e487b7160e01b600052604160045260246000fd5b60405290565b600060408284031215610a7457600080fd5b610a7c610a2b565b9050813581526020820135602082015292915050565b60008060808385031215610aa557600080fd5b610aaf8484610a62565b9150610abe8460408501610a62565b90509250929050565b8151815260208083015190820152604081016109a6565b600060208284031215610af057600080fd5b815180151581146109d657600080fd5b80516001600160601b0381168114610b1757600080fd5b919050565b600060208284031215610b2e57600080fd5b6109d682610b00565b6001600160a01b0381168114610b4c57600080fd5b50565b600060208284031215610b6157600080fd5b81516109d681610b37565b60208082526017908201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b8251815260208084015181830152825160408301528201516060820152608081016109d6565b600060408284031215610bdb57600080fd5b610be3610a2b565b9050815181526020820151602082015292915050565b60006101208284031215610c0c57600080fd5b60405160e0810181811067ffffffffffffffff82111715610c3d57634e487b7160e01b600052604160045260246000fd5b604052610c4983610b00565b8152610c5760208401610b00565b6020820152610c6860408401610b00565b60408201526060830151610c7b81610b37565b60608201526080830151610c8e81610b37565b6080820152610ca08460a08501610bc9565b60a0820152610cb28460e08501610bc9565b60c0820152939250505056fea2646970667358221220f743d4ca5f40ffc70c8455b2b9d3b37bc272833eaa55252eca2214d1183da9eb64736f6c63430008140033",
|
302
|
-
"deployedBytecode": "
|
303
|
-
"linkReferences": {
|
335
|
+
"bytecode": "0x60e06040523480156200001157600080fd5b506040516200181c3803806200181c8339810160408190526200003491620006f4565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff1916600117905585858582826001600160a01b038216620000d15760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6001600160a01b03821660808190526040516301ffc9a760e01b81526306ecd8ef60e01b60048201526301ffc9a790602401602060405180830381865afa15801562000121573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200014791906200077f565b620001955760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f52454749535452590000000000006044820152606401620000c8565b6001600160601b03811660a081905260805160405163e74d052f60e01b815260048101929092526001600160a01b03169063e74d052f90602401602060405180830381865afa158015620001ed573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200021391906200077f565b6200026d5760405162461bcd60e51b815260206004820152602360248201527f4552524f523a5247422d3031323a504152454e545f4e4f545f5245474953544560448201526214915160ea1b6064820152608401620000c8565b3360c052631dfba64760e11b60009081526020527f95e5a2564f7af40498dc043c6da135e06324c5edb1f60c2bf4dcdf2da207fa45805460ff1916600117905550506080516040516305247a1760e51b81526001600160601b03841660048201526000916001600160a01b03169063a48f42e090602401600060405180830381865afa15801562000302573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200032c919081019062000837565b6060810151600580546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b8152630506037b60e21b6004820152919250906301ffc9a790602401602060405180830381865afa15801562000394573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003ba91906200077f565b620003e25760405162461bcd60e51b81526020600482015260006024820152604401620000c8565b600560009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000436573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200045c919062000911565b600180546001600160a01b039283166001600160a01b0319918216179091556003805482163017905560048054928516929091169190911781556005805460ff60a01b1916905560408051632bd182d360e01b8152815173__$a23651848365a6a5ca15f07b4331037f48$__93632bd182d39383820193909291908290030181865af4158015620004f1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000517919062000931565b805160065560209081015160075560055460408051634288121d60e01b815290516001600160a01b039092169650634288121d9550600480820195509293509091908290030181865afa15801562000573573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000599919062000911565b600880546001600160a01b039283166001600160a01b03199182161790915560098054959092169416939093179092558051600a55602090810151600b558151600c550151600d555062000950915050565b6001600160a01b03811681146200060157600080fd5b50565b80516200061181620005eb565b919050565b80516001600160601b03811681146200061157600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b03811182821017156200066957620006696200062e565b60405290565b604051601f8201601f191681016001600160401b03811182821017156200069a576200069a6200062e565b604052919050565b600060408284031215620006b557600080fd5b604080519081016001600160401b0381118282101715620006da57620006da6200062e565b604052825181526020928301519281019290925250919050565b60008060008060008061010087890312156200070f57600080fd5b86516200071c81620005eb565b95506200072c6020880162000616565b945060408701516200073e81620005eb565b60608801519094506200075181620005eb565b9250620007628860808901620006a2565b9150620007738860c08901620006a2565b90509295509295509295565b6000602082840312156200079257600080fd5b81518015158114620007a357600080fd5b9392505050565b600082601f830112620007bc57600080fd5b81516001600160401b03811115620007d857620007d86200062e565b6020620007ee601f8301601f191682016200066f565b82815285828487010111156200080357600080fd5b60005b838110156200082357858101830151828201840152820162000806565b506000928101909101919091529392505050565b6000602082840312156200084a57600080fd5b81516001600160401b03808211156200086257600080fd5b9083019060c082860312156200087757600080fd5b6200088162000644565b6200088c8362000616565b81526200089c6020840162000616565b6020820152604083015160ff81168114620008b657600080fd5b6040820152620008c96060840162000604565b6060820152620008dc6080840162000604565b608082015260a083015182811115620008f457600080fd5b6200090287828601620007aa565b60a08301525095945050505050565b6000602082840312156200092457600080fd5b8151620007a381620005eb565b6000604082840312156200094457600080fd5b620007a38383620006a2565b60805160a05160c051610e72620009aa600039600061060f015260006101c1015260008181610201015281816102d80152818161036e015281816104d7015281816105370152818161059001526106520152610e726000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c80635ab1bd53116100a2578063b6b412ba11610071578063b6b412ba1461023f578063bc74aab014610252578063daafed4014610267578063de7b5d141461026f578063f83d08ba1461028057600080fd5b80635ab1bd53146101ff578063644c45e014610225578063893d20e81461022d578063a69df4b51461023557600080fd5b80631bdd6b76116100de5780631bdd6b76146101a657806321df0da7146101ae57806331b62a3b146101bf5780633bc5de30146101e557600080fd5b806301ffc9a714610110578063132996041461015257806315dae03e146101775780631aa3a00814610186575b600080fd5b61013d61011e366004610b07565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6003546001600160a01b03165b6040516001600160a01b039091168152602001610149565b604051606e8152602001610149565b61018e61028d565b6040516001600160601b039091168152602001610149565b61018e6104b2565b6004546001600160a01b031661015f565b7f000000000000000000000000000000000000000000000000000000000000000061018e565b604080516020810182526000815290516101499190610b38565b7f000000000000000000000000000000000000000000000000000000000000000061015f565b61018e61051f565b61015f61056e565b61023d6106cb565b005b61023d61024d366004610c1f565b610763565b61025a610803565b6040516101499190610c54565b61025a610946565b6005546001600160a01b031661015f565b61023d610a89565b905090565b600061029761056e565b6001600160a01b0316336001600160a01b0316146102d65760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661034c5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a434f422d3030313a52454749535452595f5a45524f000000000060448201526064016102cd565b60055460405163c3c5a54760e01b81526001600160a01b0391821660048201527f00000000000000000000000000000000000000000000000000000000000000009091169063c3c5a54790602401602060405180830381865afa1580156103b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103db9190610c6b565b6104315760405162461bcd60e51b815260206004820152602160248201527f4552524f523a434f423a494e5354414e43455f4e4f545f5245474953544552456044820152601160fa1b60648201526084016102cd565b6005805460ff60a01b1916600160a01b179055600154604051632210724360e11b81523060048201526001600160a01b0390911690634420e486906024016020604051808303816000875af115801561048e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102889190610ca9565b600954604051636939560f60e11b81526001600160a01b0391821660048201526000917f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e906024015b602060405180830381865afa15801561048e573d6000803e3d6000fd5b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401610502565b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa1580156105d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fb9190610ca9565b9050610608816000610af1565b15610634577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa1580156106a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c59190610cdc565b91505090565b6106d361056e565b6001600160a01b0316336001600160a01b0316146107035760405162461bcd60e51b81526004016102cd90610cf9565b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b15801561074957600080fd5b505af115801561075d573d6000803e3d6000fd5b50505050565b61076b61056e565b6001600160a01b0316336001600160a01b03161461079b5760405162461bcd60e51b81526004016102cd90610cf9565b600854604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba906107cd9085908590600401610d30565b600060405180830381600087803b1580156107e757600080fd5b505af11580156107fb573d6000803e3d6000fd5b505050505050565b6040805180820190915260008082526020820152600061082161051f565b60055460405163a310e2a360e01b81526001600160601b03831660048201529192506000916001600160a01b039091169063a310e2a390602401602060405180830381865afa158015610878573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089c9190610cdc565b6001600160a01b03161461092a5760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101a060405180830381865afa1580156108fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109209190610d91565b6080015191505090565b505060408051808201909152600a548152600b54602082015290565b6040805180820190915260008082526020820152600061096461051f565b60055460405163a310e2a360e01b81526001600160601b03831660048201529192506000916001600160a01b039091169063a310e2a390602401602060405180830381865afa1580156109bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109df9190610cdc565b6001600160a01b031614610a6d5760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101a060405180830381865afa158015610a3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a639190610d91565b60a0015191505090565b505060408051808201909152600c548152600d54602082015290565b610a9161056e565b6001600160a01b0316336001600160a01b031614610ac15760405162461bcd60e51b81526004016102cd90610cf9565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a79060240161072f565b6001600160601b03828116908216145b92915050565b600060208284031215610b1957600080fd5b81356001600160e01b031981168114610b3157600080fd5b9392505050565b600060208083528351808285015260005b81811015610b6557858101830151858201604001528201610b49565b506000604082860101526040601f19601f8301168501019250505092915050565b6040805190810167ffffffffffffffff81118282101715610bb757634e487b7160e01b600052604160045260246000fd5b60405290565b604051610100810167ffffffffffffffff81118282101715610bb757634e487b7160e01b600052604160045260246000fd5b600060408284031215610c0157600080fd5b610c09610b86565b9050813581526020820135602082015292915050565b60008060808385031215610c3257600080fd5b610c3c8484610bef565b9150610c4b8460408501610bef565b90509250929050565b815181526020808301519082015260408101610b01565b600060208284031215610c7d57600080fd5b81518015158114610b3157600080fd5b80516001600160601b0381168114610ca457600080fd5b919050565b600060208284031215610cbb57600080fd5b610b3182610c8d565b6001600160a01b0381168114610cd957600080fd5b50565b600060208284031215610cee57600080fd5b8151610b3181610cc4565b60208082526017908201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b825181526020808401518183015282516040830152820151606082015260808101610b31565b8051610ca481610cc4565b600060408284031215610d7357600080fd5b610d7b610b86565b9050815181526020820151602082015292915050565b60006101a08284031215610da457600080fd5b610dac610bbd565b610db583610c8d565b8152610dc360208401610c8d565b6020820152610dd460408401610d56565b6040820152610de68460608501610d61565b6060820152610df88460a08501610d61565b6080820152610e0a8460e08501610d61565b60a0820152610e1d846101208501610d61565b60c0820152610e30846101608501610d61565b60e0820152939250505056fea2646970667358221220137046d2ea9d1f7f412d1bfc02656507f9938eb7c02f74e695cee49880caf1aa64736f6c63430008140033",
|
336
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061010b5760003560e01c80635ab1bd53116100a2578063b6b412ba11610071578063b6b412ba1461023f578063bc74aab014610252578063daafed4014610267578063de7b5d141461026f578063f83d08ba1461028057600080fd5b80635ab1bd53146101ff578063644c45e014610225578063893d20e81461022d578063a69df4b51461023557600080fd5b80631bdd6b76116100de5780631bdd6b76146101a657806321df0da7146101ae57806331b62a3b146101bf5780633bc5de30146101e557600080fd5b806301ffc9a714610110578063132996041461015257806315dae03e146101775780631aa3a00814610186575b600080fd5b61013d61011e366004610b07565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6003546001600160a01b03165b6040516001600160a01b039091168152602001610149565b604051606e8152602001610149565b61018e61028d565b6040516001600160601b039091168152602001610149565b61018e6104b2565b6004546001600160a01b031661015f565b7f000000000000000000000000000000000000000000000000000000000000000061018e565b604080516020810182526000815290516101499190610b38565b7f000000000000000000000000000000000000000000000000000000000000000061015f565b61018e61051f565b61015f61056e565b61023d6106cb565b005b61023d61024d366004610c1f565b610763565b61025a610803565b6040516101499190610c54565b61025a610946565b6005546001600160a01b031661015f565b61023d610a89565b905090565b600061029761056e565b6001600160a01b0316336001600160a01b0316146102d65760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661034c5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a434f422d3030313a52454749535452595f5a45524f000000000060448201526064016102cd565b60055460405163c3c5a54760e01b81526001600160a01b0391821660048201527f00000000000000000000000000000000000000000000000000000000000000009091169063c3c5a54790602401602060405180830381865afa1580156103b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103db9190610c6b565b6104315760405162461bcd60e51b815260206004820152602160248201527f4552524f523a434f423a494e5354414e43455f4e4f545f5245474953544552456044820152601160fa1b60648201526084016102cd565b6005805460ff60a01b1916600160a01b179055600154604051632210724360e11b81523060048201526001600160a01b0390911690634420e486906024016020604051808303816000875af115801561048e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102889190610ca9565b600954604051636939560f60e11b81526001600160a01b0391821660048201526000917f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e906024015b602060405180830381865afa15801561048e573d6000803e3d6000fd5b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401610502565b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa1580156105d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fb9190610ca9565b9050610608816000610af1565b15610634577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa1580156106a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c59190610cdc565b91505090565b6106d361056e565b6001600160a01b0316336001600160a01b0316146107035760405162461bcd60e51b81526004016102cd90610cf9565b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b15801561074957600080fd5b505af115801561075d573d6000803e3d6000fd5b50505050565b61076b61056e565b6001600160a01b0316336001600160a01b03161461079b5760405162461bcd60e51b81526004016102cd90610cf9565b600854604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba906107cd9085908590600401610d30565b600060405180830381600087803b1580156107e757600080fd5b505af11580156107fb573d6000803e3d6000fd5b505050505050565b6040805180820190915260008082526020820152600061082161051f565b60055460405163a310e2a360e01b81526001600160601b03831660048201529192506000916001600160a01b039091169063a310e2a390602401602060405180830381865afa158015610878573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089c9190610cdc565b6001600160a01b03161461092a5760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101a060405180830381865afa1580156108fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109209190610d91565b6080015191505090565b505060408051808201909152600a548152600b54602082015290565b6040805180820190915260008082526020820152600061096461051f565b60055460405163a310e2a360e01b81526001600160601b03831660048201529192506000916001600160a01b039091169063a310e2a390602401602060405180830381865afa1580156109bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109df9190610cdc565b6001600160a01b031614610a6d5760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101a060405180830381865afa158015610a3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a639190610d91565b60a0015191505090565b505060408051808201909152600c548152600d54602082015290565b610a9161056e565b6001600160a01b0316336001600160a01b031614610ac15760405162461bcd60e51b81526004016102cd90610cf9565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a79060240161072f565b6001600160601b03828116908216145b92915050565b600060208284031215610b1957600080fd5b81356001600160e01b031981168114610b3157600080fd5b9392505050565b600060208083528351808285015260005b81811015610b6557858101830151858201604001528201610b49565b506000604082860101526040601f19601f8301168501019250505092915050565b6040805190810167ffffffffffffffff81118282101715610bb757634e487b7160e01b600052604160045260246000fd5b60405290565b604051610100810167ffffffffffffffff81118282101715610bb757634e487b7160e01b600052604160045260246000fd5b600060408284031215610c0157600080fd5b610c09610b86565b9050813581526020820135602082015292915050565b60008060808385031215610c3257600080fd5b610c3c8484610bef565b9150610c4b8460408501610bef565b90509250929050565b815181526020808301519082015260408101610b01565b600060208284031215610c7d57600080fd5b81518015158114610b3157600080fd5b80516001600160601b0381168114610ca457600080fd5b919050565b600060208284031215610cbb57600080fd5b610b3182610c8d565b6001600160a01b0381168114610cd957600080fd5b50565b600060208284031215610cee57600080fd5b8151610b3181610cc4565b60208082526017908201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b825181526020808401518183015282516040830152820151606082015260808101610b31565b8051610ca481610cc4565b600060408284031215610d7357600080fd5b610d7b610b86565b9050815181526020820151602082015292915050565b60006101a08284031215610da457600080fd5b610dac610bbd565b610db583610c8d565b8152610dc360208401610c8d565b6020820152610dd460408401610d56565b6040820152610de68460608501610d61565b6060820152610df88460a08501610d61565b6080820152610e0a8460e08501610d61565b60a0820152610e1d846101208501610d61565b60c0820152610e30846101608501610d61565b60e0820152939250505056fea2646970667358221220137046d2ea9d1f7f412d1bfc02656507f9938eb7c02f74e695cee49880caf1aa64736f6c63430008140033",
|
337
|
+
"linkReferences": {
|
338
|
+
"contracts/types/Fee.sol": {
|
339
|
+
"FeeLib": [
|
340
|
+
{
|
341
|
+
"length": 20,
|
342
|
+
"start": 1205
|
343
|
+
}
|
344
|
+
]
|
345
|
+
}
|
346
|
+
},
|
304
347
|
"deployedLinkReferences": {}
|
305
348
|
}
|
@@ -52,8 +52,8 @@
|
|
52
52
|
"type": "function"
|
53
53
|
}
|
54
54
|
],
|
55
|
-
"bytecode": "
|
56
|
-
"deployedBytecode": "
|
55
|
+
"bytecode": "0x608060405234801561001057600080fd5b5061017d806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80630d3581811461003b578063e9e96c7014610078575b600080fd5b6100616100493660046100d8565b60ff9081166000908152602081905260409020541690565b60405160ff90911681526020015b60405180910390f35b6100b66100863660046100fc565b60ff9283166000908152600160209081526040808320948616835293815283822092851682529190915220541690565b604051901515815260200161006f565b60ff811681146100d557600080fd5b50565b6000602082840312156100ea57600080fd5b81356100f5816100c6565b9392505050565b60008060006060848603121561011157600080fd5b833561011c816100c6565b9250602084013561012c816100c6565b9150604084013561013c816100c6565b80915050925092509256fea2646970667358221220040468943cdc92b593049848a7e4aa47fb3192c1a85a855c0b0afd7489767c7e64736f6c63430008140033",
|
56
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100365760003560e01c80630d3581811461003b578063e9e96c7014610078575b600080fd5b6100616100493660046100d8565b60ff9081166000908152602081905260409020541690565b60405160ff90911681526020015b60405180910390f35b6100b66100863660046100fc565b60ff9283166000908152600160209081526040808320948616835293815283822092851682529190915220541690565b604051901515815260200161006f565b60ff811681146100d557600080fd5b50565b6000602082840312156100ea57600080fd5b81356100f5816100c6565b9392505050565b60008060006060848603121561011157600080fd5b833561011c816100c6565b9250602084013561012c816100c6565b9150604084013561013c816100c6565b80915050925092509256fea2646970667358221220040468943cdc92b593049848a7e4aa47fb3192c1a85a855c0b0afd7489767c7e64736f6c63430008140033",
|
57
57
|
"linkReferences": {},
|
58
58
|
"deployedLinkReferences": {}
|
59
59
|
}
|