mirror of
				https://github.com/0glabs/0g-chain.git
				synced 2025-11-04 02:27:26 +00:00 
			
		
		
		
	* refactor bidding test * add some more bid test cases * add balance checks to bid tests * add more checks to bid tests * add min bid increments * protect against negative lot amounts * fix params tests * change endblocker to beginblocker * update spec * fix params tests * fix: update alias Co-authored-by: Kevin Davis <karzak@users.noreply.github.com>
		
			
				
	
	
	
		
			1.1 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			1.1 KiB
		
	
	
	
	
	
	
	
Events
The x/auction module emits the following events:
Triggered By Other Modules
| Type | Attribute Key | Attribute Value | 
|---|---|---|
| auction_start | auction_id | {auction ID} | 
| auction_start | auction_type | {auction type} | 
| auction_start | lot_denom | {auction lot denom} | 
| auction_start | bid_denom | {auction bid denom} | 
Handlers
MsgPlaceBid
| Type | Attribute Key | Attribute Value | 
|---|---|---|
| auction_bid | auction_id | {auction ID} | 
| auction_bid | bidder | {latest bidder} | 
| auction_bid | bid_amount | {coin amount} | 
| auction_bid | lot_amount | {coin amount} | 
| auction_bid | end_time | {auction end time} | 
| message | module | auction | 
| message | sender | {sender address} | 
BeginBlock
| Type | Attribute Key | Attribute Value | 
|---|---|---|
| auction_close | auction_id | {auction ID} |