@etherisc/gif-next 0.0.2-ad36bbd → 0.0.2-e6a90b9
Sign up to get free protection for your applications and to get access to all the features.
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
- 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/IProduct.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/Require.sol/Require.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +2 -2
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +2 -2
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +2 -2
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +2 -2
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
- package/artifacts/contracts/experiment/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/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +2 -2
- 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/ComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +2 -2
- 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/IComponentModule.dbg.json +1 -1
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +1 -1
- 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/PolicyModule.sol/PolicyModule.dbg.json +1 -1
- 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/PoolModule.sol/PoolModule.dbg.json +1 -1
- 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/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 +2 -2
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +1 -1
- 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/IRegistry.dbg.json +1 -1
- 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/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +2 -2
- 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/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 +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
- package/contracts/experiment/errors/Require.sol +2 -2
- package/contracts/instance/component/ComponentModule.sol +1 -14
- package/contracts/registry/Registry.sol +3 -3
- package/package.json +1 -1
@@ -298,8 +298,8 @@
|
|
298
298
|
"type": "function"
|
299
299
|
}
|
300
300
|
],
|
301
|
-
"bytecode": "0x608060405234801561001057600080fd5b506117e3806100206000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c806382bfefc8116100a2578063c41a360a11610071578063c41a360a146102c0578063c4d66de8146102f0578063d15db8b41461030c578063d272ac1e1461032a578063dadbccee1461035a5761010b565b806382bfefc814610224578063ab10b8ec14610242578063be9a71bd14610272578063c3c5a547146102905761010b565b80633fe9300e116100de5780633fe9300e1461019a5780634420e486146101b857806353bed7c3146101e85780637535d246146102065761010b565b80631a3cd59a146101105780631a848cfb1461014057806325425a911461015e57806338013f021461017c575b600080fd5b61012a60048036038101906101259190611176565b610378565b604051610137919061125b565b60405180910390f35b61014861046e565b6040516101559190611285565b60405180910390f35b610166610506565b6040516101739190611285565b60405180910390f35b61018461050f565b6040516101919190611285565b60405180910390f35b6101a2610518565b6040516101af9190611330565b60405180910390f35b6101d260048036038101906101cd919061137e565b61052b565b6040516101df9190611285565b60405180910390f35b6101f0610c4c565b6040516101fd9190611285565b60405180910390f35b61020e610c55565b60405161021b9190611285565b60405180910390f35b61022c610c5e565b6040516102399190611285565b60405180910390f35b61025c600480360381019061025791906113ab565b610c67565b6040516102699190611285565b60405180910390f35b61027a610e96565b604051610287919061140d565b60405180910390f35b6102aa60048036038101906102a5919061137e565b610ec0565b6040516102b79190611443565b60405180910390f35b6102da60048036038101906102d59190611176565b610f0b565b6040516102e7919061140d565b60405180910390f35b61030a6004803603810190610305919061137e565b610fb0565b005b610314611085565b6040516103219190611285565b60405180910390f35b610344600480360381019061033f919061137e565b61108e565b6040516103519190611285565b60405180910390f35b6103626110d7565b60405161036f9190611285565b60405180910390f35b6103806110e0565b6000808381526020019081526020016000206040518060a00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050919050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105019190611473565b905090565b60006032905090565b6000603c905090565b6040518060200160405280600081525081565b600080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054146105ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105a5906114ec565b60405180910390fd5b60008290508073ffffffffffffffffffffffffffffffffffffffff166379e829d06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106229190611538565b610661576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610658906115b1565b60405180910390fd5b610669611085565b8173ffffffffffffffffffffffffffffffffffffffff166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d89190611473565b1461087f5760008060008373ffffffffffffffffffffffffffffffffffffffff166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561072d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107519190611473565b81526020019081526020016000206040518060a00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050600081600001511161087d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108749061161d565b60405180910390fd5b505b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0def5218273ffffffffffffffffffffffffffffffffffffffff1663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa158015610908573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092c9190611652565b604051806020016040528060008152506040518363ffffffff1660e01b815260040161095992919061167f565b6020604051808303816000875af1158015610978573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099c9190611473565b915060006040518060a001604052808481526020018373ffffffffffffffffffffffffffffffffffffffff166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109fc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a209190611473565b81526020018373ffffffffffffffffffffffffffffffffffffffff166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a949190611473565b81526020018573ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b249190611652565b73ffffffffffffffffffffffffffffffffffffffff1681525090508060008085815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555090505082600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050919050565b6000605a905090565b60006046905090565b6000601e905090565b6000610c716110d7565b831480610c845750610c81610c4c565b83145b610cc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cba906116fb565b60405180910390fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0def52183604051806020016040528060008152506040518363ffffffff1660e01b8152600401610d2f92919061167f565b6020604051808303816000875af1158015610d4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d729190611473565b905060006040518060a00160405280838152602001868152602001858152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1681525090508060008084815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550905050509392505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054119050919050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610f689190611285565b602060405180830381865afa158015610f85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa99190611652565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611041576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110389061178d565b60405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006028905090565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60006050905090565b6040518060a00160405280600081526020016000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681525090565b600080fd5b6000819050919050565b61115381611140565b811461115e57600080fd5b50565b6000813590506111708161114a565b92915050565b60006020828403121561118c5761118b61113b565b5b600061119a84828501611161565b91505092915050565b6111ac81611140565b82525050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006111dd826111b2565b9050919050565b6111ed816111d2565b82525050565b60a08201600082015161120960008501826111a3565b50602082015161121c60208501826111a3565b50604082015161122f60408501826111a3565b50606082015161124260608501826111e4565b50608082015161125560808501826111e4565b50505050565b600060a08201905061127060008301846111f3565b92915050565b61127f81611140565b82525050565b600060208201905061129a6000830184611276565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156112da5780820151818401526020810190506112bf565b60008484015250505050565b6000601f19601f8301169050919050565b6000611302826112a0565b61130c81856112ab565b935061131c8185602086016112bc565b611325816112e6565b840191505092915050565b6000602082019050818103600083015261134a81846112f7565b905092915050565b61135b816111d2565b811461136657600080fd5b50565b60008135905061137881611352565b92915050565b6000602082840312156113945761139361113b565b5b60006113a284828501611369565b91505092915050565b6000806000606084860312156113c4576113c361113b565b5b60006113d286828701611161565b93505060206113e386828701611161565b92505060406113f486828701611369565b9150509250925092565b611407816111d2565b82525050565b600060208201905061142260008301846113fe565b92915050565b60008115159050919050565b61143d81611428565b82525050565b60006020820190506114586000830184611434565b92915050565b60008151905061146d8161114a565b92915050565b6000602082840312156114895761148861113b565b5b60006114978482850161145e565b91505092915050565b7f4552524f523a5245472d3030313a414c52454144595f52454749535445524544600082015250565b60006114d66020836112ab565b91506114e1826114a0565b602082019050919050565b60006020820190508181036000830152611505816114c9565b9050919050565b61151581611428565b811461152057600080fd5b50565b6000815190506115328161150c565b92915050565b60006020828403121561154e5761154d61113b565b5b600061155c84828501611523565b91505092915050565b7f4552524f523a5245472d3030323a4e4f545f524547495354455241424c450000600082015250565b600061159b601e836112ab565b91506115a682611565565b602082019050919050565b600060208201905081810360008301526115ca8161158e565b9050919050565b7f4552524f523a5245472d3030333a504152454e545f4e4f545f464f554e440000600082015250565b6000611607601e836112ab565b9150611612826115d1565b602082019050919050565b60006020820190508181036000830152611636816115fa565b9050919050565b60008151905061164c81611352565b92915050565b6000602082840312156116685761166761113b565b5b60006116768482850161163d565b91505092915050565b600060408201905061169460008301856113fe565b81810360208301526116a681846112f7565b90509392505050565b7f4552524f523a5245472d3030353a545950455f494e56414c4944000000000000600082015250565b60006116e5601a836112ab565b91506116f0826116af565b602082019050919050565b60006020820190508181036000830152611714816116d8565b9050919050565b7f4552524f523a5245472d3030313a414c52454144595f494e495449414c495a4560008201527f4400000000000000000000000000000000000000000000000000000000000000602082015250565b60006117776021836112ab565b91506117828261171b565b604082019050919050565b600060208201905081810360008301526117a68161176a565b905091905056fea2646970667358221220b3d9bb8f0008c6333b80dd7514f21858c42aca09341fe2aa6324e61e9e75084864736f6c63430008140033",
|
302
|
-
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061010b5760003560e01c806382bfefc8116100a2578063c41a360a11610071578063c41a360a146102c0578063c4d66de8146102f0578063d15db8b41461030c578063d272ac1e1461032a578063dadbccee1461035a5761010b565b806382bfefc814610224578063ab10b8ec14610242578063be9a71bd14610272578063c3c5a547146102905761010b565b80633fe9300e116100de5780633fe9300e1461019a5780634420e486146101b857806353bed7c3146101e85780637535d246146102065761010b565b80631a3cd59a146101105780631a848cfb1461014057806325425a911461015e57806338013f021461017c575b600080fd5b61012a60048036038101906101259190611176565b610378565b604051610137919061125b565b60405180910390f35b61014861046e565b6040516101559190611285565b60405180910390f35b610166610506565b6040516101739190611285565b60405180910390f35b61018461050f565b6040516101919190611285565b60405180910390f35b6101a2610518565b6040516101af9190611330565b60405180910390f35b6101d260048036038101906101cd919061137e565b61052b565b6040516101df9190611285565b60405180910390f35b6101f0610c4c565b6040516101fd9190611285565b60405180910390f35b61020e610c55565b60405161021b9190611285565b60405180910390f35b61022c610c5e565b6040516102399190611285565b60405180910390f35b61025c600480360381019061025791906113ab565b610c67565b6040516102699190611285565b60405180910390f35b61027a610e96565b604051610287919061140d565b60405180910390f35b6102aa60048036038101906102a5919061137e565b610ec0565b6040516102b79190611443565b60405180910390f35b6102da60048036038101906102d59190611176565b610f0b565b6040516102e7919061140d565b60405180910390f35b61030a6004803603810190610305919061137e565b610fb0565b005b610314611085565b6040516103219190611285565b60405180910390f35b610344600480360381019061033f919061137e565b61108e565b6040516103519190611285565b60405180910390f35b6103626110d7565b60405161036f9190611285565b60405180910390f35b6103806110e0565b6000808381526020019081526020016000206040518060a00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050919050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105019190611473565b905090565b60006032905090565b6000603c905090565b6040518060200160405280600081525081565b600080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054146105ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105a5906114ec565b60405180910390fd5b60008290508073ffffffffffffffffffffffffffffffffffffffff166379e829d06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106229190611538565b610661576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610658906115b1565b60405180910390fd5b610669611085565b8173ffffffffffffffffffffffffffffffffffffffff166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d89190611473565b1461087f5760008060008373ffffffffffffffffffffffffffffffffffffffff166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561072d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107519190611473565b81526020019081526020016000206040518060a00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050600081600001511161087d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108749061161d565b60405180910390fd5b505b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0def5218273ffffffffffffffffffffffffffffffffffffffff1663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa158015610908573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092c9190611652565b604051806020016040528060008152506040518363ffffffff1660e01b815260040161095992919061167f565b6020604051808303816000875af1158015610978573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099c9190611473565b915060006040518060a001604052808481526020018373ffffffffffffffffffffffffffffffffffffffff166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109fc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a209190611473565b81526020018373ffffffffffffffffffffffffffffffffffffffff166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a949190611473565b81526020018573ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b249190611652565b73ffffffffffffffffffffffffffffffffffffffff1681525090508060008085815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555090505082600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050919050565b6000605a905090565b60006046905090565b6000601e905090565b6000610c716110d7565b831480610c845750610c81610c4c565b83145b610cc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cba906116fb565b60405180910390fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0def52183604051806020016040528060008152506040518363ffffffff1660e01b8152600401610d2f92919061167f565b6020604051808303816000875af1158015610d4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d729190611473565b905060006040518060a00160405280838152602001868152602001858152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1681525090508060008084815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550905050509392505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054119050919050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610f689190611285565b602060405180830381865afa158015610f85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa99190611652565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611041576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110389061178d565b60405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006028905090565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60006050905090565b6040518060a00160405280600081526020016000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681525090565b600080fd5b6000819050919050565b61115381611140565b811461115e57600080fd5b50565b6000813590506111708161114a565b92915050565b60006020828403121561118c5761118b61113b565b5b600061119a84828501611161565b91505092915050565b6111ac81611140565b82525050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006111dd826111b2565b9050919050565b6111ed816111d2565b82525050565b60a08201600082015161120960008501826111a3565b50602082015161121c60208501826111a3565b50604082015161122f60408501826111a3565b50606082015161124260608501826111e4565b50608082015161125560808501826111e4565b50505050565b600060a08201905061127060008301846111f3565b92915050565b61127f81611140565b82525050565b600060208201905061129a6000830184611276565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156112da5780820151818401526020810190506112bf565b60008484015250505050565b6000601f19601f8301169050919050565b6000611302826112a0565b61130c81856112ab565b935061131c8185602086016112bc565b611325816112e6565b840191505092915050565b6000602082019050818103600083015261134a81846112f7565b905092915050565b61135b816111d2565b811461136657600080fd5b50565b60008135905061137881611352565b92915050565b6000602082840312156113945761139361113b565b5b60006113a284828501611369565b91505092915050565b6000806000606084860312156113c4576113c361113b565b5b60006113d286828701611161565b93505060206113e386828701611161565b92505060406113f486828701611369565b9150509250925092565b611407816111d2565b82525050565b600060208201905061142260008301846113fe565b92915050565b60008115159050919050565b61143d81611428565b82525050565b60006020820190506114586000830184611434565b92915050565b60008151905061146d8161114a565b92915050565b6000602082840312156114895761148861113b565b5b60006114978482850161145e565b91505092915050565b7f4552524f523a5245472d3030313a414c52454144595f52454749535445524544600082015250565b60006114d66020836112ab565b91506114e1826114a0565b602082019050919050565b60006020820190508181036000830152611505816114c9565b9050919050565b61151581611428565b811461152057600080fd5b50565b6000815190506115328161150c565b92915050565b60006020828403121561154e5761154d61113b565b5b600061155c84828501611523565b91505092915050565b7f4552524f523a5245472d3030323a4e4f545f524547495354455241424c450000600082015250565b600061159b601e836112ab565b91506115a682611565565b602082019050919050565b600060208201905081810360008301526115ca8161158e565b9050919050565b7f4552524f523a5245472d3030333a504152454e545f4e4f545f464f554e440000600082015250565b6000611607601e836112ab565b9150611612826115d1565b602082019050919050565b60006020820190508181036000830152611636816115fa565b9050919050565b60008151905061164c81611352565b92915050565b6000602082840312156116685761166761113b565b5b60006116768482850161163d565b91505092915050565b600060408201905061169460008301856113fe565b81810360208301526116a681846112f7565b90509392505050565b7f4552524f523a5245472d3030353a545950455f494e56414c4944000000000000600082015250565b60006116e5601a836112ab565b91506116f0826116af565b602082019050919050565b60006020820190508181036000830152611714816116d8565b9050919050565b7f4552524f523a5245472d3030313a414c52454144595f494e495449414c495a4560008201527f4400000000000000000000000000000000000000000000000000000000000000602082015250565b60006117776021836112ab565b91506117828261171b565b604082019050919050565b600060208201905081810360008301526117a68161176a565b905091905056fea2646970667358221220b3d9bb8f0008c6333b80dd7514f21858c42aca09341fe2aa6324e61e9e75084864736f6c63430008140033",
|
301
|
+
"bytecode": "0x608060405234801561001057600080fd5b506117e3806100206000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c806382bfefc8116100a2578063c41a360a11610071578063c41a360a146102c0578063c4d66de8146102f0578063d15db8b41461030c578063d272ac1e1461032a578063dadbccee1461035a5761010b565b806382bfefc814610224578063ab10b8ec14610242578063be9a71bd14610272578063c3c5a547146102905761010b565b80633fe9300e116100de5780633fe9300e1461019a5780634420e486146101b857806353bed7c3146101e85780637535d246146102065761010b565b80631a3cd59a146101105780631a848cfb1461014057806325425a911461015e57806338013f021461017c575b600080fd5b61012a60048036038101906101259190611176565b610378565b604051610137919061125b565b60405180910390f35b61014861046e565b6040516101559190611285565b60405180910390f35b610166610506565b6040516101739190611285565b60405180910390f35b61018461050f565b6040516101919190611285565b60405180910390f35b6101a2610518565b6040516101af9190611330565b60405180910390f35b6101d260048036038101906101cd919061137e565b61052b565b6040516101df9190611285565b60405180910390f35b6101f0610c4c565b6040516101fd9190611285565b60405180910390f35b61020e610c55565b60405161021b9190611285565b60405180910390f35b61022c610c5e565b6040516102399190611285565b60405180910390f35b61025c600480360381019061025791906113ab565b610c67565b6040516102699190611285565b60405180910390f35b61027a610e96565b604051610287919061140d565b60405180910390f35b6102aa60048036038101906102a5919061137e565b610ec0565b6040516102b79190611443565b60405180910390f35b6102da60048036038101906102d59190611176565b610f0b565b6040516102e7919061140d565b60405180910390f35b61030a6004803603810190610305919061137e565b610fb0565b005b610314611085565b6040516103219190611285565b60405180910390f35b610344600480360381019061033f919061137e565b61108e565b6040516103519190611285565b60405180910390f35b6103626110d7565b60405161036f9190611285565b60405180910390f35b6103806110e0565b6000808381526020019081526020016000206040518060a00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050919050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105019190611473565b905090565b60006032905090565b6000603c905090565b6040518060200160405280600081525081565b600080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054146105ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105a5906114ec565b60405180910390fd5b60008290508073ffffffffffffffffffffffffffffffffffffffff166379e829d06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106229190611538565b610661576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610658906115b1565b60405180910390fd5b610669611085565b8173ffffffffffffffffffffffffffffffffffffffff166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d89190611473565b1461087f5760008060008373ffffffffffffffffffffffffffffffffffffffff166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561072d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107519190611473565b81526020019081526020016000206040518060a00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050600081600001511161087d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108749061161d565b60405180910390fd5b505b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0def5218273ffffffffffffffffffffffffffffffffffffffff1663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa158015610908573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092c9190611652565b604051806020016040528060008152506040518363ffffffff1660e01b815260040161095992919061167f565b6020604051808303816000875af1158015610978573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099c9190611473565b915060006040518060a001604052808481526020018373ffffffffffffffffffffffffffffffffffffffff166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109fc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a209190611473565b81526020018373ffffffffffffffffffffffffffffffffffffffff166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a949190611473565b81526020018573ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b249190611652565b73ffffffffffffffffffffffffffffffffffffffff1681525090508060008085815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555090505082600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050919050565b6000605a905090565b60006046905090565b6000601e905090565b6000610c716110d7565b831480610c845750610c81610c4c565b83145b610cc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cba906116fb565b60405180910390fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0def52183604051806020016040528060008152506040518363ffffffff1660e01b8152600401610d2f92919061167f565b6020604051808303816000875af1158015610d4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d729190611473565b905060006040518060a00160405280838152602001868152602001858152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1681525090508060008084815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550905050509392505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054119050919050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610f689190611285565b602060405180830381865afa158015610f85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa99190611652565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611041576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110389061178d565b60405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006028905090565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60006050905090565b6040518060a00160405280600081526020016000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681525090565b600080fd5b6000819050919050565b61115381611140565b811461115e57600080fd5b50565b6000813590506111708161114a565b92915050565b60006020828403121561118c5761118b61113b565b5b600061119a84828501611161565b91505092915050565b6111ac81611140565b82525050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006111dd826111b2565b9050919050565b6111ed816111d2565b82525050565b60a08201600082015161120960008501826111a3565b50602082015161121c60208501826111a3565b50604082015161122f60408501826111a3565b50606082015161124260608501826111e4565b50608082015161125560808501826111e4565b50505050565b600060a08201905061127060008301846111f3565b92915050565b61127f81611140565b82525050565b600060208201905061129a6000830184611276565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156112da5780820151818401526020810190506112bf565b60008484015250505050565b6000601f19601f8301169050919050565b6000611302826112a0565b61130c81856112ab565b935061131c8185602086016112bc565b611325816112e6565b840191505092915050565b6000602082019050818103600083015261134a81846112f7565b905092915050565b61135b816111d2565b811461136657600080fd5b50565b60008135905061137881611352565b92915050565b6000602082840312156113945761139361113b565b5b60006113a284828501611369565b91505092915050565b6000806000606084860312156113c4576113c361113b565b5b60006113d286828701611161565b93505060206113e386828701611161565b92505060406113f486828701611369565b9150509250925092565b611407816111d2565b82525050565b600060208201905061142260008301846113fe565b92915050565b60008115159050919050565b61143d81611428565b82525050565b60006020820190506114586000830184611434565b92915050565b60008151905061146d8161114a565b92915050565b6000602082840312156114895761148861113b565b5b60006114978482850161145e565b91505092915050565b7f4552524f523a5245472d3030323a414c52454144595f52454749535445524544600082015250565b60006114d66020836112ab565b91506114e1826114a0565b602082019050919050565b60006020820190508181036000830152611505816114c9565b9050919050565b61151581611428565b811461152057600080fd5b50565b6000815190506115328161150c565b92915050565b60006020828403121561154e5761154d61113b565b5b600061155c84828501611523565b91505092915050565b7f4552524f523a5245472d3030333a4e4f545f524547495354455241424c450000600082015250565b600061159b601e836112ab565b91506115a682611565565b602082019050919050565b600060208201905081810360008301526115ca8161158e565b9050919050565b7f4552524f523a5245472d3030343a504152454e545f4e4f545f464f554e440000600082015250565b6000611607601e836112ab565b9150611612826115d1565b602082019050919050565b60006020820190508181036000830152611636816115fa565b9050919050565b60008151905061164c81611352565b92915050565b6000602082840312156116685761166761113b565b5b60006116768482850161163d565b91505092915050565b600060408201905061169460008301856113fe565b81810360208301526116a681846112f7565b90509392505050565b7f4552524f523a5245472d3030353a545950455f494e56414c4944000000000000600082015250565b60006116e5601a836112ab565b91506116f0826116af565b602082019050919050565b60006020820190508181036000830152611714816116d8565b9050919050565b7f4552524f523a5245472d3030313a414c52454144595f494e495449414c495a4560008201527f4400000000000000000000000000000000000000000000000000000000000000602082015250565b60006117776021836112ab565b91506117828261171b565b604082019050919050565b600060208201905081810360008301526117a68161176a565b905091905056fea264697066735822122089d7bf7340dd6ec8c387bad7a1953200e8eba23706aa85fcd83d90384cd1b38564736f6c63430008140033",
|
302
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061010b5760003560e01c806382bfefc8116100a2578063c41a360a11610071578063c41a360a146102c0578063c4d66de8146102f0578063d15db8b41461030c578063d272ac1e1461032a578063dadbccee1461035a5761010b565b806382bfefc814610224578063ab10b8ec14610242578063be9a71bd14610272578063c3c5a547146102905761010b565b80633fe9300e116100de5780633fe9300e1461019a5780634420e486146101b857806353bed7c3146101e85780637535d246146102065761010b565b80631a3cd59a146101105780631a848cfb1461014057806325425a911461015e57806338013f021461017c575b600080fd5b61012a60048036038101906101259190611176565b610378565b604051610137919061125b565b60405180910390f35b61014861046e565b6040516101559190611285565b60405180910390f35b610166610506565b6040516101739190611285565b60405180910390f35b61018461050f565b6040516101919190611285565b60405180910390f35b6101a2610518565b6040516101af9190611330565b60405180910390f35b6101d260048036038101906101cd919061137e565b61052b565b6040516101df9190611285565b60405180910390f35b6101f0610c4c565b6040516101fd9190611285565b60405180910390f35b61020e610c55565b60405161021b9190611285565b60405180910390f35b61022c610c5e565b6040516102399190611285565b60405180910390f35b61025c600480360381019061025791906113ab565b610c67565b6040516102699190611285565b60405180910390f35b61027a610e96565b604051610287919061140d565b60405180910390f35b6102aa60048036038101906102a5919061137e565b610ec0565b6040516102b79190611443565b60405180910390f35b6102da60048036038101906102d59190611176565b610f0b565b6040516102e7919061140d565b60405180910390f35b61030a6004803603810190610305919061137e565b610fb0565b005b610314611085565b6040516103219190611285565b60405180910390f35b610344600480360381019061033f919061137e565b61108e565b6040516103519190611285565b60405180910390f35b6103626110d7565b60405161036f9190611285565b60405180910390f35b6103806110e0565b6000808381526020019081526020016000206040518060a00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050919050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105019190611473565b905090565b60006032905090565b6000603c905090565b6040518060200160405280600081525081565b600080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054146105ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105a5906114ec565b60405180910390fd5b60008290508073ffffffffffffffffffffffffffffffffffffffff166379e829d06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106229190611538565b610661576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610658906115b1565b60405180910390fd5b610669611085565b8173ffffffffffffffffffffffffffffffffffffffff166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d89190611473565b1461087f5760008060008373ffffffffffffffffffffffffffffffffffffffff166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561072d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107519190611473565b81526020019081526020016000206040518060a00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050600081600001511161087d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108749061161d565b60405180910390fd5b505b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0def5218273ffffffffffffffffffffffffffffffffffffffff1663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa158015610908573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092c9190611652565b604051806020016040528060008152506040518363ffffffff1660e01b815260040161095992919061167f565b6020604051808303816000875af1158015610978573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099c9190611473565b915060006040518060a001604052808481526020018373ffffffffffffffffffffffffffffffffffffffff166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109fc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a209190611473565b81526020018373ffffffffffffffffffffffffffffffffffffffff166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a949190611473565b81526020018573ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b249190611652565b73ffffffffffffffffffffffffffffffffffffffff1681525090508060008085815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555090505082600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050919050565b6000605a905090565b60006046905090565b6000601e905090565b6000610c716110d7565b831480610c845750610c81610c4c565b83145b610cc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cba906116fb565b60405180910390fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0def52183604051806020016040528060008152506040518363ffffffff1660e01b8152600401610d2f92919061167f565b6020604051808303816000875af1158015610d4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d729190611473565b905060006040518060a00160405280838152602001868152602001858152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1681525090508060008084815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550905050509392505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054119050919050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610f689190611285565b602060405180830381865afa158015610f85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa99190611652565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611041576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110389061178d565b60405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006028905090565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60006050905090565b6040518060a00160405280600081526020016000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681525090565b600080fd5b6000819050919050565b61115381611140565b811461115e57600080fd5b50565b6000813590506111708161114a565b92915050565b60006020828403121561118c5761118b61113b565b5b600061119a84828501611161565b91505092915050565b6111ac81611140565b82525050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006111dd826111b2565b9050919050565b6111ed816111d2565b82525050565b60a08201600082015161120960008501826111a3565b50602082015161121c60208501826111a3565b50604082015161122f60408501826111a3565b50606082015161124260608501826111e4565b50608082015161125560808501826111e4565b50505050565b600060a08201905061127060008301846111f3565b92915050565b61127f81611140565b82525050565b600060208201905061129a6000830184611276565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156112da5780820151818401526020810190506112bf565b60008484015250505050565b6000601f19601f8301169050919050565b6000611302826112a0565b61130c81856112ab565b935061131c8185602086016112bc565b611325816112e6565b840191505092915050565b6000602082019050818103600083015261134a81846112f7565b905092915050565b61135b816111d2565b811461136657600080fd5b50565b60008135905061137881611352565b92915050565b6000602082840312156113945761139361113b565b5b60006113a284828501611369565b91505092915050565b6000806000606084860312156113c4576113c361113b565b5b60006113d286828701611161565b93505060206113e386828701611161565b92505060406113f486828701611369565b9150509250925092565b611407816111d2565b82525050565b600060208201905061142260008301846113fe565b92915050565b60008115159050919050565b61143d81611428565b82525050565b60006020820190506114586000830184611434565b92915050565b60008151905061146d8161114a565b92915050565b6000602082840312156114895761148861113b565b5b60006114978482850161145e565b91505092915050565b7f4552524f523a5245472d3030323a414c52454144595f52454749535445524544600082015250565b60006114d66020836112ab565b91506114e1826114a0565b602082019050919050565b60006020820190508181036000830152611505816114c9565b9050919050565b61151581611428565b811461152057600080fd5b50565b6000815190506115328161150c565b92915050565b60006020828403121561154e5761154d61113b565b5b600061155c84828501611523565b91505092915050565b7f4552524f523a5245472d3030333a4e4f545f524547495354455241424c450000600082015250565b600061159b601e836112ab565b91506115a682611565565b602082019050919050565b600060208201905081810360008301526115ca8161158e565b9050919050565b7f4552524f523a5245472d3030343a504152454e545f4e4f545f464f554e440000600082015250565b6000611607601e836112ab565b9150611612826115d1565b602082019050919050565b60006020820190508181036000830152611636816115fa565b9050919050565b60008151905061164c81611352565b92915050565b6000602082840312156116685761166761113b565b5b60006116768482850161163d565b91505092915050565b600060408201905061169460008301856113fe565b81810360208301526116a681846112f7565b90509392505050565b7f4552524f523a5245472d3030353a545950455f494e56414c4944000000000000600082015250565b60006116e5601a836112ab565b91506116f0826116af565b602082019050919050565b60006020820190508181036000830152611714816116d8565b9050919050565b7f4552524f523a5245472d3030313a414c52454144595f494e495449414c495a4560008201527f4400000000000000000000000000000000000000000000000000000000000000602082015250565b60006117776021836112ab565b91506117828261171b565b604082019050919050565b600060208201905081810360008301526117a68161176a565b905091905056fea264697066735822122089d7bf7340dd6ec8c387bad7a1953200e8eba23706aa85fcd83d90384cd1b38564736f6c63430008140033",
|
303
303
|
"linkReferences": {},
|
304
304
|
"deployedLinkReferences": {}
|
305
305
|
}
|
@@ -53,8 +53,8 @@
|
|
53
53
|
"type": "function"
|
54
54
|
}
|
55
55
|
],
|
56
|
-
"bytecode": "
|
57
|
-
"deployedBytecode": "
|
56
|
+
"bytecode": "0x608060405234801561001057600080fd5b50604051610249380380610249833981810160405281019061003291906100db565b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050610108565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006100a88261007d565b9050919050565b6100b88161009d565b81146100c357600080fd5b50565b6000815190506100d5816100af565b92915050565b6000602082840312156100f1576100f0610078565b5b60006100ff848285016100c6565b91505092915050565b610132806101176000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c80635ab1bd5314602d575b600080fd5b60336047565b604051603e919060e3565b60405180910390f35b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060af60ab60a7846070565b6090565b6070565b9050919050565b600060bf82609a565b9050919050565b600060cf8260b6565b9050919050565b60dd8160c6565b82525050565b600060208201905060f6600083018460d6565b9291505056fea2646970667358221220bc4881cf2fd377e942aa18d4bcf5bc408a04c178328b2791834fa727b335182c64736f6c63430008140033",
|
57
|
+
"deployedBytecode": "0x6080604052348015600f57600080fd5b506004361060285760003560e01c80635ab1bd5314602d575b600080fd5b60336047565b604051603e919060e3565b60405180910390f35b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060af60ab60a7846070565b6090565b6070565b9050919050565b600060bf82609a565b9050919050565b600060cf8260b6565b9050919050565b60dd8160c6565b82525050565b600060208201905060f6600083018460d6565b9291505056fea2646970667358221220bc4881cf2fd377e942aa18d4bcf5bc408a04c178328b2791834fa727b335182c64736f6c63430008140033",
|
58
58
|
"linkReferences": {},
|
59
59
|
"deployedLinkReferences": {}
|
60
60
|
}
|
@@ -3,8 +3,8 @@
|
|
3
3
|
"contractName": "ChainIdLib",
|
4
4
|
"sourceName": "contracts/types/ChainId.sol",
|
5
5
|
"abi": [],
|
6
|
-
"bytecode": "
|
7
|
-
"deployedBytecode": "
|
6
|
+
"bytecode": "0x60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122076cc60318fc0255a7b6925fb9d5bc310666c3cec99a370c6a26a2d461530f3d864736f6c63430008140033",
|
7
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122076cc60318fc0255a7b6925fb9d5bc310666c3cec99a370c6a26a2d461530f3d864736f6c63430008140033",
|
8
8
|
"linkReferences": {},
|
9
9
|
"deployedLinkReferences": {}
|
10
10
|
}
|
@@ -3,8 +3,8 @@
|
|
3
3
|
"contractName": "NftIdLib",
|
4
4
|
"sourceName": "contracts/types/NftId.sol",
|
5
5
|
"abi": [],
|
6
|
-
"bytecode": "
|
7
|
-
"deployedBytecode": "
|
6
|
+
"bytecode": "0x60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220babffd2f34262842e1b32045f037de13460360c99b50dcf120f46d0d3af429aa64736f6c63430008140033",
|
7
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220babffd2f34262842e1b32045f037de13460360c99b50dcf120f46d0d3af429aa64736f6c63430008140033",
|
8
8
|
"linkReferences": {},
|
9
9
|
"deployedLinkReferences": {}
|
10
10
|
}
|
@@ -20,13 +20,13 @@ contract Require {
|
|
20
20
|
}
|
21
21
|
|
22
22
|
function isAlargerThanBRequire_M(uint a) external view returns(bool isLarger) {
|
23
|
-
require(a > _b, "ERROR:ABC-
|
23
|
+
require(a > _b, "ERROR:ABC-002:A_IS_SMALLER");
|
24
24
|
|
25
25
|
return true;
|
26
26
|
}
|
27
27
|
|
28
28
|
function isAlargerThanBRequire_L(uint a) external view returns(bool isLarger) {
|
29
|
-
require(a > _b, "ERROR:ABC-
|
29
|
+
require(a > _b, "ERROR:ABC-003:A_IS_SMALLER_THAN_B");
|
30
30
|
|
31
31
|
return true;
|
32
32
|
}
|
@@ -106,7 +106,7 @@ abstract contract ComponentModule is
|
|
106
106
|
uint256 id = info.nftId;
|
107
107
|
require(
|
108
108
|
id > 0 && _componentInfo[id].nftId == id,
|
109
|
-
"ERROR:CMP-
|
109
|
+
"ERROR:CMP-006:COMPONENT_UNKNOWN");
|
110
110
|
|
111
111
|
_componentInfo[id] = info;
|
112
112
|
|
@@ -200,19 +200,6 @@ contract ComponentOwnerService is
|
|
200
200
|
RegistryLinked(registry)
|
201
201
|
{ }
|
202
202
|
|
203
|
-
|
204
|
-
// modifier onlyComponentOwnerRole(IComponentContract component) {
|
205
|
-
// IInstance instance = component.getInstance();
|
206
|
-
// // TODO add set/getComponentOwnerRole to IComonentModule
|
207
|
-
// bytes32 typeRole = instance.getComponentTypeRole(component.getType());
|
208
|
-
// require(
|
209
|
-
// instance.hasRole(typeRole, msg.sender),
|
210
|
-
// "ERROR:COS-003:COMPONENT_ROLE_MISSING"
|
211
|
-
// );
|
212
|
-
// _;
|
213
|
-
// }
|
214
|
-
|
215
|
-
|
216
203
|
function register(IComponentContract component)
|
217
204
|
external
|
218
205
|
override
|
@@ -82,15 +82,15 @@ contract Registry is IRegistry {
|
|
82
82
|
function BUNDLE() public pure override returns(uint256) { return 90; }
|
83
83
|
|
84
84
|
function register(address objectAddress) external override returns(uint256 nftId) {
|
85
|
-
require(_idByAddress[objectAddress] == 0, "ERROR:REG-
|
85
|
+
require(_idByAddress[objectAddress] == 0, "ERROR:REG-002:ALREADY_REGISTERED");
|
86
86
|
|
87
87
|
IRegisterable registerable = IRegisterable(objectAddress);
|
88
|
-
require(registerable.isRegisterable(), "ERROR:REG-
|
88
|
+
require(registerable.isRegisterable(), "ERROR:REG-003:NOT_REGISTERABLE");
|
89
89
|
|
90
90
|
// check parent exists (for objects not instances)
|
91
91
|
if(registerable.getType() != INSTANCE()) {
|
92
92
|
RegistryInfo memory parentInfo = _info[registerable.getParentNftId()];
|
93
|
-
require(parentInfo.nftId > 0, "ERROR:REG-
|
93
|
+
require(parentInfo.nftId > 0, "ERROR:REG-004:PARENT_NOT_FOUND");
|
94
94
|
// check validity of parent relation, valid relations are
|
95
95
|
// policy -> product, bundle -> pool, product -> instance, pool -> instance
|
96
96
|
}
|
package/package.json
CHANGED