Type Alias CommonAuctionsEvent

CommonAuctionsEvent: Enum<{
    AuctionClosed: {
        auction_index: number;
    };
    AuctionStarted: {
        auction_index: number;
        ending: number;
        lease_period: number;
    };
    BidAccepted: {
        amount: bigint;
        bidder: SS58String;
        first_slot: number;
        last_slot: number;
        para_id: number;
    };
    ReserveConfiscated: {
        amount: bigint;
        leaser: SS58String;
        para_id: number;
    };
    Reserved: {
        bidder: SS58String;
        extra_reserved: bigint;
        total_amount: bigint;
    };
    Unreserved: {
        amount: bigint;
        bidder: SS58String;
    };
    WinningOffset: {
        auction_index: number;
        block_number: number;
    };
}>

Type declaration

  • AuctionClosed: {
        auction_index: number;
    }

    An auction ended. All funds become unreserved.

    • auction_index: number
  • AuctionStarted: {
        auction_index: number;
        ending: number;
        lease_period: number;
    }

    An auction started. Provides its index and the block number where it will begin to close and the first lease period of the quadruplet that is auctioned.

    • auction_index: number
    • ending: number
    • lease_period: number
  • BidAccepted: {
        amount: bigint;
        bidder: SS58String;
        first_slot: number;
        last_slot: number;
        para_id: number;
    }

    A new bid has been accepted as the current winner.

    • amount: bigint
    • bidder: SS58String
    • first_slot: number
    • last_slot: number
    • para_id: number
  • ReserveConfiscated: {
        amount: bigint;
        leaser: SS58String;
        para_id: number;
    }

    Someone attempted to lease the same slot twice for a parachain. The amount is held in reserve but no parachain slot has been leased.

    • amount: bigint
    • leaser: SS58String
    • para_id: number
  • Reserved: {
        bidder: SS58String;
        extra_reserved: bigint;
        total_amount: bigint;
    }

    Funds were reserved for a winning bid. First balance is the extra amount reserved. Second is the total.

    • bidder: SS58String
    • extra_reserved: bigint
    • total_amount: bigint
  • Unreserved: {
        amount: bigint;
        bidder: SS58String;
    }

    Funds were unreserved since bidder is no longer active. [bidder, amount]

    • amount: bigint
    • bidder: SS58String
  • WinningOffset: {
        auction_index: number;
        block_number: number;
    }

    The winning offset was chosen for an auction. This will map into the Winning storage map.

    • auction_index: number
    • block_number: number