junobuild-shared 0.0.23

Shared utilities for Juno.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
pub mod icp {
    use ic_ledger_types::{Block, BlockIndex};

    pub type BlockIndexed = (BlockIndex, Block);
    pub type Blocks = Vec<BlockIndexed>;
}

pub mod icrc {
    use icrc_ledger_types::icrc1::transfer::{BlockIndex, TransferError};

    pub type IcrcTransferResult = Result<BlockIndex, TransferError>;
}