@etherisc/gif-next 0.0.2-da77c50-824 → 0.0.2-de220d6-949
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +5 -14
- 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 +2 -2
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +2 -2
- package/artifacts/contracts/experiment/errors/IncrementRevert.sol/IIncrementRevert.dbg.json +4 -0
- package/artifacts/contracts/experiment/errors/IncrementRevert.sol/IIncrementRevert.json +27 -0
- package/artifacts/contracts/experiment/errors/IncrementRevert.sol/IncrementRevert.dbg.json +4 -0
- package/artifacts/contracts/experiment/errors/IncrementRevert.sol/IncrementRevert.json +83 -0
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Revert.sol/IRevert.dbg.json +4 -0
- package/artifacts/contracts/experiment/errors/Revert.sol/IRevert.json +75 -0
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +34 -2
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +2 -2
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +60 -206
- 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 +224 -306
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/{service → base}/ComponentServiceBase.sol/ComponentServiceBase.json +6 -6
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/{IServiceLinked.sol/IServiceLinked.json → base/IInstanceBase.sol/IInstanceBase.json} +15 -2
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +511 -0
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/{module/lifecycle/ILifecycle.sol/ILifecycleModule.json → base/ILifecycle.sol/ILifecycle.json} +10 -77
- package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +4 -0
- package/artifacts/contracts/instance/{service → base}/IService.sol/IService.json +6 -6
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/{InstanceBase.sol → base/InstanceBase.sol}/InstanceBase.json +19 -6
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +692 -0
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +169 -0
- package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +4 -0
- package/artifacts/contracts/instance/{module/product/ProductModule.sol/ProductModule.json → base/ModuleBase.sol/ModuleBase.json} +2 -2
- package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/{service → base}/ServiceBase.sol/ServiceBase.json +6 -6
- 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 +50 -30
- 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 +50 -30
- package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +10 -0
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +4 -0
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +10 -0
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +10 -0
- package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +1 -1
- 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/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 +12 -2
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +12 -2
- 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/PoolModule.sol/PoolModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{product/IProductModule.sol/IProductModule.json → risk/IRisk.sol/IRisk.json} +2 -2
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +10 -0
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +10 -0
- 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 +1 -6
- 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 +1 -6
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +48 -44
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +5 -5
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +5 -5
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +5 -5
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +18 -46
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +47 -59
- 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/IVersionable.sol/IVersionable.json +5 -5
- 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/shared/Versionable.sol/Versionable.json +5 -5
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +28 -4
- package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +1 -1
- package/artifacts/contracts/test/TestPool.sol/TestPool.json +2 -2
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +1 -1
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +2 -2
- 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/TestRoleId.sol/TestRoleId.json +38 -4
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +15 -43
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +14 -18
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +15 -39
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
- package/artifacts/contracts/test/Usdc.sol/USDC.json +338 -0
- 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 +4 -0
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +218 -0
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +111 -0
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +65 -4
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +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/RoleId.sol/RoleIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +30 -0
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +34 -8
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.json +63 -2
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
- package/contracts/components/BaseComponent.sol +0 -1
- package/contracts/experiment/errors/IncrementRevert.sol +43 -0
- package/contracts/experiment/errors/Revert.sol +13 -4
- package/contracts/instance/IInstance.sol +13 -11
- package/contracts/instance/Instance.sol +13 -7
- package/contracts/instance/{service → base}/ComponentServiceBase.sol +1 -0
- package/contracts/instance/base/IInstanceBase.sol +14 -0
- package/contracts/instance/base/IKeyValueStore.sol +49 -0
- package/contracts/instance/base/ILifecycle.sol +30 -0
- package/contracts/instance/{InstanceBase.sol → base/InstanceBase.sol} +21 -15
- package/contracts/instance/base/KeyValueStore.sol +156 -0
- package/contracts/instance/{module/lifecycle/LifecycleModule.sol → base/Lifecycle.sol} +36 -30
- package/contracts/instance/base/ModuleBase.sol +52 -0
- package/contracts/instance/{service → base}/ServiceBase.sol +1 -3
- package/contracts/instance/module/access/Access.sol +3 -3
- package/contracts/instance/module/bundle/BundleModule.sol +24 -116
- package/contracts/instance/module/bundle/IBundle.sol +8 -3
- package/contracts/instance/module/compensation/CompensationModule.sol +8 -0
- package/contracts/instance/module/compensation/ICompensation.sol +10 -0
- package/contracts/instance/module/component/ComponentModule.sol +11 -20
- package/contracts/instance/module/policy/IPolicy.sol +2 -1
- package/contracts/instance/module/policy/PolicyModule.sol +4 -11
- package/contracts/instance/module/{product/IProductModule.sol → risk/IRisk.sol} +6 -2
- package/contracts/instance/module/risk/RiskModule.sol +8 -0
- package/contracts/instance/module/treasury/ITreasury.sol +2 -3
- package/contracts/instance/module/treasury/TreasuryModule.sol +15 -11
- package/contracts/instance/service/ComponentOwnerService.sol +4 -8
- package/contracts/instance/service/IComponentOwnerService.sol +1 -1
- package/contracts/instance/service/IPoolService.sol +1 -1
- package/contracts/instance/service/IProductService.sol +1 -1
- package/contracts/instance/service/PoolService.sol +36 -11
- package/contracts/instance/service/ProductService.sol +7 -11
- package/contracts/registry/Registry.sol +1 -1
- package/contracts/shared/IVersionable.sol +2 -2
- package/contracts/shared/Versionable.sol +3 -6
- package/contracts/test/TestFee.sol +3 -3
- package/contracts/test/TestPool.sol +1 -1
- package/contracts/test/TestProduct.sol +1 -1
- package/contracts/test/TestRoleId.sol +2 -2
- package/contracts/test/TestService.sol +3 -6
- package/contracts/test/TestVersion.sol +4 -7
- package/contracts/test/TestVersionable.sol +2 -5
- package/contracts/test/Usdc.sol +26 -0
- package/contracts/types/Fee.sol +39 -20
- package/contracts/types/Key32.sol +45 -0
- package/contracts/types/NftId.sol +16 -1
- package/contracts/types/RoleId.sol +11 -9
- package/contracts/types/StateId.sol +7 -1
- package/contracts/types/UFixed.sol +19 -16
- package/contracts/types/Version.sol +29 -25
- package/package.json +1 -1
- package/artifacts/contracts/instance/IServiceLinked.sol/IServiceLinked.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycle.json +0 -134
- package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/lifecycle/LifecycleModule.sol/LifecycleModule.json +0 -221
- package/artifacts/contracts/instance/module/product/IProductModule.sol/IProductModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/product/ProductModule.sol/ProductModule.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IService.sol/IService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ServiceBase.sol/ServiceBase.dbg.json +0 -4
- package/contracts/instance/IServiceLinked.sol +0 -12
- package/contracts/instance/module/lifecycle/ILifecycle.sol +0 -47
- package/contracts/instance/module/product/ProductModule.sol +0 -8
- /package/contracts/instance/{service → base}/IService.sol +0 -0
@@ -117,8 +117,8 @@
|
|
117
117
|
"type": "function"
|
118
118
|
}
|
119
119
|
],
|
120
|
-
"bytecode": "
|
121
|
-
"deployedBytecode": "
|
120
|
+
"bytecode": "0x608060405234801561001057600080fd5b50610200806100206000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80631865c57d1461004657806357c26a351461006057806379412d2814610075575b600080fd5b60015460405160ff90911681526020015b60405180910390f35b61007361006e366004610175565b6100b5565b005b6100a5610083366004610197565b60ff918216600090815260208181526040808320938516835292905220541690565b6040519015158152602001610057565b60015460ff90811660009081526020818152604080832085851684529091529020541661010a57600154604051635d7cbd3d60e01b815260ff9182166004820152908216602482015260440160405180910390fd5b6001805460ff83811660ff1983168117909355604080519190921680825260208201939093527fddbd36f3979db212a01f1175ab2c9205f870d98acf5f28bac835ab5e83337812910160405180910390a15050565b803560ff8116811461017057600080fd5b919050565b60006020828403121561018757600080fd5b6101908261015f565b9392505050565b600080604083850312156101aa57600080fd5b6101b38361015f565b91506101c16020840161015f565b9050925092905056fea26469706673582212201c5f5f2bdf63d2d0282552c1693600daeafd55168cb2d571aa4185889912dccb64736f6c63430008140033",
|
121
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100415760003560e01c80631865c57d1461004657806357c26a351461006057806379412d2814610075575b600080fd5b60015460405160ff90911681526020015b60405180910390f35b61007361006e366004610175565b6100b5565b005b6100a5610083366004610197565b60ff918216600090815260208181526040808320938516835292905220541690565b6040519015158152602001610057565b60015460ff90811660009081526020818152604080832085851684529091529020541661010a57600154604051635d7cbd3d60e01b815260ff9182166004820152908216602482015260440160405180910390fd5b6001805460ff83811660ff1983168117909355604080519190921680825260208201939093527fddbd36f3979db212a01f1175ab2c9205f870d98acf5f28bac835ab5e83337812910160405180910390a15050565b803560ff8116811461017057600080fd5b919050565b60006020828403121561018757600080fd5b6101908261015f565b9392505050565b600080604083850312156101aa57600080fd5b6101b38361015f565b91506101c16020840161015f565b9050925092905056fea26469706673582212201c5f5f2bdf63d2d0282552c1693600daeafd55168cb2d571aa4185889912dccb64736f6c63430008140033",
|
122
122
|
"linkReferences": {},
|
123
123
|
"deployedLinkReferences": {}
|
124
124
|
}
|
package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json
CHANGED
@@ -200,8 +200,8 @@
|
|
200
200
|
"type": "function"
|
201
201
|
}
|
202
202
|
],
|
203
|
-
"bytecode": "
|
204
|
-
"deployedBytecode": "
|
203
|
+
"bytecode": "0x608060405234801561001057600080fd5b5061001d600a6014610044565b6100296014600a610044565b6100356014601e610044565b61003f600a6100c9565b610108565b6100568260005b60ff90811691161490565b156100745760405163b5f9d83760e01b815260040160405180910390fd5b61007f81600061004b565b1561009d5760405163e9c8e0f360e01b815260040160405180910390fd5b60ff9182166000908152602081815260408083209390941682529190915220805460ff19166001179055565b6100d481600061004b565b156100f25760405163251d7b3360e21b815260040160405180910390fd5b6001805460ff191660ff92909216919091179055565b610286806101176000396000f3fe608060405234801561001057600080fd5b50600436106100925760003560e01c806360cb89b91161006657806360cb89b9146100de57806379412d28146100e5578063a9aad58c14610125578063c80c07381461012c578063c90bd0471461013457600080fd5b80622f211a146100975780630c06bb31146100b65780631865c57d146100be57806357c26a35146100c9575b600080fd5b61009f601e81565b60405160ff90911681526020015b60405180910390f35b61009f601481565b60015460ff1661009f565b6100dc6100d73660046101fb565b61013b565b005b601e61009f565b6101156100f336600461021d565b60ff918216600090815260208181526040808320938516835292905220541690565b60405190151581526020016100ad565b601461009f565b61009f600a81565b600a61009f565b60015460ff90811660009081526020818152604080832085851684529091529020541661019057600154604051635d7cbd3d60e01b815260ff9182166004820152908216602482015260440160405180910390fd5b6001805460ff83811660ff1983168117909355604080519190921680825260208201939093527fddbd36f3979db212a01f1175ab2c9205f870d98acf5f28bac835ab5e83337812910160405180910390a15050565b803560ff811681146101f657600080fd5b919050565b60006020828403121561020d57600080fd5b610216826101e5565b9392505050565b6000806040838503121561023057600080fd5b610239836101e5565b9150610247602084016101e5565b9050925092905056fea26469706673582212206dce6e3ccb4e7271d5c1a4e6c0e3cc1f223e07d92e41b7acd3d86bc509bde35264736f6c63430008140033",
|
204
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100925760003560e01c806360cb89b91161006657806360cb89b9146100de57806379412d28146100e5578063a9aad58c14610125578063c80c07381461012c578063c90bd0471461013457600080fd5b80622f211a146100975780630c06bb31146100b65780631865c57d146100be57806357c26a35146100c9575b600080fd5b61009f601e81565b60405160ff90911681526020015b60405180910390f35b61009f601481565b60015460ff1661009f565b6100dc6100d73660046101fb565b61013b565b005b601e61009f565b6101156100f336600461021d565b60ff918216600090815260208181526040808320938516835292905220541690565b60405190151581526020016100ad565b601461009f565b61009f600a81565b600a61009f565b60015460ff90811660009081526020818152604080832085851684529091529020541661019057600154604051635d7cbd3d60e01b815260ff9182166004820152908216602482015260440160405180910390fd5b6001805460ff83811660ff1983168117909355604080519190921680825260208201939093527fddbd36f3979db212a01f1175ab2c9205f870d98acf5f28bac835ab5e83337812910160405180910390a15050565b803560ff811681146101f657600080fd5b919050565b60006020828403121561020d57600080fd5b610216826101e5565b9392505050565b6000806040838503121561023057600080fd5b610239836101e5565b9150610247602084016101e5565b9050925092905056fea26469706673582212206dce6e3ccb4e7271d5c1a4e6c0e3cc1f223e07d92e41b7acd3d86bc509bde35264736f6c63430008140033",
|
205
205
|
"linkReferences": {},
|
206
206
|
"deployedLinkReferences": {}
|
207
207
|
}
|
@@ -3,48 +3,6 @@
|
|
3
3
|
"contractName": "IInstance",
|
4
4
|
"sourceName": "contracts/instance/IInstance.sol",
|
5
5
|
"abi": [
|
6
|
-
{
|
7
|
-
"inputs": [
|
8
|
-
{
|
9
|
-
"internalType": "NftId",
|
10
|
-
"name": "nftId",
|
11
|
-
"type": "uint96"
|
12
|
-
},
|
13
|
-
{
|
14
|
-
"internalType": "ObjectType",
|
15
|
-
"name": "objectType",
|
16
|
-
"type": "uint8"
|
17
|
-
},
|
18
|
-
{
|
19
|
-
"internalType": "StateId",
|
20
|
-
"name": "fromStateId",
|
21
|
-
"type": "uint8"
|
22
|
-
},
|
23
|
-
{
|
24
|
-
"internalType": "StateId",
|
25
|
-
"name": "toStateId",
|
26
|
-
"type": "uint8"
|
27
|
-
}
|
28
|
-
],
|
29
|
-
"name": "ErrorInvalidStateTransition",
|
30
|
-
"type": "error"
|
31
|
-
},
|
32
|
-
{
|
33
|
-
"inputs": [
|
34
|
-
{
|
35
|
-
"internalType": "NftId",
|
36
|
-
"name": "nftId",
|
37
|
-
"type": "uint96"
|
38
|
-
},
|
39
|
-
{
|
40
|
-
"internalType": "ObjectType",
|
41
|
-
"name": "objectType",
|
42
|
-
"type": "uint8"
|
43
|
-
}
|
44
|
-
],
|
45
|
-
"name": "ErrorNoLifecycle",
|
46
|
-
"type": "error"
|
47
|
-
},
|
48
6
|
{
|
49
7
|
"anonymous": false,
|
50
8
|
"inputs": [
|
@@ -108,87 +66,6 @@
|
|
108
66
|
"name": "LogAccessRoleStateSet",
|
109
67
|
"type": "event"
|
110
68
|
},
|
111
|
-
{
|
112
|
-
"anonymous": false,
|
113
|
-
"inputs": [
|
114
|
-
{
|
115
|
-
"indexed": false,
|
116
|
-
"internalType": "NftId",
|
117
|
-
"name": "nftId",
|
118
|
-
"type": "uint96"
|
119
|
-
},
|
120
|
-
{
|
121
|
-
"indexed": false,
|
122
|
-
"internalType": "StateId",
|
123
|
-
"name": "fromStateId",
|
124
|
-
"type": "uint8"
|
125
|
-
},
|
126
|
-
{
|
127
|
-
"indexed": false,
|
128
|
-
"internalType": "StateId",
|
129
|
-
"name": "toStateId",
|
130
|
-
"type": "uint8"
|
131
|
-
}
|
132
|
-
],
|
133
|
-
"name": "LogBundleStateChanged",
|
134
|
-
"type": "event"
|
135
|
-
},
|
136
|
-
{
|
137
|
-
"anonymous": false,
|
138
|
-
"inputs": [
|
139
|
-
{
|
140
|
-
"indexed": false,
|
141
|
-
"internalType": "NftId",
|
142
|
-
"name": "nftId",
|
143
|
-
"type": "uint96"
|
144
|
-
},
|
145
|
-
{
|
146
|
-
"indexed": false,
|
147
|
-
"internalType": "ObjectType",
|
148
|
-
"name": "objectType",
|
149
|
-
"type": "uint8"
|
150
|
-
},
|
151
|
-
{
|
152
|
-
"indexed": false,
|
153
|
-
"internalType": "StateId",
|
154
|
-
"name": "fromStateId",
|
155
|
-
"type": "uint8"
|
156
|
-
},
|
157
|
-
{
|
158
|
-
"indexed": false,
|
159
|
-
"internalType": "StateId",
|
160
|
-
"name": "toStateId",
|
161
|
-
"type": "uint8"
|
162
|
-
}
|
163
|
-
],
|
164
|
-
"name": "LogComponentStateChanged",
|
165
|
-
"type": "event"
|
166
|
-
},
|
167
|
-
{
|
168
|
-
"anonymous": false,
|
169
|
-
"inputs": [
|
170
|
-
{
|
171
|
-
"indexed": false,
|
172
|
-
"internalType": "NftId",
|
173
|
-
"name": "nftId",
|
174
|
-
"type": "uint96"
|
175
|
-
},
|
176
|
-
{
|
177
|
-
"indexed": false,
|
178
|
-
"internalType": "StateId",
|
179
|
-
"name": "fromStateId",
|
180
|
-
"type": "uint8"
|
181
|
-
},
|
182
|
-
{
|
183
|
-
"indexed": false,
|
184
|
-
"internalType": "StateId",
|
185
|
-
"name": "toStateId",
|
186
|
-
"type": "uint8"
|
187
|
-
}
|
188
|
-
],
|
189
|
-
"name": "LogPolicyStateChanged",
|
190
|
-
"type": "event"
|
191
|
-
},
|
192
69
|
{
|
193
70
|
"anonymous": false,
|
194
71
|
"inputs": [
|
@@ -450,11 +327,6 @@
|
|
450
327
|
"name": "poolNftId",
|
451
328
|
"type": "uint96"
|
452
329
|
},
|
453
|
-
{
|
454
|
-
"internalType": "StateId",
|
455
|
-
"name": "state",
|
456
|
-
"type": "uint8"
|
457
|
-
},
|
458
330
|
{
|
459
331
|
"internalType": "bytes",
|
460
332
|
"name": "filter",
|
@@ -475,11 +347,6 @@
|
|
475
347
|
"name": "balanceAmount",
|
476
348
|
"type": "uint256"
|
477
349
|
},
|
478
|
-
{
|
479
|
-
"internalType": "Timestamp",
|
480
|
-
"name": "createdAt",
|
481
|
-
"type": "uint40"
|
482
|
-
},
|
483
350
|
{
|
484
351
|
"internalType": "Timestamp",
|
485
352
|
"name": "expiredAt",
|
@@ -489,11 +356,6 @@
|
|
489
356
|
"internalType": "Timestamp",
|
490
357
|
"name": "closedAt",
|
491
358
|
"type": "uint40"
|
492
|
-
},
|
493
|
-
{
|
494
|
-
"internalType": "Blocknumber",
|
495
|
-
"name": "updatedIn",
|
496
|
-
"type": "uint32"
|
497
359
|
}
|
498
360
|
],
|
499
361
|
"internalType": "struct IBundle.BundleInfo",
|
@@ -659,19 +521,13 @@
|
|
659
521
|
"type": "function"
|
660
522
|
},
|
661
523
|
{
|
662
|
-
"inputs": [
|
663
|
-
|
664
|
-
"internalType": "ObjectType",
|
665
|
-
"name": "objectType",
|
666
|
-
"type": "uint8"
|
667
|
-
}
|
668
|
-
],
|
669
|
-
"name": "getInitialState",
|
524
|
+
"inputs": [],
|
525
|
+
"name": "getKeyValueStore",
|
670
526
|
"outputs": [
|
671
527
|
{
|
672
|
-
"internalType": "
|
673
|
-
"name": "",
|
674
|
-
"type": "
|
528
|
+
"internalType": "contract IKeyValueStore",
|
529
|
+
"name": "keyValueStore",
|
530
|
+
"type": "address"
|
675
531
|
}
|
676
532
|
],
|
677
533
|
"stateMutability": "view",
|
@@ -775,7 +631,12 @@
|
|
775
631
|
},
|
776
632
|
{
|
777
633
|
"internalType": "bytes",
|
778
|
-
"name": "
|
634
|
+
"name": "applicationData",
|
635
|
+
"type": "bytes"
|
636
|
+
},
|
637
|
+
{
|
638
|
+
"internalType": "bytes",
|
639
|
+
"name": "policyData",
|
779
640
|
"type": "bytes"
|
780
641
|
},
|
781
642
|
{
|
@@ -971,11 +832,6 @@
|
|
971
832
|
"name": "token",
|
972
833
|
"type": "address"
|
973
834
|
},
|
974
|
-
{
|
975
|
-
"internalType": "contract TokenHandler",
|
976
|
-
"name": "tokenHandler",
|
977
|
-
"type": "address"
|
978
|
-
},
|
979
835
|
{
|
980
836
|
"internalType": "address",
|
981
837
|
"name": "wallet",
|
@@ -1171,7 +1027,7 @@
|
|
1171
1027
|
"inputs": [
|
1172
1028
|
{
|
1173
1029
|
"internalType": "NftId",
|
1174
|
-
"name": "
|
1030
|
+
"name": "componentNftId",
|
1175
1031
|
"type": "uint96"
|
1176
1032
|
}
|
1177
1033
|
],
|
@@ -1314,15 +1170,15 @@
|
|
1314
1170
|
"name": "activatedBy",
|
1315
1171
|
"type": "address"
|
1316
1172
|
},
|
1317
|
-
{
|
1318
|
-
"internalType": "Blocknumber",
|
1319
|
-
"name": "activatedIn",
|
1320
|
-
"type": "uint32"
|
1321
|
-
},
|
1322
1173
|
{
|
1323
1174
|
"internalType": "Timestamp",
|
1324
1175
|
"name": "activatedAt",
|
1325
1176
|
"type": "uint40"
|
1177
|
+
},
|
1178
|
+
{
|
1179
|
+
"internalType": "Blocknumber",
|
1180
|
+
"name": "activatedIn",
|
1181
|
+
"type": "uint32"
|
1326
1182
|
}
|
1327
1183
|
],
|
1328
1184
|
"internalType": "struct IVersionable.VersionInfo",
|
@@ -1419,35 +1275,6 @@
|
|
1419
1275
|
"stateMutability": "view",
|
1420
1276
|
"type": "function"
|
1421
1277
|
},
|
1422
|
-
{
|
1423
|
-
"inputs": [
|
1424
|
-
{
|
1425
|
-
"internalType": "ObjectType",
|
1426
|
-
"name": "objectType",
|
1427
|
-
"type": "uint8"
|
1428
|
-
},
|
1429
|
-
{
|
1430
|
-
"internalType": "StateId",
|
1431
|
-
"name": "fromId",
|
1432
|
-
"type": "uint8"
|
1433
|
-
},
|
1434
|
-
{
|
1435
|
-
"internalType": "StateId",
|
1436
|
-
"name": "toId",
|
1437
|
-
"type": "uint8"
|
1438
|
-
}
|
1439
|
-
],
|
1440
|
-
"name": "isValidTransition",
|
1441
|
-
"outputs": [
|
1442
|
-
{
|
1443
|
-
"internalType": "bool",
|
1444
|
-
"name": "",
|
1445
|
-
"type": "bool"
|
1446
|
-
}
|
1447
|
-
],
|
1448
|
-
"stateMutability": "view",
|
1449
|
-
"type": "function"
|
1450
|
-
},
|
1451
1278
|
{
|
1452
1279
|
"inputs": [],
|
1453
1280
|
"name": "register",
|
@@ -1701,11 +1528,6 @@
|
|
1701
1528
|
"name": "poolNftId",
|
1702
1529
|
"type": "uint96"
|
1703
1530
|
},
|
1704
|
-
{
|
1705
|
-
"internalType": "StateId",
|
1706
|
-
"name": "state",
|
1707
|
-
"type": "uint8"
|
1708
|
-
},
|
1709
1531
|
{
|
1710
1532
|
"internalType": "bytes",
|
1711
1533
|
"name": "filter",
|
@@ -1726,11 +1548,6 @@
|
|
1726
1548
|
"name": "balanceAmount",
|
1727
1549
|
"type": "uint256"
|
1728
1550
|
},
|
1729
|
-
{
|
1730
|
-
"internalType": "Timestamp",
|
1731
|
-
"name": "createdAt",
|
1732
|
-
"type": "uint40"
|
1733
|
-
},
|
1734
1551
|
{
|
1735
1552
|
"internalType": "Timestamp",
|
1736
1553
|
"name": "expiredAt",
|
@@ -1740,11 +1557,6 @@
|
|
1740
1557
|
"internalType": "Timestamp",
|
1741
1558
|
"name": "closedAt",
|
1742
1559
|
"type": "uint40"
|
1743
|
-
},
|
1744
|
-
{
|
1745
|
-
"internalType": "Blocknumber",
|
1746
|
-
"name": "updatedIn",
|
1747
|
-
"type": "uint32"
|
1748
1560
|
}
|
1749
1561
|
],
|
1750
1562
|
"internalType": "struct IBundle.BundleInfo",
|
@@ -1844,7 +1656,12 @@
|
|
1844
1656
|
},
|
1845
1657
|
{
|
1846
1658
|
"internalType": "bytes",
|
1847
|
-
"name": "
|
1659
|
+
"name": "applicationData",
|
1660
|
+
"type": "bytes"
|
1661
|
+
},
|
1662
|
+
{
|
1663
|
+
"internalType": "bytes",
|
1664
|
+
"name": "policyData",
|
1848
1665
|
"type": "bytes"
|
1849
1666
|
},
|
1850
1667
|
{
|
@@ -2013,6 +1830,43 @@
|
|
2013
1830
|
],
|
2014
1831
|
"stateMutability": "view",
|
2015
1832
|
"type": "function"
|
1833
|
+
},
|
1834
|
+
{
|
1835
|
+
"inputs": [
|
1836
|
+
{
|
1837
|
+
"internalType": "NftId",
|
1838
|
+
"name": "bundleNftId",
|
1839
|
+
"type": "uint96"
|
1840
|
+
}
|
1841
|
+
],
|
1842
|
+
"name": "toBundleKey32",
|
1843
|
+
"outputs": [
|
1844
|
+
{
|
1845
|
+
"internalType": "Key32",
|
1846
|
+
"name": "key32",
|
1847
|
+
"type": "bytes32"
|
1848
|
+
}
|
1849
|
+
],
|
1850
|
+
"stateMutability": "view",
|
1851
|
+
"type": "function"
|
1852
|
+
},
|
1853
|
+
{
|
1854
|
+
"inputs": [
|
1855
|
+
{
|
1856
|
+
"internalType": "NftId",
|
1857
|
+
"name": "bundleNftId",
|
1858
|
+
"type": "uint96"
|
1859
|
+
},
|
1860
|
+
{
|
1861
|
+
"internalType": "StateId",
|
1862
|
+
"name": "state",
|
1863
|
+
"type": "uint8"
|
1864
|
+
}
|
1865
|
+
],
|
1866
|
+
"name": "updateBundleState",
|
1867
|
+
"outputs": [],
|
1868
|
+
"stateMutability": "nonpayable",
|
1869
|
+
"type": "function"
|
2016
1870
|
}
|
2017
1871
|
],
|
2018
1872
|
"bytecode": "0x",
|