Type Alias BountiesEvent

BountiesEvent: Enum<{
    BountyApproved: {
        index: number;
    };
    BountyAwarded: {
        beneficiary: SS58String;
        index: number;
    };
    BountyBecameActive: {
        index: number;
    };
    BountyCanceled: {
        index: number;
    };
    BountyClaimed: {
        beneficiary: SS58String;
        index: number;
        payout: bigint;
    };
    BountyExtended: {
        index: number;
    };
    BountyProposed: {
        index: number;
    };
    BountyRejected: {
        bond: bigint;
        index: number;
    };
    CuratorAccepted: {
        bounty_id: number;
        curator: SS58String;
    };
    CuratorProposed: {
        bounty_id: number;
        curator: SS58String;
    };
    CuratorUnassigned: {
        bounty_id: number;
    };
}>

Type declaration

  • BountyApproved: {
        index: number;
    }

    A bounty is approved.

    • index: number
  • BountyAwarded: {
        beneficiary: SS58String;
        index: number;
    }

    A bounty is awarded to a beneficiary.

    • beneficiary: SS58String
    • index: number
  • BountyBecameActive: {
        index: number;
    }

    A bounty proposal is funded and became active.

    • index: number
  • BountyCanceled: {
        index: number;
    }

    A bounty is cancelled.

    • index: number
  • BountyClaimed: {
        beneficiary: SS58String;
        index: number;
        payout: bigint;
    }

    A bounty is claimed by beneficiary.

    • beneficiary: SS58String
    • index: number
    • payout: bigint
  • BountyExtended: {
        index: number;
    }

    A bounty expiry is extended.

    • index: number
  • BountyProposed: {
        index: number;
    }

    New bounty proposal.

    • index: number
  • BountyRejected: {
        bond: bigint;
        index: number;
    }

    A bounty proposal was rejected; funds were slashed.

    • bond: bigint
    • index: number
  • CuratorAccepted: {
        bounty_id: number;
        curator: SS58String;
    }

    A bounty curator is accepted.

    • bounty_id: number
    • curator: SS58String
  • CuratorProposed: {
        bounty_id: number;
        curator: SS58String;
    }

    A bounty curator is proposed.

    • bounty_id: number
    • curator: SS58String
  • CuratorUnassigned: {
        bounty_id: number;
    }

    A bounty curator is unassigned.

    • bounty_id: number