diff --git a/stdlib/std/cells.tact b/stdlib/std/cells.tact index 5a3ca8ff3..388097e27 100644 --- a/stdlib/std/cells.tact +++ b/stdlib/std/cells.tact @@ -48,7 +48,7 @@ asm extends fun refs(self: Builder): Int { BREFS } asm extends fun bits(self: Builder): Int { BBITS } -asm fun builderDepth(builder: Builder): Int { BDEPTH } +asm extends fun depth(self: Builder): Int { BDEPTH } // // Slice @@ -113,7 +113,7 @@ asm extends fun firstBits(self: Slice, len: Int): Slice { SDCUTFIRST } asm extends fun sliceLast(self: Slice, len: Int): Slice { SDCUTLAST } -asm fun sliceDepth(slice: Slice): Int { SDEPTH } +asm extends fun depth(self: Slice): Int { SDEPTH } // // Slice size @@ -171,5 +171,5 @@ asm fun computeDataSize(cell: Cell, maxCells: Int): DataSize { CDATASIZE TRIPLE asm fun computeSliceDataSize(slice: Slice, maxCells: Int): DataSize { SDATASIZE TRIPLE } -asm fun cellDepth(cell: Cell): Int { CDEPTH } +asm extends fun depth(self: Cell): Int { CDEPTH } diff --git a/stdlib/std/math.tact b/stdlib/std/math.tact index ed0fb36b5..0141d78d1 100644 --- a/stdlib/std/math.tact +++ b/stdlib/std/math.tact @@ -61,4 +61,4 @@ native pow(base: Int, exp: Int): Int; asm fun pow2(exp: Int): Int { POW2 } -asm fun sgn(x: Int): Int { SGN } +asm fun sign(x: Int): Int { SGN } diff --git a/stdlib/stdlib.fc b/stdlib/stdlib.fc index 9bb15fc64..90d4ea0ba 100644 --- a/stdlib/stdlib.fc +++ b/stdlib/stdlib.fc @@ -663,4 +663,4 @@ int get_simple_forward_fee(int workchain, int bits, int cells) asm(cells bits wo int get_original_fwd_fee(int workchain, int fwd_fee) asm(fwd_fee workchain) "GETORIGINALFWDFEE"; int my_storage_due() asm "DUEPAYMENT"; -tuple get_fee_cofigs() asm "UNPACKEDCONFIGTUPLE"; +tuple get_fee_configs() asm "UNPACKEDCONFIGTUPLE";