Skip to content
This repository was archived by the owner on Dec 12, 2024. It is now read-only.

Update contracts.mdx #239

Merged
merged 1 commit into from
Jun 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pages/book/contracts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const GlobalConst1: Int = 1000 + ton("42") + pow(10, 9);

contract Example {
// contract constants are also calculated in compile-time and cannot change
const ContractConst1: Int = 2000 + ton("43") pow(10, 9);
const ContractConst1: Int = 2000 + ton("43") + pow(10, 9);

// contract constants can be an easy alternative to enums
const StateUnpaid: Int = 0;
Expand Down
Loading