-
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.
* docs(contracts): improve markdown output for contracts * fix(docs): correct admonitions * chore(lint): fmt * chore(update): sitemap
- Loading branch information
Showing
9 changed files
with
544 additions
and
944 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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 |
---|---|---|
@@ -1,42 +1,31 @@ | ||
--- | ||
description: Bidder | ||
title: Bidder | ||
--- | ||
|
||
# Bidder.sol | ||
> [Read code on GitHub](https://github.com/manifoldfinance/xga-auctioneer-v1/blob/maaster/src/Bidder.sol) | ||
|
||
|
||
|
||
> [Read code on GitHub](https://github.com/manifoldfinance/xga-auctioneer-v1/blob/master/src/Bidder.sol) | ||
## Methods | ||
|
||
### getBid | ||
|
||
|
||
|
||
```solidity title="Solidity" | ||
function getBid(uint256 slot) external view returns (uint256[] packedBids) | ||
``` | ||
|
||
!!! info | ||
|
||
!!! info | ||
|
||
Get the bid from a bidder for a specific slot and round. | ||
|
||
Get the bid from a bidder for a specific slot and round. | ||
|
||
#### Parameters | ||
|
||
| Name | Type | Description | | ||
|---|---|---| | ||
| Name | Type | Description | | ||
| ---- | ------- | ----------------- | | ||
| slot | uint256 | The auction slot. | | ||
|
||
#### Returns | ||
|
||
| Name | Type | Description | | ||
|---|---|---| | ||
| Name | Type | Description | | ||
| ---------- | --------- | -------------------------------------------------------------------------------------------------- | | ||
| packedBids | uint256[] | Array of bids (in a packed format). uint256(uint128(bidPrice),uint120(itemsToBuy),uint8(bidderId)) | | ||
|
||
|
||
|
||
|
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 |
---|---|---|
@@ -1,64 +1,39 @@ | ||
--- | ||
description: IAccountant | ||
title: Interface Accountant | ||
--- | ||
|
||
# IAccountant.sol | ||
> [Read code on GitHub](https://github.com/manifoldfinance/xga-auctioneer-v1/blob/maaster/src/IAccountant.sol) | ||
|
||
|
||
|
||
> [Read code on GitHub](https://github.com/manifoldfinance/xga-auctioneer-v1/blob/master/src/IAccountant.sol) | ||
## Methods | ||
|
||
### getPayoutBalance | ||
|
||
|
||
|
||
```solidity title="Solidity" | ||
function getPayoutBalance() external view returns (uint256 payoutBalance) | ||
``` | ||
|
||
|
||
|
||
|
||
|
||
#### Returns | ||
|
||
| Name | Type | Description | | ||
|---|---|---| | ||
| payoutBalance | uint256 | undefined | | ||
| Name | Type | Description | | ||
| ------------- | ------- | ----------- | | ||
| payoutBalance | uint256 | undefined | | ||
|
||
### minPayout | ||
|
||
|
||
|
||
```solidity title="Solidity" | ||
function minPayout() external view returns (uint256 amount) | ||
``` | ||
|
||
|
||
|
||
|
||
|
||
#### Returns | ||
|
||
| Name | Type | Description | | ||
|---|---|---| | ||
| amount | uint256 | undefined | | ||
| Name | Type | Description | | ||
| ------ | ------- | ----------- | | ||
| amount | uint256 | undefined | | ||
|
||
### payout | ||
|
||
|
||
|
||
```solidity title="Solidity" | ||
function payout() external nonpayable | ||
``` | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Oops, something went wrong.