-
-
Notifications
You must be signed in to change notification settings - Fork 3
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 #65 from PotLock/feat/donation-ft
Donation contract FT support
- Loading branch information
Showing
10 changed files
with
740 additions
and
103 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
Binary file not shown.
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 |
---|---|---|
@@ -1,4 +1,11 @@ | ||
use crate::*; | ||
|
||
pub const MAX_PROTOCOL_FEE_BASIS_POINTS: u32 = 1000; | ||
pub const MAX_REFERRAL_FEE_BASIS_POINTS: u32 = 200; | ||
|
||
pub const EVENT_JSON_PREFIX: &str = "EVENT_JSON:"; | ||
|
||
pub const TGAS: u64 = 1_000_000_000_000; // 1 TGAS | ||
pub const XCC_GAS_DEFAULT: u64 = TGAS * 10; // 10 TGAS | ||
pub const NO_DEPOSIT: Balance = 0; | ||
pub const ONE_YOCTO: Balance = 1; |
Oops, something went wrong.