UNPKG

@akashicpay/sdk

Version:

SDK to interact with the Akashic ecosystem

46 lines 2.15 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TransactionType = exports.TransactionResult = exports.TransactionStatus = exports.TransactionLayer = 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 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