@bitgo-beta/statics
Advanced tools
Comparing version 10.0.1-alpha.5 to 10.0.1-alpha.6
@@ -195,2 +195,11 @@ import { BaseCoin, BaseUnit, CoinFeature, KeyCurve, UnderlyingAsset } from './base'; | ||
/** | ||
* The Trx network supports tokens | ||
* Trx tokens are identified by their smart contract address | ||
* | ||
*/ | ||
export declare class TrxCoin extends AccountCoinToken { | ||
contractAddress: string; | ||
constructor(options: Erc20ConstructorOptions); | ||
} | ||
/** | ||
* The AVAX C Chain network support tokens | ||
@@ -291,2 +300,16 @@ * AVAX C Chain Tokens are ERC20 coins | ||
/** | ||
* Factory function for nonstandard token instances. | ||
* | ||
* @param name unique identifier of the token | ||
* @param fullName Complete human-readable name of the token | ||
* @param contractAddress Contract address of this token | ||
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin` | ||
* @param prefix? Optional token prefix. Defaults to empty string | ||
* @param suffix? Optional token suffix. Defaults to token name. | ||
* @param network? Optional token network. Defaults to Ethereum main network. | ||
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `AccountCoin` | ||
* @param primaryKeyCurve The elliptic curve for this chain/token | ||
*/ | ||
export declare function nonstandardToken(name: string, fullName: string, contractAddress: string, features?: CoinFeature[], prefix?: string, suffix?: string, network?: EthereumNetwork, primaryKeyCurve?: KeyCurve): Readonly<ContractAddressDefinedToken>; | ||
/** | ||
* Factory function for erc1155 token instances. | ||
@@ -604,2 +627,31 @@ * | ||
/** | ||
* Factory function for trx token instances. | ||
* | ||
* @param name unique identifier of the token | ||
* @param fullName Complete human-readable name of the token | ||
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent) | ||
* @param contractAddress smart contract address of the token | ||
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin. | ||
* @param prefix? Optional token prefix. Defaults to empty string | ||
* @param suffix? Optional token suffix. Defaults to token name. | ||
* @param network? Optional token network. Defaults to Cardano main network. | ||
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin` | ||
* @param primaryKeyCurve The elliptic curve for this chain/token | ||
*/ | ||
export declare function trxToken(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork, primaryKeyCurve?: KeyCurve): Readonly<TrxCoin>; | ||
/** | ||
* Factory function for testnet trx token instances. | ||
* | ||
* @param name unique identifier of the token | ||
* @param fullName Complete human-readable name of the token | ||
* @param decimalPlaces Number of decimal places this token supports (divisibility exponent) | ||
* @param contractAddress smart contract address of the token | ||
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin. | ||
* @param prefix? Optional token prefix. Defaults to empty string | ||
* @param suffix? Optional token suffix. Defaults to token name. | ||
* @param network? Optional token network. Defaults to the testnet Cardano network. | ||
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES and REQUIRES_RESERVE defined in `AccountCoin` | ||
*/ | ||
export declare function ttrxToken(name: string, fullName: string, decimalPlaces: number, contractAddress: string, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string, network?: AccountNetwork): Readonly<TrxCoin>; | ||
/** | ||
* Factory function for avaxErc20 token instances. | ||
@@ -606,0 +658,0 @@ * |
@@ -78,3 +78,7 @@ import { BaseNetwork } from './networks'; | ||
*/ | ||
DEPRECATED = "deprecated" | ||
DEPRECATED = "deprecated", | ||
/** | ||
* This coin is a dummy object meant to be a placeholder for an unsupported token | ||
*/ | ||
GENERIC_TOKEN = "genericToken" | ||
} | ||
@@ -137,12 +141,28 @@ /** | ||
ACH = "ach", | ||
ADABEAR = "adabear", | ||
ADABULL = "adabull", | ||
AE = "ae", | ||
AERGO = "aergo", | ||
AERGO1 = "aergo1", | ||
AGLD = "agld", | ||
AGWD = "agwd", | ||
AION = "aion", | ||
AKRO = "akro", | ||
ALCX = "alcx", | ||
ALDRIN = "aldrin", | ||
ALEPH = "aleph", | ||
ALGOBEAR = "algobear", | ||
ALGOBULL = "algobull", | ||
ALGOHEDGE = "algohedge", | ||
ALI = "ali", | ||
ALICE = "alice", | ||
ALM = "alm", | ||
ALPHA = "alpha", | ||
ALTBEAR = "altbear", | ||
ALTBULL = "altbull", | ||
ALTHEDGE = "althedge", | ||
AMN = "amn", | ||
AMO = "amo", | ||
AMP = "amp", | ||
AMPL = "ampl", | ||
AMON = "amon", | ||
@@ -155,6 +175,11 @@ AMPX = "ampx", | ||
APPC = "appc", | ||
APT = "apt", | ||
AQT = "aqt", | ||
ARCT = "arct", | ||
ARCX = "arcx", | ||
ASD = "asd", | ||
AST = "ast", | ||
ATLAS = "atlas", | ||
ATOMBEAR = "atombear", | ||
ATOMBULL = "atombull", | ||
ATRI = "atri", | ||
@@ -164,3 +189,2 @@ AUDIO = "audio", | ||
AUST = "aust", | ||
AKRO = "akro", | ||
AXPR = "axpr", | ||
@@ -172,9 +196,15 @@ AXS = "axs", | ||
BAND = "band", | ||
BAO = "bao", | ||
BASIC = "basic", | ||
BAT = "bat", | ||
BAX = "bax", | ||
BBSAMO = "bbsamo", | ||
BBX = "bbx", | ||
BCAP = "bcap", | ||
BCC = "bcc", | ||
BCHBEAR = "bchbear", | ||
BCHBULL = "bchbull", | ||
BCHHEDGE = "bchhedge", | ||
BCIO = "bcio", | ||
BEAR = "bear", | ||
BED = "bed", | ||
@@ -187,3 +217,7 @@ BEPRO = "bepro", | ||
BIT = "bit", | ||
BLT = "blt", | ||
BNB = "bnb", | ||
BNBBEAR = "bnbbear", | ||
BNBBULL = "bnbbull", | ||
BNBHEDGE = "bnbhedge", | ||
BNK = "bnk", | ||
@@ -200,6 +234,11 @@ BNL = "bnl", | ||
BST = "bst", | ||
BSVBEAR = "bsvbear", | ||
BSVBULL = "bsvbull", | ||
BSVHEDGE = "bsvhedge", | ||
BSX = "bsx", | ||
BTMXBEAR = "btmxbear", | ||
BTRST = "btrst", | ||
BTT = "btt", | ||
BTU = "btu", | ||
BULL = "bull", | ||
BURP = "burp", | ||
@@ -209,2 +248,3 @@ BUSD = "busd", | ||
BPT = "bpt", | ||
BVOL = "bvol", | ||
BXX = "bxx", | ||
@@ -214,8 +254,11 @@ BXXV1 = "bxxv1", | ||
C8P = "c8p", | ||
C98 = "c98", | ||
CACXT = "cacxt", | ||
CADX = "cadx", | ||
CAG = "cag", | ||
CASH = "cash", | ||
CBAT = "cbat", | ||
CBC = "cbc", | ||
CBRL = "cbrl", | ||
CCAI = "ccai", | ||
CCT = "cct", | ||
@@ -230,2 +273,3 @@ CDAG = "cdag", | ||
CHFX = "chfx", | ||
CHR = "chr", | ||
CHSB = "chsb", | ||
@@ -238,5 +282,8 @@ CHZ = "chz", | ||
CLV = "clv", | ||
CMFI = "cmfi", | ||
CNG = "cng", | ||
CNYX = "cnyx", | ||
COMP = "comp", | ||
CONV = "conv", | ||
COPE = "cope", | ||
COTI = "coti", | ||
@@ -258,2 +305,3 @@ COVER = "cover", | ||
CSLV = "cslv", | ||
CSOL = "csol", | ||
CSP = "csp", | ||
@@ -263,2 +311,3 @@ CTSI = "ctsi", | ||
CUSDC = "cusdc", | ||
CWAR = "cwar", | ||
CWBTC = "cwbtc", | ||
@@ -274,2 +323,3 @@ CVC = "cvc", | ||
DATAECON = "dataecon", | ||
DAWN = "dawn", | ||
DEC = "dec", | ||
@@ -281,2 +331,3 @@ DENT = "dent", | ||
DFI = "dfi", | ||
DFL = "dfl", | ||
DGCL = "dgcl", | ||
@@ -287,6 +338,12 @@ DGD = "dgd", | ||
DIA = "dia", | ||
DING = "ding", | ||
DMG = "dmg", | ||
DMT = "dmt", | ||
DODO = "dodo", | ||
DOGE = "doge", | ||
DOGEBEAR = "dogebear", | ||
DOGEBULL = "dogebull", | ||
DPI = "dpi", | ||
DRGNBEAR = "drgnbear", | ||
DRGNBULL = "drgnbull", | ||
DRPU = "drpu", | ||
@@ -304,3 +361,5 @@ DRV = "drv", | ||
ECHT = "echt", | ||
EDEN = "eden", | ||
EDISON = "edison", | ||
EMB = "emb", | ||
EDN = "edn", | ||
@@ -313,2 +372,3 @@ EDR = "edr", | ||
ELF = "elf", | ||
ELU = "elu", | ||
EMX = "emx", | ||
@@ -318,6 +378,15 @@ ENG = "eng", | ||
ENS = "ens", | ||
EOSBEAR = "eosbear", | ||
EOSBULL = "eosbull", | ||
EOSHEDGE = "eoshedge", | ||
EQO = "eqo", | ||
ETA = "eta", | ||
ETHBULL = "ethbull", | ||
ETCBEAR = "etcbear", | ||
ETCBULL = "etcbull", | ||
ETHBEAR = "ethbear", | ||
ETHHEDGE = "ethhedge", | ||
ETHOS = "ethos", | ||
ETV = "etv", | ||
EUL = "eul", | ||
EURS = "eurs", | ||
@@ -331,2 +400,3 @@ EURST = "eurst", | ||
EXE = "exe", | ||
FANT = "fant", | ||
FEI = "fei", | ||
@@ -338,2 +408,3 @@ FET = "fet", | ||
FFT = "fft", | ||
FIDA = "fida", | ||
FIRE = "fire", | ||
@@ -360,2 +431,3 @@ FIXED = "fixed", | ||
GEN = "gen", | ||
GENE = "gene", | ||
GFI = "gfi", | ||
@@ -370,2 +442,3 @@ GHUB = "ghub", | ||
GODS = "gods", | ||
GOHM = "gohm", | ||
GOG = "gog", | ||
@@ -375,2 +448,4 @@ GOLD = "gold", | ||
GRT = "grt", | ||
GST = "gst", | ||
GT = "gt", | ||
GTAAVE18DP = "gtaave18dp", | ||
@@ -395,5 +470,8 @@ GTBAT18DP = "gtbat18dp", | ||
GYEN = "gyen", | ||
HBB = "hbb", | ||
HCN = "hcn", | ||
HDO = "hdo", | ||
HEDG = "hedg", | ||
HEDGE = "hedge", | ||
HGET = "hget", | ||
HKDX = "hkdx", | ||
@@ -403,2 +481,3 @@ HLC = "hlc", | ||
HOLD = "hold", | ||
HOLY = "holy", | ||
HOT = "hot", | ||
@@ -408,2 +487,3 @@ HQT = "hqt", | ||
HT = "ht", | ||
HTBULL = "htbull", | ||
HUM = "hum", | ||
@@ -415,2 +495,3 @@ HUSD = "husd", | ||
I8 = "i8", | ||
IBVOL = "ibvol", | ||
ICETH = "iceth", | ||
@@ -425,2 +506,3 @@ IDEX = "idex", | ||
INDEX = "index", | ||
INDI = "indi", | ||
INF = "inf", | ||
@@ -431,2 +513,3 @@ INJ = "inj", | ||
INX = "inx", | ||
IP3 = "ip3", | ||
ISF = "isf", | ||
@@ -439,4 +522,6 @@ ISR = "isr", | ||
JCG = "jcg", | ||
JET = "jet", | ||
JFIN = "jfin", | ||
JPYX = "jpyx", | ||
JSOL = "jsol", | ||
KEEP = "keep", | ||
@@ -446,2 +531,3 @@ KEY = "key", | ||
KIRO = "kiro", | ||
KITTY = "kitty", | ||
KNC = "knc", | ||
@@ -452,2 +538,3 @@ KNC2 = "knc2", | ||
KP3R = "kp3r", | ||
KTRC = "ktrc", | ||
KZE = "kze", | ||
@@ -460,3 +547,7 @@ LAYER = "layer", | ||
LGO = "lgo", | ||
LIKE = "like", | ||
LINA = "lina", | ||
LINK = "link", | ||
LINKBEAR = "linkbear", | ||
LINKBULL = "linkbull", | ||
LION = "lion", | ||
@@ -467,9 +558,21 @@ LNC = "lnc", | ||
LOOM1 = "loom1", | ||
LOWB = "lowb", | ||
LQID = "lqid", | ||
LRC = "lrc", | ||
LRCV2 = "lrcv2", | ||
LTCBEAR = "ltcbear", | ||
LTCBULL = "ltcbull", | ||
LUA = "lua", | ||
LUNA = "luna", | ||
LYN = "lyn", | ||
MANA = "mana", | ||
MAPS = "maps", | ||
MASK = "mask", | ||
MATH = "math", | ||
MATIC = "matic", | ||
MATICBEAR = "maticbear", | ||
MATICBULL = "maticbull", | ||
MBS = "mbs", | ||
MCAU = "mcau", | ||
MCB = "mcb", | ||
MCDAI = "mcdai", | ||
@@ -482,4 +585,7 @@ MCO = "mco", | ||
MDX = "mdx", | ||
MEAN = "mean", | ||
MEDIA = "media", | ||
MEDX = "medx", | ||
MEME = "meme", | ||
MER = "mer", | ||
MET = "met", | ||
@@ -490,2 +596,3 @@ META = "meta", | ||
MFT = "mft", | ||
MIDBULL = "midbull", | ||
MILKV2 = "milkv2", | ||
@@ -501,4 +608,8 @@ MIR = "mir", | ||
MOF = "mof", | ||
MNGO = "mngo", | ||
MPAY = "mpay", | ||
MPL = "mpl", | ||
MPLX = "mplx", | ||
MSOL = "msol", | ||
MTA = "mta", | ||
MTCN = "mtcn", | ||
@@ -519,2 +630,3 @@ MTL = "mtl", | ||
NMR = "nmr", | ||
NOVA = "nova", | ||
NPXS = "npxs", | ||
@@ -530,2 +642,3 @@ NS2DRP = "ns2drp", | ||
OKB = "okb", | ||
OKBBULL = "okbbull", | ||
OMG = "omg", | ||
@@ -541,5 +654,3 @@ ONL = "onl", | ||
OHM = "ohm", | ||
SD = "sd", | ||
SOHM = "sohm", | ||
GOHM = "gohm", | ||
PAI = "pai", | ||
PAR = "par", | ||
@@ -555,2 +666,3 @@ PASS = "pass", | ||
PEG = "peg", | ||
PEOPLE = "people", | ||
PERP = "perp", | ||
@@ -566,3 +678,5 @@ PETH = "peth", | ||
PMA = "pma", | ||
POLIS = "polis", | ||
POLY = "poly", | ||
PORT = "port", | ||
POWR = "powr", | ||
@@ -572,5 +686,11 @@ PPT = "ppt", | ||
PRINTS = "prints", | ||
PRISM = "prism", | ||
PRO = "pro", | ||
PROM = "prom", | ||
PRT = "prt", | ||
PRTS = "prts", | ||
PSOL = "psol", | ||
PSTAKE = "pstake", | ||
PSY = "psy", | ||
PTU = "ptu", | ||
PUNDIX = "pundix", | ||
@@ -591,6 +711,10 @@ PUSD = "pusd", | ||
RAD = "rad", | ||
RCOIN = "rcoin", | ||
RAMP = "ramp", | ||
RARE = "rare", | ||
RARI = "rari", | ||
RAY = "ray", | ||
RCOIN = "rcoin", | ||
REAL = "real", | ||
RENDOGE = "rendoge", | ||
RBX = "rbx", | ||
RBY = "rby", | ||
@@ -601,2 +725,3 @@ RDN = "rdn", | ||
REEF = "reef", | ||
REN = "ren", | ||
REP = "rep", | ||
@@ -621,5 +746,13 @@ REPV2 = "repv2", | ||
RUEDATK = "ruedatk", | ||
RUN = "run", | ||
SALT = "salt", | ||
SAND = "sand", | ||
SASHIMI = "sashimi", | ||
SAMO = "samo", | ||
SBR = "sbr", | ||
SBRIOU = "sbriou", | ||
SCNSOL = "scnsol", | ||
SCOPE = "scope", | ||
SD = "sd", | ||
SECO = "seco", | ||
SETH2 = "seth2", | ||
@@ -629,2 +762,3 @@ SGA = "sga", | ||
SGR = "sgr", | ||
SHDW = "shdw", | ||
SHK = "shk", | ||
@@ -640,5 +774,8 @@ SHOPX = "shopx", | ||
SLAB = "slab", | ||
SLC = "slc", | ||
SLCL = "slcl", | ||
SLND = "slnd", | ||
SLOT = "slot", | ||
SLP = "slp", | ||
SLRS = "slrs", | ||
SLVX = "slvx", | ||
@@ -649,3 +786,6 @@ SNC = "snc", | ||
SNX = "snx", | ||
SNY = "sny", | ||
SOC = "soc", | ||
SOHM = "sohm", | ||
SOS = "sos", | ||
SPELL = "spell", | ||
@@ -656,2 +796,3 @@ SPO = "spo", | ||
SRM = "srm", | ||
STARS = "stars", | ||
STBU = "stbu", | ||
@@ -661,2 +802,4 @@ STC = "stc", | ||
'SETH-H' = "seth-h", | ||
STEP = "step", | ||
STG = "stg", | ||
STKAAVE = "stkaave", | ||
@@ -667,7 +810,12 @@ STORE = "store", | ||
STORM = "storm", | ||
STSOL = "stsol", | ||
STZEN = "stzen", | ||
SUPER = "super", | ||
SUNNY = "sunny", | ||
SUSD = "susd", | ||
SUSHI = "sushi", | ||
SQUIG = "squig", | ||
SVT = "svt", | ||
SXP = "sxp", | ||
SYN = "syn", | ||
THRESHOLD = "threshold", | ||
@@ -715,8 +863,14 @@ TAUD = "taud", | ||
TIOX = "tiox", | ||
TKMK = "tkmk", | ||
TKNT = "tknt", | ||
TKX = "tkx", | ||
TLAB = "tlab", | ||
TLM = "tlm", | ||
TMATIC = "tmatic", | ||
TNT = "tnt", | ||
TOMOBEAR = "tomobear", | ||
TOMOBULL = "tomobull", | ||
TOMOE = "tomoe", | ||
TOK = "tok", | ||
TONCOIN = "toncoin", | ||
TRAC = "trac", | ||
@@ -728,8 +882,16 @@ TRAXX = "traxx", | ||
TRU = "tru", | ||
TRXBEAR = "trxbear", | ||
TRXBULL = "trxbull", | ||
TRXHEDGE = "trxhedge", | ||
TRYB = "tryb", | ||
TRYB2 = "tryb2", | ||
TRYX = "tryx", | ||
TULIP = "tulip", | ||
TUPOLIS = "tupolis", | ||
TUSD = "tusd", | ||
TUSRM = "tusrm", | ||
TWDOGE = "twdoge", | ||
TXL = "txl", | ||
UAIR = "uair", | ||
UBXT = "ubxt", | ||
UCO = "uco", | ||
@@ -749,2 +911,3 @@ UKG = "ukg", | ||
USDC = "usdc", | ||
USDH = "usdh", | ||
USDT = "usdt", | ||
@@ -758,5 +921,8 @@ USDX = "usdx", | ||
UTK1 = "utk1", | ||
UXB = "uxb", | ||
UXP = "uxp", | ||
VALOR = "valor", | ||
VDX = "vdx", | ||
VEGA = "vega", | ||
VGX = "vgx", | ||
VISR = "visr", | ||
@@ -766,8 +932,13 @@ VRGX = "vrgx", | ||
VSP = "vsp", | ||
WAAVE = "waave", | ||
WAFL = "wafl", | ||
WAVAX = "wavax", | ||
WAVES = "waves", | ||
WAX = "wax", | ||
WABI = "wabi", | ||
WBNB = "wbnb", | ||
WOO = "woo", | ||
WTK = "wtk", | ||
WBTC = "wbtc", | ||
WDAIV2 = "wdaiv2", | ||
WDOGE = "wdoge", | ||
@@ -778,2 +949,3 @@ WCFG = "wcfg", | ||
WETH = "weth", | ||
WFLOW = "wflow", | ||
WHALE = "whale", | ||
@@ -788,2 +960,4 @@ WHT = "wht", | ||
WTC = "wtc", | ||
WUSDCV2 = "wusdvcv2", | ||
WUSDTV2 = "wusdtv2", | ||
WXRP = "wxrp", | ||
@@ -793,9 +967,21 @@ WXRPV0 = "wxrpv0", | ||
XAUD = "xaud", | ||
XAURY = "xaury", | ||
XAUT = "xaut", | ||
XAUTBEAR = "xautbear", | ||
XAUTBULL = "xautbull", | ||
XBGOLD = "xbgold", | ||
XCD = "xcd", | ||
XEX = "xex", | ||
XLMBEAR = "xlmbear", | ||
XLMBULL = "xlmbull", | ||
XRL = "xrl", | ||
XRPBEAR = "xrpbear", | ||
XRPBULL = "xrpbull", | ||
XRPHEDGE = "xrphedge", | ||
XSGD = "xsgd", | ||
XSUSHI = "xsushi", | ||
XTP = "xtp", | ||
XTZBEAR = "xtzbear", | ||
XTZBULL = "xtzbull", | ||
XUSD = "xusd", | ||
YFDAI = "yfdai", | ||
@@ -809,3 +995,6 @@ YFI = "yfi", | ||
ZARX = "zarx", | ||
ZBC = "zbc", | ||
ZCO = "zco", | ||
ZECBEAR = "zecbear", | ||
ZECBULL = "zecbull", | ||
ZIL = "zil", | ||
@@ -829,2 +1018,8 @@ ZIX = "zix", | ||
'xlm:AQUA-GBNZILSTVQZ4R7IKQDGHYGY2QXL5QOFJYQMXPKWRRM5PAV7Y4M67AQUA' = "xlm:AQUA-GBNZILSTVQZ4R7IKQDGHYGY2QXL5QOFJYQMXPKWRRM5PAV7Y4M67AQUA", | ||
'erc721:token' = "erc721:token", | ||
'erc1155:token' = "erc1155:token", | ||
'nonstandard:token' = "nonstandard:token", | ||
'terc721:token' = "terc721:token", | ||
'terc1155:token' = "terc1155:token", | ||
'tnonstandard:token' = "tnonstandard:token", | ||
'algo:USDC-31566704' = "algo:USDC-31566704", | ||
@@ -873,9 +1068,18 @@ 'algo:USDt-312769' = "algo:USDt-312769", | ||
'polygon:srm' = "polygon:srm", | ||
'erc721:polygontoken' = "erc721:polygontoken", | ||
'erc1155:polygontoken' = "erc1155:polygontoken", | ||
'bsc:busd' = "bsc:busd", | ||
'tbsc:busd' = "tbsc:busd", | ||
'erc721:bsctoken' = "erc721:bsctoken", | ||
'erc1155:bsctoken' = "erc1155:bsctoken", | ||
'terc721:bsctoken' = "terc721:bsctoken", | ||
'terc1155:bsctoken' = "terc1155:bsctoken", | ||
'tpolygon:derc20' = "tpolygon:derc20", | ||
'tpolygon:link' = "tpolygon:link", | ||
'tpolygon:name' = "tpolygon:name", | ||
'terc721:polygontoken' = "terc721:polygontoken", | ||
'terc1155:polygontoken' = "terc1155:polygontoken", | ||
ERC721 = "erc721", | ||
ERC1155 = "erc1155", | ||
NONSTANDARD = "nonstandard", | ||
adaTestnetToken = "temporary-placeholder" | ||
@@ -882,0 +1086,0 @@ } |
@@ -18,2 +18,3 @@ export interface BaseTokenConfig { | ||
export declare type Erc20TokenConfig = BaseContractAddressConfig; | ||
export declare type TrxTokenConfig = BaseContractAddressConfig; | ||
export declare type StellarTokenConfig = BaseNetworkConfig; | ||
@@ -73,2 +74,5 @@ export declare type SolTokenConfig = BaseNetworkConfig & { | ||
}; | ||
trx: { | ||
tokens: TrxTokenConfig[]; | ||
}; | ||
}; | ||
@@ -112,2 +116,5 @@ testnet: { | ||
}; | ||
trx: { | ||
tokens: TrxTokenConfig[]; | ||
}; | ||
}; | ||
@@ -114,0 +121,0 @@ } |
@@ -191,2 +191,15 @@ "use strict"; | ||
}, []); | ||
const formattedTrxTokens = coins_1.coins.reduce((acc, coin) => { | ||
if (coin instanceof account_1.TrxCoin) { | ||
acc.push({ | ||
type: coin.name, | ||
coin: coin.network.type === networks_1.NetworkType.MAINNET ? 'trx' : 'ttrx', | ||
network: coin.network.type === networks_1.NetworkType.MAINNET ? 'Mainnet' : 'Testnet', | ||
name: coin.fullName, | ||
tokenContractAddress: coin.contractAddress.toString().toLowerCase(), | ||
decimalPlaces: coin.decimalPlaces, | ||
}); | ||
} | ||
return acc; | ||
}, []); | ||
exports.tokens = { | ||
@@ -231,2 +244,5 @@ // network name for production environments | ||
}, | ||
trx: { | ||
tokens: formattedTrxTokens.filter((token) => token.network === 'Mainnet'), | ||
}, | ||
}, | ||
@@ -271,2 +287,5 @@ // network name for test environments | ||
}, | ||
trx: { | ||
tokens: formattedTrxTokens.filter((token) => token.network === 'Testnet'), | ||
}, | ||
}, | ||
@@ -299,2 +318,2 @@ }; | ||
exports.testnetTokens = { ...testnetErc20Tokens, ...testnetStellarTokens }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWx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2luOiB7XG4gICAgZXRoOiB7XG4gICAgICB0b2tlbnM6IEVyYzIwVG9rZW5Db25maWdbXTtcbiAgICB9O1xuICAgIHhsbToge1xuICAgICAgdG9rZW5zOiBTdGVsbGFyVG9rZW5Db25maWdbXTtcbiAgICB9O1xuICAgIGFsZ286IHtcbiAgICAgIHRva2VuczogQWxnb1Rva2VuQ29uZmlnW107XG4gICAgfTtcbiAgICBvZmM6IHtcbiAgICAgIHRva2VuczogT2ZjVG9rZW5Db25maWdbXTtcbiAgICB9O1xuICAgIGNlbG86IHtcbiAgICAgIHRva2VuczogQ2Vsb1Rva2VuQ29uZmlnW107XG4gICAgfTtcbiAgICBlb3M6IHtcbiAgICAgIHRva2VuczogRW9zVG9rZW5Db25maWdbXTtcbiAgICB9O1xuICAgIGF2YXhjOiB7XG4gICAgICB0b2tlbnM6IEF2YXhjVG9rZW5Db25maWdbXTtcbiAgICB9O1xuICAgIHBvbHlnb246IHtcbiAgICAgIHRva2VuczogRXRoTGlrZVRva2VuQ29uZmlnW107XG4gICAgfTtcbiAgICBic2M6IHtcbiAgICAgIHRva2VuczogRXRoTGlrZVRva2VuQ29uZmlnW107XG4gICAgfTtcbiAgICBzb2w6IHtcbiAgICAgIHRva2VuczogU29sVG9rZW5Db25maWdbXTtcbiAgICB9O1xuICAgIGhiYXI6IHtcbiAgICAgIHRva2VuczogSGJhclRva2VuQ29uZmlnW107XG4gICAgfTtcbiAgICBhZGE6IHtcbiAgICAgIHRva2VuczogQWRhVG9rZW5Db25maWdbXTtcbiAgICB9O1xuICB9O1xuICB0ZXN0bmV0OiB7XG4gICAgZXRoOiB7XG4gICAgICB0b2tlbnM6IEVyYzIwVG9rZW5Db25maWdbXTtcbiAgICB9O1xuICAgIHhsbToge1xuICAgICAgdG9rZW5zOiBTdGVsbGFyVG9rZW5Db25maWdbXTtcbiAgICB9O1xuICAgIGFsZ286IHtcbiAgICAgIHRva2VuczogQWxnb1Rva2VuQ29uZmlnW107XG4gICAgfTtcbiAgIC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IEVyYzIwVG9rZW5Db25maWdbXTtcbiAgICB9O1xuICAgIHhsbToge1xuICAgICAgdG9rZW5zOiBTdGVsbGFyVG9rZW5Db25maWdbXTtcbiAgICB9O1xuICAgIGFsZ286IHtcbiAgICAgIHRva2VuczogQWxnb1Rva2VuQ29uZmlnW107XG4gICAgfTtcbiAgICBvZmM6IHtcbiAgICAgIHRva2VuczogT2ZjVG9rZW5Db25maWdbXTtcbiAgICB9O1xuICAgIGNlbG86IHtcbiAgICAgIHRva2VuczogQ2Vsb1Rva2VuQ29uZmlnW107XG4gICAgfTtcbiAgICBlb3M6IHtcbiAgICAgIHRva2VuczogRW9zVG9rZW5Db25maWdbXTtcbiAgICB9O1xuICAgIGF2YXhjOiB7XG4gICAgICB0b2tlbnM6IEF2YXhjVG9rZW5Db25maWdbXTtcbiAgICB9O1xuICAgIHBvbHlnb246IHtcbiAgICAgIHRva2VuczogRXRoTGlrZVRva2VuQ29uZmlnW107XG4gICAgfTtcbiAgICBic2M6IHtcbiAgICAgIHRva2VuczogRXRoTGlrZVRva2VuQ29uZmlnW107XG4gICAgfTtcbiAgICBzb2w6IHtcbiAgICAgIHRva2VuczogU29sVG9rZW5Db25maWdbXTtcbiAgICB9O1xuICAgIGhiYXI6IHtcbiAgICAgIHRva2VuczogSGJhclRva2VuQ29uZmlnW107XG4gICAgfTtcbiAgICBhZGE6IHtcbiAgICAgIHRva2VuczogQWRhVG9rZW5Db25maWdbXTtcbiAgICB9O1xuICAgIHRyeDoge1xuICAgICAgdG9rZW5zOiBUcnhUb2tlbkNvbmZpZ1tdO1xuICAgIH07XG4gIH07XG4gIHRlc3RuZXQ6IHtcbiAgICBldGg6IHtcbiAgICAgIHRva2VuczogRXJjMjBUb2tlbkNvbmZpZ1tdO1xuICAgIH07XG4gICAgeGxtOiB7XG4gICAgICB0b2tlbnM6IFN0ZWxsYXJUb2tlbkNvbmZpZ1tdO1xuICAgIH07XG4gICAgYWxnbzoge1xuICAgICAgdG9rZW5zOiBBbGd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cihcbiAgICAgICAgJ3Rva2VuIGNvbnRyYWN0OiAnICsgdG9rZW4udHlwZSArICcgaXMgbm90IGFsbCBsb3dlciBjYXNlOiAnICsgKHRva2VuIGFzIEJhc2VDb250cmFjdEFkZHJlc3NDb25maWcpXG4gICAgICApO1xuICAgIH1cbiAgfSk7XG5cbiAgcmV0dXJuIHZlcmlmaWVkVG9rZW5zO1xufTtcblxuY29uc3QgbWFpbm5ldEVyYzIwVG9rZW5zID0gdmVyaWZ5VG9rZW5zKHRva2Vucy5iaXRjb2luLmV0aC50b2tlbnMpO1xuY29uc3QgbWFpbm5ldFN0ZWxsYXJUb2tlbnMgPSB2ZXJpZnlUb2tlbnModG9rZW5zLmJpdGNvaW4ueGxtLnRva2Vucyk7XG5leHBvcnQgY29uc3QgbWFpbm5ldFRva2VucyA9IHsgLi4ubWFpbm5ldEVyYzIwVG9rZW5zLCAuLi5tYWlubmV0U3RlbGxhclRva2VucyB9O1xuXG5jb25zdCB0ZXN0bmV0RXJjMjBUb2tlbnMgPSB2ZXJpZnlUb2tlbnModG9rZW5zLnRlc3RuZXQuZXRoLnRva2Vucyk7XG5jb25zdCB0ZXN0bmV0U3RlbGxhclRva2VucyA9IHZlcmlmeVRva2Vucyh0b2tlbnMudGVzdG5ldC54bG0udG9rZW5zKTtcbmV4cG9ydCBjb25zdCB0ZXN0bmV0VG9rZW5zID0geyAuLi50ZXN0bmV0RXJjMjBUb2tlbnMsIC4uLnRlc3RuZXRTdGVsbGFyVG9rZW5zIH07XG4iXX0= |
{ | ||
"name": "@bitgo-beta/statics", | ||
"version": "10.0.1-alpha.5", | ||
"version": "10.0.1-alpha.6", | ||
"description": "dependency-free static configuration for the bitgo platform", | ||
@@ -40,3 +40,3 @@ "main": "./dist/src/index.js", | ||
}, | ||
"gitHead": "a86280d9bb6c832d5de2435bed48dfedb52d37cd" | ||
"gitHead": "4df27e639602ec913e29d3517428f4e7d74732c2" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6196569
21433