fireblocks-sdk
Advanced tools
Comparing version 5.5.1 to 5.6.0
{ | ||
"name": "fireblocks-sdk", | ||
"version": "5.5.1", | ||
"version": "5.6.0", | ||
"main": "dist/src/fireblocks-sdk.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/src/fireblocks-sdk.d.ts", |
import { ApiClient } from "./api-client"; | ||
import { IAuthProvider } from "./iauth-provider"; | ||
import { AllocateFundsRequest, AssetResponse, AssetTypeResponse, CancelTransactionResponse, ConvertExchangeAssetResponse, CreateTransactionResponse, DeallocateFundsRequest, DepositAddressResponse, EstimateFeeResponse, EstimateTransactionFeeResponse, ExchangeResponse, ExternalWalletAsset, FiatAccountResponse, GasStationInfo, GenerateAddressResponse, InternalWalletAsset, MaxSpendableAmountResponse, MaxBip44IndexUsedResponse, NetworkConnectionResponse, OffExchangeEntityResponse, OperationSuccessResponse, PagedVaultAccountsRequestFilters, PagedVaultAccountsResponse, PublicKeyInfoArgs, PublicKeyInfoForVaultAccountArgs, RequestOptions, ResendWebhooksResponse, TransactionArguments, TransactionFilter, TransactionPageFilter, TransactionPageResponse, TransactionResponse, User, ValidateAddressResponse, VaultAccountResponse, VaultAssetResponse, VaultBalancesFilter, WalletContainerResponse, SetFeePayerConfiguration, FeePayerConfiguration, CreateWeb3ConnectionResponse, Session, NetworkConnectionRoutingPolicy, NetworkIdRoutingPolicy, NetworkIdResponse, TimePeriod, AuditsResponse, NFTOwnershipFilter, Token, TokenWithBalance, Web3PagedResponse, CreateWalletConnectPayload, Web3ConnectionType, GetWeb3ConnectionsPayload, PublicKeyResponse, AllocateFundsResponse, SettleOffExchangeAccountResponse, AddCollateralTransactionRequest, RemoveCollateralTransactionRequest, GetSettlementTransactionsResponse, SettlementRequest, SettlementResponse, GetNFTsFilter, PublicKeyInformation, DropTransactionResponse, TokenLink, TokenLinkPermissionEntry, IssueTokenRequest, NFTOwnershipStatus, NFTOwnedCollectionsFilter, CollectionOwnership, TravelRuleOptions, ValidateTravelRuleVaspInfo, ValidateTravelRuleResult, ValidateCreateTravelRuleTransaction, ValidateFullTravelRuleResult, TravelRuleVasp, TravelRuleVaspFilter, TravelRuleEncryptionOptions, SmartTransfersTicketResponse, SmartTransfersTicketCreatePayload, SmartTransfersTicketsResponse, SmartTransfersTicketsFilters, SmartTransfersTicketTermPayload, SmartTransfersTicketTermFundPayload, SmartTransfersTicketTermResponse, UsersGroup, PendingTokenLinkDto } from "./types"; | ||
import { AllocateFundsRequest, AssetResponse, AssetTypeResponse, CancelTransactionResponse, ConvertExchangeAssetResponse, CreateTransactionResponse, DeallocateFundsRequest, DepositAddressResponse, EstimateFeeResponse, EstimateTransactionFeeResponse, ExchangeResponse, ExternalWalletAsset, FiatAccountResponse, GasStationInfo, GenerateAddressResponse, InternalWalletAsset, MaxSpendableAmountResponse, MaxBip44IndexUsedResponse, NetworkConnectionResponse, OffExchangeEntityResponse, OperationSuccessResponse, PagedVaultAccountsRequestFilters, PagedVaultAccountsResponse, PublicKeyInfoArgs, PublicKeyInfoForVaultAccountArgs, RequestOptions, ResendWebhooksResponse, TransactionArguments, TransactionFilter, TransactionPageFilter, TransactionPageResponse, TransactionResponse, User, ValidateAddressResponse, VaultAccountResponse, VaultAssetResponse, VaultBalancesFilter, WalletContainerResponse, SetFeePayerConfiguration, FeePayerConfiguration, CreateWeb3ConnectionResponse, Session, NetworkConnectionRoutingPolicy, NetworkIdRoutingPolicy, NetworkIdResponse, TimePeriod, AuditsResponse, NFTOwnershipFilter, Token, TokenWithBalance, Web3PagedResponse, CreateWalletConnectPayload, Web3ConnectionType, GetWeb3ConnectionsPayload, PublicKeyResponse, AllocateFundsResponse, SettleOffExchangeAccountResponse, AddCollateralTransactionRequest, RemoveCollateralTransactionRequest, GetSettlementTransactionsResponse, SettlementRequest, SettlementResponse, GetNFTsFilter, PublicKeyInformation, DropTransactionResponse, TokenLink, TokenLinkPermissionEntry, IssueTokenRequest, NFTOwnershipStatus, NFTOwnedCollectionsFilter, CollectionOwnership, TravelRuleOptions, ValidateTravelRuleVaspInfo, ValidateTravelRuleResult, ValidateCreateTravelRuleTransaction, ValidateFullTravelRuleResult, TravelRuleVasp, TravelRuleVaspFilter, TravelRuleEncryptionOptions, SmartTransfersTicketResponse, SmartTransfersTicketCreatePayload, SmartTransfersTicketsResponse, SmartTransfersTicketsFilters, SmartTransfersTicketTermPayload, SmartTransfersTicketTermFundPayload, SmartTransfersTicketTermResponse, UsersGroup, ContractUploadRequest, ContractTemplateDto, PendingTokenLinkDto } from "./types"; | ||
import { AxiosProxyConfig, AxiosResponse } from "axios"; | ||
@@ -794,2 +794,7 @@ import { NcwSdk } from "./ncw-sdk"; | ||
/** | ||
* Upload a new contract. This contract would be private and only your tenant can see it | ||
* @param request | ||
*/ | ||
uploadNewContract(request: ContractUploadRequest): Promise<ContractTemplateDto>; | ||
/** | ||
* Get all tokens linked to the tenant | ||
@@ -796,0 +801,0 @@ * @param limit |
@@ -1219,2 +1219,61 @@ import { AxiosResponseHeaders } from "axios"; | ||
} | ||
export interface ContractUploadRequest { | ||
name: string; | ||
description: string; | ||
longDescription: string; | ||
bytecode: string; | ||
sourcecode: string; | ||
compilerOutputMetadata?: object; | ||
docs?: ContractDoc; | ||
abi?: AbiFunction[]; | ||
attributes?: Record<string, string>; | ||
vendorId?: string; | ||
} | ||
interface AbiFunction { | ||
name?: string; | ||
stateMutability?: string; | ||
type: "function" | "constructor" | string; | ||
inputs: Parameter[]; | ||
outputs?: Parameter[]; | ||
description?: string; | ||
returns?: Record<string, string>; | ||
} | ||
interface Parameter { | ||
name: string; | ||
description?: string; | ||
internalType: string; | ||
type: string; | ||
components?: Parameter[]; | ||
} | ||
interface ContractDoc { | ||
details?: string; | ||
events?: string; | ||
kind: "dev" | "user" | string; | ||
methods: Record<string, FunctionDoc>; | ||
version: string | number; | ||
} | ||
interface FunctionDoc { | ||
details?: string; | ||
params?: Record<string, string>; | ||
returns?: Record<string, string>; | ||
} | ||
interface VendorDto { | ||
id: string; | ||
name: string; | ||
attributes: Record<string, string>; | ||
} | ||
export interface ContractTemplateDto { | ||
isPublic: boolean; | ||
vendor?: VendorDto; | ||
id: string; | ||
name: string; | ||
description: string; | ||
bytecode: string; | ||
sourcecode?: string; | ||
owner?: string; | ||
compilerOutputMetadata?: object; | ||
abi: AbiFunction[]; | ||
docs?: ContractDoc; | ||
attributes?: Record<string, string>; | ||
} | ||
export declare enum TokenLinkPermission { | ||
@@ -1221,0 +1280,0 @@ MINT = "MINT", |
{ | ||
"name": "fireblocks-sdk", | ||
"version": "5.5.1", | ||
"version": "5.6.0", | ||
"main": "dist/src/fireblocks-sdk.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/src/fireblocks-sdk.d.ts", |
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
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
235411
4953