Skip to content

Commit

Permalink
Changes revoked in Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
blackbeard002 committed Jan 5, 2024
1 parent cde6ac9 commit 3ebfdd8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@ This repository is subjected to incentives for the community to contribute to th

## Features

- **Create Swaps**: A Swap has an `owner` and an `allowed` address. The `owner` is the one that can cancel the swap while the `allowed` address is the one that can execute the swap but anyone can accept if it's set as the Zero Address. A Swap also has an `expiry` period in seconds. The `allowed` and `expiry` are packed into `config` for gas optimization. The Swap can only be executed before the expiry period is reached. The `Asset` type represents on one hand the bidding assets and on the other hand the asking assets.
- **Create Swaps**: A Swap has an `owner` and an `allowed` address. The `owner` is the one that can cancel the swap while the `allowed` address is the one that can execute the swap but anyone can accept if it's set as the Zero Address. A Swap also has an `expiry` period in seconds. The Swap can only be executed before the expiry period is reached. The `Asset` type represents on one hand the bidding assets and on the other hand the asking assets.

```
struct Swap {
address owner;
uint256 config;
address allowed;
uint256 expiry;
Asset[] biding;
Asset[] asking;
}
Expand Down

0 comments on commit 3ebfdd8

Please sign in to comment.