Skip to main content

Module expr

Module expr 

Source
Expand description

Wire Expr builders (1:1 with on-chain / @ifx-run/sdk expr).

Functions§

add
and
as_i8
as_i16
as_i32
as_i64
as_i128
as_u8
as_u16
as_u32
as_u64
as_u128
bool
bps_mul_ceil
Like bps_mul_floor with ceiling division.
bps_mul_floor
⌊amount × bps / 10_000⌋ — amount is U64; bps may be U8/U16/U32/U64.
clamp
div
div_ceil
div_floor
eq
f32
f64
ge
gt
i8
i16
i32
i64
i128
is_zero
le
lt
max
min
mul
mul_div_ceil
mul_div_floor
ne
neg
non_zero
not
or
pubkey
r
saturating_sub
select
sub
u8
u16
u32
u64
u128