mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 01:41:11 +01:00
Merge pull request #2341 from w07wong/list-vectorspaceai
List VectorspaceAI (VXV)
This commit is contained in:
commit
1d05d426db
27
assets/src/main/java/bisq/asset/tokens/VectorspaceAI.java
Normal file
27
assets/src/main/java/bisq/asset/tokens/VectorspaceAI.java
Normal file
@ -0,0 +1,27 @@
|
||||
/*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package bisq.asset.tokens;
|
||||
|
||||
import bisq.asset.Erc20Token;
|
||||
|
||||
public class VectorspaceAI extends Erc20Token {
|
||||
|
||||
public VectorspaceAI() {
|
||||
super("VectorspaceAI", "VXV");
|
||||
}
|
||||
}
|
@ -74,3 +74,4 @@ bisq.asset.coins.Zero
|
||||
bisq.asset.coins.ZeroOneCoin
|
||||
bisq.asset.tokens.AugmintEuro
|
||||
bisq.asset.tokens.EtherStone
|
||||
bisq.asset.tokens.VectorspaceAI
|
@ -0,0 +1,42 @@
|
||||
/*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package bisq.asset.tokens;
|
||||
|
||||
import bisq.asset.AbstractAssetTest;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
public class VectorspaceAITest extends AbstractAssetTest {
|
||||
|
||||
public VectorspaceAITest () {
|
||||
super(new VectorspaceAI());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testValidAddresses() {
|
||||
assertValidAddress("0xdd88dbdde30b684798881d4f3d9a3752d6c1dd71");
|
||||
assertValidAddress("dd88dbdde30b684798881d4f3d9a3752d6c1dd71");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testInvalidAddresses() {
|
||||
assertInvalidAddress("0x2ecf455d8a2e6baf8d1039204c4f97efeddf27a82");
|
||||
assertInvalidAddress("0xh8wheG1jdka0c8b8263758chanbmshj2937zgab");
|
||||
assertInvalidAddress("h8wheG1jdka0c8b8263758chanbmshj2937zgab");
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user