UNPKG

@akashicpay/sdk

Version:

SDK to interact with the Akashic ecosystem

68 lines 2.81 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TransactionType = exports.TransactionResult = exports.TransactionStatus = exports.TransactionLayer = exports.Currency = exports.TokenSymbol = exports.TestNets = exports.MainNets = exports.NetworkSymbol = exports.EthereumSymbol = exports.TronSymbol = void 0; var TronSymbol; (function (TronSymbol) { TronSymbol["Tron"] = "TRX"; TronSymbol["Tron_Shasta"] = "TRX-SHASTA"; })(TronSymbol || (exports.TronSymbol = TronSymbol = {})); var EthereumSymbol; (function (EthereumSymbol) { EthereumSymbol["Ethereum_Mainnet"] = "ETH"; EthereumSymbol["Ethereum_Sepolia"] = "SEP"; })(EthereumSymbol || (exports.EthereumSymbol = EthereumSymbol = {})); exports.NetworkSymbol = Object.assign(Object.assign({}, TronSymbol), EthereumSymbol); exports.MainNets = [exports.NetworkSymbol.Tron, exports.NetworkSymbol.Ethereum_Mainnet]; exports.TestNets = [ exports.NetworkSymbol.Tron_Shasta, exports.NetworkSymbol.Ethereum_Sepolia, ]; var TokenSymbol; (function (TokenSymbol) { TokenSymbol["USDT"] = "USDT"; TokenSymbol["TETHER"] = "Tether"; })(TokenSymbol || (exports.TokenSymbol = TokenSymbol = {})); var Currency; (function (Currency) { Currency["USDT"] = "USDT"; Currency["TRX"] = "TRX"; Currency["ETH"] = "ETH"; Currency["CHF"] = "CHF"; Currency["CNY"] = "CNY"; Currency["EUR"] = "EUR"; Currency["HKD"] = "HKD"; Currency["IDR"] = "IDR"; Currency["INR"] = "INR"; Currency["JPY"] = "JPY"; Currency["KHR"] = "KHR"; Currency["KRW"] = "KRW"; Currency["MYR"] = "MYR"; Currency["PHP"] = "PHP"; Currency["SGD"] = "SGD"; Currency["THB"] = "THB"; Currency["TWD"] = "TWD"; Currency["USD"] = "USD"; Currency["VND"] = "VND"; })(Currency || (exports.Currency = Currency = {})); var TransactionLayer; (function (TransactionLayer) { TransactionLayer["L1"] = "L1Transaction"; TransactionLayer["L2"] = "L2Transaction"; })(TransactionLayer || (exports.TransactionLayer = TransactionLayer = {})); var TransactionStatus; (function (TransactionStatus) { TransactionStatus["PENDING"] = "Pending"; TransactionStatus["CONFIRMED"] = "Confirmed"; TransactionStatus["FAILED"] = "Failed"; })(TransactionStatus || (exports.TransactionStatus = TransactionStatus = {})); var TransactionResult; (function (TransactionResult) { TransactionResult["SUCCESS"] = "Success"; TransactionResult["FAILURE"] = "Failure"; })(TransactionResult || (exports.TransactionResult = TransactionResult = {})); var TransactionType; (function (TransactionType) { TransactionType["DEPOSIT"] = "Deposit"; TransactionType["WITHDRAWAL"] = "Withdrawal"; })(TransactionType || (exports.TransactionType = TransactionType = {})); //# sourceMappingURL=types.js.map