New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dfin-jsdk

Package Overview
Dependencies
Maintainers
1
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dfin-jsdk

[JSDK](README.md)

  • 0.0.5
  • npm
  • Socket score

Version published
Weekly downloads
27
decreased by-65.38%
Maintainers
1
Weekly downloads
 
Created
Source

JSDK

JSDK

Index

Classes

Interfaces

Type aliases

Variables

Functions

Type aliases

Address

Ƭ Address: string

Defined in cosmos/definitions/Address.ts:41

Defined in dfinance/definitions/Address.ts:126


AuthStdTx

Ƭ AuthStdTx: TypesStdTx

Defined in dfinance/definitions/AuthStdTx.ts:126


CcstorageCurrencies

Ƭ CcstorageCurrencies: TypesCurrencies

Defined in dfinance/definitions/CcstorageCurrencies.ts:126


CcstorageCurrency

Ƭ CcstorageCurrency: TypesCurrency

Defined in dfinance/definitions/CcstorageCurrency.ts:126


CryptoPubKey

Ƭ CryptoPubKey: object

Defined in dfinance/definitions/CryptoPubKey.ts:126


Hash

Ƭ Hash: string

Defined in cosmos/definitions/Hash.ts:41

Defined in dfinance/definitions/Hash.ts:126


IRequestConfiguration

Ƭ IRequestConfiguration: Partial‹Request› & object

Defined in cosmos/rests/axios.ts:7

Defined in cosmos/rests/fetch.ts:6

Defined in dfinance/rests/axios.ts:7

Defined in dfinance/rests/fetch.ts:6


MarketsMarketExtended

Ƭ MarketsMarketExtended: TypesMarketExtended

Defined in dfinance/definitions/MarketsMarketExtended.ts:126


Msg

Ƭ Msg: string

Defined in cosmos/definitions/Msg.ts:41

Defined in dfinance/definitions/Msg.ts:126


MsmoduleMsMsg

Ƭ MsmoduleMsMsg: object

Defined in dfinance/definitions/MsmoduleMsMsg.ts:126


TypesAccAddress

Ƭ TypesAccAddress: number[]

Defined in dfinance/definitions/TypesAccAddress.ts:126


TypesAddress

Ƭ TypesAddress: object

Defined in dfinance/definitions/TypesAddress.ts:126


TypesAssets

Ƭ TypesAssets: TypesAsset[]

Defined in dfinance/definitions/TypesAssets.ts:126


TypesCallsResp

Ƭ TypesCallsResp: TypesCallResp[]

Defined in dfinance/definitions/TypesCallsResp.ts:126


TypesCoins

Ƭ TypesCoins: TypesCoin[]

Defined in dfinance/definitions/TypesCoins.ts:126


TypesCurrencies

Ƭ TypesCurrencies: TypesCurrency[]

Defined in dfinance/definitions/TypesCurrencies.ts:126


TypesDec

Ƭ TypesDec: object

Defined in dfinance/definitions/TypesDec.ts:126


TypesDecCoins

Ƭ TypesDecCoins: TypesDecCoin[]

Defined in dfinance/definitions/TypesDecCoins.ts:126


TypesId

Ƭ TypesId: any

Defined in dfinance/definitions/TypesId.ts:126


TypesInt

Ƭ TypesInt: object

Defined in dfinance/definitions/TypesInt.ts:126


TypesMarkets

Ƭ TypesMarkets: TypesMarket[]

Defined in dfinance/definitions/TypesMarkets.ts:126


TypesMsg

Ƭ TypesMsg: object

Defined in dfinance/definitions/TypesMsg.ts:126


TypesOracles

Ƭ TypesOracles: TypesOracle[]

Defined in dfinance/definitions/TypesOracles.ts:126


TypesOrders

Ƭ TypesOrders: TypesOrder[]

Defined in dfinance/definitions/TypesOrders.ts:126


TypesUint

Ƭ TypesUint: object

Defined in dfinance/definitions/TypesUint.ts:126


TypesValidators

Ƭ TypesValidators: TypesValidator[]

Defined in dfinance/definitions/TypesValidators.ts:126


TypesVmStatuses

Ƭ TypesVmStatuses: TypesVmStatus[]

Defined in dfinance/definitions/TypesVmStatuses.ts:126


TypesWithdraws

Ƭ TypesWithdraws: TypesWithdraw[]

Defined in dfinance/definitions/TypesWithdraws.ts:126


ValidatorAddress

Ƭ ValidatorAddress: string

Defined in cosmos/definitions/ValidatorAddress.ts:41

Defined in dfinance/definitions/ValidatorAddress.ts:126

Variables

Const baseURL

baseURL: string = ${process.env.VUE_APP_CHAIN_API_URL}

Defined in cosmos/rests/axios.ts:11

Defined in cosmos/rests/fetch.ts:10

Defined in dfinance/rests/axios.ts:11

Defined in dfinance/rests/fetch.ts:10


Let id

id: number = 0

Defined in cosmos/rests/axios.ts:13

Defined in cosmos/rests/fetch.ts:12

Defined in dfinance/rests/axios.ts:13

Defined in dfinance/rests/fetch.ts:12


Const logging

logging: Logger = log.noConflict()

Defined in cosmos/utils/Log.ts:6

Defined in dfinance/utils/Log.ts:6


Const timers

timers: object

Defined in cosmos/utils/Timer.ts:10

Defined in dfinance/utils/Timer.ts:10

Type declaration:

Functions

createDelegationTransaction

createDelegationTransaction(__namedParameters: object, data: any): any

Defined in extra/transactions/createDelegationTransaction.ts:1

Parameters:

__namedParameters: object

NameType
accountany
feeany
gasany
walletany

data: any

Returns: any


createDestroyTransaction

createDestroyTransaction(__namedParameters: object, data: any): any

Defined in extra/transactions/createDestroyTransaction.ts:1

Parameters:

__namedParameters: object

NameType
accountany
feeany
gasany
walletany

data: any

Returns: any


createSendMoneyTransaction

createSendMoneyTransaction(__namedParameters: object, data: any): any

Defined in extra/transactions/createSendMoneyTransaction.ts:1

Parameters:

__namedParameters: object

NameType
accountany
feeany
gasany
walletany

data: any

Returns: any


Const decimal

decimal(value: Decimal.Value): Decimal

Defined in extra/DB.ts:7

Parameters:

NameType
valueDecimal.Value

Returns: Decimal


getConfigurations

getConfigurations(method: Method, contentType: string, url: string, configurations?: IRequestConfiguration): IRequestConfiguration

Defined in cosmos/rests/axios.ts:48

Parameters:

NameType
methodMethod
contentTypestring
urlstring
configurations?IRequestConfiguration

Returns: IRequestConfiguration


Const request

request(configuration: IRequestConfiguration, resolve: function, reject: function): Promise‹any›

Defined in cosmos/rests/axios.ts:15

Parameters:

configuration: IRequestConfiguration

resolve: function

▸ (p: any): void

Parameters:

NameType
pany

reject: function

▸ (p: any): void

Parameters:

NameType
pany

Returns: Promise‹any›


sendDelegation

sendDelegation(wallet: any, __namedParameters: object): Promise‹any›

Defined in extra/transactions/sendDelegation.ts:23

Parameters:

wallet: any

__namedParameters: object

NameType
amountany
feeany
gasany
validatorAddressany

Returns: Promise‹any›


sendDestroy

sendDestroy(wallet: any, __namedParameters: object): Promise‹any›

Defined in extra/transactions/sendDestroy.ts:23

Parameters:

wallet: any

__namedParameters: object

NameType
amountany
currencyany
feeany
gasany
toAddressany

Returns: Promise‹any›


sendMoney

sendMoney(wallet: any, __namedParameters: object): Promise‹any›

Defined in extra/transactions/sendMoney.ts:23

Parameters:

wallet: any

__namedParameters: object

NameType
amountany
currencyany
feeany
gasany
toAddressany

Returns: Promise‹any›


sendUnbondingDelegation

sendUnbondingDelegation(wallet: any, __namedParameters: object): Promise‹any›

Defined in extra/transactions/sendUnbondingDelegation.ts:23

Parameters:

wallet: any

__namedParameters: object

NameType
amountany
feeany
gasany
validatorAddressany

Returns: Promise‹any›


sendWithdrawReward

sendWithdrawReward(wallet: any, __namedParameters: object): Promise‹any›

Defined in extra/transactions/sendWithdrawReward.ts:23

Parameters:

wallet: any

__namedParameters: object

NameType
feeany
gasany
validatorAddressany

Returns: Promise‹any›


sign

sign(bytes: BinaryLike, privateKey: Uint8Array): Uint8Array

Defined in extra/transactions/sendDelegation.ts:11

Parameters:

NameType
bytesBinaryLike
privateKeyUint8Array

Returns: Uint8Array


signJson

signJson(json: any, privateKey: Uint8Array): Uint8Array

Defined in extra/transactions/sendDelegation.ts:17

Parameters:

NameType
jsonany
privateKeyUint8Array

Returns: Uint8Array

FAQs

Package last updated on 05 Aug 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc