pub trait EventHandler<Author, BlockNumber> {
    // Required methods
    fn note_author(author: Author);
    fn note_uncle(author: Author, age: BlockNumber);
}
Expand description

An event handler for the authorship pallet. There is a dummy implementation for (), which does nothing.

Required Methods§

source

fn note_author(author: Author)

Note that the given account ID is the author of the current block.

source

fn note_uncle(author: Author, age: BlockNumber)

Note that the given account ID authored the given uncle, and how many blocks older than the current block it is (age >= 0, so siblings are allowed)

Implementations on Foreign Types§

source§

impl<Author, BlockNumber, TupleElement0: EventHandler<Author, BlockNumber>, TupleElement1: EventHandler<Author, BlockNumber>, TupleElement2: EventHandler<Author, BlockNumber>, TupleElement3: EventHandler<Author, BlockNumber>, TupleElement4: EventHandler<Author, BlockNumber>, TupleElement5: EventHandler<Author, BlockNumber>, TupleElement6: EventHandler<Author, BlockNumber>, TupleElement7: EventHandler<Author, BlockNumber>, TupleElement8: EventHandler<Author, BlockNumber>, TupleElement9: EventHandler<Author, BlockNumber>, TupleElement10: EventHandler<Author, BlockNumber>, TupleElement11: EventHandler<Author, BlockNumber>, TupleElement12: EventHandler<Author, BlockNumber>, TupleElement13: EventHandler<Author, BlockNumber>, TupleElement14: EventHandler<Author, BlockNumber>, TupleElement15: EventHandler<Author, BlockNumber>, TupleElement16: EventHandler<Author, BlockNumber>, TupleElement17: EventHandler<Author, BlockNumber>, TupleElement18: EventHandler<Author, BlockNumber>, TupleElement19: EventHandler<Author, BlockNumber>, TupleElement20: EventHandler<Author, BlockNumber>, TupleElement21: EventHandler<Author, BlockNumber>, TupleElement22: EventHandler<Author, BlockNumber>, TupleElement23: EventHandler<Author, BlockNumber>, TupleElement24: EventHandler<Author, BlockNumber>, TupleElement25: EventHandler<Author, BlockNumber>> EventHandler<Author, BlockNumber> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25)where Author: Clone, BlockNumber: Clone,

source§

fn note_author(author: Author)

Note that the given account ID is the author of the current block.

source§

fn note_uncle(author: Author, age: BlockNumber)

Note that the given account ID authored the given uncle, and how many blocks older than the current block it is (age >= 0, so siblings are allowed)

source§

impl<Author, BlockNumber, TupleElement0: EventHandler<Author, BlockNumber>, TupleElement1: EventHandler<Author, BlockNumber>, TupleElement2: EventHandler<Author, BlockNumber>, TupleElement3: EventHandler<Author, BlockNumber>, TupleElement4: EventHandler<Author, BlockNumber>, TupleElement5: EventHandler<Author, BlockNumber>, TupleElement6: EventHandler<Author, BlockNumber>, TupleElement7: EventHandler<Author, BlockNumber>, TupleElement8: EventHandler<Author, BlockNumber>, TupleElement9: EventHandler<Author, BlockNumber>, TupleElement10: EventHandler<Author, BlockNumber>, TupleElement11: EventHandler<Author, BlockNumber>, TupleElement12: EventHandler<Author, BlockNumber>, TupleElement13: EventHandler<Author, BlockNumber>, TupleElement14: EventHandler<Author, BlockNumber>, TupleElement15: EventHandler<Author, BlockNumber>, TupleElement16: EventHandler<Author, BlockNumber>, TupleElement17: EventHandler<Author, BlockNumber>, TupleElement18: EventHandler<Author, BlockNumber>, TupleElement19: EventHandler<Author, BlockNumber>> EventHandler<Author, BlockNumber> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19)where Author: Clone, BlockNumber: Clone,

source§

fn note_author(author: Author)

Note that the given account ID is the author of the current block.

source§

fn note_uncle(author: Author, age: BlockNumber)

Note that the given account ID authored the given uncle, and how many blocks older than the current block it is (age >= 0, so siblings are allowed)

source§

impl<Author, BlockNumber, TupleElement0: EventHandler<Author, BlockNumber>, TupleElement1: EventHandler<Author, BlockNumber>, TupleElement2: EventHandler<Author, BlockNumber>, TupleElement3: EventHandler<Author, BlockNumber>, TupleElement4: EventHandler<Author, BlockNumber>, TupleElement5: EventHandler<Author, BlockNumber>, TupleElement6: EventHandler<Author, BlockNumber>, TupleElement7: EventHandler<Author, BlockNumber>> EventHandler<Author, BlockNumber> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7)where Author: Clone, BlockNumber: Clone,

source§

fn note_author(author: Author)

Note that the given account ID is the author of the current block.

source§

fn note_uncle(author: Author, age: BlockNumber)

Note that the given account ID authored the given uncle, and how many blocks older than the current block it is (age >= 0, so siblings are allowed)

source§

impl<Author, BlockNumber, TupleElement0: EventHandler<Author, BlockNumber>, TupleElement1: EventHandler<Author, BlockNumber>, TupleElement2: EventHandler<Author, BlockNumber>, TupleElement3: EventHandler<Author, BlockNumber>, TupleElement4: EventHandler<Author, BlockNumber>, TupleElement5: EventHandler<Author, BlockNumber>, TupleElement6: EventHandler<Author, BlockNumber>, TupleElement7: EventHandler<Author, BlockNumber>, TupleElement8: EventHandler<Author, BlockNumber>, TupleElement9: EventHandler<Author, BlockNumber>, TupleElement10: EventHandler<Author, BlockNumber>, TupleElement11: EventHandler<Author, BlockNumber>, TupleElement12: EventHandler<Author, BlockNumber>, TupleElement13: EventHandler<Author, BlockNumber>, TupleElement14: EventHandler<Author, BlockNumber>, TupleElement15: EventHandler<Author, BlockNumber>, TupleElement16: EventHandler<Author, BlockNumber>, TupleElement17: EventHandler<Author, BlockNumber>, TupleElement18: EventHandler<Author, BlockNumber>, TupleElement19: EventHandler<Author, BlockNumber>, TupleElement20: EventHandler<Author, BlockNumber>, TupleElement21: EventHandler<Author, BlockNumber>, TupleElement22: EventHandler<Author, BlockNumber>, TupleElement23: EventHandler<Author, BlockNumber>, TupleElement24: EventHandler<Author, BlockNumber>> EventHandler<Author, BlockNumber> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24)where Author: Clone, BlockNumber: Clone,

source§

fn note_author(author: Author)

Note that the given account ID is the author of the current block.

source§

fn note_uncle(author: Author, age: BlockNumber)

Note that the given account ID authored the given uncle, and how many blocks older than the current block it is (age >= 0, so siblings are allowed)

source§

impl<Author, BlockNumber, TupleElement0: EventHandler<Author, BlockNumber>, TupleElement1: EventHandler<Author, BlockNumber>, TupleElement2: EventHandler<Author, BlockNumber>, TupleElement3: EventHandler<Author, BlockNumber>, TupleElement4: EventHandler<Author, BlockNumber>, TupleElement5: EventHandler<Author, BlockNumber>, TupleElement6: EventHandler<Author, BlockNumber>, TupleElement7: EventHandler<Author, BlockNumber>, TupleElement8: EventHandler<Author, BlockNumber>, TupleElement9: EventHandler<Author, BlockNumber>> EventHandler<Author, BlockNumber> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9)where Author: Clone, BlockNumber: Clone,

source§

fn note_author(author: Author)

Note that the given account ID is the author of the current block.

source§

fn note_uncle(author: Author, age: BlockNumber)

Note that the given account ID authored the given uncle, and how many blocks older than the current block it is (age >= 0, so siblings are allowed)

source§

impl<Author, BlockNumber, TupleElement0: EventHandler<Author, BlockNumber>, TupleElement1: EventHandler<Author, BlockNumber>, TupleElement2: EventHandler<Author, BlockNumber>, TupleElement3: EventHandler<Author, BlockNumber>, TupleElement4: EventHandler<Author, BlockNumber>, TupleElement5: EventHandler<Author, BlockNumber>, TupleElement6: EventHandler<Author, BlockNumber>, TupleElement7: EventHandler<Author, BlockNumber>, TupleElement8: EventHandler<Author, BlockNumber>, TupleElement9: EventHandler<Author, BlockNumber>, TupleElement10: EventHandler<Author, BlockNumber>, TupleElement11: EventHandler<Author, BlockNumber>, TupleElement12: EventHandler<Author, BlockNumber>, TupleElement13: EventHandler<Author, BlockNumber>, TupleElement14: EventHandler<Author, BlockNumber>> EventHandler<Author, BlockNumber> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14)where Author: Clone, BlockNumber: Clone,

source§

fn note_author(author: Author)

Note that the given account ID is the author of the current block.

source§

fn note_uncle(author: Author, age: BlockNumber)

Note that the given account ID authored the given uncle, and how many blocks older than the current block it is (age >= 0, so siblings are allowed)

source§

impl<Author, BlockNumber, TupleElement0: EventHandler<Author, BlockNumber>, TupleElement1: EventHandler<Author, BlockNumber>, TupleElement2: EventHandler<Author, BlockNumber>, TupleElement3: EventHandler<Author, BlockNumber>, TupleElement4: EventHandler<Author, BlockNumber>, TupleElement5: EventHandler<Author, BlockNumber>, TupleElement6: EventHandler<Author, BlockNumber>, TupleElement7: EventHandler<Author, BlockNumber>, TupleElement8: EventHandler<Author, BlockNumber>, TupleElement9: EventHandler<Author, BlockNumber>, TupleElement10: EventHandler<Author, BlockNumber>, TupleElement11: EventHandler<Author, BlockNumber>, TupleElement12: EventHandler<Author, BlockNumber>, TupleElement13: EventHandler<Author, BlockNumber>, TupleElement14: EventHandler<Author, BlockNumber>, TupleElement15: EventHandler<Author, BlockNumber>, TupleElement16: EventHandler<Author, BlockNumber>, TupleElement17: EventHandler<Author, BlockNumber>, TupleElement18: EventHandler<Author, BlockNumber>, TupleElement19: EventHandler<Author, BlockNumber>, TupleElement20: EventHandler<Author, BlockNumber>, TupleElement21: EventHandler<Author, BlockNumber>, TupleElement22: EventHandler<Author, BlockNumber>, TupleElement23: EventHandler<Author, BlockNumber>, TupleElement24: EventHandler<Author, BlockNumber>, TupleElement25: EventHandler<Author, BlockNumber>, TupleElement26: EventHandler<Author, BlockNumber>, TupleElement27: EventHandler<Author, BlockNumber>, TupleElement28: EventHandler<Author, BlockNumber>> EventHandler<Author, BlockNumber> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28)where Author: Clone, BlockNumber: Clone,

source§

fn note_author(author: Author)

Note that the given account ID is the author of the current block.

source§

fn note_uncle(author: Author, age: BlockNumber)

Note that the given account ID authored the given uncle, and how many blocks older than the current block it is (age >= 0, so siblings are allowed)

source§

impl<Author, BlockNumber, TupleElement0: EventHandler<Author, BlockNumber>> EventHandler<Author, BlockNumber> for (TupleElement0,)where Author: Clone, BlockNumber: Clone,

source§

fn note_author(author: Author)

Note that the given account ID is the author of the current block.

source§

fn note_uncle(author: Author, age: BlockNumber)

Note that the given account ID authored the given uncle, and how many blocks older than the current block it is (age >= 0, so siblings are allowed)

source§

impl<Author, BlockNumber, TupleElement0: EventHandler<Author, BlockNumber>, TupleElement1: EventHandler<Author, BlockNumber>, TupleElement2: EventHandler<Author, BlockNumber>, TupleElement3: EventHandler<Author, BlockNumber>, TupleElement4: EventHandler<Author, BlockNumber>, TupleElement5: EventHandler<Author, BlockNumber>, TupleElement6: EventHandler<Author, BlockNumber>, TupleElement7: EventHandler<Author, BlockNumber>, TupleElement8: EventHandler<Author, BlockNumber>, TupleElement9: EventHandler<Author, BlockNumber>, TupleElement10: EventHandler<Author, BlockNumber>> EventHandler<Author, BlockNumber> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10)where Author: Clone, BlockNumber: Clone,

source§

fn note_author(author: Author)

Note that the given account ID is the author of the current block.

source§

fn note_uncle(author: Author, age: BlockNumber)

Note that the given account ID authored the given uncle, and how many blocks older than the current block it is (age >= 0, so siblings are allowed)

source§

impl<Author, BlockNumber, TupleElement0: EventHandler<Author, BlockNumber>, TupleElement1: EventHandler<Author, BlockNumber>, TupleElement2: EventHandler<Author, BlockNumber>, TupleElement3: EventHandler<Author, BlockNumber>, TupleElement4: EventHandler<Author, BlockNumber>, TupleElement5: EventHandler<Author, BlockNumber>, TupleElement6: EventHandler<Author, BlockNumber>, TupleElement7: EventHandler<Author, BlockNumber>, TupleElement8: EventHandler<Author, BlockNumber>, TupleElement9: EventHandler<Author, BlockNumber>, TupleElement10: EventHandler<Author, BlockNumber>, TupleElement11: EventHandler<Author, BlockNumber>, TupleElement12: EventHandler<Author, BlockNumber>, TupleElement13: EventHandler<Author, BlockNumber>, TupleElement14: EventHandler<Author, BlockNumber>, TupleElement15: EventHandler<Author, BlockNumber>, TupleElement16: EventHandler<Author, BlockNumber>, TupleElement17: EventHandler<Author, BlockNumber>, TupleElement18: EventHandler<Author, BlockNumber>, TupleElement19: EventHandler<Author, BlockNumber>, TupleElement20: EventHandler<Author, BlockNumber>, TupleElement21: EventHandler<Author, BlockNumber>, TupleElement22: EventHandler<Author, BlockNumber>, TupleElement23: EventHandler<Author, BlockNumber>, TupleElement24: EventHandler<Author, BlockNumber>, TupleElement25: EventHandler<Author, BlockNumber>, TupleElement26: EventHandler<Author, BlockNumber>, TupleElement27: EventHandler<Author, BlockNumber>, TupleElement28: EventHandler<Author, BlockNumber>, TupleElement29: EventHandler<Author, BlockNumber>> EventHandler<Author, BlockNumber> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29)where Author: Clone, BlockNumber: Clone,

source§

fn note_author(author: Author)

Note that the given account ID is the author of the current block.

source§

fn note_uncle(author: Author, age: BlockNumber)

Note that the given account ID authored the given uncle, and how many blocks older than the current block it is (age >= 0, so siblings are allowed)

source§

impl<Author, BlockNumber, TupleElement0: EventHandler<Author, BlockNumber>, TupleElement1: EventHandler<Author, BlockNumber>, TupleElement2: EventHandler<Author, BlockNumber>, TupleElement3: EventHandler<Author, BlockNumber>, TupleElement4: EventHandler<Author, BlockNumber>, TupleElement5: EventHandler<Author, BlockNumber>, TupleElement6: EventHandler<Author, BlockNumber>, TupleElement7: EventHandler<Author, BlockNumber>, TupleElement8: EventHandler<Author, BlockNumber>, TupleElement9: EventHandler<Author, BlockNumber>, TupleElement10: EventHandler<Author, BlockNumber>, TupleElement11: EventHandler<Author, BlockNumber>, TupleElement12: EventHandler<Author, BlockNumber>, TupleElement13: EventHandler<Author, BlockNumber>, TupleElement14: EventHandler<Author, BlockNumber>, TupleElement15: EventHandler<Author, BlockNumber>, TupleElement16: EventHandler<Author, BlockNumber>, TupleElement17: EventHandler<Author, BlockNumber>, TupleElement18: EventHandler<Author, BlockNumber>, TupleElement19: EventHandler<Author, BlockNumber>, TupleElement20: EventHandler<Author, BlockNumber>, TupleElement21: EventHandler<Author, BlockNumber>> EventHandler<Author, BlockNumber> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21)where Author: Clone, BlockNumber: Clone,

source§

fn note_author(author: Author)

Note that the given account ID is the author of the current block.

source§

fn note_uncle(author: Author, age: BlockNumber)

Note that the given account ID authored the given uncle, and how many blocks older than the current block it is (age >= 0, so siblings are allowed)

source§

impl<Author, BlockNumber, TupleElement0: EventHandler<Author, BlockNumber>, TupleElement1: EventHandler<Author, BlockNumber>, TupleElement2: EventHandler<Author, BlockNumber>, TupleElement3: EventHandler<Author, BlockNumber>, TupleElement4: EventHandler<Author, BlockNumber>, TupleElement5: EventHandler<Author, BlockNumber>, TupleElement6: EventHandler<Author, BlockNumber>, TupleElement7: EventHandler<Author, BlockNumber>, TupleElement8: EventHandler<Author, BlockNumber>, TupleElement9: EventHandler<Author, BlockNumber>, TupleElement10: EventHandler<Author, BlockNumber>, TupleElement11: EventHandler<Author, BlockNumber>> EventHandler<Author, BlockNumber> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11)where Author: Clone, BlockNumber: Clone,

source§

fn note_author(author: Author)

Note that the given account ID is the author of the current block.

source§

fn note_uncle(author: Author, age: BlockNumber)

Note that the given account ID authored the given uncle, and how many blocks older than the current block it is (age >= 0, so siblings are allowed)

source§

impl<Author, BlockNumber, TupleElement0: EventHandler<Author, BlockNumber>, TupleElement1: EventHandler<Author, BlockNumber>, TupleElement2: EventHandler<Author, BlockNumber>, TupleElement3: EventHandler<Author, BlockNumber>> EventHandler<Author, BlockNumber> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3)where Author: Clone, BlockNumber: Clone,

source§

fn note_author(author: Author)

Note that the given account ID is the author of the current block.

source§

fn note_uncle(author: Author, age: BlockNumber)

Note that the given account ID authored the given uncle, and how many blocks older than the current block it is (age >= 0, so siblings are allowed)

source§

impl<Author, BlockNumber, TupleElement0: EventHandler<Author, BlockNumber>, TupleElement1: EventHandler<Author, BlockNumber>, TupleElement2: EventHandler<Author, BlockNumber>, TupleElement3: EventHandler<Author, BlockNumber>, TupleElement4: EventHandler<Author, BlockNumber>, TupleElement5: EventHandler<Author, BlockNumber>, TupleElement6: EventHandler<Author, BlockNumber>> EventHandler<Author, BlockNumber> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6)where Author: Clone, BlockNumber: Clone,

source§

fn note_author(author: Author)

Note that the given account ID is the author of the current block.

source§

fn note_uncle(author: Author, age: BlockNumber)

Note that the given account ID authored the given uncle, and how many blocks older than the current block it is (age >= 0, so siblings are allowed)

source§

impl<Author, BlockNumber, TupleElement0: EventHandler<Author, BlockNumber>, TupleElement1: EventHandler<Author, BlockNumber>, TupleElement2: EventHandler<Author, BlockNumber>, TupleElement3: EventHandler<Author, BlockNumber>, TupleElement4: EventHandler<Author, BlockNumber>, TupleElement5: EventHandler<Author, BlockNumber>, TupleElement6: EventHandler<Author, BlockNumber>, TupleElement7: EventHandler<Author, BlockNumber>, TupleElement8: EventHandler<Author, BlockNumber>, TupleElement9: EventHandler<Author, BlockNumber>, TupleElement10: EventHandler<Author, BlockNumber>, TupleElement11: EventHandler<Author, BlockNumber>, TupleElement12: EventHandler<Author, BlockNumber>, TupleElement13: EventHandler<Author, BlockNumber>, TupleElement14: EventHandler<Author, BlockNumber>, TupleElement15: EventHandler<Author, BlockNumber>, TupleElement16: EventHandler<Author, BlockNumber>, TupleElement17: EventHandler<Author, BlockNumber>, TupleElement18: EventHandler<Author, BlockNumber>, TupleElement19: EventHandler<Author, BlockNumber>, TupleElement20: EventHandler<Author, BlockNumber>, TupleElement21: EventHandler<Author, BlockNumber>, TupleElement22: EventHandler<Author, BlockNumber>> EventHandler<Author, BlockNumber> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22)where Author: Clone, BlockNumber: Clone,

source§

fn note_author(author: Author)

Note that the given account ID is the author of the current block.

source§

fn note_uncle(author: Author, age: BlockNumber)

Note that the given account ID authored the given uncle, and how many blocks older than the current block it is (age >= 0, so siblings are allowed)

source§

impl<Author, BlockNumber, TupleElement0: EventHandler<Author, BlockNumber>, TupleElement1: EventHandler<Author, BlockNumber>, TupleElement2: EventHandler<Author, BlockNumber>, TupleElement3: EventHandler<Author, BlockNumber>, TupleElement4: EventHandler<Author, BlockNumber>, TupleElement5: EventHandler<Author, BlockNumber>, TupleElement6: EventHandler<Author, BlockNumber>, TupleElement7: EventHandler<Author, BlockNumber>, TupleElement8: EventHandler<Author, BlockNumber>, TupleElement9: EventHandler<Author, BlockNumber>, TupleElement10: EventHandler<Author, BlockNumber>, TupleElement11: EventHandler<Author, BlockNumber>, TupleElement12: EventHandler<Author, BlockNumber>, TupleElement13: EventHandler<Author, BlockNumber>, TupleElement14: EventHandler<Author, BlockNumber>, TupleElement15: EventHandler<Author, BlockNumber>, TupleElement16: EventHandler<Author, BlockNumber>, TupleElement17: EventHandler<Author, BlockNumber>> EventHandler<Author, BlockNumber> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17)where Author: Clone, BlockNumber: Clone,

source§

fn note_author(author: Author)

Note that the given account ID is the author of the current block.

source§

fn note_uncle(author: Author, age: BlockNumber)

Note that the given account ID authored the given uncle, and how many blocks older than the current block it is (age >= 0, so siblings are allowed)

source§

impl<Author, BlockNumber, TupleElement0: EventHandler<Author, BlockNumber>, TupleElement1: EventHandler<Author, BlockNumber>, TupleElement2: EventHandler<Author, BlockNumber>, TupleElement3: EventHandler<Author, BlockNumber>, TupleElement4: EventHandler<Author, BlockNumber>, TupleElement5: EventHandler<Author, BlockNumber>, TupleElement6: EventHandler<Author, BlockNumber>, TupleElement7: EventHandler<Author, BlockNumber>, TupleElement8: EventHandler<Author, BlockNumber>, TupleElement9: EventHandler<Author, BlockNumber>, TupleElement10: EventHandler<Author, BlockNumber>, TupleElement11: EventHandler<Author, BlockNumber>, TupleElement12: EventHandler<Author, BlockNumber>, TupleElement13: EventHandler<Author, BlockNumber>, TupleElement14: EventHandler<Author, BlockNumber>, TupleElement15: EventHandler<Author, BlockNumber>, TupleElement16: EventHandler<Author, BlockNumber>> EventHandler<Author, BlockNumber> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16)where Author: Clone, BlockNumber: Clone,

source§

fn note_author(author: Author)

Note that the given account ID is the author of the current block.

source§

fn note_uncle(author: Author, age: BlockNumber)

Note that the given account ID authored the given uncle, and how many blocks older than the current block it is (age >= 0, so siblings are allowed)

source§

impl<Author, BlockNumber, TupleElement0: EventHandler<Author, BlockNumber>, TupleElement1: EventHandler<Author, BlockNumber>, TupleElement2: EventHandler<Author, BlockNumber>, TupleElement3: EventHandler<Author, BlockNumber>, TupleElement4: EventHandler<Author, BlockNumber>, TupleElement5: EventHandler<Author, BlockNumber>> EventHandler<Author, BlockNumber> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5)where Author: Clone, BlockNumber: Clone,

source§

fn note_author(author: Author)

Note that the given account ID is the author of the current block.

source§

fn note_uncle(author: Author, age: BlockNumber)

Note that the given account ID authored the given uncle, and how many blocks older than the current block it is (age >= 0, so siblings are allowed)

source§

impl<Author, BlockNumber, TupleElement0: EventHandler<Author, BlockNumber>, TupleElement1: EventHandler<Author, BlockNumber>, TupleElement2: EventHandler<Author, BlockNumber>, TupleElement3: EventHandler<Author, BlockNumber>, TupleElement4: EventHandler<Author, BlockNumber>, TupleElement5: EventHandler<Author, BlockNumber>, TupleElement6: EventHandler<Author, BlockNumber>, TupleElement7: EventHandler<Author, BlockNumber>, TupleElement8: EventHandler<Author, BlockNumber>, TupleElement9: EventHandler<Author, BlockNumber>, TupleElement10: EventHandler<Author, BlockNumber>, TupleElement11: EventHandler<Author, BlockNumber>, TupleElement12: EventHandler<Author, BlockNumber>, TupleElement13: EventHandler<Author, BlockNumber>, TupleElement14: EventHandler<Author, BlockNumber>, TupleElement15: EventHandler<Author, BlockNumber>, TupleElement16: EventHandler<Author, BlockNumber>, TupleElement17: EventHandler<Author, BlockNumber>, TupleElement18: EventHandler<Author, BlockNumber>, TupleElement19: EventHandler<Author, BlockNumber>, TupleElement20: EventHandler<Author, BlockNumber>, TupleElement21: EventHandler<Author, BlockNumber>, TupleElement22: EventHandler<Author, BlockNumber>, TupleElement23: EventHandler<Author, BlockNumber>, TupleElement24: EventHandler<Author, BlockNumber>, TupleElement25: EventHandler<Author, BlockNumber>, TupleElement26: EventHandler<Author, BlockNumber>> EventHandler<Author, BlockNumber> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26)where Author: Clone, BlockNumber: Clone,

source§

fn note_author(author: Author)

Note that the given account ID is the author of the current block.

source§

fn note_uncle(author: Author, age: BlockNumber)

Note that the given account ID authored the given uncle, and how many blocks older than the current block it is (age >= 0, so siblings are allowed)

source§

impl<Author, BlockNumber, TupleElement0: EventHandler<Author, BlockNumber>, TupleElement1: EventHandler<Author, BlockNumber>, TupleElement2: EventHandler<Author, BlockNumber>, TupleElement3: EventHandler<Author, BlockNumber>, TupleElement4: EventHandler<Author, BlockNumber>, TupleElement5: EventHandler<Author, BlockNumber>, TupleElement6: EventHandler<Author, BlockNumber>, TupleElement7: EventHandler<Author, BlockNumber>, TupleElement8: EventHandler<Author, BlockNumber>, TupleElement9: EventHandler<Author, BlockNumber>, TupleElement10: EventHandler<Author, BlockNumber>, TupleElement11: EventHandler<Author, BlockNumber>, TupleElement12: EventHandler<Author, BlockNumber>, TupleElement13: EventHandler<Author, BlockNumber>, TupleElement14: EventHandler<Author, BlockNumber>, TupleElement15: EventHandler<Author, BlockNumber>, TupleElement16: EventHandler<Author, BlockNumber>, TupleElement17: EventHandler<Author, BlockNumber>, TupleElement18: EventHandler<Author, BlockNumber>, TupleElement19: EventHandler<Author, BlockNumber>, TupleElement20: EventHandler<Author, BlockNumber>> EventHandler<Author, BlockNumber> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20)where Author: Clone, BlockNumber: Clone,

source§

fn note_author(author: Author)

Note that the given account ID is the author of the current block.

source§

fn note_uncle(author: Author, age: BlockNumber)

Note that the given account ID authored the given uncle, and how many blocks older than the current block it is (age >= 0, so siblings are allowed)

source§

impl<Author, BlockNumber, TupleElement0: EventHandler<Author, BlockNumber>, TupleElement1: EventHandler<Author, BlockNumber>, TupleElement2: EventHandler<Author, BlockNumber>, TupleElement3: EventHandler<Author, BlockNumber>, TupleElement4: EventHandler<Author, BlockNumber>, TupleElement5: EventHandler<Author, BlockNumber>, TupleElement6: EventHandler<Author, BlockNumber>, TupleElement7: EventHandler<Author, BlockNumber>, TupleElement8: EventHandler<Author, BlockNumber>> EventHandler<Author, BlockNumber> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8)where Author: Clone, BlockNumber: Clone,

source§

fn note_author(author: Author)

Note that the given account ID is the author of the current block.

source§

fn note_uncle(author: Author, age: BlockNumber)

Note that the given account ID authored the given uncle, and how many blocks older than the current block it is (age >= 0, so siblings are allowed)

source§

impl<Author, BlockNumber, TupleElement0: EventHandler<Author, BlockNumber>, TupleElement1: EventHandler<Author, BlockNumber>, TupleElement2: EventHandler<Author, BlockNumber>, TupleElement3: EventHandler<Author, BlockNumber>, TupleElement4: EventHandler<Author, BlockNumber>, TupleElement5: EventHandler<Author, BlockNumber>, TupleElement6: EventHandler<Author, BlockNumber>, TupleElement7: EventHandler<Author, BlockNumber>, TupleElement8: EventHandler<Author, BlockNumber>, TupleElement9: EventHandler<Author, BlockNumber>, TupleElement10: EventHandler<Author, BlockNumber>, TupleElement11: EventHandler<Author, BlockNumber>, TupleElement12: EventHandler<Author, BlockNumber>, TupleElement13: EventHandler<Author, BlockNumber>, TupleElement14: EventHandler<Author, BlockNumber>, TupleElement15: EventHandler<Author, BlockNumber>> EventHandler<Author, BlockNumber> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15)where Author: Clone, BlockNumber: Clone,

source§

fn note_author(author: Author)

Note that the given account ID is the author of the current block.

source§

fn note_uncle(author: Author, age: BlockNumber)

Note that the given account ID authored the given uncle, and how many blocks older than the current block it is (age >= 0, so siblings are allowed)

source§

impl<Author, BlockNumber, TupleElement0: EventHandler<Author, BlockNumber>, TupleElement1: EventHandler<Author, BlockNumber>, TupleElement2: EventHandler<Author, BlockNumber>, TupleElement3: EventHandler<Author, BlockNumber>, TupleElement4: EventHandler<Author, BlockNumber>, TupleElement5: EventHandler<Author, BlockNumber>, TupleElement6: EventHandler<Author, BlockNumber>, TupleElement7: EventHandler<Author, BlockNumber>, TupleElement8: EventHandler<Author, BlockNumber>, TupleElement9: EventHandler<Author, BlockNumber>, TupleElement10: EventHandler<Author, BlockNumber>, TupleElement11: EventHandler<Author, BlockNumber>, TupleElement12: EventHandler<Author, BlockNumber>, TupleElement13: EventHandler<Author, BlockNumber>> EventHandler<Author, BlockNumber> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13)where Author: Clone, BlockNumber: Clone,

source§

fn note_author(author: Author)

Note that the given account ID is the author of the current block.

source§

fn note_uncle(author: Author, age: BlockNumber)

Note that the given account ID authored the given uncle, and how many blocks older than the current block it is (age >= 0, so siblings are allowed)

source§

impl<Author, BlockNumber, TupleElement0: EventHandler<Author, BlockNumber>, TupleElement1: EventHandler<Author, BlockNumber>, TupleElement2: EventHandler<Author, BlockNumber>, TupleElement3: EventHandler<Author, BlockNumber>, TupleElement4: EventHandler<Author, BlockNumber>> EventHandler<Author, BlockNumber> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4)where Author: Clone, BlockNumber: Clone,

source§

fn note_author(author: Author)

Note that the given account ID is the author of the current block.

source§

fn note_uncle(author: Author, age: BlockNumber)

Note that the given account ID authored the given uncle, and how many blocks older than the current block it is (age >= 0, so siblings are allowed)

source§

impl<Author, BlockNumber, TupleElement0: EventHandler<Author, BlockNumber>, TupleElement1: EventHandler<Author, BlockNumber>, TupleElement2: EventHandler<Author, BlockNumber>, TupleElement3: EventHandler<Author, BlockNumber>, TupleElement4: EventHandler<Author, BlockNumber>, TupleElement5: EventHandler<Author, BlockNumber>, TupleElement6: EventHandler<Author, BlockNumber>, TupleElement7: EventHandler<Author, BlockNumber>, TupleElement8: EventHandler<Author, BlockNumber>, TupleElement9: EventHandler<Author, BlockNumber>, TupleElement10: EventHandler<Author, BlockNumber>, TupleElement11: EventHandler<Author, BlockNumber>, TupleElement12: EventHandler<Author, BlockNumber>, TupleElement13: EventHandler<Author, BlockNumber>, TupleElement14: EventHandler<Author, BlockNumber>, TupleElement15: EventHandler<Author, BlockNumber>, TupleElement16: EventHandler<Author, BlockNumber>, TupleElement17: EventHandler<Author, BlockNumber>, TupleElement18: EventHandler<Author, BlockNumber>, TupleElement19: EventHandler<Author, BlockNumber>, TupleElement20: EventHandler<Author, BlockNumber>, TupleElement21: EventHandler<Author, BlockNumber>, TupleElement22: EventHandler<Author, BlockNumber>, TupleElement23: EventHandler<Author, BlockNumber>, TupleElement24: EventHandler<Author, BlockNumber>, TupleElement25: EventHandler<Author, BlockNumber>, TupleElement26: EventHandler<Author, BlockNumber>, TupleElement27: EventHandler<Author, BlockNumber>> EventHandler<Author, BlockNumber> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27)where Author: Clone, BlockNumber: Clone,

source§

fn note_author(author: Author)

Note that the given account ID is the author of the current block.

source§

fn note_uncle(author: Author, age: BlockNumber)

Note that the given account ID authored the given uncle, and how many blocks older than the current block it is (age >= 0, so siblings are allowed)

source§

impl<Author, BlockNumber> EventHandler<Author, BlockNumber> for ()where Author: Clone, BlockNumber: Clone,

source§

fn note_author(author: Author)

Note that the given account ID is the author of the current block.

source§

fn note_uncle(author: Author, age: BlockNumber)

Note that the given account ID authored the given uncle, and how many blocks older than the current block it is (age >= 0, so siblings are allowed)

source§

impl<Author, BlockNumber, TupleElement0: EventHandler<Author, BlockNumber>, TupleElement1: EventHandler<Author, BlockNumber>, TupleElement2: EventHandler<Author, BlockNumber>, TupleElement3: EventHandler<Author, BlockNumber>, TupleElement4: EventHandler<Author, BlockNumber>, TupleElement5: EventHandler<Author, BlockNumber>, TupleElement6: EventHandler<Author, BlockNumber>, TupleElement7: EventHandler<Author, BlockNumber>, TupleElement8: EventHandler<Author, BlockNumber>, TupleElement9: EventHandler<Author, BlockNumber>, TupleElement10: EventHandler<Author, BlockNumber>, TupleElement11: EventHandler<Author, BlockNumber>, TupleElement12: EventHandler<Author, BlockNumber>> EventHandler<Author, BlockNumber> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12)where Author: Clone, BlockNumber: Clone,

source§

fn note_author(author: Author)

Note that the given account ID is the author of the current block.

source§

fn note_uncle(author: Author, age: BlockNumber)

Note that the given account ID authored the given uncle, and how many blocks older than the current block it is (age >= 0, so siblings are allowed)

source§

impl<Author, BlockNumber, TupleElement0: EventHandler<Author, BlockNumber>, TupleElement1: EventHandler<Author, BlockNumber>, TupleElement2: EventHandler<Author, BlockNumber>, TupleElement3: EventHandler<Author, BlockNumber>, TupleElement4: EventHandler<Author, BlockNumber>, TupleElement5: EventHandler<Author, BlockNumber>, TupleElement6: EventHandler<Author, BlockNumber>, TupleElement7: EventHandler<Author, BlockNumber>, TupleElement8: EventHandler<Author, BlockNumber>, TupleElement9: EventHandler<Author, BlockNumber>, TupleElement10: EventHandler<Author, BlockNumber>, TupleElement11: EventHandler<Author, BlockNumber>, TupleElement12: EventHandler<Author, BlockNumber>, TupleElement13: EventHandler<Author, BlockNumber>, TupleElement14: EventHandler<Author, BlockNumber>, TupleElement15: EventHandler<Author, BlockNumber>, TupleElement16: EventHandler<Author, BlockNumber>, TupleElement17: EventHandler<Author, BlockNumber>, TupleElement18: EventHandler<Author, BlockNumber>> EventHandler<Author, BlockNumber> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18)where Author: Clone, BlockNumber: Clone,

source§

fn note_author(author: Author)

Note that the given account ID is the author of the current block.

source§

fn note_uncle(author: Author, age: BlockNumber)

Note that the given account ID authored the given uncle, and how many blocks older than the current block it is (age >= 0, so siblings are allowed)

source§

impl<Author, BlockNumber, TupleElement0: EventHandler<Author, BlockNumber>, TupleElement1: EventHandler<Author, BlockNumber>> EventHandler<Author, BlockNumber> for (TupleElement0, TupleElement1)where Author: Clone, BlockNumber: Clone,

source§

fn note_author(author: Author)

Note that the given account ID is the author of the current block.

source§

fn note_uncle(author: Author, age: BlockNumber)

Note that the given account ID authored the given uncle, and how many blocks older than the current block it is (age >= 0, so siblings are allowed)

source§

impl<Author, BlockNumber, TupleElement0: EventHandler<Author, BlockNumber>, TupleElement1: EventHandler<Author, BlockNumber>, TupleElement2: EventHandler<Author, BlockNumber>, TupleElement3: EventHandler<Author, BlockNumber>, TupleElement4: EventHandler<Author, BlockNumber>, TupleElement5: EventHandler<Author, BlockNumber>, TupleElement6: EventHandler<Author, BlockNumber>, TupleElement7: EventHandler<Author, BlockNumber>, TupleElement8: EventHandler<Author, BlockNumber>, TupleElement9: EventHandler<Author, BlockNumber>, TupleElement10: EventHandler<Author, BlockNumber>, TupleElement11: EventHandler<Author, BlockNumber>, TupleElement12: EventHandler<Author, BlockNumber>, TupleElement13: EventHandler<Author, BlockNumber>, TupleElement14: EventHandler<Author, BlockNumber>, TupleElement15: EventHandler<Author, BlockNumber>, TupleElement16: EventHandler<Author, BlockNumber>, TupleElement17: EventHandler<Author, BlockNumber>, TupleElement18: EventHandler<Author, BlockNumber>, TupleElement19: EventHandler<Author, BlockNumber>, TupleElement20: EventHandler<Author, BlockNumber>, TupleElement21: EventHandler<Author, BlockNumber>, TupleElement22: EventHandler<Author, BlockNumber>, TupleElement23: EventHandler<Author, BlockNumber>> EventHandler<Author, BlockNumber> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23)where Author: Clone, BlockNumber: Clone,

source§

fn note_author(author: Author)

Note that the given account ID is the author of the current block.

source§

fn note_uncle(author: Author, age: BlockNumber)

Note that the given account ID authored the given uncle, and how many blocks older than the current block it is (age >= 0, so siblings are allowed)

source§

impl<Author, BlockNumber, TupleElement0: EventHandler<Author, BlockNumber>, TupleElement1: EventHandler<Author, BlockNumber>, TupleElement2: EventHandler<Author, BlockNumber>> EventHandler<Author, BlockNumber> for (TupleElement0, TupleElement1, TupleElement2)where Author: Clone, BlockNumber: Clone,

source§

fn note_author(author: Author)

Note that the given account ID is the author of the current block.

source§

fn note_uncle(author: Author, age: BlockNumber)

Note that the given account ID authored the given uncle, and how many blocks older than the current block it is (age >= 0, so siblings are allowed)

Implementors§