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

enable transfering native tokens out from terra classic #450

Merged
merged 2 commits into from
Oct 2, 2023
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
7 changes: 3 additions & 4 deletions src/config/transferRules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const PANDLE_MESSAGE =
const AuroraMessage =
"As a precautionary measure, Wormhole Network and Portal have paused Aurora support temporarily.";
const TERRA_CLASSIC_MESSAGE =
"Transfers of native tokens to/from Terra Classic have been temporarily paused.";
"Transfers of native tokens to Terra Classic have been temporarily paused.";

const transferRules: Rule[] = [
{
Expand All @@ -47,9 +47,8 @@ const transferRules: Rule[] = [
},
{
id: "terra-classic-native",
predicate: ({ source, target, token }: PredicateArgs) =>
(source === CHAIN_ID_TERRA || target === CHAIN_ID_TERRA) &&
terra.isNativeDenom(token),
predicate: ({ target, token }: PredicateArgs) =>
target === CHAIN_ID_TERRA && terra.isNativeDenom(token),
text: TERRA_CLASSIC_MESSAGE,
disableTransfer: true,
},
Expand Down