Skip to content

Commit

Permalink
Merge pull request #350 from luxfi/feat/bridge2
Browse files Browse the repository at this point in the history
added: trump and zeekay tokens
  • Loading branch information
venuswhispers authored Jan 20, 2025
2 parents 18e5144 + c615c3a commit 478ba8f
Show file tree
Hide file tree
Showing 6 changed files with 179 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/bridge/src/components/lux/teleport/constants/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,8 @@ export const SWAP_PAIRS: Record<string, string[]> = {
MOODENG: ['LMOODENG', 'ZMOODENG'],
PONKE: ['LPONKE', 'ZPONKE'],
SLOG: ['SLOG'],
Z: ['Z'],
TRUMP: ['TRUMP'],
// Ton tokens
NOT: ['LNOT', 'ZNOT'],
DOGS: ['LDOGS', 'ZDOGS'],
Expand Down
2 changes: 2 additions & 0 deletions app/server/src/domain/constants/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,8 @@ export const UTILA_NETWORKS: Record<string, UTILA_NETWORK> = {
"MOODENG": "assets/spl-token.solana-mainnet.ED5nyyWEzpPPiWimP8vYm7sD7TD3LAt3Q3gRTWHzPJBY",
"PONKE": "assets/spl-token.solana-mainnet.5z3EqYQo9HiCEs3R84RCDMu2n7anpDMxRhdK8PSWmrRC",
"SLOG": "assets/spl-token.solana-mainnet.9Xfko1cNUJ6cpgBxkdH7k7VyYouUmCtUij5tDWUFpump",
"TRUMP": "assets/spl-token.solana-mainnet.6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
"Z": "assets/spl-token.solana-mainnet.TjXyMY9zb51fgW2rNp3SeFFVtB2ipcSjMKJ4nu3fomo",
}
},
'SOLANA_DEVNET': {
Expand Down
96 changes: 96 additions & 0 deletions app/server/src/domain/settings/mainnet/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,38 @@ export default [
"source_base_fee": 0,
"destination_base_fee": 0,
},
{
"name": "Official Trump",
"asset": "TRUMP",
"logo": "https://arweave.net/VQrPjACwnQRmxdKBTqNwPiyo65x7LAT773t8Kd7YBzw",
"contract_address": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
"decimals": 6,
"status": "active",
"is_deposit_enabled": false,
"is_withdrawal_enabled": false,
"is_refuel_enabled": false,
"max_withdrawal_amount": 0,
"deposit_fee": 0,
"withdrawal_fee": 0.01,
"source_base_fee": 0,
"destination_base_fee": 0,
},
{
"name": "Z",
"asset": "Z",
"logo": "https://cdn.lux.network/bridge/currencies/zeekay.jpeg",
"contract_address": "TjXyMY9zb51fgW2rNp3SeFFVtB2ipcSjMKJ4nu3fomo",
"decimals": 6,
"status": "active",
"is_deposit_enabled": false,
"is_withdrawal_enabled": false,
"is_refuel_enabled": false,
"max_withdrawal_amount": 0,
"deposit_fee": 0,
"withdrawal_fee": 0.01,
"source_base_fee": 0,
"destination_base_fee": 0,
},
{
"name": "BONK",
"asset": "BONK",
Expand Down Expand Up @@ -768,6 +800,38 @@ export default [
"source_base_fee": 0,
"destination_base_fee": 0,
},
{
"name": "Official Trump",
"asset": "TRUMP",
"logo": "https://arweave.net/VQrPjACwnQRmxdKBTqNwPiyo65x7LAT773t8Kd7YBzw",
"contract_address": "0x768972Ee4038a23b20B3beD3848027460172D897",
"decimals": 6,
"status": "active",
"is_deposit_enabled": false,
"is_withdrawal_enabled": false,
"is_refuel_enabled": false,
"max_withdrawal_amount": 0,
"deposit_fee": 0,
"withdrawal_fee": 0.01,
"source_base_fee": 0,
"destination_base_fee": 0,
},
{
"name": "Z",
"asset": "Z",
"logo": "https://cdn.lux.network/bridge/currencies/zeekay.jpeg",
"contract_address": "0x768972Ee4038a23b20B3beD3848027460172D897",
"decimals": 6,
"status": "active",
"is_deposit_enabled": false,
"is_withdrawal_enabled": false,
"is_refuel_enabled": false,
"max_withdrawal_amount": 0,
"deposit_fee": 0,
"withdrawal_fee": 0.01,
"source_base_fee": 0,
"destination_base_fee": 0,
},
{
"name": "Liquid BTC",
"asset": "LBTC",
Expand Down Expand Up @@ -1349,6 +1413,38 @@ export default [
"source_base_fee": 0,
"destination_base_fee": 0,
},
{
"name": "Official Trump",
"asset": "TRUMP",
"logo": "https://arweave.net/VQrPjACwnQRmxdKBTqNwPiyo65x7LAT773t8Kd7YBzw",
"contract_address": "0x768972Ee4038a23b20B3beD3848027460172D897",
"decimals": 6,
"status": "active",
"is_deposit_enabled": false,
"is_withdrawal_enabled": false,
"is_refuel_enabled": false,
"max_withdrawal_amount": 0,
"deposit_fee": 0,
"withdrawal_fee": 0.01,
"source_base_fee": 0,
"destination_base_fee": 0,
},
{
"name": "Z",
"asset": "Z",
"logo": "https://cdn.lux.network/bridge/currencies/zeekay.jpeg",
"contract_address": "0x768972Ee4038a23b20B3beD3848027460172D897",
"decimals": 6,
"status": "active",
"is_deposit_enabled": false,
"is_withdrawal_enabled": false,
"is_refuel_enabled": false,
"max_withdrawal_amount": 0,
"deposit_fee": 0,
"withdrawal_fee": 0.01,
"source_base_fee": 0,
"destination_base_fee": 0,
},
{
"name": "Zoo BTC",
"asset": "ZBTC",
Expand Down
32 changes: 32 additions & 0 deletions contracts/contracts/zoo/TRUMP.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

/**
████████╗██████╗ ██╗ ██╗███╗ ███╗██████╗
╚══██╔══╝██╔══██╗██║ ██║████╗ ████║██╔══██╗
██║ ██████╔╝██║ ██║██╔████╔██║██████╔╝
██║ ██╔══██╗██║ ██║██║╚██╔╝██║██╔═══╝
██║ ██║ ██║╚██████╔╝██║ ╚═╝ ██║██║
╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝
*/

import "../ERC20B.sol";

contract TRUMP is ERC20B {
string public constant _name = "OFFICIAL TRUMP";
string public constant _symbol = "TRUMP";

constructor() ERC20B(_name, _symbol) {}

function decimals() public view virtual override returns (uint8) {
return 6;
}

function mint(address account, uint256 amount) public {
_mint(account, amount);
}

function burn(address account, uint256 amount) public {
_burn(account, amount);
}
}
32 changes: 32 additions & 0 deletions contracts/contracts/zoo/Z.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

/**
███████╗
╚══███╔╝
███╔╝
███╔╝
███████╗
╚══════╝
*/

import "../ERC20B.sol";

contract Z is ERC20B {
string public constant _name = "Z";
string public constant _symbol = "Z";

constructor() ERC20B(_name, _symbol) {}

function decimals() public view virtual override returns (uint8) {
return 6;
}

function mint(address account, uint256 amount) public {
_mint(account, amount);
}

function burn(address account, uint256 amount) public {
_burn(account, amount);
}
}
15 changes: 15 additions & 0 deletions contracts/scripts/coins/TRUMP.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { ethers } from "hardhat";

async function main() {
/////TRUMP
const _signer = await ethers.getContractFactory("TRUMP");
const token = await _signer.deploy();
console.log("TRUMP address:", await token.getAddress());
}

main()
.then(() => process.exit(0))
.catch((error) => {
console.error(error);
process.exit(1);
});

0 comments on commit 478ba8f

Please sign in to comment.