UNPKG

@firmachain/firma-js

Version:

The Official FirmaChain Javascript SDK written in Typescript

73 lines (72 loc) 4.39 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FirmaSDK = void 0; var FirmaBankService_1 = require("./FirmaBankService"); var FirmaFeeGrantService_1 = require("./FirmaFeeGrantService"); var FirmaStakingService_1 = require("./FirmaStakingService"); var FirmaDistributionService_1 = require("./FirmaDistributionService"); var FirmaNftService_1 = require("./FirmaNftService"); var FirmaTokenService_1 = require("./FirmaTokenService"); var FirmaContractService_1 = require("./FirmaContractService"); var FirmaIpfsService_1 = require("./FirmaIpfsService"); var FirmaWalletService_1 = require("./FirmaWalletService"); var FirmaUtil_1 = require("./FirmaUtil"); var FirmaGovService_1 = require("./FirmaGovService"); var FirmaChainService_1 = require("./FirmaChainService"); var FirmaSlashingService_1 = require("./FirmaSlashingService"); var FirmaAuthzService_1 = require("./FirmaAuthzService"); var FirmaCosmWasmCw20_1 = require("./FirmaCosmWasmCw20"); var FirmaCosmWasmService_1 = require("./FirmaCosmWasmService"); var FirmaIbcService_1 = require("./FirmaIbcService"); var FirmaMintService_1 = require("./FirmaMintService"); var FirmaCosmWasmCw721_1 = require("./FirmaCosmWasmCw721"); var FirmaCosmWasmCwBridge_1 = require("./FirmaCosmWasmCwBridge"); var FirmaCosmWasmCwMarketplace_1 = require("./FirmaCosmWasmCwMarketplace"); var FirmaSDK = /** @class */ (function () { function FirmaSDK(Config, Wallet, Bank, FeeGrant, Staking, Distribution, Gov, Nft, Token, Contract, Ipfs, BlockChain, Slashing, Authz, CosmWasm, Ibc, Mint, Cw20, Cw721, CwBridge, CwMarketplace) { if (Wallet === void 0) { Wallet = new FirmaWalletService_1.FirmaWalletService(Config); } if (Bank === void 0) { Bank = new FirmaBankService_1.FirmaBankService(Config); } if (FeeGrant === void 0) { FeeGrant = new FirmaFeeGrantService_1.FirmaFeeGrantService(Config); } if (Staking === void 0) { Staking = new FirmaStakingService_1.FirmaStakingService(Config); } if (Distribution === void 0) { Distribution = new FirmaDistributionService_1.FirmaDistributionService(Config); } if (Gov === void 0) { Gov = new FirmaGovService_1.FirmaGovService(Config); } if (Nft === void 0) { Nft = new FirmaNftService_1.NftService(Config); } if (Token === void 0) { Token = new FirmaTokenService_1.TokenService(Config); } if (Contract === void 0) { Contract = new FirmaContractService_1.ContractService(Config); } if (Ipfs === void 0) { Ipfs = new FirmaIpfsService_1.IpfsService(Config); } if (BlockChain === void 0) { BlockChain = new FirmaChainService_1.ChainService(Config); } if (Slashing === void 0) { Slashing = new FirmaSlashingService_1.SlashingService(Config); } if (Authz === void 0) { Authz = new FirmaAuthzService_1.FirmaAuthzService(Config); } if (CosmWasm === void 0) { CosmWasm = new FirmaCosmWasmService_1.FirmaCosmWasmService(Config); } if (Ibc === void 0) { Ibc = new FirmaIbcService_1.FirmaIbcService(Config); } if (Mint === void 0) { Mint = new FirmaMintService_1.FirmaMintService(Config); } if (Cw20 === void 0) { Cw20 = new FirmaCosmWasmCw20_1.FirmaCosmWasmCw20Service(Config, CosmWasm); } if (Cw721 === void 0) { Cw721 = new FirmaCosmWasmCw721_1.FirmaCosmWasmCw721Service(Config, CosmWasm); } if (CwBridge === void 0) { CwBridge = new FirmaCosmWasmCwBridge_1.FirmaCosmWasmCwBridgeService(Config, CosmWasm, Cw721); } if (CwMarketplace === void 0) { CwMarketplace = new FirmaCosmWasmCwMarketplace_1.FirmaCosmWasmCwMarketplaceService(Config, CosmWasm, Cw721, Cw20); } this.Config = Config; this.Wallet = Wallet; this.Bank = Bank; this.FeeGrant = FeeGrant; this.Staking = Staking; this.Distribution = Distribution; this.Gov = Gov; this.Nft = Nft; this.Token = Token; this.Contract = Contract; this.Ipfs = Ipfs; this.BlockChain = BlockChain; this.Slashing = Slashing; this.Authz = Authz; this.CosmWasm = CosmWasm; this.Ibc = Ibc; this.Mint = Mint; this.Cw20 = Cw20; this.Cw721 = Cw721; this.CwBridge = CwBridge; this.CwMarketplace = CwMarketplace; FirmaUtil_1.FirmaUtil.config = Config; } return FirmaSDK; }()); exports.FirmaSDK = FirmaSDK;