278 lines
8.0 KiB
JavaScript
278 lines
8.0 KiB
JavaScript
import { config } from "./config"
|
|
|
|
export const Images = {
|
|
logo: config.ENDPOINT + 'upload/images/LOGO1.svg',
|
|
auditors: [
|
|
process.env.PUBLIC_URL + '/imgs/auditors/certik.jpg',
|
|
process.env.PUBLIC_URL + '/imgs/auditors/sybxgroup.png',
|
|
process.env.PUBLIC_URL + '/imgs/auditors/qedit.png',
|
|
process.env.PUBLIC_URL + '/imgs/auditors/orchidlabs.png',
|
|
process.env.PUBLIC_URL + '/imgs/auditors/polysign.jpg',
|
|
],
|
|
|
|
partners: [
|
|
config.ENDPOINT + 'static/media/mexc.png',
|
|
config.ENDPOINT + 'static/media/WhatsCion LOGO.6719d0fe.svg',
|
|
config.ENDPOINT + 'static/media/huobi wallet logo.fb179453.svg',
|
|
config.ENDPOINT + 'static/media/Coinhub-logo.19662e8b.svg',
|
|
config.ENDPOINT + 'static/media/king_logo.edbe9b20.svg',
|
|
config.ENDPOINT + 'static/media/math.02fb72a5.svg',
|
|
config.ENDPOINT + 'static/media/TokenPocket_Logo__ traverse.619dc8b8.svg',
|
|
config.ENDPOINT + 'static/media/bitkeep.png',
|
|
config.ENDPOINT + 'static/media/HyperPay-Logo.f0568b2a.svg',
|
|
config.ENDPOINT + 'static/media/ONTO-black.a40460bb.svg',
|
|
config.ENDPOINT + 'static/media/aolink.55778d9b.svg',
|
|
config.ENDPOINT + 'static/media/codebank.db7917c8.svg',
|
|
],
|
|
|
|
more: config.ENDPOINT + 'static/media/icon-more.c502d302.svg',
|
|
new: config.ENDPOINT + 'static/media/jiaobiao-eth.4b55fb16.svg',
|
|
stakingBanner: config.ENDPOINT + 'static/media/eth_mining.jpg',
|
|
usdt: config.ENDPOINT + 'upload/images/XTVCUSDT--big.svg',
|
|
}
|
|
|
|
export const ABI = [
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "string",
|
|
"name": "name",
|
|
"type": "string"
|
|
}, {
|
|
"internalType": "string",
|
|
"name": "symbol",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"stateMutability": "nonpayable",
|
|
"type": "constructor"
|
|
}, {
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": true,
|
|
"internalType": "address",
|
|
"name": "owner",
|
|
"type": "address"
|
|
}, {
|
|
"indexed": true,
|
|
"internalType": "address",
|
|
"name": "spender",
|
|
"type": "address"
|
|
}, {
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "value",
|
|
"type": "uint256"
|
|
}],
|
|
"name": "Approval",
|
|
"type": "event"
|
|
}, {
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "spender",
|
|
"type": "address"
|
|
}, {
|
|
"internalType": "uint256",
|
|
"name": "amount",
|
|
"type": "uint256"
|
|
}],
|
|
"name": "approve",
|
|
"outputs": [
|
|
{
|
|
"internalType": "bool",
|
|
"name": "",
|
|
"type": "bool"
|
|
}],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
}, {
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "spender",
|
|
"type": "address"
|
|
}, {
|
|
"internalType": "uint256",
|
|
"name": "subtractedValue",
|
|
"type": "uint256"
|
|
}],
|
|
"name": "decreaseAllowance",
|
|
"outputs": [
|
|
{
|
|
"internalType": "bool",
|
|
"name": "",
|
|
"type": "bool"
|
|
}],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
}, {
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "spender",
|
|
"type": "address"
|
|
}, {
|
|
"internalType": "uint256",
|
|
"name": "addedValue",
|
|
"type": "uint256"
|
|
}],
|
|
"name": "increaseAllowance",
|
|
"outputs": [
|
|
{
|
|
"internalType": "bool",
|
|
"name": "",
|
|
"type": "bool"
|
|
}],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
}, {
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "recipient",
|
|
"type": "address"
|
|
}, {
|
|
"internalType": "uint256",
|
|
"name": "amount",
|
|
"type": "uint256"
|
|
}],
|
|
"name": "transfer",
|
|
"outputs": [
|
|
{
|
|
"internalType": "bool",
|
|
"name": "",
|
|
"type": "bool"
|
|
}],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
}, {
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": true,
|
|
"internalType": "address",
|
|
"name": "from",
|
|
"type": "address"
|
|
}, {
|
|
"indexed": true,
|
|
"internalType": "address",
|
|
"name": "to",
|
|
"type": "address"
|
|
}, {
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "value",
|
|
"type": "uint256"
|
|
}],
|
|
"name": "Transfer",
|
|
"type": "event"
|
|
}, {
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "sender",
|
|
"type": "address"
|
|
}, {
|
|
"internalType": "address",
|
|
"name": "recipient",
|
|
"type": "address"
|
|
}, {
|
|
"internalType": "uint256",
|
|
"name": "amount",
|
|
"type": "uint256"
|
|
}],
|
|
"name": "transferFrom",
|
|
"outputs": [
|
|
{
|
|
"internalType": "bool",
|
|
"name": "",
|
|
"type": "bool"
|
|
}],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
}, {
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "owner",
|
|
"type": "address"
|
|
}, {
|
|
"internalType": "address",
|
|
"name": "spender",
|
|
"type": "address"
|
|
}],
|
|
"name": "allowance",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "",
|
|
"type": "uint256"
|
|
}],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
}, {
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "account",
|
|
"type": "address"
|
|
}],
|
|
"name": "balanceOf",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "",
|
|
"type": "uint256"
|
|
}],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
}, {
|
|
"inputs": [],
|
|
"name": "decimals",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint8",
|
|
"name": "",
|
|
"type": "uint8"
|
|
}],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
}, {
|
|
"inputs": [],
|
|
"name": "name",
|
|
"outputs": [
|
|
{
|
|
"internalType": "string",
|
|
"name": "",
|
|
"type": "string"
|
|
}],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
}, {
|
|
"inputs": [],
|
|
"name": "symbol",
|
|
"outputs": [
|
|
{
|
|
"internalType": "string",
|
|
"name": "",
|
|
"type": "string"
|
|
}],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
}, {
|
|
"inputs": [],
|
|
"name": "totalSupply",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "",
|
|
"type": "uint256"
|
|
}],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
}
|
|
]
|
|
|
|
export const contract_usdt_on_eth = '0xdac17f958d2ee523a2206206994597c13d831ec7' |