generated from Kwenta/foundry-scaffold
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a158f00
commit 08a3a71
Showing
5 changed files
with
33 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,14 +9,14 @@ import {OptimismGoerliParameters} from | |
import {OptimismParameters} from | ||
"script/utils/parameters/OptimismParameters.sol"; | ||
import {Script} from "lib/forge-std/src/Script.sol"; | ||
import {Counter} from "src/Counter.sol"; | ||
import {MarginPaymaster} from "src/MarginPaymaster.sol"; | ||
|
||
/// @title Kwenta deployment script | ||
/// @author JaredBorders ([email protected]) | ||
contract Setup is Script { | ||
function deploySystem() public returns (address) { | ||
Counter counter = new Counter(); | ||
return address(counter); | ||
MarginPaymaster marginPaymaster = new MarginPaymaster(); | ||
return address(marginPaymaster); | ||
} | ||
} | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// SPDX-License-Identifier: UNLICENSED | ||
pragma solidity 0.8.25; | ||
|
||
/// @title Kwenta Paymaster Contract | ||
/// @notice Responsible for paying tx gas fees using trader margin | ||
/// @author tommyrharper ([email protected]) | ||
contract MarginPaymaster { | ||
uint256 public number; | ||
|
||
function increment() public { | ||
number++; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters