Skip to content

Commit

Permalink
Keyless synthetic transactions (#2095)
Browse files Browse the repository at this point in the history
* Moved around the need for key to sign transactions

* Replaced hardcoded l2 message bus in some places.

* up solc

* Fix for linter.

* Fix for tenscan.

* PR review.

---------

Co-authored-by: StefanIliev545 <[email protected]>
  • Loading branch information
StefanIliev545 and StefanIliev545 authored Nov 5, 2024
1 parent 1d764e0 commit 8c3b172
Show file tree
Hide file tree
Showing 75 changed files with 654 additions and 183 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
60806040526040516104d53803806104d58339810160408190526100229161036e565b61002c8282610033565b5050610410565b61003c82610092565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115610086576100818282610109565b505050565b61008e610182565b5050565b806001600160a01b03163b6000036100c85780604051634c9c8ce360e01b81526004016100bf91906103d6565b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b0316846040516101269190610406565b600060405180830381855af49150503d8060008114610161576040519150601f19603f3d011682016040523d82523d6000602084013e610166565b606091505b5090925090506101778583836101a3565b925050505b92915050565b34156101a15760405163b398979f60e01b815260040160405180910390fd5b565b6060826101b8576101b3826101f9565b6101f2565b81511580156101cf57506001600160a01b0384163b155b156101ef5783604051639996b31560e01b81526004016100bf91906103d6565b50805b9392505050565b8051156102095780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b50565b60006001600160a01b03821661017c565b61023f81610225565b811461022257600080fd5b805161017c81610236565b634e487b7160e01b600052604160045260246000fd5b601f19601f83011681016001600160401b038111828210171561029057610290610255565b6040525050565b60006102a260405190565b90506102ae828261026b565b919050565b60006001600160401b038211156102cc576102cc610255565b601f19601f83011660200192915050565b60005b838110156102f85781810151838201526020016102e0565b50506000910152565b600061031461030f846102b3565b610297565b90508281526020810184848401111561032f5761032f600080fd5b61033a8482856102dd565b509392505050565b600082601f83011261035657610356600080fd5b8151610366848260208601610301565b949350505050565b6000806040838503121561038457610384600080fd5b6000610390858561024a565b602085015190935090506001600160401b038111156103b1576103b1600080fd5b6103bd85828601610342565b9150509250929050565b6103d081610225565b82525050565b6020810161017c82846103c7565b60006103ee825190565b6103fc8185602086016102dd565b9290920192915050565b61017c81836103e4565b60b78061041e6000396000f3fe6080604052600a600c565b005b60186014601a565b605e565b565b600060597f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b905090565b3660008037600080366000845af43d6000803e808015607c573d6000f35b3d6000fdfea2646970667358221220679fbeba69a00d05fa2e591d481116c1a8115ed7134fc16aa8e7363bf3aec10164736f6c63430008140033
60806040526040516104d53803806104d58339810160408190526100229161036e565b61002c8282610033565b5050610410565b61003c82610092565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115610086576100818282610109565b505050565b61008e610182565b5050565b806001600160a01b03163b6000036100c85780604051634c9c8ce360e01b81526004016100bf91906103d6565b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b0316846040516101269190610406565b600060405180830381855af49150503d8060008114610161576040519150601f19603f3d011682016040523d82523d6000602084013e610166565b606091505b5090925090506101778583836101a3565b925050505b92915050565b34156101a15760405163b398979f60e01b815260040160405180910390fd5b565b6060826101b8576101b3826101f9565b6101f2565b81511580156101cf57506001600160a01b0384163b155b156101ef5783604051639996b31560e01b81526004016100bf91906103d6565b50805b9392505050565b8051156102095780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b50565b60006001600160a01b03821661017c565b61023f81610225565b811461022257600080fd5b805161017c81610236565b634e487b7160e01b600052604160045260246000fd5b601f19601f83011681016001600160401b038111828210171561029057610290610255565b6040525050565b60006102a260405190565b90506102ae828261026b565b919050565b60006001600160401b038211156102cc576102cc610255565b601f19601f83011660200192915050565b60005b838110156102f85781810151838201526020016102e0565b50506000910152565b600061031461030f846102b3565b610297565b90508281526020810184848401111561032f5761032f600080fd5b61033a8482856102dd565b509392505050565b600082601f83011261035657610356600080fd5b8151610366848260208601610301565b949350505050565b6000806040838503121561038457610384600080fd5b6000610390858561024a565b602085015190935090506001600160401b038111156103b1576103b1600080fd5b6103bd85828601610342565b9150509250929050565b6103d081610225565b82525050565b6020810161017c82846103c7565b60006103ee825190565b6103fc8185602086016102dd565b9290920192915050565b61017c81836103e4565b60b78061041e6000396000f3fe6080604052600a600c565b005b60186014601a565b605e565b565b600060597f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b905090565b3660008037600080366000845af43d6000803e808015607c573d6000f35b3d6000fdfea2646970667358221220af0ad56f192a7d1bfa60e5538e4a309664aeb1af6cdbcf5ffe7d317ac444c19264736f6c63430008150033
Original file line number Diff line number Diff line change
@@ -1 +1 @@
60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220ec29ed6df4a2008096043ff8d92e1dd9d99c6cc624ee92395edf2d28183ba61964736f6c63430008140033
60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212209c8743ddfc5db36f715983637591eefdb90bb3bd861ff75e197f8bfa9b46e10a64736f6c63430008150033
Original file line number Diff line number Diff line change
@@ -1 +1 @@
608060405234801561001057600080fd5b506040516106ff3803806106ff83398101604081905261002f916100f8565b806001600160a01b038116610063576000604051631e4fbdf760e01b815260040161005a9190610130565b60405180910390fd5b61006c81610073565b505061013e565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006001600160a01b0382165b92915050565b6100df816100c3565b81146100ea57600080fd5b50565b80516100d0816100d6565b60006020828403121561010d5761010d600080fd5b600061011984846100ed565b949350505050565b61012a816100c3565b82525050565b602081016100d08284610121565b6105b28061014d6000396000f3fe60806040526004361061005a5760003560e01c80639623609d116100435780639623609d146100a5578063ad3cb1cc146100b8578063f2fde38b1461010e57600080fd5b8063715018a61461005f5780638da5cb5b14610076575b600080fd5b34801561006b57600080fd5b5061007461012e565b005b34801561008257600080fd5b506000546001600160a01b031660405161009c91906102fa565b60405180910390f35b6100746100b3366004610462565b610142565b3480156100c457600080fd5b506101016040518060400160405280600581526020017f352e302e3000000000000000000000000000000000000000000000000000000081525081565b60405161009c9190610523565b34801561011a57600080fd5b5061007461012936600461053b565b6101ca565b61013661022a565b6101406000610270565b565b61014a61022a565b6040517f4f1ef2860000000000000000000000000000000000000000000000000000000081526001600160a01b03841690634f1ef286903490610193908690869060040161055c565b6000604051808303818588803b1580156101ac57600080fd5b505af11580156101c0573d6000803e3d6000fd5b5050505050505050565b6101d261022a565b6001600160a01b03811661021e5760006040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161021591906102fa565b60405180910390fd5b61022781610270565b50565b6000546001600160a01b0316331461014057336040517f118cdaa700000000000000000000000000000000000000000000000000000000815260040161021591906102fa565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006001600160a01b0382165b92915050565b6102f4816102d8565b82525050565b602081016102e582846102eb565b60006102e5826102d8565b61031c81610308565b811461022757600080fd5b80356102e581610313565b61031c816102d8565b80356102e581610332565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b601f19601f830116810181811067ffffffffffffffff8211171561039b5761039b610346565b6040525050565b60006103ad60405190565b90506103b98282610375565b919050565b600067ffffffffffffffff8211156103d8576103d8610346565b601f19601f83011660200192915050565b82818337506000910152565b6000610408610403846103be565b6103a2565b90508281526020810184848401111561042357610423600080fd5b61042e8482856103e9565b509392505050565b600082601f83011261044a5761044a600080fd5b813561045a8482602086016103f5565b949350505050565b60008060006060848603121561047a5761047a600080fd5b60006104868686610327565b93505060206104978682870161033b565b925050604084013567ffffffffffffffff8111156104b7576104b7600080fd5b6104c386828701610436565b9150509250925092565b60005b838110156104e85781810151838201526020016104d0565b50506000910152565b60006104fb825190565b8084526020840193506105128185602086016104cd565b601f01601f19169290920192915050565b6020808252810161053481846104f1565b9392505050565b60006020828403121561055057610550600080fd5b600061045a848461033b565b6040810161056a82856102eb565b818103602083015261045a81846104f156fea2646970667358221220b0f8a95a6e2425eadd967ffc0cf44240f936f4de811b02bbb90ac6935cf0ce6a64736f6c63430008140033
608060405234801561001057600080fd5b506040516106ff3803806106ff83398101604081905261002f916100f8565b806001600160a01b038116610063576000604051631e4fbdf760e01b815260040161005a9190610130565b60405180910390fd5b61006c81610073565b505061013e565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006001600160a01b0382165b92915050565b6100df816100c3565b81146100ea57600080fd5b50565b80516100d0816100d6565b60006020828403121561010d5761010d600080fd5b600061011984846100ed565b949350505050565b61012a816100c3565b82525050565b602081016100d08284610121565b6105b28061014d6000396000f3fe60806040526004361061005a5760003560e01c80639623609d116100435780639623609d146100a5578063ad3cb1cc146100b8578063f2fde38b1461010e57600080fd5b8063715018a61461005f5780638da5cb5b14610076575b600080fd5b34801561006b57600080fd5b5061007461012e565b005b34801561008257600080fd5b506000546001600160a01b031660405161009c91906102fa565b60405180910390f35b6100746100b3366004610462565b610142565b3480156100c457600080fd5b506101016040518060400160405280600581526020017f352e302e3000000000000000000000000000000000000000000000000000000081525081565b60405161009c9190610523565b34801561011a57600080fd5b5061007461012936600461053b565b6101ca565b61013661022a565b6101406000610270565b565b61014a61022a565b6040517f4f1ef2860000000000000000000000000000000000000000000000000000000081526001600160a01b03841690634f1ef286903490610193908690869060040161055c565b6000604051808303818588803b1580156101ac57600080fd5b505af11580156101c0573d6000803e3d6000fd5b5050505050505050565b6101d261022a565b6001600160a01b03811661021e5760006040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161021591906102fa565b60405180910390fd5b61022781610270565b50565b6000546001600160a01b0316331461014057336040517f118cdaa700000000000000000000000000000000000000000000000000000000815260040161021591906102fa565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006001600160a01b0382165b92915050565b6102f4816102d8565b82525050565b602081016102e582846102eb565b60006102e5826102d8565b61031c81610308565b811461022757600080fd5b80356102e581610313565b61031c816102d8565b80356102e581610332565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b601f19601f830116810181811067ffffffffffffffff8211171561039b5761039b610346565b6040525050565b60006103ad60405190565b90506103b98282610375565b919050565b600067ffffffffffffffff8211156103d8576103d8610346565b601f19601f83011660200192915050565b82818337506000910152565b6000610408610403846103be565b6103a2565b90508281526020810184848401111561042357610423600080fd5b61042e8482856103e9565b509392505050565b600082601f83011261044a5761044a600080fd5b813561045a8482602086016103f5565b949350505050565b60008060006060848603121561047a5761047a600080fd5b60006104868686610327565b93505060206104978682870161033b565b925050604084013567ffffffffffffffff8111156104b7576104b7600080fd5b6104c386828701610436565b9150509250925092565b60005b838110156104e85781810151838201526020016104d0565b50506000910152565b60006104fb825190565b8084526020840193506105128185602086016104cd565b601f01601f19169290920192915050565b6020808252810161053481846104f1565b9392505050565b60006020828403121561055057610550600080fd5b600061045a848461033b565b6040810161056a82856102eb565b818103602083015261045a81846104f156fea2646970667358221220bc53b042dace43e275ea4e3c2111fb2632f7c79b2d985ac0664bd97ca15c79a164736f6c63430008150033
Loading

0 comments on commit 8c3b172

Please sign in to comment.