generated from multiversx/mx-template-sc
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from multiversx/refactoring
Refactoring
- Loading branch information
Showing
29 changed files
with
823 additions
and
669 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
pub type GasLimit = u64; | ||
pub type Blocks = u64; | ||
|
||
pub const DEFAULT_MIN_GAS_TO_SAVE_PROGRESS: GasLimit = 30_000_000; | ||
pub const DEFAULT_GAS_TO_CLAIM_REWARDS: GasLimit = 6_000_000; | ||
pub const MIN_GAS_FOR_ASYNC_CALL: GasLimit = 12_000_000; | ||
pub const MIN_GAS_FOR_CALLBACK: GasLimit = 12_000_000; | ||
pub const MIN_GAS_FINISH_EXEC: GasLimit = 20_000_000; | ||
|
||
pub const MIN_BLOCKS_BEFORE_CLEAR_ONGOING_OP: Blocks = 10; | ||
pub const RECOMPUTE_BLOCK_OFFSET: Blocks = 10; | ||
|
||
pub const MIN_EGLD_TO_DELEGATE: u64 = 1_000_000_000_000_000_000; // 1 EGLD | ||
pub const EGLD_TO_WHITELIST: u64 = 1_000_000_000_000_000_000; // 1 EGLD | ||
|
||
pub const MINIMUM_LIQUIDITY: u64 = 1_000; | ||
|
||
pub const MAX_DELEGATION_ADDRESSES: usize = 20; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.