Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add doc for function allTokensFrozen #136

Merged
merged 2 commits into from
Aug 7, 2022
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
10 changes: 10 additions & 0 deletions contracts/AxelarGateway.sol
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,11 @@ contract AxelarGateway is IAxelarGateway, AdminMultisigBase {
return getUint(_getTokenDailyMintAmountKey(symbol, block.timestamp / 1 days));
}

/*
* @dev This function is kept around to keep things working for internal
* tokens that were deployed before the token freeze functionality was
* removed
*/
function allTokensFrozen() external pure override returns (bool) {
return false;
}
Expand All @@ -169,6 +174,11 @@ contract AxelarGateway is IAxelarGateway, AdminMultisigBase {
return getAddress(_getTokenAddressKey(symbol));
}

/*
* @dev This function is kept around to keep things working for internal
* tokens that were deployed before the token freeze functionality was
* removed
*/
function tokenFrozen(string memory) external pure override returns (bool) {
return false;
}
Expand Down