20 lines
443 B
Plaintext
20 lines
443 B
Plaintext
pub fn mint(to: Address, amount: u256) -> bool {
|
|
require(!to.is_zero(), "Mint to zero address");
|
|
require(amount > 0, "Amount must be positive");
|
|
return true;
|
|
}
|
|
|
|
pub fn burn(from: Address, amount: u256) -> bool {
|
|
require(!from.is_zero(), "Burn from zero address");
|
|
require(amount > 0, "Amount must be positive");
|
|
return true;
|
|
}
|
|
|
|
pub fn pause() -> bool {
|
|
return true;
|
|
}
|
|
|
|
pub fn unpause() -> bool {
|
|
return true;
|
|
}
|