@etherisc/gif-next 0.0.2-f9905e1 → 0.0.2-f99f1d2-109
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +33 -0
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/components/Component.sol/Component.json +35 -9
- package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +1 -1
- package/artifacts/contracts/components/Component.sol/InstanceLinked.json +2 -2
- package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +84 -8
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +34 -152
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +146 -13
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +148 -15
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +4 -0
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +105 -0
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +4 -0
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +105 -0
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +2 -2
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +2 -2
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +4 -0
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +59 -0
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +4 -0
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +124 -0
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +4 -0
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +74 -0
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +4 -0
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +124 -0
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +4 -0
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +207 -0
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +2 -2
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +2 -2
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +714 -127
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +845 -129
- package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +1 -1
- package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +1 -1
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +1 -1
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +1 -1
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +1 -1
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +31 -59
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +103 -6
- package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +1 -1
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +34 -8
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +1 -1
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +31 -59
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +50 -3
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +1 -1
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.json +134 -0
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +4 -0
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycleModule.json +182 -0
- package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +4 -0
- package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.json +221 -0
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +1 -1
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +44 -21
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +1 -1
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +44 -21
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +1 -1
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +1 -1
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +23 -43
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +1 -1
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +28 -35
- package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +1 -1
- package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +21 -8
- package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +1 -1
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +85 -14
- package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasury.dbg.json +4 -0
- package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasury.json +10 -0
- package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.dbg.json +4 -0
- package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.json +490 -0
- package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.dbg.json +4 -0
- package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.json +45 -0
- package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +4 -0
- package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.json +490 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +4 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +534 -0
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +4 -0
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +452 -0
- package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +8 -8
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +45 -128
- package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registerable.json +9 -9
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +95 -128
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +2 -2
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +174 -0
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +92 -0
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +92 -0
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +92 -0
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +4 -0
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +174 -0
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +4 -0
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +453 -0
- package/contracts/components/Component.sol +39 -24
- package/contracts/components/IPool.sol +9 -3
- package/contracts/components/IProduct.sol +11 -6
- package/contracts/components/Pool.sol +37 -14
- package/contracts/components/Product.sol +48 -24
- package/contracts/experiment/errors/Require.sol +38 -0
- package/contracts/experiment/errors/Revert.sol +44 -0
- package/contracts/experiment/inheritance/A.sol +8 -11
- package/contracts/experiment/inheritance/B.sol +10 -5
- package/contracts/experiment/inheritance/C.sol +11 -5
- package/contracts/experiment/inheritance/IA.sol +2 -7
- package/contracts/experiment/inheritance/IB.sol +3 -2
- package/contracts/experiment/inheritance/IC.sol +4 -3
- package/contracts/experiment/statemachine/Dummy.sol +27 -0
- package/contracts/experiment/statemachine/ISM.sol +25 -0
- package/contracts/experiment/statemachine/README.md +112 -0
- package/contracts/experiment/statemachine/SM.sol +57 -0
- package/contracts/experiment/statemachine/SimpleStateMachine.sol +31 -0
- package/contracts/experiment/types/TypeA.sol +14 -9
- package/contracts/experiment/types/TypeB.sol +14 -9
- package/contracts/instance/IInstance.sol +9 -4
- package/contracts/instance/Instance.sol +24 -15
- package/contracts/instance/access/Access.sol +63 -116
- package/contracts/instance/access/IAccess.sol +28 -48
- package/contracts/instance/component/ComponentModule.sol +162 -147
- package/contracts/instance/component/IComponent.sol +41 -61
- package/contracts/instance/lifecycle/ILifecycle.sol +47 -0
- package/contracts/instance/lifecycle/LifecycleModule.sol +88 -0
- package/contracts/instance/policy/IPolicy.sol +19 -35
- package/contracts/instance/policy/PolicyModule.sol +52 -44
- package/contracts/instance/pool/IPoolModule.sol +9 -26
- package/contracts/instance/pool/PoolModule.sol +43 -45
- package/contracts/instance/product/IProductService.sol +10 -19
- package/contracts/instance/product/ProductService.sol +86 -55
- package/contracts/instance/treasury/ITreasury.sol +91 -0
- package/contracts/instance/treasury/TokenHandler.sol +24 -0
- package/contracts/instance/treasury/TreasuryModule.sol +168 -0
- package/contracts/registry/ChainNft.sol +135 -0
- package/contracts/registry/IChainNft.sol +21 -0
- package/contracts/registry/IRegistry.sol +41 -40
- package/contracts/registry/Registry.sol +82 -97
- package/contracts/types/Blocknumber.sol +118 -0
- package/contracts/types/ChainId.sol +24 -10
- package/contracts/types/Fee.sol +32 -0
- package/contracts/types/NftId.sol +51 -0
- package/contracts/types/ObjectType.sol +107 -0
- package/contracts/types/StateId.sol +91 -0
- package/contracts/types/Timestamp.sol +102 -0
- package/contracts/types/UFixed.sol +206 -0
- package/package.json +13 -5
@@ -0,0 +1,92 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "NftIdLib",
|
4
|
+
"sourceName": "contracts/types/NftId.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "NftId",
|
10
|
+
"name": "a",
|
11
|
+
"type": "uint96"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"internalType": "NftId",
|
15
|
+
"name": "b",
|
16
|
+
"type": "uint96"
|
17
|
+
}
|
18
|
+
],
|
19
|
+
"name": "eq",
|
20
|
+
"outputs": [
|
21
|
+
{
|
22
|
+
"internalType": "bool",
|
23
|
+
"name": "isSame",
|
24
|
+
"type": "bool"
|
25
|
+
}
|
26
|
+
],
|
27
|
+
"stateMutability": "pure",
|
28
|
+
"type": "function"
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"inputs": [
|
32
|
+
{
|
33
|
+
"internalType": "NftId",
|
34
|
+
"name": "a",
|
35
|
+
"type": "uint96"
|
36
|
+
}
|
37
|
+
],
|
38
|
+
"name": "eqz",
|
39
|
+
"outputs": [
|
40
|
+
{
|
41
|
+
"internalType": "bool",
|
42
|
+
"name": "",
|
43
|
+
"type": "bool"
|
44
|
+
}
|
45
|
+
],
|
46
|
+
"stateMutability": "pure",
|
47
|
+
"type": "function"
|
48
|
+
},
|
49
|
+
{
|
50
|
+
"inputs": [
|
51
|
+
{
|
52
|
+
"internalType": "NftId",
|
53
|
+
"name": "a",
|
54
|
+
"type": "uint96"
|
55
|
+
}
|
56
|
+
],
|
57
|
+
"name": "gtz",
|
58
|
+
"outputs": [
|
59
|
+
{
|
60
|
+
"internalType": "bool",
|
61
|
+
"name": "",
|
62
|
+
"type": "bool"
|
63
|
+
}
|
64
|
+
],
|
65
|
+
"stateMutability": "pure",
|
66
|
+
"type": "function"
|
67
|
+
},
|
68
|
+
{
|
69
|
+
"inputs": [
|
70
|
+
{
|
71
|
+
"internalType": "NftId",
|
72
|
+
"name": "nftId",
|
73
|
+
"type": "uint96"
|
74
|
+
}
|
75
|
+
],
|
76
|
+
"name": "toInt",
|
77
|
+
"outputs": [
|
78
|
+
{
|
79
|
+
"internalType": "uint96",
|
80
|
+
"name": "",
|
81
|
+
"type": "uint96"
|
82
|
+
}
|
83
|
+
],
|
84
|
+
"stateMutability": "pure",
|
85
|
+
"type": "function"
|
86
|
+
}
|
87
|
+
],
|
88
|
+
"bytecode": "0x6102e2610053600b82828239805160001a607314610046577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100565760003560e01c806308dc895e1461005b57806330b8415f1461008b57806352694ee8146100bb578063c4cade9d146100eb575b600080fd5b610075600480360381019061007091906101df565b61011b565b604051610082919061021b565b60405180910390f35b6100a560048036038101906100a091906101df565b610125565b6040516100b29190610251565b60405180910390f35b6100d560048036038101906100d091906101df565b61013f565b6040516100e29190610251565b60405180910390f35b6101056004803603810190610100919061026c565b610159565b6040516101129190610251565b60405180910390f35b6000819050919050565b600080826bffffffffffffffffffffffff16119050919050565b600080826bffffffffffffffffffffffff16149050919050565b6000610165838361016d565b905092915050565b6000816bffffffffffffffffffffffff16836bffffffffffffffffffffffff1614905092915050565b600080fd5b60006bffffffffffffffffffffffff82169050919050565b6101bc8161019b565b81146101c757600080fd5b50565b6000813590506101d9816101b3565b92915050565b6000602082840312156101f5576101f4610196565b5b6000610203848285016101ca565b91505092915050565b6102158161019b565b82525050565b6000602082019050610230600083018461020c565b92915050565b60008115159050919050565b61024b81610236565b82525050565b60006020820190506102666000830184610242565b92915050565b6000806040838503121561028357610282610196565b5b6000610291858286016101ca565b92505060206102a2858286016101ca565b915050925092905056fea26469706673582212206ba628ecc3625dc46a878a86a11379b7982cca336d93b727940f1256e324c11f64736f6c63430008140033",
|
89
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100565760003560e01c806308dc895e1461005b57806330b8415f1461008b57806352694ee8146100bb578063c4cade9d146100eb575b600080fd5b610075600480360381019061007091906101df565b61011b565b604051610082919061021b565b60405180910390f35b6100a560048036038101906100a091906101df565b610125565b6040516100b29190610251565b60405180910390f35b6100d560048036038101906100d091906101df565b61013f565b6040516100e29190610251565b60405180910390f35b6101056004803603810190610100919061026c565b610159565b6040516101129190610251565b60405180910390f35b6000819050919050565b600080826bffffffffffffffffffffffff16119050919050565b600080826bffffffffffffffffffffffff16149050919050565b6000610165838361016d565b905092915050565b6000816bffffffffffffffffffffffff16836bffffffffffffffffffffffff1614905092915050565b600080fd5b60006bffffffffffffffffffffffff82169050919050565b6101bc8161019b565b81146101c757600080fd5b50565b6000813590506101d9816101b3565b92915050565b6000602082840312156101f5576101f4610196565b5b6000610203848285016101ca565b91505092915050565b6102158161019b565b82525050565b6000602082019050610230600083018461020c565b92915050565b60008115159050919050565b61024b81610236565b82525050565b60006020820190506102666000830184610242565b92915050565b6000806040838503121561028357610282610196565b5b6000610291858286016101ca565b92505060206102a2858286016101ca565b915050925092905056fea26469706673582212206ba628ecc3625dc46a878a86a11379b7982cca336d93b727940f1256e324c11f64736f6c63430008140033",
|
90
|
+
"linkReferences": {},
|
91
|
+
"deployedLinkReferences": {}
|
92
|
+
}
|
@@ -0,0 +1,92 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "ObjectTypeLib",
|
4
|
+
"sourceName": "contracts/types/ObjectType.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "ObjectType",
|
10
|
+
"name": "a",
|
11
|
+
"type": "uint8"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"internalType": "ObjectType",
|
15
|
+
"name": "b",
|
16
|
+
"type": "uint8"
|
17
|
+
}
|
18
|
+
],
|
19
|
+
"name": "eq",
|
20
|
+
"outputs": [
|
21
|
+
{
|
22
|
+
"internalType": "bool",
|
23
|
+
"name": "isSame",
|
24
|
+
"type": "bool"
|
25
|
+
}
|
26
|
+
],
|
27
|
+
"stateMutability": "pure",
|
28
|
+
"type": "function"
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"inputs": [
|
32
|
+
{
|
33
|
+
"internalType": "ObjectType",
|
34
|
+
"name": "a",
|
35
|
+
"type": "uint8"
|
36
|
+
}
|
37
|
+
],
|
38
|
+
"name": "eqz",
|
39
|
+
"outputs": [
|
40
|
+
{
|
41
|
+
"internalType": "bool",
|
42
|
+
"name": "",
|
43
|
+
"type": "bool"
|
44
|
+
}
|
45
|
+
],
|
46
|
+
"stateMutability": "pure",
|
47
|
+
"type": "function"
|
48
|
+
},
|
49
|
+
{
|
50
|
+
"inputs": [
|
51
|
+
{
|
52
|
+
"internalType": "ObjectType",
|
53
|
+
"name": "a",
|
54
|
+
"type": "uint8"
|
55
|
+
}
|
56
|
+
],
|
57
|
+
"name": "gtz",
|
58
|
+
"outputs": [
|
59
|
+
{
|
60
|
+
"internalType": "bool",
|
61
|
+
"name": "",
|
62
|
+
"type": "bool"
|
63
|
+
}
|
64
|
+
],
|
65
|
+
"stateMutability": "pure",
|
66
|
+
"type": "function"
|
67
|
+
},
|
68
|
+
{
|
69
|
+
"inputs": [
|
70
|
+
{
|
71
|
+
"internalType": "ObjectType",
|
72
|
+
"name": "objectType",
|
73
|
+
"type": "uint8"
|
74
|
+
}
|
75
|
+
],
|
76
|
+
"name": "toInt",
|
77
|
+
"outputs": [
|
78
|
+
{
|
79
|
+
"internalType": "uint96",
|
80
|
+
"name": "",
|
81
|
+
"type": "uint96"
|
82
|
+
}
|
83
|
+
],
|
84
|
+
"stateMutability": "pure",
|
85
|
+
"type": "function"
|
86
|
+
}
|
87
|
+
],
|
88
|
+
"bytecode": "0x6102c6610053600b82828239805160001a607314610046577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100565760003560e01c80632c2f8a671461005b5780636f9196201461008b578063ac43d834146100bb578063b2466acf146100eb575b600080fd5b610075600480360381019061007091906101ab565b61011b565b6040516100829190610206565b60405180910390f35b6100a560048036038101906100a09190610221565b61012f565b6040516100b29190610206565b60405180910390f35b6100d560048036038101906100d09190610221565b61013e565b6040516100e29190610275565b60405180910390f35b61010560048036038101906101009190610221565b61014b565b6040516101129190610206565b60405180910390f35b6000610127838361015a565b905092915050565b6000808260ff16149050919050565b60008160ff169050919050565b6000808260ff16119050919050565b60008160ff168360ff1614905092915050565b600080fd5b600060ff82169050919050565b61018881610172565b811461019357600080fd5b50565b6000813590506101a58161017f565b92915050565b600080604083850312156101c2576101c161016d565b5b60006101d085828601610196565b92505060206101e185828601610196565b9150509250929050565b60008115159050919050565b610200816101eb565b82525050565b600060208201905061021b60008301846101f7565b92915050565b6000602082840312156102375761023661016d565b5b600061024584828501610196565b91505092915050565b60006bffffffffffffffffffffffff82169050919050565b61026f8161024e565b82525050565b600060208201905061028a6000830184610266565b9291505056fea2646970667358221220b1fcbac09a561ee92a1910d1afd044284a45b68ccf7056195387281c58c1eba064736f6c63430008140033",
|
89
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100565760003560e01c80632c2f8a671461005b5780636f9196201461008b578063ac43d834146100bb578063b2466acf146100eb575b600080fd5b610075600480360381019061007091906101ab565b61011b565b6040516100829190610206565b60405180910390f35b6100a560048036038101906100a09190610221565b61012f565b6040516100b29190610206565b60405180910390f35b6100d560048036038101906100d09190610221565b61013e565b6040516100e29190610275565b60405180910390f35b61010560048036038101906101009190610221565b61014b565b6040516101129190610206565b60405180910390f35b6000610127838361015a565b905092915050565b6000808260ff16149050919050565b60008160ff169050919050565b6000808260ff16119050919050565b60008160ff168360ff1614905092915050565b600080fd5b600060ff82169050919050565b61018881610172565b811461019357600080fd5b50565b6000813590506101a58161017f565b92915050565b600080604083850312156101c2576101c161016d565b5b60006101d085828601610196565b92505060206101e185828601610196565b9150509250929050565b60008115159050919050565b610200816101eb565b82525050565b600060208201905061021b60008301846101f7565b92915050565b6000602082840312156102375761023661016d565b5b600061024584828501610196565b91505092915050565b60006bffffffffffffffffffffffff82169050919050565b61026f8161024e565b82525050565b600060208201905061028a6000830184610266565b9291505056fea2646970667358221220b1fcbac09a561ee92a1910d1afd044284a45b68ccf7056195387281c58c1eba064736f6c63430008140033",
|
90
|
+
"linkReferences": {},
|
91
|
+
"deployedLinkReferences": {}
|
92
|
+
}
|
@@ -0,0 +1,92 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "StateIdLib",
|
4
|
+
"sourceName": "contracts/types/StateId.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "StateId",
|
10
|
+
"name": "a",
|
11
|
+
"type": "uint8"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"internalType": "StateId",
|
15
|
+
"name": "b",
|
16
|
+
"type": "uint8"
|
17
|
+
}
|
18
|
+
],
|
19
|
+
"name": "eq",
|
20
|
+
"outputs": [
|
21
|
+
{
|
22
|
+
"internalType": "bool",
|
23
|
+
"name": "isSame",
|
24
|
+
"type": "bool"
|
25
|
+
}
|
26
|
+
],
|
27
|
+
"stateMutability": "pure",
|
28
|
+
"type": "function"
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"inputs": [
|
32
|
+
{
|
33
|
+
"internalType": "StateId",
|
34
|
+
"name": "a",
|
35
|
+
"type": "uint8"
|
36
|
+
}
|
37
|
+
],
|
38
|
+
"name": "eqz",
|
39
|
+
"outputs": [
|
40
|
+
{
|
41
|
+
"internalType": "bool",
|
42
|
+
"name": "",
|
43
|
+
"type": "bool"
|
44
|
+
}
|
45
|
+
],
|
46
|
+
"stateMutability": "pure",
|
47
|
+
"type": "function"
|
48
|
+
},
|
49
|
+
{
|
50
|
+
"inputs": [
|
51
|
+
{
|
52
|
+
"internalType": "StateId",
|
53
|
+
"name": "a",
|
54
|
+
"type": "uint8"
|
55
|
+
}
|
56
|
+
],
|
57
|
+
"name": "gtz",
|
58
|
+
"outputs": [
|
59
|
+
{
|
60
|
+
"internalType": "bool",
|
61
|
+
"name": "",
|
62
|
+
"type": "bool"
|
63
|
+
}
|
64
|
+
],
|
65
|
+
"stateMutability": "pure",
|
66
|
+
"type": "function"
|
67
|
+
},
|
68
|
+
{
|
69
|
+
"inputs": [
|
70
|
+
{
|
71
|
+
"internalType": "StateId",
|
72
|
+
"name": "stateId",
|
73
|
+
"type": "uint8"
|
74
|
+
}
|
75
|
+
],
|
76
|
+
"name": "toInt",
|
77
|
+
"outputs": [
|
78
|
+
{
|
79
|
+
"internalType": "uint96",
|
80
|
+
"name": "",
|
81
|
+
"type": "uint96"
|
82
|
+
}
|
83
|
+
],
|
84
|
+
"stateMutability": "pure",
|
85
|
+
"type": "function"
|
86
|
+
}
|
87
|
+
],
|
88
|
+
"bytecode": "0x6102c6610053600b82828239805160001a607314610046577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100565760003560e01c80632c2f8a671461005b5780636f9196201461008b578063ac43d834146100bb578063b2466acf146100eb575b600080fd5b610075600480360381019061007091906101ab565b61011b565b6040516100829190610206565b60405180910390f35b6100a560048036038101906100a09190610221565b61012f565b6040516100b29190610206565b60405180910390f35b6100d560048036038101906100d09190610221565b61013e565b6040516100e29190610275565b60405180910390f35b61010560048036038101906101009190610221565b61014b565b6040516101129190610206565b60405180910390f35b6000610127838361015a565b905092915050565b6000808260ff16149050919050565b60008160ff169050919050565b6000808260ff16119050919050565b60008160ff168360ff1614905092915050565b600080fd5b600060ff82169050919050565b61018881610172565b811461019357600080fd5b50565b6000813590506101a58161017f565b92915050565b600080604083850312156101c2576101c161016d565b5b60006101d085828601610196565b92505060206101e185828601610196565b9150509250929050565b60008115159050919050565b610200816101eb565b82525050565b600060208201905061021b60008301846101f7565b92915050565b6000602082840312156102375761023661016d565b5b600061024584828501610196565b91505092915050565b60006bffffffffffffffffffffffff82169050919050565b61026f8161024e565b82525050565b600060208201905061028a6000830184610266565b9291505056fea2646970667358221220de88f185fb7bbc250c20047ad53904081b5feca2d61eb8748107ead5414f061c64736f6c63430008140033",
|
89
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100565760003560e01c80632c2f8a671461005b5780636f9196201461008b578063ac43d834146100bb578063b2466acf146100eb575b600080fd5b610075600480360381019061007091906101ab565b61011b565b6040516100829190610206565b60405180910390f35b6100a560048036038101906100a09190610221565b61012f565b6040516100b29190610206565b60405180910390f35b6100d560048036038101906100d09190610221565b61013e565b6040516100e29190610275565b60405180910390f35b61010560048036038101906101009190610221565b61014b565b6040516101129190610206565b60405180910390f35b6000610127838361015a565b905092915050565b6000808260ff16149050919050565b60008160ff169050919050565b6000808260ff16119050919050565b60008160ff168360ff1614905092915050565b600080fd5b600060ff82169050919050565b61018881610172565b811461019357600080fd5b50565b6000813590506101a58161017f565b92915050565b600080604083850312156101c2576101c161016d565b5b60006101d085828601610196565b92505060206101e185828601610196565b9150509250929050565b60008115159050919050565b610200816101eb565b82525050565b600060208201905061021b60008301846101f7565b92915050565b6000602082840312156102375761023661016d565b5b600061024584828501610196565b91505092915050565b60006bffffffffffffffffffffffff82169050919050565b61026f8161024e565b82525050565b600060208201905061028a6000830184610266565b9291505056fea2646970667358221220de88f185fb7bbc250c20047ad53904081b5feca2d61eb8748107ead5414f061c64736f6c63430008140033",
|
90
|
+
"linkReferences": {},
|
91
|
+
"deployedLinkReferences": {}
|
92
|
+
}
|
@@ -0,0 +1,174 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "TimestampLib",
|
4
|
+
"sourceName": "contracts/types/Timestamp.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "Timestamp",
|
10
|
+
"name": "a",
|
11
|
+
"type": "uint40"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"internalType": "Timestamp",
|
15
|
+
"name": "b",
|
16
|
+
"type": "uint40"
|
17
|
+
}
|
18
|
+
],
|
19
|
+
"name": "eq",
|
20
|
+
"outputs": [
|
21
|
+
{
|
22
|
+
"internalType": "bool",
|
23
|
+
"name": "isSame",
|
24
|
+
"type": "bool"
|
25
|
+
}
|
26
|
+
],
|
27
|
+
"stateMutability": "pure",
|
28
|
+
"type": "function"
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"inputs": [
|
32
|
+
{
|
33
|
+
"internalType": "Timestamp",
|
34
|
+
"name": "a",
|
35
|
+
"type": "uint40"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"internalType": "Timestamp",
|
39
|
+
"name": "b",
|
40
|
+
"type": "uint40"
|
41
|
+
}
|
42
|
+
],
|
43
|
+
"name": "gt",
|
44
|
+
"outputs": [
|
45
|
+
{
|
46
|
+
"internalType": "bool",
|
47
|
+
"name": "isAfter",
|
48
|
+
"type": "bool"
|
49
|
+
}
|
50
|
+
],
|
51
|
+
"stateMutability": "pure",
|
52
|
+
"type": "function"
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"inputs": [
|
56
|
+
{
|
57
|
+
"internalType": "Timestamp",
|
58
|
+
"name": "a",
|
59
|
+
"type": "uint40"
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"internalType": "Timestamp",
|
63
|
+
"name": "b",
|
64
|
+
"type": "uint40"
|
65
|
+
}
|
66
|
+
],
|
67
|
+
"name": "gte",
|
68
|
+
"outputs": [
|
69
|
+
{
|
70
|
+
"internalType": "bool",
|
71
|
+
"name": "isAfterOrSame",
|
72
|
+
"type": "bool"
|
73
|
+
}
|
74
|
+
],
|
75
|
+
"stateMutability": "pure",
|
76
|
+
"type": "function"
|
77
|
+
},
|
78
|
+
{
|
79
|
+
"inputs": [
|
80
|
+
{
|
81
|
+
"internalType": "Timestamp",
|
82
|
+
"name": "a",
|
83
|
+
"type": "uint40"
|
84
|
+
},
|
85
|
+
{
|
86
|
+
"internalType": "Timestamp",
|
87
|
+
"name": "b",
|
88
|
+
"type": "uint40"
|
89
|
+
}
|
90
|
+
],
|
91
|
+
"name": "lt",
|
92
|
+
"outputs": [
|
93
|
+
{
|
94
|
+
"internalType": "bool",
|
95
|
+
"name": "isBefore",
|
96
|
+
"type": "bool"
|
97
|
+
}
|
98
|
+
],
|
99
|
+
"stateMutability": "pure",
|
100
|
+
"type": "function"
|
101
|
+
},
|
102
|
+
{
|
103
|
+
"inputs": [
|
104
|
+
{
|
105
|
+
"internalType": "Timestamp",
|
106
|
+
"name": "a",
|
107
|
+
"type": "uint40"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"internalType": "Timestamp",
|
111
|
+
"name": "b",
|
112
|
+
"type": "uint40"
|
113
|
+
}
|
114
|
+
],
|
115
|
+
"name": "lte",
|
116
|
+
"outputs": [
|
117
|
+
{
|
118
|
+
"internalType": "bool",
|
119
|
+
"name": "isBeforeOrSame",
|
120
|
+
"type": "bool"
|
121
|
+
}
|
122
|
+
],
|
123
|
+
"stateMutability": "pure",
|
124
|
+
"type": "function"
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"inputs": [
|
128
|
+
{
|
129
|
+
"internalType": "Timestamp",
|
130
|
+
"name": "a",
|
131
|
+
"type": "uint40"
|
132
|
+
},
|
133
|
+
{
|
134
|
+
"internalType": "Timestamp",
|
135
|
+
"name": "b",
|
136
|
+
"type": "uint40"
|
137
|
+
}
|
138
|
+
],
|
139
|
+
"name": "ne",
|
140
|
+
"outputs": [
|
141
|
+
{
|
142
|
+
"internalType": "bool",
|
143
|
+
"name": "isDifferent",
|
144
|
+
"type": "bool"
|
145
|
+
}
|
146
|
+
],
|
147
|
+
"stateMutability": "pure",
|
148
|
+
"type": "function"
|
149
|
+
},
|
150
|
+
{
|
151
|
+
"inputs": [
|
152
|
+
{
|
153
|
+
"internalType": "Timestamp",
|
154
|
+
"name": "timestamp",
|
155
|
+
"type": "uint40"
|
156
|
+
}
|
157
|
+
],
|
158
|
+
"name": "toInt",
|
159
|
+
"outputs": [
|
160
|
+
{
|
161
|
+
"internalType": "uint256",
|
162
|
+
"name": "",
|
163
|
+
"type": "uint256"
|
164
|
+
}
|
165
|
+
],
|
166
|
+
"stateMutability": "pure",
|
167
|
+
"type": "function"
|
168
|
+
}
|
169
|
+
],
|
170
|
+
"bytecode": "0x610459610053600b82828239805160001a607314610046577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100875760003560e01c8063add9ce9911610065578063add9ce991461011c578063c24922ce1461014c578063da09d4841461017c578063ddf3d631146101ac57610087565b806383ffcdef1461008c57806394335b1a146100bc5780639df87639146100ec575b600080fd5b6100a660048036038101906100a1919061034c565b6101dc565b6040516100b391906103a7565b60405180910390f35b6100d660048036038101906100d1919061034c565b6101f0565b6040516100e391906103a7565b60405180910390f35b6101066004803603810190610101919061034c565b610204565b60405161011391906103a7565b60405180910390f35b6101366004803603810190610131919061034c565b610218565b60405161014391906103a7565b60405180910390f35b6101666004803603810190610161919061034c565b61022c565b60405161017391906103a7565b60405180910390f35b610196600480360381019061019191906103c2565b610240565b6040516101a39190610408565b60405180910390f35b6101c660048036038101906101c1919061034c565b610251565b6040516101d391906103a7565b60405180910390f35b60006101e88383610265565b905092915050565b60006101fc8383610280565b905092915050565b6000610210838361029c565b905092915050565b600061022483836102b7565b905092915050565b600061023883836102d2565b905092915050565b60008164ffffffffff169050919050565b600061025d83836102ee565b905092915050565b60008164ffffffffff168364ffffffffff1611905092915050565b60008164ffffffffff168364ffffffffff161115905092915050565b60008164ffffffffff168364ffffffffff1614905092915050565b60008164ffffffffff168364ffffffffff1610905092915050565b60008164ffffffffff168364ffffffffff161015905092915050565b60008164ffffffffff168364ffffffffff161415905092915050565b600080fd5b600064ffffffffff82169050919050565b6103298161030f565b811461033457600080fd5b50565b60008135905061034681610320565b92915050565b600080604083850312156103635761036261030a565b5b600061037185828601610337565b925050602061038285828601610337565b9150509250929050565b60008115159050919050565b6103a18161038c565b82525050565b60006020820190506103bc6000830184610398565b92915050565b6000602082840312156103d8576103d761030a565b5b60006103e684828501610337565b91505092915050565b6000819050919050565b610402816103ef565b82525050565b600060208201905061041d60008301846103f9565b9291505056fea2646970667358221220c8144117ed9aeaef3ddb5d0c7c21e0c4f24c8cfdb4dc23b24670d33845a8e03b64736f6c63430008140033",
|
171
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100875760003560e01c8063add9ce9911610065578063add9ce991461011c578063c24922ce1461014c578063da09d4841461017c578063ddf3d631146101ac57610087565b806383ffcdef1461008c57806394335b1a146100bc5780639df87639146100ec575b600080fd5b6100a660048036038101906100a1919061034c565b6101dc565b6040516100b391906103a7565b60405180910390f35b6100d660048036038101906100d1919061034c565b6101f0565b6040516100e391906103a7565b60405180910390f35b6101066004803603810190610101919061034c565b610204565b60405161011391906103a7565b60405180910390f35b6101366004803603810190610131919061034c565b610218565b60405161014391906103a7565b60405180910390f35b6101666004803603810190610161919061034c565b61022c565b60405161017391906103a7565b60405180910390f35b610196600480360381019061019191906103c2565b610240565b6040516101a39190610408565b60405180910390f35b6101c660048036038101906101c1919061034c565b610251565b6040516101d391906103a7565b60405180910390f35b60006101e88383610265565b905092915050565b60006101fc8383610280565b905092915050565b6000610210838361029c565b905092915050565b600061022483836102b7565b905092915050565b600061023883836102d2565b905092915050565b60008164ffffffffff169050919050565b600061025d83836102ee565b905092915050565b60008164ffffffffff168364ffffffffff1611905092915050565b60008164ffffffffff168364ffffffffff161115905092915050565b60008164ffffffffff168364ffffffffff1614905092915050565b60008164ffffffffff168364ffffffffff1610905092915050565b60008164ffffffffff168364ffffffffff161015905092915050565b60008164ffffffffff168364ffffffffff161415905092915050565b600080fd5b600064ffffffffff82169050919050565b6103298161030f565b811461033457600080fd5b50565b60008135905061034681610320565b92915050565b600080604083850312156103635761036261030a565b5b600061037185828601610337565b925050602061038285828601610337565b9150509250929050565b60008115159050919050565b6103a18161038c565b82525050565b60006020820190506103bc6000830184610398565b92915050565b6000602082840312156103d8576103d761030a565b5b60006103e684828501610337565b91505092915050565b6000819050919050565b610402816103ef565b82525050565b600060208201905061041d60008301846103f9565b9291505056fea2646970667358221220c8144117ed9aeaef3ddb5d0c7c21e0c4f24c8cfdb4dc23b24670d33845a8e03b64736f6c63430008140033",
|
172
|
+
"linkReferences": {},
|
173
|
+
"deployedLinkReferences": {}
|
174
|
+
}
|