Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 35 additions & 0 deletions contracts/artifacts/Solver7702Delegate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"abi": [
{
"inputs": [
{
"internalType": "address[5]",
"name": "approvedCallers",
"type": "address[5]"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"stateMutability": "payable",
"type": "fallback"
},
{
"inputs": [
{
"internalType": "address",
"name": "sender",
"type": "address"
}
],
"name": "Unauthorized",
"type": "error"
}
],
"bytecode": {
"linkReferences": {},
"object": "0x610120604052348015610010575f5ffd5b506040516103f13803806103f183398101604081905261002f9161009c565b80516001600160a01b0390811660809081526020830151821660a0526040830151821660c0526060830151821660e05290910151166101005261011c565b634e487b7160e01b5f52604160045260245ffd5b80516001600160a01b0381168114610097575f5ffd5b919050565b5f60a082840312156100ac575f5ffd5b82601f8301126100ba575f5ffd5b60405160a081016001600160401b03811182821017156100dc576100dc61006d565b6040528060a08401858111156100f0575f5ffd5b845b818110156101115761010381610081565b8352602092830192016100f2565b509195945050505050565b60805160a05160c05160e0516101005161029c6101555f395f61011b01525f60db01525f609b01525f605b01525f601c015261029c5ff3fe60806040523373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016148061007d57503373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016145b806100bd57503373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016145b806100fd57503373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016145b8061013d57503373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016145b1561014c5761014a61018c565b005b341561015457005b6040517f8e4a23d600000000000000000000000000000000000000000000000000000000815233600482015260240160405180910390fd5b601436101561019757565b5f6101a560148236816101d9565b6101ae91610200565b60601c90506014360360145f375f5f601436035f34855af13d5f5f3e8080156101d5573d5ff35b3d5ffd5b5f5f858511156101e7575f5ffd5b838611156101f3575f5ffd5b5050820193919092039150565b80357fffffffffffffffffffffffffffffffffffffffff000000000000000000000000811690601484101561025f577fffffffffffffffffffffffffffffffffffffffff000000000000000000000000808560140360031b1b82161691505b509291505056fea2646970667358221220811906fba4b240f9c63cda7dfe8ed6e7551bf4d0267aa331997e97796489e1d964736f6c63430008220033",
"sourceMap": "184:3285:0:-:0;;;967:294;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1044:18;;-1:-1:-1;;;;;1024:38:0;;;;;;;1044:18;1092;;;1072:38;;;;1140:18;;;;1120:38;;;;1188:18;;;;1168:38;;;;1236:18;;;;1216:38;;;184:3285;;14:127:1;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:177;225:13;;-1:-1:-1;;;;;267:31:1;;257:42;;247:70;;313:1;310;303:12;247:70;146:177;;;:::o;328:789::-;421:6;474:3;462:9;453:7;449:23;445:33;442:53;;;491:1;488;481:12;442:53;540:7;533:4;522:9;518:20;514:34;504:62;;562:1;559;552:12;504:62;595:2;589:9;637:3;625:16;;-1:-1:-1;;;;;656:34:1;;692:22;;;653:62;650:88;;;718:18;;:::i;:::-;754:2;747:22;789:6;833:3;818:19;;849;;;846:39;;;881:1;878;871:12;846:39;905:9;923:163;939:6;934:3;931:15;923:163;;;1007:34;1037:3;1007:34;:::i;:::-;995:47;;1071:4;1062:14;;;;956;923:163;;;-1:-1:-1;1105:6:1;;328:789;-1:-1:-1;;;;;328:789:1:o;1122:127::-;184:3285:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"
}
}
12 changes: 12 additions & 0 deletions contracts/generated/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions contracts/generated/contracts-facade/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ cow-contract-permit2 = { path = "../contracts-generated/permit2" }
cow-contract-remoteerc20balances = { path = "../contracts-generated/remoteerc20balances" }
cow-contract-signatures = { path = "../contracts-generated/signatures" }
cow-contract-solver = { path = "../contracts-generated/solver" }
cow-contract-solver7702delegate = { path = "../contracts-generated/solver7702delegate" }
cow-contract-spardose = { path = "../contracts-generated/spardose" }
cow-contract-sushiswaprouter = { path = "../contracts-generated/sushiswaprouter" }
cow-contract-swapper = { path = "../contracts-generated/swapper" }
Expand Down
1 change: 1 addition & 0 deletions contracts/generated/contracts-facade/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ pub use {
cow_contract_liquoricesettlement as LiquoriceSettlement,
cow_contract_pancakerouter as PancakeRouter,
cow_contract_permit2 as Permit2,
cow_contract_solver7702delegate as Solver7702Delegate,
cow_contract_sushiswaprouter as SushiSwapRouter,
cow_contract_swaprrouter as SwaprRouter,
cow_contract_testnetuniswapv2router02 as TestnetUniswapV2Router02,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Auto-generated by contracts-generate. Do not edit.
[package]
name = "cow-contract-solver7702delegate"
version = "0.1.0"
edition = "2024"
publish = false

[lib]
doctest = false

[dependencies]
alloy-contract = { workspace = true }
alloy-primitives = { workspace = true }
alloy-provider = { workspace = true }
alloy-sol-types = { workspace = true }
anyhow = { workspace = true }

[lints]
workspace = true
Loading
Loading