bidding
Module0xae5e…2e18
- Move path
- 0xae5e…2e18::bidding
- Functions
- 97 public, 0 entry
- Structs
- 5
- Friend modules
- None
Functions9
- public fun create_bid<T0>(ID,ID,u64,&mut Coin<T0>): ID
- public fun create_bid_with_commission<T0>(ID,ID,u64,address,u64,&mut Coin<T0>): ID
- public fun sell_nft<T0: store + key, T1>(&mut Bid<T1>,&mut Kiosk,T0): transfer_request::TransferRequest<T0>
- public fun sell_nft_from_kiosk<T0: store + key, T1>(&mut Bid<T1>,&mut Kiosk,&mut Kiosk,ID): transfer_request::TransferRequest<T0>
Structs5
key is an object with an id. store can be kept inside other objects. copy can be duplicated. drop can be thrown away.
id UID nft ID buyer address kiosk ID offer Balance<T0> commission Option<trading::BidCommission<T0>> - BidClosedEventcopydrop
bid ID nft ID buyer address price u64 ft_type String - BidCreatedEventcopydrop
bid ID nft ID price u64 commission u64 buyer address buyer_kiosk ID ft_type String - BidMatchedEventcopydrop
bid ID nft ID price u64 seller address buyer address ft_type String nft_type String - Witnessdrop
dummy_field bool
Constants3
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Index | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 1 | u64 | Abort code | sell_nft_commonclose_bid_ |
| 1 | 2 | u64 | Abort code | new_bid |
| 2 | 3 | u64 | Abort code | close_bid_ |