@orbs-network/spot 0.0.13 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/00_DeployWM.s.sol/DeployWM.json +1 -1
- package/out/00_UpdateWMWhitelist.s.sol/UpdateWMWhitelist.json +1 -1
- package/out/01_DeployRepermit.s.sol/DeployRepermit.json +1 -1
- package/out/02_DeployCosigner.s.sol/DeployCosigner.json +1 -1
- package/out/03_DeployReactor.s.sol/DeployReactor.json +1 -1
- package/out/04_DeployExecutor.s.sol/DeployExecutor.json +1 -1
- package/out/05_DeployRefinery.s.sol/DeployRefinery.json +1 -0
- package/out/{05_DeployDefaultExchange.s.sol → 06_DeployDefaultExchange.s.sol}/DeployDefaultExchange.json +1 -1
- package/out/{05_DeployP2Exchange.s.sol → 06_DeployP2Exchange.s.sol}/DeployP2Exchange.json +1 -1
- package/out/06_DeployParaswapExchange.s.sol/DeployParaswapExchange.abi.json +28 -0
- package/out/06_DeployParaswapExchange.s.sol/DeployParaswapExchange.json +1 -0
- package/out/07_CheckOrder.s.sol/AlwaysValid1271.json +1 -1
- package/out/07_CheckOrder.s.sol/CheckOrder.json +1 -1
- package/out/BaseTest.sol/BaseTest.json +1 -1
- package/out/Constants.sol/Constants.json +1 -1
- package/out/CosignatureLib.sol/CosignatureLib.json +1 -1
- package/out/CosignatureLib.t.sol/CosignatureLibTest.json +1 -1
- package/out/Cosigner.sol/Cosigner.abi.json +1 -1
- package/out/Cosigner.sol/Cosigner.json +1 -1
- package/out/Cosigner.t.sol/CosignerTest.abi.json +7 -0
- package/out/Cosigner.t.sol/CosignerTest.json +1 -1
- package/out/Cosigner.t.sol/CosignerWrapper.abi.json +1 -1
- package/out/Cosigner.t.sol/CosignerWrapper.json +1 -1
- package/out/CosignerIntegration.t.sol/CosignerIntegrationTest.json +1 -1
- package/out/DefaultDexAdapter.sol/DefaultDexAdapter.json +1 -1
- package/out/DefaultDexAdapter.t.sol/DefaultDexAdapterTest.json +1 -1
- package/out/ERC20Mock.sol/ERC20Mock.json +1 -1
- package/out/ERC20Mock6Decimals.sol/ERC20Mock6Decimals.json +1 -1
- package/out/EpochLib.sol/EpochLib.json +1 -1
- package/out/EpochLib.t.sol/EpochLibTest.json +1 -1
- package/out/ExclusivityOverrideLib.sol/ExclusivityOverrideLib.json +1 -1
- package/out/ExclusivityOverrideLib.t.sol/ExclusivityCaller.abi.json +1 -1
- package/out/ExclusivityOverrideLib.t.sol/ExclusivityCaller.json +1 -1
- package/out/ExclusivityOverrideLib.t.sol/ExclusivityLibTest.abi.json +3 -3
- package/out/ExclusivityOverrideLib.t.sol/ExclusivityLibTest.json +1 -1
- package/out/Executor.sol/Executor.abi.json +1 -1
- package/out/Executor.sol/Executor.json +1 -1
- package/out/Executor.t.sol/ExecutorTest.json +1 -1
- package/out/IEIP712.sol/IEIP712.json +1 -1
- package/out/IExchangeAdapter.sol/IExchangeAdapter.json +1 -1
- package/out/IParaswapAugustus.sol/IParaswapAugustus.abi.json +15 -0
- package/out/IParaswapAugustus.sol/IParaswapAugustus.json +1 -0
- package/out/IPermit2.sol/IPermit2.json +1 -1
- package/out/IReactor.sol/IReactor.json +1 -1
- package/out/IReactorCallback.sol/IReactorCallback.json +1 -1
- package/out/IWM.sol/IWM.json +1 -1
- package/out/MockDexRouter.sol/MockDexRouter.json +1 -1
- package/out/MockParaswap.sol/MockParaswapAugustus.abi.json +98 -0
- package/out/MockParaswap.sol/MockParaswapAugustus.json +1 -0
- package/out/MockParaswap.sol/MockTokenTransferProxy.abi.json +61 -0
- package/out/MockParaswap.sol/MockTokenTransferProxy.json +1 -0
- package/out/MockPermit2.sol/MockPermit2.json +1 -1
- package/out/MockReactor.sol/MockReactor.json +1 -1
- package/out/Multicall3Lib.sol/Multicall3Lib.json +1 -1
- package/out/OrderLib.sol/OrderLib.json +1 -1
- package/out/OrderReactor.E2E.t.sol/OrderReactorE2ETest.json +1 -1
- package/out/OrderReactor.sol/OrderReactor.json +1 -1
- package/out/OrderReactorPause.t.sol/OrderReactorPauseTest.json +1 -1
- package/out/OrderReactorPause.t.sol/SimpleCallback.json +1 -1
- package/out/OrderValidationLib.Fuzz.t.sol/OrderValidationLibFuzzTest.json +1 -1
- package/out/OrderValidationLib.sol/OrderValidationLib.json +1 -1
- package/out/OrderValidationLib.t.sol/OrderValidationLibTest.json +1 -1
- package/out/P2DexAdapter.sol/P2DexAdapter.json +1 -1
- package/out/P2DexAdapter.t.sol/P2DexAdapterTest.json +1 -1
- package/out/ParaswapDexAdapter.sol/ParaswapDexAdapter.abi.json +352 -0
- package/out/ParaswapDexAdapter.sol/ParaswapDexAdapter.json +1 -0
- package/out/ParaswapDexAdapter.t.sol/ParaswapDexAdapterTest.abi.json +930 -0
- package/out/ParaswapDexAdapter.t.sol/ParaswapDexAdapterTest.json +1 -0
- package/out/RePermit.sol/RePermit.json +1 -1
- package/out/RePermit.t.sol/RePermitTest.json +1 -1
- package/out/RePermitLib.sol/RePermitLib.json +1 -1
- package/out/Refinery.sol/Refinery.json +1 -1
- package/out/Refinery.t.sol/RefineryTest.json +1 -1
- package/out/ResolutionLib.Fuzz.t.sol/ResolutionLibFuzzTest.json +1 -1
- package/out/ResolutionLib.sol/ResolutionLib.json +1 -1
- package/out/ResolutionLib.t.sol/ResolutionLibTest.json +1 -1
- package/out/SettlementLib.sol/SettlementLib.abi.json +0 -5
- package/out/SettlementLib.sol/SettlementLib.json +1 -1
- package/out/SettlementLib.t.sol/SettlementLibTest.json +1 -1
- package/out/SettlementLib.t.sol/SettlementWrapper.json +1 -1
- package/out/StdError.sol/stdError.json +1 -1
- package/out/SurplusLib.sol/SurplusLib.abi.json +1 -1
- package/out/SurplusLib.sol/SurplusLib.json +1 -1
- package/out/SurplusLib.t.sol/SurplusHarness.abi.json +1 -1
- package/out/SurplusLib.t.sol/SurplusHarness.json +1 -1
- package/out/SurplusLib.t.sol/SurplusLibTest.abi.json +1 -1
- package/out/SurplusLib.t.sol/SurplusLibTest.json +1 -1
- package/out/SwapAdapter.sol/SwapAdapterMock.json +1 -1
- package/out/TokenLib.sol/TokenLib.json +1 -1
- package/out/TokenLib.t.sol/TokenLibHarness.json +1 -1
- package/out/TokenLib.t.sol/TokenLibTest.json +1 -1
- package/out/USDTMock.sol/USDTMock.json +1 -1
- package/out/WM.sol/WM.json +1 -1
- package/out/WM.t.sol/WMTest.json +1 -1
- package/out/WMAllowed.sol/WMAllowed.json +1 -1
- package/out/build-info/{4e0fd3e97fb8c77e.json → 4caf3ebd20724339.json} +1 -1
- package/out/build-info/{c70ba923379ddca4.json → c4e82b84b54885a9.json} +1 -1
- package/package.json +1 -1
- package/script/input/config.json +31 -21
- package/out/06_DeployRefinery.s.sol/DeployRefinery.json +0 -1
- package/out/build-info/20f563941fc0a849.json +0 -1
- package/out/build-info/41e657f703fce171.json +0 -1
- package/out/build-info/50d4a161d830da98.json +0 -1
- package/out/build-info/5ea14177d8c08770.json +0 -1
- package/out/build-info/6633b6f1d6f4bfa2.json +0 -1
- package/out/build-info/7aad2b179fe2fa67.json +0 -1
- package/out/build-info/dbc5b333069e50a4.json +0 -1
- /package/out/{06_DeployRefinery.s.sol → 05_DeployRefinery.s.sol}/DeployRefinery.abi.json +0 -0
- /package/out/{05_DeployDefaultExchange.s.sol → 06_DeployDefaultExchange.s.sol}/DeployDefaultExchange.abi.json +0 -0
- /package/out/{05_DeployP2Exchange.s.sol → 06_DeployP2Exchange.s.sol}/DeployP2Exchange.abi.json +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"abi":[{"type":"constructor","inputs":[{"name":"initialOwner","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"type":"function","name":"acceptOwnership","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"approve","inputs":[{"name":"signer","type":"address","internalType":"address"},{"name":"deadline","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"isApprovedNow","inputs":[{"name":"signer","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"isValidSignature","inputs":[{"name":"hash","type":"bytes32","internalType":"bytes32"},{"name":"signature","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes4","internalType":"bytes4"}],"stateMutability":"view"},{"type":"function","name":"owner","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"pendingOwner","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"renounceOwnership","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"revokeSigner","inputs":[{"name":"signer","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"signers","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"transferOwnership","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"event","name":"OwnershipTransferStarted","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"SignerApproved","inputs":[{"name":"signer","type":"address","indexed":true,"internalType":"address"},{"name":"deadline","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SignerRevoked","inputs":[{"name":"signer","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"error","name":"ECDSAInvalidSignature","inputs":[]},{"type":"error","name":"ECDSAInvalidSignatureLength","inputs":[{"name":"length","type":"uint256","internalType":"uint256"}]},{"type":"error","name":"ECDSAInvalidSignatureS","inputs":[{"name":"s","type":"bytes32","internalType":"bytes32"}]},{"type":"error","name":"InvalidCosignature","inputs":[]},{"type":"error","name":"OwnableInvalidOwner","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"type":"error","name":"OwnableUnauthorizedAccount","inputs":[{"name":"account","type":"address","internalType":"address"}]}],"bytecode":{"object":"0x608060405234801561000f575f5ffd5b50604051610a97380380610a9783398101604081905261002e916100d7565b806001600160a01b03811661005c57604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b6100658161006c565b5050610104565b600180546001600160a01b031916905561008581610088565b50565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f602082840312156100e7575f5ffd5b81516001600160a01b03811681146100fd575f5ffd5b9392505050565b610986806101115f395ff3fe608060405234801561000f575f5ffd5b50600436106100b9575f3560e01c806379ba509711610072578063c34b44a011610058578063c34b44a0146101dd578063e30c3978146101f0578063f2fde38b1461020e575f5ffd5b806379ba5097146101975780638da5cb5b1461019f575f5ffd5b80631626ba7e116100a25780631626ba7e1461011e578063715018a614610162578063736c0d5b1461016a575f5ffd5b806307f091af146100bd578063095ea7b314610109575b5f5ffd5b6100f46100cb366004610864565b73ffffffffffffffffffffffffffffffffffffffff165f90815260026020526040902054421090565b60405190151581526020015b60405180910390f35b61011c610117366004610884565b610221565b005b61013161012c3660046108ac565b61028e565b6040517fffffffff000000000000000000000000000000000000000000000000000000009091168152602001610100565b61011c6102f9565b610189610178366004610864565b60026020525f908152604090205481565b604051908152602001610100565b61011c61030c565b5f5473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610100565b61011c6101eb366004610864565b610388565b60015473ffffffffffffffffffffffffffffffffffffffff166101b8565b61011c61021c366004610864565b6103e0565b61022961048f565b73ffffffffffffffffffffffffffffffffffffffff82165f8181526002602052604090819020839055517f40d5bfcaf211c721997e768a3afba0d28d48d940b4200c6855002c4561a63581906102829084815260200190565b60405180910390a25050565b5f61029a8484846104e1565b6102d0576040517fd7815be100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507f1626ba7e356f5979dd355a3d2bfb43e80420a480c3b854edce286a82d74968699392505050565b61030161048f565b61030a5f61052c565b565b600154339073ffffffffffffffffffffffffffffffffffffffff16811461037c576040517f118cdaa700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff821660048201526024015b60405180910390fd5b6103858161052c565b50565b61039061048f565b73ffffffffffffffffffffffffffffffffffffffff81165f81815260026020526040808220829055517f99a705a3c2c3339d0051f56b36a60fef91e30142c93353002617999f27aec4af9190a250565b6103e861048f565b6001805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff0000000000000000000000000000000000000000909116811790915561044a5f5473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b5f5473ffffffffffffffffffffffffffffffffffffffff16331461030a576040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152602401610373565b5f6105246100cb8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061055d92505050565b949350505050565b600180547fffffffffffffffffffffffff000000000000000000000000000000000000000016905561038581610585565b5f5f5f5f61056b86866105f9565b92509250925061057b8282610642565b5090949350505050565b5f805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f5f5f8351604103610630576020840151604085015160608601515f1a61062288828585610749565b95509550955050505061063b565b505081515f91506002905b9250925092565b5f82600381111561065557610655610923565b0361065e575050565b600182600381111561067257610672610923565b036106a9576040517ff645eedf00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60028260038111156106bd576106bd610923565b036106f7576040517ffce698f700000000000000000000000000000000000000000000000000000000815260048101829052602401610373565b600382600381111561070b5761070b610923565b03610745576040517fd78bce0c00000000000000000000000000000000000000000000000000000000815260048101829052602401610373565b5050565b5f80807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a084111561078257505f91506003905082610832565b604080515f808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa1580156107d3573d5f5f3e3d5ffd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811661082957505f925060019150829050610832565b92505f91508190505b9450945094915050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461085f575f5ffd5b919050565b5f60208284031215610874575f5ffd5b61087d8261083c565b9392505050565b5f5f60408385031215610895575f5ffd5b61089e8361083c565b946020939093013593505050565b5f5f5f604084860312156108be575f5ffd5b83359250602084013567ffffffffffffffff8111156108db575f5ffd5b8401601f810186136108eb575f5ffd5b803567ffffffffffffffff811115610901575f5ffd5b866020828401011115610912575f5ffd5b939660209190910195509293505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffdfea26469706673582212206778898f7786980ef355a4d871d653ac91896fa57e9feb93aa110e2c037a7ed864736f6c634300081b0033","sourceMap":"827:3154:78:-:0;;;1723:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1765:12;-1:-1:-1;;;;;1273:26:19;;1269:95;;1322:31;;-1:-1:-1;;;1322:31:19;;1350:1;1322:31;;;455:51:108;428:18;;1322:31:19;;;;;;;1269:95;1373:32;1392:12;1373:18;:32::i;:::-;1225:187;1723:58:78;827:3154;;2011:153:20;2100:13;2093:20;;-1:-1:-1;;;;;;2093:20:20;;;2123:34;2148:8;2123:24;:34::i;:::-;2011:153;:::o;2912:187:19:-;2985:16;3004:6;;-1:-1:-1;;;;;3020:17:19;;;-1:-1:-1;;;;;;3020:17:19;;;;;;3052:40;;3004:6;;;;;;;3052:40;;2985:16;3052:40;2975:124;2912:187;:::o;14:290:108:-;84:6;137:2;125:9;116:7;112:23;108:32;105:52;;;153:1;150;143:12;105:52;179:16;;-1:-1:-1;;;;;224:31:108;;214:42;;204:70;;270:1;267;260:12;204:70;293:5;14:290;-1:-1:-1;;;14:290:108:o;309:203::-;827:3154:78;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x608060405234801561000f575f5ffd5b50600436106100b9575f3560e01c806379ba509711610072578063c34b44a011610058578063c34b44a0146101dd578063e30c3978146101f0578063f2fde38b1461020e575f5ffd5b806379ba5097146101975780638da5cb5b1461019f575f5ffd5b80631626ba7e116100a25780631626ba7e1461011e578063715018a614610162578063736c0d5b1461016a575f5ffd5b806307f091af146100bd578063095ea7b314610109575b5f5ffd5b6100f46100cb366004610864565b73ffffffffffffffffffffffffffffffffffffffff165f90815260026020526040902054421090565b60405190151581526020015b60405180910390f35b61011c610117366004610884565b610221565b005b61013161012c3660046108ac565b61028e565b6040517fffffffff000000000000000000000000000000000000000000000000000000009091168152602001610100565b61011c6102f9565b610189610178366004610864565b60026020525f908152604090205481565b604051908152602001610100565b61011c61030c565b5f5473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610100565b61011c6101eb366004610864565b610388565b60015473ffffffffffffffffffffffffffffffffffffffff166101b8565b61011c61021c366004610864565b6103e0565b61022961048f565b73ffffffffffffffffffffffffffffffffffffffff82165f8181526002602052604090819020839055517f40d5bfcaf211c721997e768a3afba0d28d48d940b4200c6855002c4561a63581906102829084815260200190565b60405180910390a25050565b5f61029a8484846104e1565b6102d0576040517fd7815be100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507f1626ba7e356f5979dd355a3d2bfb43e80420a480c3b854edce286a82d74968699392505050565b61030161048f565b61030a5f61052c565b565b600154339073ffffffffffffffffffffffffffffffffffffffff16811461037c576040517f118cdaa700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff821660048201526024015b60405180910390fd5b6103858161052c565b50565b61039061048f565b73ffffffffffffffffffffffffffffffffffffffff81165f81815260026020526040808220829055517f99a705a3c2c3339d0051f56b36a60fef91e30142c93353002617999f27aec4af9190a250565b6103e861048f565b6001805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff0000000000000000000000000000000000000000909116811790915561044a5f5473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b5f5473ffffffffffffffffffffffffffffffffffffffff16331461030a576040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152602401610373565b5f6105246100cb8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061055d92505050565b949350505050565b600180547fffffffffffffffffffffffff000000000000000000000000000000000000000016905561038581610585565b5f5f5f5f61056b86866105f9565b92509250925061057b8282610642565b5090949350505050565b5f805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f5f5f8351604103610630576020840151604085015160608601515f1a61062288828585610749565b95509550955050505061063b565b505081515f91506002905b9250925092565b5f82600381111561065557610655610923565b0361065e575050565b600182600381111561067257610672610923565b036106a9576040517ff645eedf00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60028260038111156106bd576106bd610923565b036106f7576040517ffce698f700000000000000000000000000000000000000000000000000000000815260048101829052602401610373565b600382600381111561070b5761070b610923565b03610745576040517fd78bce0c00000000000000000000000000000000000000000000000000000000815260048101829052602401610373565b5050565b5f80807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a084111561078257505f91506003905082610832565b604080515f808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa1580156107d3573d5f5f3e3d5ffd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811661082957505f925060019150829050610832565b92505f91508190505b9450945094915050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461085f575f5ffd5b919050565b5f60208284031215610874575f5ffd5b61087d8261083c565b9392505050565b5f5f60408385031215610895575f5ffd5b61089e8361083c565b946020939093013593505050565b5f5f5f604084860312156108be575f5ffd5b83359250602084013567ffffffffffffffff8111156108db575f5ffd5b8401601f810186136108eb575f5ffd5b803567ffffffffffffffff811115610901575f5ffd5b866020828401011115610912575f5ffd5b939660209190910195509293505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffdfea26469706673582212206778898f7786980ef355a4d871d653ac91896fa57e9feb93aa110e2c037a7ed864736f6c634300081b0033","sourceMap":"827:3154:78:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2650:123;;;;;;:::i;:::-;2751:15;;2710:4;2751:15;;;:7;:15;;;;;;2733;:33;;2650:123;;;;571:14:108;;564:22;546:41;;534:2;519:18;2650:123:78;;;;;;;;2035:160;;;;;;:::i;:::-;;:::i;:::-;;3746:233;;;;;;:::i;:::-;;:::i;:::-;;;1690:66:108;1678:79;;;1660:98;;1648:2;1633:18;3746:233:78;1516:248:108;2293:101:19;;;:::i;1255:42:78:-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;1915:25:108;;;1903:2;1888:18;1255:42:78;1769:177:108;2244:229:20;;;:::i;1638:85:19:-;1684:7;1710:6;;;1638:85;;;2127:42:108;2115:55;;;2097:74;;2085:2;2070:18;1638:85:19;1951:226:108;2336:129:78;;;;;;:::i;:::-;;:::i;1232:99:20:-;1311:13;;;;1232:99;;1649:178;;;;;;:::i;:::-;;:::i;2035:160:78:-;1531:13:19;:11;:13::i;:::-;2115:15:78::1;::::0;::::1;;::::0;;;:7:::1;:15;::::0;;;;;;:26;;;2156:32;::::1;::::0;::::1;::::0;2133:8;1915:25:108;;1903:2;1888:18;;1769:177;2156:32:78::1;;;;;;;;2035:160:::0;;:::o;3746:233::-;3844:6;3867:40;3891:4;3897:9;;3867:23;:40::i;:::-;3862:74;;3916:20;;;;;;;;;;;;;;3862:74;-1:-1:-1;1068:44:78;3746:233;;;;;:::o;2293:101:19:-;1531:13;:11;:13::i;:::-;2357:30:::1;2384:1;2357:18;:30::i;:::-;2293:101::o:0;2244:229:20:-;1311:13;;735:10:35;;2339:24:20;1311:13;2339:24;;2335:96;;2386:34;;;;;2127:42:108;2115:55;;2386:34:20;;;2097:74:108;2070:18;;2386:34:20;;;;;;;;2335:96;2440:26;2459:6;2440:18;:26::i;:::-;2286:187;2244:229::o;2336:129:78:-;1531:13:19;:11;:13::i;:::-;2403:15:78::1;::::0;::::1;2421:1;2403:15:::0;;;:7:::1;:15;::::0;;;;;:19;;;2437:21;::::1;::::0;2421:1;2437:21:::1;2336:129:::0;:::o;1649:178:20:-;1531:13:19;:11;:13::i;:::-;1738::20::1;:24:::0;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;1802:7:::1;1684::19::0;1710:6;;;;1638:85;1802:7:20::1;1777:43;;;;;;;;;;;;1649:178:::0;:::o;1796:162:19:-;1684:7;1710:6;1855:23;1710:6;735:10:35;1855:23:19;1851:101;;1901:40;;;;;735:10:35;1901:40:19;;;2097:74:108;2070:18;;1901:40:19;1951:226:108;3136:180:78;3241:4;3264:45;3278:30;3292:4;3298:9;;3278:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3278:13:78;;-1:-1:-1;;;3278:30:78:i;3264:45::-;3257:52;3136:180;-1:-1:-1;;;;3136:180:78:o;2011:153:20:-;2100:13;2093:20;;;;;;2123:34;2148:8;2123:24;:34::i;5290:255:44:-;5368:7;5388:17;5407:18;5427:16;5447:27;5458:4;5464:9;5447:10;:27::i;:::-;5387:87;;;;;;5484:28;5496:5;5503:8;5484:11;:28::i;:::-;-1:-1:-1;5529:9:44;;5290:255;-1:-1:-1;;;;5290:255:44:o;2912:187:19:-;2985:16;3004:6;;;3020:17;;;;;;;;;;3052:40;;3004:6;;;;;;;3052:40;;2985:16;3052:40;2975:124;2912:187;:::o;2433:778:44:-;2536:17;2555:16;2573:14;2603:9;:16;2623:2;2603:22;2599:606;;2908:4;2893:20;;2887:27;2957:4;2942:20;;2936:27;3014:4;2999:20;;2993:27;2641:9;2985:36;3055:25;3066:4;2985:36;2887:27;2936;3055:10;:25::i;:::-;3048:32;;;;;;;;;;;2599:606;-1:-1:-1;;3176:16:44;;3127:1;;-1:-1:-1;3131:35:44;;2599:606;2433:778;;;;;:::o;11374:532::-;11469:20;11460:5;:29;;;;;;;;:::i;:::-;;11456:444;;11374:532;;:::o;11456:444::-;11565:29;11556:5;:38;;;;;;;;:::i;:::-;;11552:348;;11617:23;;;;;;;;;;;;;;11552:348;11670:35;11661:5;:44;;;;;;;;:::i;:::-;;11657:243;;11728:46;;;;;;;;1915:25:108;;;1888:18;;11728:46:44;1769:177:108;11657:243:44;11804:30;11795:5;:39;;;;;;;;:::i;:::-;;11791:109;;11857:32;;;;;;;;1915:25:108;;;1888:18;;11857:32:44;1769:177:108;11791:109:44;11374:532;;:::o;7142:1551::-;7268:17;;;8222:66;8209:79;;8205:164;;;-1:-1:-1;8320:1:44;;-1:-1:-1;8324:30:44;;-1:-1:-1;8356:1:44;8304:54;;8205:164;8480:24;;;8463:14;8480:24;;;;;;;;;2780:25:108;;;2853:4;2841:17;;2821:18;;;2814:45;;;;2875:18;;;2868:34;;;2918:18;;;2911:34;;;8480:24:44;;2752:19:108;;8480:24:44;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;8480:24:44;;;;;;-1:-1:-1;;8518:20:44;;;8514:113;;-1:-1:-1;8570:1:44;;-1:-1:-1;8574:29:44;;-1:-1:-1;8570:1:44;;-1:-1:-1;8554:62:44;;8514:113;8645:6;-1:-1:-1;8653:20:44;;-1:-1:-1;8653:20:44;;-1:-1:-1;7142:1551:44;;;;;;;;;:::o;14:196:108:-;82:20;;142:42;131:54;;121:65;;111:93;;200:1;197;190:12;111:93;14:196;;;:::o;215:186::-;274:6;327:2;315:9;306:7;302:23;298:32;295:52;;;343:1;340;333:12;295:52;366:29;385:9;366:29;:::i;:::-;356:39;215:186;-1:-1:-1;;;215:186:108:o;598:254::-;666:6;674;727:2;715:9;706:7;702:23;698:32;695:52;;;743:1;740;733:12;695:52;766:29;785:9;766:29;:::i;:::-;756:39;842:2;827:18;;;;814:32;;-1:-1:-1;;;598:254:108:o;857:654::-;936:6;944;952;1005:2;993:9;984:7;980:23;976:32;973:52;;;1021:1;1018;1011:12;973:52;1057:9;1044:23;1034:33;;1118:2;1107:9;1103:18;1090:32;1145:18;1137:6;1134:30;1131:50;;;1177:1;1174;1167:12;1131:50;1200:22;;1253:4;1245:13;;1241:27;-1:-1:-1;1231:55:108;;1282:1;1279;1272:12;1231:55;1322:2;1309:16;1348:18;1340:6;1337:30;1334:50;;;1380:1;1377;1370:12;1334:50;1425:7;1420:2;1411:6;1407:2;1403:15;1399:24;1396:37;1393:57;;;1446:1;1443;1436:12;1393:57;857:654;;1477:2;1469:11;;;;;-1:-1:-1;1499:6:108;;-1:-1:-1;;;857:654:108:o;2182:184::-;2234:77;2231:1;2224:88;2331:4;2328:1;2321:15;2355:4;2352:1;2345:15","linkReferences":{}},"methodIdentifiers":{"acceptOwnership()":"79ba5097","approve(address,uint256)":"095ea7b3","isApprovedNow(address)":"07f091af","isValidSignature(bytes32,bytes)":"1626ba7e","owner()":"8da5cb5b","pendingOwner()":"e30c3978","renounceOwnership()":"715018a6","revokeSigner(address)":"c34b44a0","signers(address)":"736c0d5b","transferOwnership(address)":"f2fde38b"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"initialOwner\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"ECDSAInvalidSignature\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"length\",\"type\":\"uint256\"}],\"name\":\"ECDSAInvalidSignatureLength\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"ECDSAInvalidSignatureS\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidCosignature\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"OwnableInvalidOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"OwnableUnauthorizedAccount\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferStarted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"SignerApproved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"}],\"name\":\"SignerRevoked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"}],\"name\":\"isApprovedNow\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"isValidSignature\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"}],\"name\":\"revokeSigner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"signers\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Extends AbstractSigner and Ownable2Step to provide secure ownership managementOwner can approve/revoke signers. Signers can create valid signatures until their deadline expiresImplements ERC-1271 for contract signature validation\",\"errors\":{\"ECDSAInvalidSignature()\":[{\"details\":\"The signature derives the `address(0)`.\"}],\"ECDSAInvalidSignatureLength(uint256)\":[{\"details\":\"The signature has an invalid length.\"}],\"ECDSAInvalidSignatureS(bytes32)\":[{\"details\":\"The signature has an S value that is in the upper half order.\"}],\"OwnableInvalidOwner(address)\":[{\"details\":\"The owner is not a valid owner account. (eg. `address(0)`)\"}],\"OwnableUnauthorizedAccount(address)\":[{\"details\":\"The caller account is not authorized to perform an operation.\"}]},\"kind\":\"dev\",\"methods\":{\"acceptOwnership()\":{\"details\":\"The new owner accepts the ownership transfer.\"},\"approve(address,uint256)\":{\"details\":\"Only the owner can approve signers\",\"params\":{\"deadline\":\"The expiration timestamp (not computed, directly assigned)\",\"signer\":\"The address to approve as a signer\"}},\"constructor\":{\"params\":{\"initialOwner\":\"The address that will be the initial owner (not a signer by default)\"}},\"isApprovedNow(address)\":{\"params\":{\"signer\":\"The address to check\"},\"returns\":{\"_0\":\"True if the signer is approved and not expired\"}},\"isValidSignature(bytes32,bytes)\":{\"details\":\"Implements IERC1271.isValidSignature for contract signature validationReverts with InvalidCosignature if signature is not valid\",\"params\":{\"hash\":\"The hash that was signed\",\"signature\":\"The signature to validate (ECDSA format: r, s, v)\"},\"returns\":{\"_0\":\"magicValue The ERC-1271 magic value if valid\"}},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"pendingOwner()\":{\"details\":\"Returns the address of the pending owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner.\"},\"revokeSigner(address)\":{\"details\":\"Only the owner can revoke signers\",\"params\":{\"signer\":\"The address to revoke\"}},\"transferOwnership(address)\":{\"details\":\"Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one. Can only be called by the current owner. Setting `newOwner` to the zero address is allowed; this can be used to cancel an initiated ownership transfer.\"}},\"stateVariables\":{\"ERC1271_MAGIC_VALUE\":{\"details\":\"ERC-1271 magic value for valid signatures - computed as bytes4(keccak256(\\\"isValidSignature(bytes32,bytes)\\\"))\"},\"signers\":{\"details\":\"Timestamp of 0 means the signer is not approved\"}},\"title\":\"Cosigner\",\"version\":1},\"userdoc\":{\"events\":{\"SignerApproved(address,uint256)\":{\"notice\":\"Emitted when a signer is approved\"},\"SignerRevoked(address)\":{\"notice\":\"Emitted when a signer is revoked\"}},\"kind\":\"user\",\"methods\":{\"approve(address,uint256)\":{\"notice\":\"Approves a signer with a deadline timestamp\"},\"constructor\":{\"notice\":\"Constructs the Cosigner contract with an initial owner\"},\"isApprovedNow(address)\":{\"notice\":\"Checks if a signer is currently approved and not expired\"},\"isValidSignature(bytes32,bytes)\":{\"notice\":\"Validates that a signature was created by an approved signer (ERC-1271)\"},\"revokeSigner(address)\":{\"notice\":\"Revokes a signer's approval\"},\"signers(address)\":{\"notice\":\"Mapping of signer addresses to their expiration timestamp\"}},\"notice\":\"Contract-based cosigner that manages approved signers with expiration deadlines\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/ops/Cosigner.sol\":\"Cosigner\"},\"evmVersion\":\"prague\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[\":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/\",\":forge-std/=lib/forge-std/src/\",\":halmos-cheatcodes/=lib/openzeppelin-contracts/lib/halmos-cheatcodes/src/\",\":openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/\"]},\"sources\":{\"lib/openzeppelin-contracts/contracts/access/Ownable.sol\":{\"keccak256\":\"0xff6d0bb2e285473e5311d9d3caacb525ae3538a80758c10649a4d61029b017bb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8ed324d3920bb545059d66ab97d43e43ee85fd3bd52e03e401f020afb0b120f6\",\"dweb:/ipfs/QmfEckWLmZkDDcoWrkEvMWhms66xwTLff9DDhegYpvHo1a\"]},\"lib/openzeppelin-contracts/contracts/access/Ownable2Step.sol\":{\"keccak256\":\"0xdcad8898fda432696597752e8ec361b87d85c82cb258115427af006dacf7128c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e2c9d517f0c136d54bd00cd57959d25681d4d6273f5bbbc263afe228303772f0\",\"dweb:/ipfs/QmReNFjXBiufByiAAzfSQ2SM5r3qeUErn46BmN3yVRvrek\"]},\"lib/openzeppelin-contracts/contracts/interfaces/IERC1271.sol\":{\"keccak256\":\"0x66c7ec42c6c43712be2107a50ab4529379bc76a632b425babec698d9da921ac6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://dce2778f0b638adfc5ba29c2c618c855fe725fa74a16846386aa1d56a834aa04\",\"dweb:/ipfs/QmPV9oWnzQdi58od266j62xvviavLNHqKLZfm6k2K1qy9E\"]},\"lib/openzeppelin-contracts/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]},\"lib/openzeppelin-contracts/contracts/utils/cryptography/ECDSA.sol\":{\"keccak256\":\"0x4f7de0846587a28ea3623077dd809d53f08ad6176738ce1cedf272cb7bc2a107\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1a189921ec61afa7c7348a1699b2550dcba5fb449ae8966e91ef3acd2dc60a4a\",\"dweb:/ipfs/Qma7cmxAGYyMPiEtH2Bv5QNHFmob88ZE6qYfZKFzuW8A4U\"]},\"lib/openzeppelin-contracts/contracts/utils/cryptography/signers/AbstractSigner.sol\":{\"keccak256\":\"0x2e803d54b627d8ce2841c39e973f499be029a706f7157aee74adb648a27ecda9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://62197d50f708cccc7f17509f54d429eb6921416f3695f08f1178bbb9ca5ce0c5\",\"dweb:/ipfs/QmeaUebF8obuUXwqFH4rhwTzUqa4A7z4S8TkHpWyUSrDo6\"]},\"src/ops/Cosigner.sol\":{\"keccak256\":\"0xa3b266db1c4ed15348873a8a4a4f05b9503319011d3abe0129b797c89118390c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1d05255fdd31d5ca2e574fd886079a98b3ceddaf30b8b42a5f27309c0ca9a879\",\"dweb:/ipfs/QmWMugpTBowekwV8NE795oVEte3wfZYTaQ2p5or6uuo4q7\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.27+commit.40a35a09"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"initialOwner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"type":"error","name":"ECDSAInvalidSignature"},{"inputs":[{"internalType":"uint256","name":"length","type":"uint256"}],"type":"error","name":"ECDSAInvalidSignatureLength"},{"inputs":[{"internalType":"bytes32","name":"s","type":"bytes32"}],"type":"error","name":"ECDSAInvalidSignatureS"},{"inputs":[],"type":"error","name":"InvalidCosignature"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"type":"error","name":"OwnableInvalidOwner"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"type":"error","name":"OwnableUnauthorizedAccount"},{"inputs":[{"internalType":"address","name":"previousOwner","type":"address","indexed":true},{"internalType":"address","name":"newOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipTransferStarted","anonymous":false},{"inputs":[{"internalType":"address","name":"previousOwner","type":"address","indexed":true},{"internalType":"address","name":"newOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipTransferred","anonymous":false},{"inputs":[{"internalType":"address","name":"signer","type":"address","indexed":true},{"internalType":"uint256","name":"deadline","type":"uint256","indexed":false}],"type":"event","name":"SignerApproved","anonymous":false},{"inputs":[{"internalType":"address","name":"signer","type":"address","indexed":true}],"type":"event","name":"SignerRevoked","anonymous":false},{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"acceptOwnership"},{"inputs":[{"internalType":"address","name":"signer","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"approve"},{"inputs":[{"internalType":"address","name":"signer","type":"address"}],"stateMutability":"view","type":"function","name":"isApprovedNow","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"bytes32","name":"hash","type":"bytes32"},{"internalType":"bytes","name":"signature","type":"bytes"}],"stateMutability":"view","type":"function","name":"isValidSignature","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"renounceOwnership"},{"inputs":[{"internalType":"address","name":"signer","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"revokeSigner"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function","name":"signers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"transferOwnership"}],"devdoc":{"kind":"dev","methods":{"acceptOwnership()":{"details":"The new owner accepts the ownership transfer."},"approve(address,uint256)":{"details":"Only the owner can approve signers","params":{"deadline":"The expiration timestamp (not computed, directly assigned)","signer":"The address to approve as a signer"}},"constructor":{"params":{"initialOwner":"The address that will be the initial owner (not a signer by default)"}},"isApprovedNow(address)":{"params":{"signer":"The address to check"},"returns":{"_0":"True if the signer is approved and not expired"}},"isValidSignature(bytes32,bytes)":{"details":"Implements IERC1271.isValidSignature for contract signature validationReverts with InvalidCosignature if signature is not valid","params":{"hash":"The hash that was signed","signature":"The signature to validate (ECDSA format: r, s, v)"},"returns":{"_0":"magicValue The ERC-1271 magic value if valid"}},"owner()":{"details":"Returns the address of the current owner."},"pendingOwner()":{"details":"Returns the address of the pending owner."},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner."},"revokeSigner(address)":{"details":"Only the owner can revoke signers","params":{"signer":"The address to revoke"}},"transferOwnership(address)":{"details":"Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one. Can only be called by the current owner. Setting `newOwner` to the zero address is allowed; this can be used to cancel an initiated ownership transfer."}},"version":1},"userdoc":{"kind":"user","methods":{"approve(address,uint256)":{"notice":"Approves a signer with a deadline timestamp"},"constructor":{"notice":"Constructs the Cosigner contract with an initial owner"},"isApprovedNow(address)":{"notice":"Checks if a signer is currently approved and not expired"},"isValidSignature(bytes32,bytes)":{"notice":"Validates that a signature was created by an approved signer (ERC-1271)"},"revokeSigner(address)":{"notice":"Revokes a signer's approval"},"signers(address)":{"notice":"Mapping of signer addresses to their expiration timestamp"}},"version":1}},"settings":{"remappings":["@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","ds-test/=lib/forge-std/lib/ds-test/src/","erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/","forge-std/=lib/forge-std/src/","halmos-cheatcodes/=lib/openzeppelin-contracts/lib/halmos-cheatcodes/src/","openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/"],"optimizer":{"enabled":true,"runs":1000000},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"src/ops/Cosigner.sol":"Cosigner"},"evmVersion":"prague","libraries":{}},"sources":{"lib/openzeppelin-contracts/contracts/access/Ownable.sol":{"keccak256":"0xff6d0bb2e285473e5311d9d3caacb525ae3538a80758c10649a4d61029b017bb","urls":["bzz-raw://8ed324d3920bb545059d66ab97d43e43ee85fd3bd52e03e401f020afb0b120f6","dweb:/ipfs/QmfEckWLmZkDDcoWrkEvMWhms66xwTLff9DDhegYpvHo1a"],"license":"MIT"},"lib/openzeppelin-contracts/contracts/access/Ownable2Step.sol":{"keccak256":"0xdcad8898fda432696597752e8ec361b87d85c82cb258115427af006dacf7128c","urls":["bzz-raw://e2c9d517f0c136d54bd00cd57959d25681d4d6273f5bbbc263afe228303772f0","dweb:/ipfs/QmReNFjXBiufByiAAzfSQ2SM5r3qeUErn46BmN3yVRvrek"],"license":"MIT"},"lib/openzeppelin-contracts/contracts/interfaces/IERC1271.sol":{"keccak256":"0x66c7ec42c6c43712be2107a50ab4529379bc76a632b425babec698d9da921ac6","urls":["bzz-raw://dce2778f0b638adfc5ba29c2c618c855fe725fa74a16846386aa1d56a834aa04","dweb:/ipfs/QmPV9oWnzQdi58od266j62xvviavLNHqKLZfm6k2K1qy9E"],"license":"MIT"},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"keccak256":"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2","urls":["bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12","dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF"],"license":"MIT"},"lib/openzeppelin-contracts/contracts/utils/cryptography/ECDSA.sol":{"keccak256":"0x4f7de0846587a28ea3623077dd809d53f08ad6176738ce1cedf272cb7bc2a107","urls":["bzz-raw://1a189921ec61afa7c7348a1699b2550dcba5fb449ae8966e91ef3acd2dc60a4a","dweb:/ipfs/Qma7cmxAGYyMPiEtH2Bv5QNHFmob88ZE6qYfZKFzuW8A4U"],"license":"MIT"},"lib/openzeppelin-contracts/contracts/utils/cryptography/signers/AbstractSigner.sol":{"keccak256":"0x2e803d54b627d8ce2841c39e973f499be029a706f7157aee74adb648a27ecda9","urls":["bzz-raw://62197d50f708cccc7f17509f54d429eb6921416f3695f08f1178bbb9ca5ce0c5","dweb:/ipfs/QmeaUebF8obuUXwqFH4rhwTzUqa4A7z4S8TkHpWyUSrDo6"],"license":"MIT"},"src/ops/Cosigner.sol":{"keccak256":"0xa3b266db1c4ed15348873a8a4a4f05b9503319011d3abe0129b797c89118390c","urls":["bzz-raw://1d05255fdd31d5ca2e574fd886079a98b3ceddaf30b8b42a5f27309c0ca9a879","dweb:/ipfs/QmWMugpTBowekwV8NE795oVEte3wfZYTaQ2p5or6uuo4q7"],"license":"MIT"}},"version":1},"id":78}
|
|
1
|
+
{"abi":[{"type":"constructor","inputs":[{"name":"initialOwner","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"type":"function","name":"acceptOwnership","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"approve","inputs":[{"name":"signer","type":"address","internalType":"address"},{"name":"deadline","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"isApprovedNow","inputs":[{"name":"signer","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"isValidSignature","inputs":[{"name":"hash","type":"bytes32","internalType":"bytes32"},{"name":"signature","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes4","internalType":"bytes4"}],"stateMutability":"view"},{"type":"function","name":"owner","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"pendingOwner","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"renounceOwnership","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"revoke","inputs":[{"name":"signer","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"signers","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"transferOwnership","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"event","name":"OwnershipTransferStarted","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"SignerApproved","inputs":[{"name":"signer","type":"address","indexed":true,"internalType":"address"},{"name":"deadline","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SignerRevoked","inputs":[{"name":"signer","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"error","name":"ECDSAInvalidSignature","inputs":[]},{"type":"error","name":"ECDSAInvalidSignatureLength","inputs":[{"name":"length","type":"uint256","internalType":"uint256"}]},{"type":"error","name":"ECDSAInvalidSignatureS","inputs":[{"name":"s","type":"bytes32","internalType":"bytes32"}]},{"type":"error","name":"InvalidCosignature","inputs":[]},{"type":"error","name":"OwnableInvalidOwner","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"type":"error","name":"OwnableUnauthorizedAccount","inputs":[{"name":"account","type":"address","internalType":"address"}]}],"bytecode":{"object":"0x608060405234801561000f575f5ffd5b50604051610a97380380610a9783398101604081905261002e916100d7565b806001600160a01b03811661005c57604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b6100658161006c565b5050610104565b600180546001600160a01b031916905561008581610088565b50565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f602082840312156100e7575f5ffd5b81516001600160a01b03811681146100fd575f5ffd5b9392505050565b610986806101115f395ff3fe608060405234801561000f575f5ffd5b50600436106100b9575f3560e01c806374a8f103116100725780638da5cb5b116100585780638da5cb5b146101b2578063e30c3978146101f0578063f2fde38b1461020e575f5ffd5b806374a8f1031461019757806379ba5097146101aa575f5ffd5b80631626ba7e116100a25780631626ba7e1461011e578063715018a614610162578063736c0d5b1461016a575f5ffd5b806307f091af146100bd578063095ea7b314610109575b5f5ffd5b6100f46100cb366004610864565b73ffffffffffffffffffffffffffffffffffffffff165f90815260026020526040902054421090565b60405190151581526020015b60405180910390f35b61011c610117366004610884565b610221565b005b61013161012c3660046108ac565b61028e565b6040517fffffffff000000000000000000000000000000000000000000000000000000009091168152602001610100565b61011c6102f9565b610189610178366004610864565b60026020525f908152604090205481565b604051908152602001610100565b61011c6101a5366004610864565b61030c565b61011c610364565b5f5473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610100565b60015473ffffffffffffffffffffffffffffffffffffffff166101cb565b61011c61021c366004610864565b6103e0565b61022961048f565b73ffffffffffffffffffffffffffffffffffffffff82165f8181526002602052604090819020839055517f40d5bfcaf211c721997e768a3afba0d28d48d940b4200c6855002c4561a63581906102829084815260200190565b60405180910390a25050565b5f61029a8484846104e1565b6102d0576040517fd7815be100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507f1626ba7e356f5979dd355a3d2bfb43e80420a480c3b854edce286a82d74968699392505050565b61030161048f565b61030a5f61052c565b565b61031461048f565b73ffffffffffffffffffffffffffffffffffffffff81165f81815260026020526040808220829055517f99a705a3c2c3339d0051f56b36a60fef91e30142c93353002617999f27aec4af9190a250565b600154339073ffffffffffffffffffffffffffffffffffffffff1681146103d4576040517f118cdaa700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff821660048201526024015b60405180910390fd5b6103dd8161052c565b50565b6103e861048f565b6001805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff0000000000000000000000000000000000000000909116811790915561044a5f5473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b5f5473ffffffffffffffffffffffffffffffffffffffff16331461030a576040517f118cdaa70000000000000000000000000000000000000000000000000000000081523360048201526024016103cb565b5f6105246100cb8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061055d92505050565b949350505050565b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690556103dd81610585565b5f5f5f5f61056b86866105f9565b92509250925061057b8282610642565b5090949350505050565b5f805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f5f5f8351604103610630576020840151604085015160608601515f1a61062288828585610749565b95509550955050505061063b565b505081515f91506002905b9250925092565b5f82600381111561065557610655610923565b0361065e575050565b600182600381111561067257610672610923565b036106a9576040517ff645eedf00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60028260038111156106bd576106bd610923565b036106f7576040517ffce698f7000000000000000000000000000000000000000000000000000000008152600481018290526024016103cb565b600382600381111561070b5761070b610923565b03610745576040517fd78bce0c000000000000000000000000000000000000000000000000000000008152600481018290526024016103cb565b5050565b5f80807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a084111561078257505f91506003905082610832565b604080515f808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa1580156107d3573d5f5f3e3d5ffd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811661082957505f925060019150829050610832565b92505f91508190505b9450945094915050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461085f575f5ffd5b919050565b5f60208284031215610874575f5ffd5b61087d8261083c565b9392505050565b5f5f60408385031215610895575f5ffd5b61089e8361083c565b946020939093013593505050565b5f5f5f604084860312156108be575f5ffd5b83359250602084013567ffffffffffffffff8111156108db575f5ffd5b8401601f810186136108eb575f5ffd5b803567ffffffffffffffff811115610901575f5ffd5b866020828401011115610912575f5ffd5b939660209190910195509293505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffdfea2646970667358221220307f38e18ad981bcbea2dcfebb5a3c9a3e22d31931e79cb3bdba27ab1061ec0964736f6c634300081b0033","sourceMap":"827:3148:80:-:0;;;1723:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1765:12;-1:-1:-1;;;;;1273:26:19;;1269:95;;1322:31;;-1:-1:-1;;;1322:31:19;;1350:1;1322:31;;;455:51:112;428:18;;1322:31:19;;;;;;;1269:95;1373:32;1392:12;1373:18;:32::i;:::-;1225:187;1723:58:80;827:3148;;2011:153:20;2100:13;2093:20;;-1:-1:-1;;;;;;2093:20:20;;;2123:34;2148:8;2123:24;:34::i;:::-;2011:153;:::o;2912:187:19:-;2985:16;3004:6;;-1:-1:-1;;;;;3020:17:19;;;-1:-1:-1;;;;;;3020:17:19;;;;;;3052:40;;3004:6;;;;;;;3052:40;;2985:16;3052:40;2975:124;2912:187;:::o;14:290:112:-;84:6;137:2;125:9;116:7;112:23;108:32;105:52;;;153:1;150;143:12;105:52;179:16;;-1:-1:-1;;;;;224:31:112;;214:42;;204:70;;270:1;267;260:12;204:70;293:5;14:290;-1:-1:-1;;;14:290:112:o;309:203::-;827:3148:80;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x608060405234801561000f575f5ffd5b50600436106100b9575f3560e01c806374a8f103116100725780638da5cb5b116100585780638da5cb5b146101b2578063e30c3978146101f0578063f2fde38b1461020e575f5ffd5b806374a8f1031461019757806379ba5097146101aa575f5ffd5b80631626ba7e116100a25780631626ba7e1461011e578063715018a614610162578063736c0d5b1461016a575f5ffd5b806307f091af146100bd578063095ea7b314610109575b5f5ffd5b6100f46100cb366004610864565b73ffffffffffffffffffffffffffffffffffffffff165f90815260026020526040902054421090565b60405190151581526020015b60405180910390f35b61011c610117366004610884565b610221565b005b61013161012c3660046108ac565b61028e565b6040517fffffffff000000000000000000000000000000000000000000000000000000009091168152602001610100565b61011c6102f9565b610189610178366004610864565b60026020525f908152604090205481565b604051908152602001610100565b61011c6101a5366004610864565b61030c565b61011c610364565b5f5473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610100565b60015473ffffffffffffffffffffffffffffffffffffffff166101cb565b61011c61021c366004610864565b6103e0565b61022961048f565b73ffffffffffffffffffffffffffffffffffffffff82165f8181526002602052604090819020839055517f40d5bfcaf211c721997e768a3afba0d28d48d940b4200c6855002c4561a63581906102829084815260200190565b60405180910390a25050565b5f61029a8484846104e1565b6102d0576040517fd7815be100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507f1626ba7e356f5979dd355a3d2bfb43e80420a480c3b854edce286a82d74968699392505050565b61030161048f565b61030a5f61052c565b565b61031461048f565b73ffffffffffffffffffffffffffffffffffffffff81165f81815260026020526040808220829055517f99a705a3c2c3339d0051f56b36a60fef91e30142c93353002617999f27aec4af9190a250565b600154339073ffffffffffffffffffffffffffffffffffffffff1681146103d4576040517f118cdaa700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff821660048201526024015b60405180910390fd5b6103dd8161052c565b50565b6103e861048f565b6001805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff0000000000000000000000000000000000000000909116811790915561044a5f5473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b5f5473ffffffffffffffffffffffffffffffffffffffff16331461030a576040517f118cdaa70000000000000000000000000000000000000000000000000000000081523360048201526024016103cb565b5f6105246100cb8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061055d92505050565b949350505050565b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690556103dd81610585565b5f5f5f5f61056b86866105f9565b92509250925061057b8282610642565b5090949350505050565b5f805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f5f5f8351604103610630576020840151604085015160608601515f1a61062288828585610749565b95509550955050505061063b565b505081515f91506002905b9250925092565b5f82600381111561065557610655610923565b0361065e575050565b600182600381111561067257610672610923565b036106a9576040517ff645eedf00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60028260038111156106bd576106bd610923565b036106f7576040517ffce698f7000000000000000000000000000000000000000000000000000000008152600481018290526024016103cb565b600382600381111561070b5761070b610923565b03610745576040517fd78bce0c000000000000000000000000000000000000000000000000000000008152600481018290526024016103cb565b5050565b5f80807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a084111561078257505f91506003905082610832565b604080515f808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa1580156107d3573d5f5f3e3d5ffd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811661082957505f925060019150829050610832565b92505f91508190505b9450945094915050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461085f575f5ffd5b919050565b5f60208284031215610874575f5ffd5b61087d8261083c565b9392505050565b5f5f60408385031215610895575f5ffd5b61089e8361083c565b946020939093013593505050565b5f5f5f604084860312156108be575f5ffd5b83359250602084013567ffffffffffffffff8111156108db575f5ffd5b8401601f810186136108eb575f5ffd5b803567ffffffffffffffff811115610901575f5ffd5b866020828401011115610912575f5ffd5b939660209190910195509293505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffdfea2646970667358221220307f38e18ad981bcbea2dcfebb5a3c9a3e22d31931e79cb3bdba27ab1061ec0964736f6c634300081b0033","sourceMap":"827:3148:80:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2644:123;;;;;;:::i;:::-;2745:15;;2704:4;2745:15;;;:7;:15;;;;;;2727;:33;;2644:123;;;;571:14:112;;564:22;546:41;;534:2;519:18;2644:123:80;;;;;;;;2035:160;;;;;;:::i;:::-;;:::i;:::-;;3740:233;;;;;;:::i;:::-;;:::i;:::-;;;1690:66:112;1678:79;;;1660:98;;1648:2;1633:18;3740:233:80;1516:248:112;2293:101:19;;;:::i;1255:42:80:-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;1915:25:112;;;1903:2;1888:18;1255:42:80;1769:177:112;2336:123:80;;;;;;:::i;:::-;;:::i;2244:229:20:-;;;:::i;1638:85:19:-;1684:7;1710:6;;;1638:85;;;2127:42:112;2115:55;;;2097:74;;2085:2;2070:18;1638:85:19;1951:226:112;1232:99:20;1311:13;;;;1232:99;;1649:178;;;;;;:::i;:::-;;:::i;2035:160:80:-;1531:13:19;:11;:13::i;:::-;2115:15:80::1;::::0;::::1;;::::0;;;:7:::1;:15;::::0;;;;;;:26;;;2156:32;::::1;::::0;::::1;::::0;2133:8;1915:25:112;;1903:2;1888:18;;1769:177;2156:32:80::1;;;;;;;;2035:160:::0;;:::o;3740:233::-;3838:6;3861:40;3885:4;3891:9;;3861:23;:40::i;:::-;3856:74;;3910:20;;;;;;;;;;;;;;3856:74;-1:-1:-1;1068:44:80;3740:233;;;;;:::o;2293:101:19:-;1531:13;:11;:13::i;:::-;2357:30:::1;2384:1;2357:18;:30::i;:::-;2293:101::o:0;2336:123:80:-;1531:13:19;:11;:13::i;:::-;2397:15:80::1;::::0;::::1;2415:1;2397:15:::0;;;:7:::1;:15;::::0;;;;;:19;;;2431:21;::::1;::::0;2415:1;2431:21:::1;2336:123:::0;:::o;2244:229:20:-;1311:13;;735:10:35;;2339:24:20;1311:13;2339:24;;2335:96;;2386:34;;;;;2127:42:112;2115:55;;2386:34:20;;;2097:74:112;2070:18;;2386:34:20;;;;;;;;2335:96;2440:26;2459:6;2440:18;:26::i;:::-;2286:187;2244:229::o;1649:178::-;1531:13:19;:11;:13::i;:::-;1738::20::1;:24:::0;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;1802:7:::1;1684::19::0;1710:6;;;;1638:85;1802:7:20::1;1777:43;;;;;;;;;;;;1649:178:::0;:::o;1796:162:19:-;1684:7;1710:6;1855:23;1710:6;735:10:35;1855:23:19;1851:101;;1901:40;;;;;735:10:35;1901:40:19;;;2097:74:112;2070:18;;1901:40:19;1951:226:112;3130:180:80;3235:4;3258:45;3272:30;3286:4;3292:9;;3272:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3272:13:80;;-1:-1:-1;;;3272:30:80:i;3258:45::-;3251:52;3130:180;-1:-1:-1;;;;3130:180:80:o;2011:153:20:-;2100:13;2093:20;;;;;;2123:34;2148:8;2123:24;:34::i;5290:255:44:-;5368:7;5388:17;5407:18;5427:16;5447:27;5458:4;5464:9;5447:10;:27::i;:::-;5387:87;;;;;;5484:28;5496:5;5503:8;5484:11;:28::i;:::-;-1:-1:-1;5529:9:44;;5290:255;-1:-1:-1;;;;5290:255:44:o;2912:187:19:-;2985:16;3004:6;;;3020:17;;;;;;;;;;3052:40;;3004:6;;;;;;;3052:40;;2985:16;3052:40;2975:124;2912:187;:::o;2433:778:44:-;2536:17;2555:16;2573:14;2603:9;:16;2623:2;2603:22;2599:606;;2908:4;2893:20;;2887:27;2957:4;2942:20;;2936:27;3014:4;2999:20;;2993:27;2641:9;2985:36;3055:25;3066:4;2985:36;2887:27;2936;3055:10;:25::i;:::-;3048:32;;;;;;;;;;;2599:606;-1:-1:-1;;3176:16:44;;3127:1;;-1:-1:-1;3131:35:44;;2599:606;2433:778;;;;;:::o;11374:532::-;11469:20;11460:5;:29;;;;;;;;:::i;:::-;;11456:444;;11374:532;;:::o;11456:444::-;11565:29;11556:5;:38;;;;;;;;:::i;:::-;;11552:348;;11617:23;;;;;;;;;;;;;;11552:348;11670:35;11661:5;:44;;;;;;;;:::i;:::-;;11657:243;;11728:46;;;;;;;;1915:25:112;;;1888:18;;11728:46:44;1769:177:112;11657:243:44;11804:30;11795:5;:39;;;;;;;;:::i;:::-;;11791:109;;11857:32;;;;;;;;1915:25:112;;;1888:18;;11857:32:44;1769:177:112;11791:109:44;11374:532;;:::o;7142:1551::-;7268:17;;;8222:66;8209:79;;8205:164;;;-1:-1:-1;8320:1:44;;-1:-1:-1;8324:30:44;;-1:-1:-1;8356:1:44;8304:54;;8205:164;8480:24;;;8463:14;8480:24;;;;;;;;;2780:25:112;;;2853:4;2841:17;;2821:18;;;2814:45;;;;2875:18;;;2868:34;;;2918:18;;;2911:34;;;8480:24:44;;2752:19:112;;8480:24:44;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;8480:24:44;;;;;;-1:-1:-1;;8518:20:44;;;8514:113;;-1:-1:-1;8570:1:44;;-1:-1:-1;8574:29:44;;-1:-1:-1;8570:1:44;;-1:-1:-1;8554:62:44;;8514:113;8645:6;-1:-1:-1;8653:20:44;;-1:-1:-1;8653:20:44;;-1:-1:-1;7142:1551:44;;;;;;;;;:::o;14:196:112:-;82:20;;142:42;131:54;;121:65;;111:93;;200:1;197;190:12;111:93;14:196;;;:::o;215:186::-;274:6;327:2;315:9;306:7;302:23;298:32;295:52;;;343:1;340;333:12;295:52;366:29;385:9;366:29;:::i;:::-;356:39;215:186;-1:-1:-1;;;215:186:112:o;598:254::-;666:6;674;727:2;715:9;706:7;702:23;698:32;695:52;;;743:1;740;733:12;695:52;766:29;785:9;766:29;:::i;:::-;756:39;842:2;827:18;;;;814:32;;-1:-1:-1;;;598:254:112:o;857:654::-;936:6;944;952;1005:2;993:9;984:7;980:23;976:32;973:52;;;1021:1;1018;1011:12;973:52;1057:9;1044:23;1034:33;;1118:2;1107:9;1103:18;1090:32;1145:18;1137:6;1134:30;1131:50;;;1177:1;1174;1167:12;1131:50;1200:22;;1253:4;1245:13;;1241:27;-1:-1:-1;1231:55:112;;1282:1;1279;1272:12;1231:55;1322:2;1309:16;1348:18;1340:6;1337:30;1334:50;;;1380:1;1377;1370:12;1334:50;1425:7;1420:2;1411:6;1407:2;1403:15;1399:24;1396:37;1393:57;;;1446:1;1443;1436:12;1393:57;857:654;;1477:2;1469:11;;;;;-1:-1:-1;1499:6:112;;-1:-1:-1;;;857:654:112:o;2182:184::-;2234:77;2231:1;2224:88;2331:4;2328:1;2321:15;2355:4;2352:1;2345:15","linkReferences":{}},"methodIdentifiers":{"acceptOwnership()":"79ba5097","approve(address,uint256)":"095ea7b3","isApprovedNow(address)":"07f091af","isValidSignature(bytes32,bytes)":"1626ba7e","owner()":"8da5cb5b","pendingOwner()":"e30c3978","renounceOwnership()":"715018a6","revoke(address)":"74a8f103","signers(address)":"736c0d5b","transferOwnership(address)":"f2fde38b"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"initialOwner\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"ECDSAInvalidSignature\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"length\",\"type\":\"uint256\"}],\"name\":\"ECDSAInvalidSignatureLength\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"ECDSAInvalidSignatureS\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidCosignature\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"OwnableInvalidOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"OwnableUnauthorizedAccount\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferStarted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"SignerApproved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"}],\"name\":\"SignerRevoked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"}],\"name\":\"isApprovedNow\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"isValidSignature\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"}],\"name\":\"revoke\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"signers\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Extends AbstractSigner and Ownable2Step to provide secure ownership managementOwner can approve/revoke signers. Signers can create valid signatures until their deadline expiresImplements ERC-1271 for contract signature validation\",\"errors\":{\"ECDSAInvalidSignature()\":[{\"details\":\"The signature derives the `address(0)`.\"}],\"ECDSAInvalidSignatureLength(uint256)\":[{\"details\":\"The signature has an invalid length.\"}],\"ECDSAInvalidSignatureS(bytes32)\":[{\"details\":\"The signature has an S value that is in the upper half order.\"}],\"OwnableInvalidOwner(address)\":[{\"details\":\"The owner is not a valid owner account. (eg. `address(0)`)\"}],\"OwnableUnauthorizedAccount(address)\":[{\"details\":\"The caller account is not authorized to perform an operation.\"}]},\"kind\":\"dev\",\"methods\":{\"acceptOwnership()\":{\"details\":\"The new owner accepts the ownership transfer.\"},\"approve(address,uint256)\":{\"details\":\"Only the owner can approve signers\",\"params\":{\"deadline\":\"The expiration timestamp (not computed, directly assigned)\",\"signer\":\"The address to approve as a signer\"}},\"constructor\":{\"params\":{\"initialOwner\":\"The address that will be the initial owner (not a signer by default)\"}},\"isApprovedNow(address)\":{\"params\":{\"signer\":\"The address to check\"},\"returns\":{\"_0\":\"True if the signer is approved and not expired\"}},\"isValidSignature(bytes32,bytes)\":{\"details\":\"Implements IERC1271.isValidSignature for contract signature validationReverts with InvalidCosignature if signature is not valid\",\"params\":{\"hash\":\"The hash that was signed\",\"signature\":\"The signature to validate (ECDSA format: r, s, v)\"},\"returns\":{\"_0\":\"magicValue The ERC-1271 magic value if valid\"}},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"pendingOwner()\":{\"details\":\"Returns the address of the pending owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner.\"},\"revoke(address)\":{\"details\":\"Only the owner can revoke signers\",\"params\":{\"signer\":\"The address to revoke\"}},\"transferOwnership(address)\":{\"details\":\"Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one. Can only be called by the current owner. Setting `newOwner` to the zero address is allowed; this can be used to cancel an initiated ownership transfer.\"}},\"stateVariables\":{\"ERC1271_MAGIC_VALUE\":{\"details\":\"ERC-1271 magic value for valid signatures - computed as bytes4(keccak256(\\\"isValidSignature(bytes32,bytes)\\\"))\"},\"signers\":{\"details\":\"Timestamp of 0 means the signer is not approved\"}},\"title\":\"Cosigner\",\"version\":1},\"userdoc\":{\"events\":{\"SignerApproved(address,uint256)\":{\"notice\":\"Emitted when a signer is approved\"},\"SignerRevoked(address)\":{\"notice\":\"Emitted when a signer is revoked\"}},\"kind\":\"user\",\"methods\":{\"approve(address,uint256)\":{\"notice\":\"Approves a signer with a deadline timestamp\"},\"constructor\":{\"notice\":\"Constructs the Cosigner contract with an initial owner\"},\"isApprovedNow(address)\":{\"notice\":\"Checks if a signer is currently approved and not expired\"},\"isValidSignature(bytes32,bytes)\":{\"notice\":\"Validates that a signature was created by an approved signer (ERC-1271)\"},\"revoke(address)\":{\"notice\":\"Revokes a signer's approval\"},\"signers(address)\":{\"notice\":\"Mapping of signer addresses to their expiration timestamp\"}},\"notice\":\"Contract-based cosigner that manages approved signers with expiration deadlines\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/ops/Cosigner.sol\":\"Cosigner\"},\"evmVersion\":\"prague\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[\":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/\",\":forge-std/=lib/forge-std/src/\",\":halmos-cheatcodes/=lib/openzeppelin-contracts/lib/halmos-cheatcodes/src/\",\":openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/\"]},\"sources\":{\"lib/openzeppelin-contracts/contracts/access/Ownable.sol\":{\"keccak256\":\"0xff6d0bb2e285473e5311d9d3caacb525ae3538a80758c10649a4d61029b017bb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8ed324d3920bb545059d66ab97d43e43ee85fd3bd52e03e401f020afb0b120f6\",\"dweb:/ipfs/QmfEckWLmZkDDcoWrkEvMWhms66xwTLff9DDhegYpvHo1a\"]},\"lib/openzeppelin-contracts/contracts/access/Ownable2Step.sol\":{\"keccak256\":\"0xdcad8898fda432696597752e8ec361b87d85c82cb258115427af006dacf7128c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e2c9d517f0c136d54bd00cd57959d25681d4d6273f5bbbc263afe228303772f0\",\"dweb:/ipfs/QmReNFjXBiufByiAAzfSQ2SM5r3qeUErn46BmN3yVRvrek\"]},\"lib/openzeppelin-contracts/contracts/interfaces/IERC1271.sol\":{\"keccak256\":\"0x66c7ec42c6c43712be2107a50ab4529379bc76a632b425babec698d9da921ac6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://dce2778f0b638adfc5ba29c2c618c855fe725fa74a16846386aa1d56a834aa04\",\"dweb:/ipfs/QmPV9oWnzQdi58od266j62xvviavLNHqKLZfm6k2K1qy9E\"]},\"lib/openzeppelin-contracts/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]},\"lib/openzeppelin-contracts/contracts/utils/cryptography/ECDSA.sol\":{\"keccak256\":\"0x4f7de0846587a28ea3623077dd809d53f08ad6176738ce1cedf272cb7bc2a107\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1a189921ec61afa7c7348a1699b2550dcba5fb449ae8966e91ef3acd2dc60a4a\",\"dweb:/ipfs/Qma7cmxAGYyMPiEtH2Bv5QNHFmob88ZE6qYfZKFzuW8A4U\"]},\"lib/openzeppelin-contracts/contracts/utils/cryptography/signers/AbstractSigner.sol\":{\"keccak256\":\"0x2e803d54b627d8ce2841c39e973f499be029a706f7157aee74adb648a27ecda9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://62197d50f708cccc7f17509f54d429eb6921416f3695f08f1178bbb9ca5ce0c5\",\"dweb:/ipfs/QmeaUebF8obuUXwqFH4rhwTzUqa4A7z4S8TkHpWyUSrDo6\"]},\"src/ops/Cosigner.sol\":{\"keccak256\":\"0xebb22076ba6bed25359ee5edf5ea7a7a4fe025b52eac2ccd2a06a10a73a735da\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e57c32d554efedb30ecc53e513136ab7767aeb233c75fd5a8e2f57a2bfd70777\",\"dweb:/ipfs/QmXYdHtgfshWHjcgUsxMWHHq1wHhawXDWQgwv8JHi1fCvH\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.27+commit.40a35a09"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"initialOwner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"type":"error","name":"ECDSAInvalidSignature"},{"inputs":[{"internalType":"uint256","name":"length","type":"uint256"}],"type":"error","name":"ECDSAInvalidSignatureLength"},{"inputs":[{"internalType":"bytes32","name":"s","type":"bytes32"}],"type":"error","name":"ECDSAInvalidSignatureS"},{"inputs":[],"type":"error","name":"InvalidCosignature"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"type":"error","name":"OwnableInvalidOwner"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"type":"error","name":"OwnableUnauthorizedAccount"},{"inputs":[{"internalType":"address","name":"previousOwner","type":"address","indexed":true},{"internalType":"address","name":"newOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipTransferStarted","anonymous":false},{"inputs":[{"internalType":"address","name":"previousOwner","type":"address","indexed":true},{"internalType":"address","name":"newOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipTransferred","anonymous":false},{"inputs":[{"internalType":"address","name":"signer","type":"address","indexed":true},{"internalType":"uint256","name":"deadline","type":"uint256","indexed":false}],"type":"event","name":"SignerApproved","anonymous":false},{"inputs":[{"internalType":"address","name":"signer","type":"address","indexed":true}],"type":"event","name":"SignerRevoked","anonymous":false},{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"acceptOwnership"},{"inputs":[{"internalType":"address","name":"signer","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"approve"},{"inputs":[{"internalType":"address","name":"signer","type":"address"}],"stateMutability":"view","type":"function","name":"isApprovedNow","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"bytes32","name":"hash","type":"bytes32"},{"internalType":"bytes","name":"signature","type":"bytes"}],"stateMutability":"view","type":"function","name":"isValidSignature","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"renounceOwnership"},{"inputs":[{"internalType":"address","name":"signer","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"revoke"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function","name":"signers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"transferOwnership"}],"devdoc":{"kind":"dev","methods":{"acceptOwnership()":{"details":"The new owner accepts the ownership transfer."},"approve(address,uint256)":{"details":"Only the owner can approve signers","params":{"deadline":"The expiration timestamp (not computed, directly assigned)","signer":"The address to approve as a signer"}},"constructor":{"params":{"initialOwner":"The address that will be the initial owner (not a signer by default)"}},"isApprovedNow(address)":{"params":{"signer":"The address to check"},"returns":{"_0":"True if the signer is approved and not expired"}},"isValidSignature(bytes32,bytes)":{"details":"Implements IERC1271.isValidSignature for contract signature validationReverts with InvalidCosignature if signature is not valid","params":{"hash":"The hash that was signed","signature":"The signature to validate (ECDSA format: r, s, v)"},"returns":{"_0":"magicValue The ERC-1271 magic value if valid"}},"owner()":{"details":"Returns the address of the current owner."},"pendingOwner()":{"details":"Returns the address of the pending owner."},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner."},"revoke(address)":{"details":"Only the owner can revoke signers","params":{"signer":"The address to revoke"}},"transferOwnership(address)":{"details":"Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one. Can only be called by the current owner. Setting `newOwner` to the zero address is allowed; this can be used to cancel an initiated ownership transfer."}},"version":1},"userdoc":{"kind":"user","methods":{"approve(address,uint256)":{"notice":"Approves a signer with a deadline timestamp"},"constructor":{"notice":"Constructs the Cosigner contract with an initial owner"},"isApprovedNow(address)":{"notice":"Checks if a signer is currently approved and not expired"},"isValidSignature(bytes32,bytes)":{"notice":"Validates that a signature was created by an approved signer (ERC-1271)"},"revoke(address)":{"notice":"Revokes a signer's approval"},"signers(address)":{"notice":"Mapping of signer addresses to their expiration timestamp"}},"version":1}},"settings":{"remappings":["@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","ds-test/=lib/forge-std/lib/ds-test/src/","erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/","forge-std/=lib/forge-std/src/","halmos-cheatcodes/=lib/openzeppelin-contracts/lib/halmos-cheatcodes/src/","openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/"],"optimizer":{"enabled":true,"runs":1000000},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"src/ops/Cosigner.sol":"Cosigner"},"evmVersion":"prague","libraries":{}},"sources":{"lib/openzeppelin-contracts/contracts/access/Ownable.sol":{"keccak256":"0xff6d0bb2e285473e5311d9d3caacb525ae3538a80758c10649a4d61029b017bb","urls":["bzz-raw://8ed324d3920bb545059d66ab97d43e43ee85fd3bd52e03e401f020afb0b120f6","dweb:/ipfs/QmfEckWLmZkDDcoWrkEvMWhms66xwTLff9DDhegYpvHo1a"],"license":"MIT"},"lib/openzeppelin-contracts/contracts/access/Ownable2Step.sol":{"keccak256":"0xdcad8898fda432696597752e8ec361b87d85c82cb258115427af006dacf7128c","urls":["bzz-raw://e2c9d517f0c136d54bd00cd57959d25681d4d6273f5bbbc263afe228303772f0","dweb:/ipfs/QmReNFjXBiufByiAAzfSQ2SM5r3qeUErn46BmN3yVRvrek"],"license":"MIT"},"lib/openzeppelin-contracts/contracts/interfaces/IERC1271.sol":{"keccak256":"0x66c7ec42c6c43712be2107a50ab4529379bc76a632b425babec698d9da921ac6","urls":["bzz-raw://dce2778f0b638adfc5ba29c2c618c855fe725fa74a16846386aa1d56a834aa04","dweb:/ipfs/QmPV9oWnzQdi58od266j62xvviavLNHqKLZfm6k2K1qy9E"],"license":"MIT"},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"keccak256":"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2","urls":["bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12","dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF"],"license":"MIT"},"lib/openzeppelin-contracts/contracts/utils/cryptography/ECDSA.sol":{"keccak256":"0x4f7de0846587a28ea3623077dd809d53f08ad6176738ce1cedf272cb7bc2a107","urls":["bzz-raw://1a189921ec61afa7c7348a1699b2550dcba5fb449ae8966e91ef3acd2dc60a4a","dweb:/ipfs/Qma7cmxAGYyMPiEtH2Bv5QNHFmob88ZE6qYfZKFzuW8A4U"],"license":"MIT"},"lib/openzeppelin-contracts/contracts/utils/cryptography/signers/AbstractSigner.sol":{"keccak256":"0x2e803d54b627d8ce2841c39e973f499be029a706f7157aee74adb648a27ecda9","urls":["bzz-raw://62197d50f708cccc7f17509f54d429eb6921416f3695f08f1178bbb9ca5ce0c5","dweb:/ipfs/QmeaUebF8obuUXwqFH4rhwTzUqa4A7z4S8TkHpWyUSrDo6"],"license":"MIT"},"src/ops/Cosigner.sol":{"keccak256":"0xebb22076ba6bed25359ee5edf5ea7a7a4fe025b52eac2ccd2a06a10a73a735da","urls":["bzz-raw://e57c32d554efedb30ecc53e513136ab7767aeb233c75fd5a8e2f57a2bfd70777","dweb:/ipfs/QmXYdHtgfshWHjcgUsxMWHHq1wHhawXDWQgwv8JHi1fCvH"],"license":"MIT"}},"version":1},"id":80}
|
|
@@ -472,6 +472,13 @@
|
|
|
472
472
|
"outputs": [],
|
|
473
473
|
"stateMutability": "nonpayable"
|
|
474
474
|
},
|
|
475
|
+
{
|
|
476
|
+
"type": "function",
|
|
477
|
+
"name": "test_zeroAddressApproval_cannotBypassSignatureValidation",
|
|
478
|
+
"inputs": [],
|
|
479
|
+
"outputs": [],
|
|
480
|
+
"stateMutability": "nonpayable"
|
|
481
|
+
},
|
|
475
482
|
{
|
|
476
483
|
"type": "function",
|
|
477
484
|
"name": "unauthorized",
|