Briky Land
  • BRIKY LAND
  • Technologies
    • Overview
    • Token standards
    • NATIVE LAND
      • Real Estate Tokenization
      • Marketplace
      • Governor
    • BRIK
      • Supply distributions
      • Treasury and Liquidation
      • Auction
      • Staking BRIK, Receiving BRIKI
    • Contracts
      • Auction
      • Collection (NATIVE LAND)
      • GovernorHub
      • Marketplace
      • PrimaryToken (BRIK)
      • StakeToken (BRIKI)
      • Treasury
  • Future Works
    • Upcoming features and products
    • Roadmap
Powered by GitBook
On this page
  • Type
  • Event
  • Error
  • Function
  1. Technologies
  2. Contracts

Auction

Type

struct Depositor {
    uint256 deposit;
    bool isWhitelisted;
    bool hasWithdrawn;
}

Event

event LiquidityPercentageUpdate(uint256 newValue);

event WhitelistedAddress(address indexed account);
event Deposit(address indexed account, uint256 amount);
event Withdrawal(address indexed account, uint256 amount);

Error

error AlreadyWithdrawn();
error AlreadyWhitelisted();
error Ended();
error InvalidInput();
error InvalidPercentage();
error InvalidWhitelisting();
error NotEnded();
error NotStarted();
error NotWhitelisted();
error Started();
error Unauthorized();

Function

function version() external pure returns (string memory version);

function admin() external view returns (address admin);
function feeReceiver() external view returns (address feeReceiver);
function primaryToken() external view returns (address primaryToken);
function treasury() external view returns (address treasury);

function endAt() external view returns (uint256 endAt);
function liquidityPercentage() external view returns (uint256 liquidityPercentage);
function totalDeposit() external view returns (uint256 totalDeposit);
function totalLiquidity() external view returns (uint256 totalLiquidity);
function totalToken() external view returns (uint256 totalToken);
function useWhitelist() external view returns (bool useWhitelist);

function getDepositor(address account) external view returns (Depositor memory);

function withdrawableTokenAmountOf(address account) external view returns (uint256 amount);

function setTotalToken(uint256 totalToken) external;

function deposit(uint256 amount) external;
function withdraw() external;
PreviousContractsNextCollection (NATIVE LAND)

Last updated 8 months ago