-
Notifications
You must be signed in to change notification settings - Fork 2
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
ef53e2a
commit 5d2838f
Showing
1 changed file
with
32 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# BlockFarts | ||
A transaction using more than half the block gas makes FARTS. | ||
|
||
### Basic FARTS | ||
If you release enough gas, you get FARTS. | ||
``` | ||
function mintWithCall(address target, bytes calldata data) external; | ||
``` | ||
You can still try to fart if you think it might be close and wouldn't want to revert. | ||
``` | ||
function tryMintWithCall(address target, bytes calldata data) external; | ||
``` | ||
|
||
### Turn your gas tokens into FARTS | ||
Transactions clearing gas tokens from the state can claim FARTS using only 20% of the block gas. | ||
``` | ||
function mintWithGasToken(IGasToken gasToken, uint256 burn) external; | ||
``` | ||
Supported: GST1, GST2, CHI | ||
|
||
### MultiFARTS | ||
Batch FARTS best FARTS. | ||
``` | ||
function mintWithMulticall(address[] calldata targets, bytes[] calldata datas, uint256[] calldata values) external payable; | ||
function tryMintWithMulticall(address[] calldata targets, bytes[] calldata datas, uint256[] calldata values) external payable; | ||
``` | ||
|
||
### Flash FARTS | ||
Your FARTS are ready before your call, so you can use them within the transaction that creates them. | ||
|
||
### Security | ||
Don't leave any assets in this contract; they can be claimed by anyone. |