From 6336f323a9d736e39ef9d36e1a40fe98dd4f6ce8 Mon Sep 17 00:00:00 2001 From: farsider350 <31876349+farsider350@users.noreply.github.com> Date: Sat, 5 Jan 2019 02:12:04 +1000 Subject: [PATCH] List AusCash (AUS) Author: farsider350 Date: Sat Jan 5 02:10AM GMT+1000 List AusCash --- .../main/java/bisq/asset/coins/AusCash.java | 29 +++++++++++++++++++ .../META-INF/services/bisq.asset.Asset | 1 + .../java/bisq/asset/coins/AusCashTest.java | 29 +++++++++++++++++++ 3 files changed, 59 insertions(+) create mode 100644 assets/src/main/java/bisq/asset/coins/AusCash.java create mode 100644 assets/src/test/java/bisq/asset/coins/AusCashTest.java diff --git a/assets/src/main/java/bisq/asset/coins/AusCash.java b/assets/src/main/java/bisq/asset/coins/AusCash.java new file mode 100644 index 00000000000..1f9aca98a76 --- /dev/null +++ b/assets/src/main/java/bisq/asset/coins/AusCash.java @@ -0,0 +1,29 @@ +/* + * This file is part of Bisq. + * + * Bisq is free software: you can redistribute it and/or modify it + * under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or (at + * your option) any later version. + * + * Bisq is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public + * License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Bisq. If not, see . + */ + +package bisq.asset.coins; + +import bisq.asset.Coin; +import bisq.asset.DefaultAddressValidator; + +public class AusCash extends Coin { + public AusCash() { + + super("AusCash", "AUS", new DefaultAddressValidator()); + } +} + diff --git a/assets/src/main/resources/META-INF/services/bisq.asset.Asset b/assets/src/main/resources/META-INF/services/bisq.asset.Asset index 6504ee43830..c7b2c49ec00 100644 --- a/assets/src/main/resources/META-INF/services/bisq.asset.Asset +++ b/assets/src/main/resources/META-INF/services/bisq.asset.Asset @@ -4,6 +4,7 @@ # See https://bisq.network/list-asset for complete instructions. bisq.asset.coins.Actinium bisq.asset.coins.Aeon +bisq.asset.coins.AusCash bisq.asset.coins.BitcoinClashic bisq.asset.coins.BitcoinRhodium bisq.asset.coins.Bitcoin$Mainnet diff --git a/assets/src/test/java/bisq/asset/coins/AusCashTest.java b/assets/src/test/java/bisq/asset/coins/AusCashTest.java new file mode 100644 index 00000000000..a0d6b0e56d2 --- /dev/null +++ b/assets/src/test/java/bisq/asset/coins/AusCashTest.java @@ -0,0 +1,29 @@ +/* + * This file is part of Bisq. + * + * Bisq is free software: you can redistribute it and/or modify it + * under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or (at + * your option) any later version. + * + * Bisq is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public + * License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Bisq. If not, see . + */ + +package bisq.asset.coins; + +import bisq.asset.AbstractAssetWithDefaultValidatorTest; + + +public class AusCashTest extends AbstractAssetWithDefaultValidatorTest { + public AusCashTest() { + super(new AusCash()); + } +} + +