Auction contract
PoleAuction sells the express lane of the next minute, every minute, for native HYPE. It is not upgradeable, has no pause on withdrawals, and the owner cannot touch deposits or credits.
Live on Elysium mainnet at [0x733a78cEC5a9296fBAA1d18Bdab307699ab29C1C](https://elysium.kinetiq.xyz/explorer/address/0x733a78cEC5a9296fBAA1d18Bdab307699ab29C1C), source verified on the explorer. Tested (40 tests: unit, fuzz, invariant), not audited. Reserve price 0.001 HYPE, minimum deposit 0.01 HYPE. A bot settles every minute that received a bid; anyone can call settle too.
Timeline of a minute
- Seconds 0 to 40, commit:
commit(bytes32 hash)with a deposit of at leastminDeposit.hash = keccak256(abi.encode(bidder, round + 1, amount, salt)). - Seconds 40 to 55, reveal:
reveal(uint256 amount, bytes32 salt). The amount must be at most the deposit and at leastreservePrice. - From second 55, settle: anyone calls
settle(round). The winner paysmax(second bid, reservePrice)and becomescontrollerOf(round).
Reading the lane
interface IPoleAuction {
function currentController() external view returns (address);
function isExpress(address account) external view returns (bool);
function controllerOf(uint256 round) external view returns (address);
}An app gives priority to isExpress(msg.sender). The controller can hand a won minute to another address with transferLane(round, to).
Money
- Losers and the winner's change are credited;
withdraw()pulls them (up to 64 past auctions per call,sweepfor more). - A commit that is never revealed is refunded minus 10 % (
noRevealPenaltyBps, at most 50 %). - The price is split at settle:
burnBps(50 % by default) to the buyback address, the rest to the treasury.
Addresses
- Auction:
0x733a78cEC5a9296fBAA1d18Bdab307699ab29C1C - Owner:
0xDf2a3C5A8e7FDF33B3a2Ee2830c479658234b1cd - Treasury:
0x90909552AF42489965a505D968e6F1d1BDb1E68f - Buyback:
0xD9216b430eaFBdA1c1523296004009d5beb9C51b