Skip to content

Commit

Permalink
enable transfering native tokens out from terra classic (#450)
Browse files Browse the repository at this point in the history
* enable transfering native tokens out from terra classic

* fix wrong condition
  • Loading branch information
sebastianscatularo committed Oct 2, 2023
1 parent 0399187 commit 01dd6d0
Showing 1 changed file with 3 additions and 4 deletions.
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

0 comments on commit 01dd6d0

Please sign in to comment.