Skip to content

Commit

Permalink
build: cow swap support (#53)
Browse files Browse the repository at this point in the history
* build: cow swap support

* chore: hash siggy

* fix: compiler

* build: extra checks

* test: dumper auction

* feat: settle

* chore: fixes

* fix: name

* fix: available

* chore: update ingerited

* chore: deploy auction

* test: swapper
  • Loading branch information
Schlagonia authored Nov 13, 2024
1 parent 47e243f commit fc80246
Show file tree
Hide file tree
Showing 14 changed files with 913 additions and 1,972 deletions.
23 changes: 23 additions & 0 deletions script/DeployAuction.s.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity >=0.8.18;

import "./BaseScript.s.sol";

// Deploy a contract to a deterministic address with create2
contract DeployAuction is BaseScript {

function run() external {
vm.startBroadcast();

// Get the bytecode
bytes memory bytecode = vm.getCode("AuctionFactory.sol:AuctionFactory");

bytes32 salt;

address contractAddress = deployer.deployCreate2(salt, bytecode);

console.log("Address is ", contractAddress);

vm.stopBroadcast();
}
}
Loading

0 comments on commit fc80246

Please sign in to comment.