bobcat-interfaces 0.8.7

bobcat-sdk utilities for generating signautres on Arbitrum Stylus.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::selectors;

selectors! {
    SEL_DECIMALS = b"decimals()",
    SEL_LATEST_ROUND_DATA = b"latestRoundData()"
}

pub const fn make_fn_decimals() -> [u8; 4] {
    SEL_DECIMALS
}

pub const fn make_latest_round_data() -> [u8; 4] {
    SEL_LATEST_ROUND_DATA
}