diff --git a/packages/nibijs/.gitignore b/packages/nibijs/.gitignore new file mode 100644 index 00000000..6b7698ab --- /dev/null +++ b/packages/nibijs/.gitignore @@ -0,0 +1 @@ +docs.json diff --git a/packages/nibijs/docs.json b/packages/nibijs/docs.json deleted file mode 100644 index 15fb1ecb..00000000 --- a/packages/nibijs/docs.json +++ /dev/null @@ -1,7586 +0,0 @@ -{ - "id": 0, - "name": "NibiJS Documentation - v0.8.1", - "kind": 1, - "kindString": "Project", - "flags": {}, - "originalName": "NibiJS Documentation", - "children": [ - { - "id": 353, - "name": "BECH32_PREFIX", - "kind": 8, - "kindString": "Enumeration", - "flags": {}, - "children": [ - { - "id": 354, - "name": "ADDR", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "ADDR defines the Bech32 prefix of an account address" - } - ] - }, - "sources": [ - { - "fileName": "tx/signer.ts", - "line": 14, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/signer.ts#L14" - } - ], - "type": { - "type": "literal", - "value": "nibi" - } - }, - { - "id": 355, - "name": "ADDR_VAL", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "ADDR_VAL defines the Bech32 prefix of an validator's operator address" - } - ] - }, - "sources": [ - { - "fileName": "tx/signer.ts", - "line": 16, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/signer.ts#L16" - } - ], - "type": { - "type": "literal", - "value": "nibivaloper" - } - }, - { - "id": 356, - "name": "ADDR_VALCONS", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "ADDR_VALCONS defines the Bech32 prefix of a consensus node address" - } - ] - }, - "sources": [ - { - "fileName": "tx/signer.ts", - "line": 18, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/signer.ts#L18" - } - ], - "type": { - "type": "literal", - "value": "nibivalcons" - } - }, - { - "id": 357, - "name": "PUB", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "PUB defines the Bech32 prefix of an account's public key" - } - ] - }, - "sources": [ - { - "fileName": "tx/signer.ts", - "line": 20, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/signer.ts#L20" - } - ], - "type": { - "type": "literal", - "value": "nibipub" - } - }, - { - "id": 358, - "name": "PUB_VAL", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "PUB_VAL defines the Bech32 prefix of an validator's operator public key" - } - ] - }, - "sources": [ - { - "fileName": "tx/signer.ts", - "line": 22, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/signer.ts#L22" - } - ], - "type": { - "type": "literal", - "value": "nibivaloperpub" - } - }, - { - "id": 359, - "name": "PUB_VALCONS", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "PUB_VALCONS defines the Bech32 prefix of a consensus node public key" - } - ] - }, - "sources": [ - { - "fileName": "tx/signer.ts", - "line": 24, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/signer.ts#L24" - } - ], - "type": { - "type": "literal", - "value": "nibivalconspub" - } - } - ], - "groups": [ - { - "title": "Enumeration Members", - "children": [ - 354, - 355, - 356, - 357, - 358, - 359 - ] - } - ], - "sources": [ - { - "fileName": "tx/signer.ts", - "line": 12, - "character": 12, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/signer.ts#L12" - } - ] - }, - { - "id": 360, - "name": "Signer", - "kind": 8, - "kindString": "Enumeration", - "flags": {}, - "children": [ - { - "id": 362, - "name": "Direct", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "tx/signer.ts", - "line": 73, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/signer.ts#L73" - } - ], - "type": { - "type": "literal", - "value": "direct" - } - }, - { - "id": 361, - "name": "Keplr", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "tx/signer.ts", - "line": 72, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/signer.ts#L72" - } - ], - "type": { - "type": "literal", - "value": "keplr" - } - } - ], - "groups": [ - { - "title": "Enumeration Members", - "children": [ - 362, - 361 - ] - } - ], - "sources": [ - { - "fileName": "tx/signer.ts", - "line": 71, - "character": 12, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/signer.ts#L71" - } - ] - }, - { - "id": 363, - "name": "MsgFactory", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 364, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "signatures": [ - { - "id": 365, - "name": "new MsgFactory", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "type": { - "type": "reference", - "id": 363, - "name": "MsgFactory" - } - } - ] - }, - { - "id": 366, - "name": "bank", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "msg/index.ts", - "line": 7, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/msg/index.ts#L7" - } - ], - "type": { - "type": "query", - "queryType": { - "type": "reference", - "name": "BankMsgs" - } - }, - "defaultValue": "BankMsgs" - }, - { - "id": 367, - "name": "dex", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "msg/index.ts", - "line": 9, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/msg/index.ts#L9" - } - ], - "type": { - "type": "query", - "queryType": { - "type": "reference", - "name": "DexMsgs" - } - }, - "defaultValue": "DexMsgs" - }, - { - "id": 368, - "name": "perp", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "msg/index.ts", - "line": 11, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/msg/index.ts#L11" - } - ], - "type": { - "type": "query", - "queryType": { - "type": "reference", - "name": "PerpMsgs" - } - }, - "defaultValue": "PerpMsgs" - }, - { - "id": 369, - "name": "staking", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "msg/index.ts", - "line": 13, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/msg/index.ts#L13" - } - ], - "type": { - "type": "query", - "queryType": { - "type": "reference", - "name": "StakingMsgs" - } - }, - "defaultValue": "StakingMsgs" - } - ], - "groups": [ - { - "title": "Constructors", - "children": [ - 364 - ] - }, - { - "title": "Properties", - "children": [ - 366, - 367, - 368, - 369 - ] - } - ], - "sources": [ - { - "fileName": "msg/index.ts", - "line": 6, - "character": 13, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/msg/index.ts#L6" - } - ] - }, - { - "id": 291, - "name": "QueryCmd", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 292, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "query/query.ts", - "line": 80, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/query.ts#L80" - } - ], - "signatures": [ - { - "id": 293, - "name": "new QueryCmd", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 294, - "name": "tmClient", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "Tendermint34Client", - "qualifiedName": "Tendermint34Client", - "package": "@cosmjs/tendermint-rpc" - } - }, - { - "id": 295, - "name": "chain", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 24, - "name": "Chain" - } - } - ], - "type": { - "type": "reference", - "id": 291, - "name": "QueryCmd" - } - } - ] - }, - { - "id": 298, - "name": "chain", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/query.ts", - "line": 78, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/query.ts#L78" - } - ], - "type": { - "type": "reference", - "id": 24, - "name": "Chain" - }, - "implementationOf": { - "type": "reference", - "id": 287, - "name": "IQueryCmd.chain" - } - }, - { - "id": 296, - "name": "client", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/query.ts", - "line": 74, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/query.ts#L74" - } - ], - "type": { - "type": "reference", - "id": 119, - "name": "ExtendedQueryClient" - }, - "implementationOf": { - "type": "reference", - "id": 285, - "name": "IQueryCmd.client" - } - }, - { - "id": 297, - "name": "tmClient", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/query.ts", - "line": 76, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/query.ts#L76" - } - ], - "type": { - "type": "reference", - "name": "Tendermint34Client", - "qualifiedName": "Tendermint34Client", - "package": "@cosmjs/tendermint-rpc" - }, - "implementationOf": { - "type": "reference", - "id": 286, - "name": "IQueryCmd.tmClient" - } - }, - { - "id": 299, - "name": "disconnect", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "query/query.ts", - "line": 95, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/query.ts#L95" - } - ], - "signatures": [ - { - "id": 300, - "name": "disconnect", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "void" - }, - "implementationOf": { - "type": "reference", - "name": "IQueryCmd.disconnect" - } - } - ], - "implementationOf": { - "type": "reference", - "id": 288, - "name": "IQueryCmd.disconnect" - } - } - ], - "groups": [ - { - "title": "Constructors", - "children": [ - 292 - ] - }, - { - "title": "Properties", - "children": [ - 298, - 296, - 297 - ] - }, - { - "title": "Methods", - "children": [ - 299 - ] - } - ], - "sources": [ - { - "fileName": "query/query.ts", - "line": 73, - "character": 13, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/query.ts#L73" - } - ], - "implementedTypes": [ - { - "type": "reference", - "id": 284, - "name": "IQueryCmd" - } - ] - }, - { - "id": 95, - "name": "Sdk", - "kind": 128, - "kindString": "Class", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The 'Sdk' object is the main entrypoint to the Nibiru TypeScript SDK.\nIt can be used to interact with the Nibiru blockchain from Node or browser\nenvironments." - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "querying the block at height 1\n" - }, - { - "kind": "code", - "text": "```ts\nimport { Testnet, newSdk } from \"@nibiruchain/nibijs\"\nconst sdk = newSdk(Testnet, myMnemonic)\nconst blockHeight = 1\nconst block = sdk.tmClient.block(blockHeight)\n```" - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "sending funds\n" - }, - { - "kind": "code", - "text": "```ts\nimport { Testnet, newSdk, newCoins, Coin } from \"@nibiruchain/nibijs\"\nconst sdk = newSdk(Testnet, myMnemonic)\nconst tokens: Coin[] = newCoins(5, \"unibi\")\nconst toAddr: string = \"...\" // bech32 address of the receiving party\nlet txResp = sdk.tx.sendTokens(toAddr, tokens)\n```" - } - ] - } - ] - }, - "children": [ - { - "id": 96, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "sdk.ts", - "line": 71, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/sdk.ts#L71" - } - ], - "signatures": [ - { - "id": 97, - "name": "new Sdk", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Creates an instance of Sdk." - } - ] - }, - "parameters": [ - { - "id": 98, - "name": "args", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 99, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 100, - "name": "chain", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "sdk.ts", - "line": 71, - "character": 22, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/sdk.ts#L71" - } - ], - "type": { - "type": "reference", - "id": 24, - "name": "Chain" - } - }, - { - "id": 102, - "name": "queryCmd", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "sdk.ts", - "line": 71, - "character": 50, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/sdk.ts#L71" - } - ], - "type": { - "type": "reference", - "id": 284, - "name": "IQueryCmd" - } - }, - { - "id": 101, - "name": "txCmd", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "sdk.ts", - "line": 71, - "character": 36, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/sdk.ts#L71" - } - ], - "type": { - "type": "reference", - "id": 308, - "name": "TxCmd" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 100, - 102, - 101 - ] - } - ], - "sources": [ - { - "fileName": "sdk.ts", - "line": 71, - "character": 20, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/sdk.ts#L71" - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 95, - "name": "Sdk" - } - } - ] - }, - { - "id": 103, - "name": "chain", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "sdk.ts", - "line": 57, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/sdk.ts#L57" - } - ], - "type": { - "type": "reference", - "id": 24, - "name": "Chain" - }, - "implementationOf": { - "type": "reference", - "id": 91, - "name": "ISdk.chain" - } - }, - { - "id": 105, - "name": "query", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "sdk.ts", - "line": 61, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/sdk.ts#L61" - } - ], - "type": { - "type": "reference", - "id": 119, - "name": "ExtendedQueryClient" - }, - "implementationOf": { - "type": "reference", - "id": 93, - "name": "ISdk.query" - } - }, - { - "id": 106, - "name": "tmClient", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "sdk.ts", - "line": 63, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/sdk.ts#L63" - } - ], - "type": { - "type": "reference", - "name": "Tendermint34Client", - "qualifiedName": "Tendermint34Client", - "package": "@cosmjs/tendermint-rpc" - }, - "implementationOf": { - "type": "reference", - "id": 94, - "name": "ISdk.tmClient" - } - }, - { - "id": 104, - "name": "tx", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "sdk.ts", - "line": 59, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/sdk.ts#L59" - } - ], - "type": { - "type": "reference", - "id": 308, - "name": "TxCmd" - }, - "implementationOf": { - "type": "reference", - "id": 92, - "name": "ISdk.tx" - } - } - ], - "groups": [ - { - "title": "Constructors", - "children": [ - 96 - ] - }, - { - "title": "Properties", - "children": [ - 103, - 105, - 106, - 104 - ] - } - ], - "sources": [ - { - "fileName": "sdk.ts", - "line": 56, - "character": 13, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/sdk.ts#L56" - } - ], - "implementedTypes": [ - { - "type": "reference", - "id": 90, - "name": "ISdk" - } - ] - }, - { - "id": 308, - "name": "TxCmd", - "kind": 128, - "kindString": "Class", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "TxCmd is analagous to the 'nibid tx' command of the nibid CLI." - } - ], - "blockTags": [ - { - "tag": "@export", - "content": [] - } - ] - }, - "children": [ - { - "id": 309, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "tx/tx.ts", - "line": 49, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/tx.ts#L49" - } - ], - "signatures": [ - { - "id": 310, - "name": "new TxCmd", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 311, - "name": "client", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "SigningStargateClient", - "qualifiedName": "SigningStargateClient", - "package": "@cosmjs/stargate" - } - }, - { - "id": 312, - "name": "directSigner", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "OfflineDirectSigner", - "qualifiedName": "OfflineDirectSigner", - "package": "@cosmjs/proto-signing" - } - }, - { - "id": 313, - "name": "chain", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 24, - "name": "Chain" - } - }, - { - "id": 314, - "name": "gasPrice", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "name": "Coin", - "qualifiedName": "Coin", - "package": "@cosmjs/amino" - } - } - ], - "type": { - "type": "reference", - "id": 308, - "name": "TxCmd" - } - } - ] - }, - { - "id": 316, - "name": "chain", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "tx/tx.ts", - "line": 41, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/tx.ts#L41" - } - ], - "type": { - "type": "reference", - "id": 24, - "name": "Chain" - } - }, - { - "id": 315, - "name": "client", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "tx/tx.ts", - "line": 39, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/tx.ts#L39" - } - ], - "type": { - "type": "reference", - "name": "SigningStargateClient", - "qualifiedName": "SigningStargateClient", - "package": "@cosmjs/stargate" - } - }, - { - "id": 318, - "name": "directSigner", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "tx/tx.ts", - "line": 45, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/tx.ts#L45" - } - ], - "type": { - "type": "reference", - "name": "OfflineDirectSigner", - "qualifiedName": "OfflineDirectSigner", - "package": "@cosmjs/proto-signing" - } - }, - { - "id": 317, - "name": "fee", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "tx/tx.ts", - "line": 43, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/tx.ts#L43" - } - ], - "type": { - "type": "reference", - "name": "StdFee", - "qualifiedName": "StdFee", - "package": "@cosmjs/amino" - } - }, - { - "id": 319, - "name": "gasPrice", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "tx/tx.ts", - "line": 47, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/tx.ts#L47" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 330, - "name": "ensureFee", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "tx/tx.ts", - "line": 99, - "character": 8, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/tx.ts#L99" - } - ], - "signatures": [ - { - "id": 331, - "name": "ensureFee", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 332, - "name": "msgs", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isRest": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 374, - "name": "TxMessage" - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reference", - "name": "Error", - "qualifiedName": "Error", - "package": "typescript" - } - ] - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 337, - "name": "getAccounts", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "tx/tx.ts", - "line": 126, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/tx.ts#L126" - } - ], - "signatures": [ - { - "id": 338, - "name": "getAccounts", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "typeOperator", - "operator": "readonly", - "target": { - "type": "array", - "elementType": { - "type": "reference", - "name": "AccountData", - "qualifiedName": "AccountData", - "package": "@cosmjs/proto-signing" - } - } - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 333, - "name": "sendTokens", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "tx/tx.ts", - "line": 120, - "character": 8, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/tx.ts#L120" - } - ], - "signatures": [ - { - "id": 334, - "name": "sendTokens", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 335, - "name": "to", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 336, - "name": "coins", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "name": "Coin", - "qualifiedName": "Coin", - "package": "@cosmjs/amino" - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reference", - "name": "Error", - "qualifiedName": "Error", - "package": "typescript" - }, - { - "type": "reference", - "name": "DeliverTxResponse", - "qualifiedName": "DeliverTxResponse", - "package": "@cosmjs/stargate" - } - ] - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 327, - "name": "signAndBroadcast", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "tx/tx.ts", - "line": 80, - "character": 8, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/tx.ts#L80" - } - ], - "signatures": [ - { - "id": 328, - "name": "signAndBroadcast", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 329, - "name": "msgs", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isRest": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 374, - "name": "TxMessage" - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reference", - "name": "Error", - "qualifiedName": "Error", - "package": "typescript" - }, - { - "type": "reference", - "name": "DeliverTxResponse", - "qualifiedName": "DeliverTxResponse", - "package": "@cosmjs/stargate" - } - ] - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 324, - "name": "simulate", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "tx/tx.ts", - "line": 75, - "character": 8, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/tx.ts#L75" - } - ], - "signatures": [ - { - "id": 325, - "name": "simulate", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Simulates a transaction containing the given list of tx messages, 'msgs' and\nreturns an estimate of how many gas units are required." - } - ], - "blockTags": [ - { - "tag": "@async", - "content": [] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "- expected gas cost (units of unibi)" - } - ] - } - ] - }, - "parameters": [ - { - "id": 326, - "name": "msgs", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isRest": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 374, - "name": "TxMessage" - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "number" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 320, - "name": "withFee", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "tx/tx.ts", - "line": 62, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/tx.ts#L62" - } - ], - "signatures": [ - { - "id": 321, - "name": "withFee", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 322, - "name": "gasLimit", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 323, - "name": "gasPrice", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "name": "GasPrice", - "qualifiedName": "GasPrice", - "package": "@cosmjs/stargate" - } - ] - }, - "defaultValue": "\"1unibi\"" - } - ], - "type": { - "type": "reference", - "id": 308, - "name": "TxCmd" - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "children": [ - 309 - ] - }, - { - "title": "Properties", - "children": [ - 316, - 315, - 318, - 317, - 319 - ] - }, - { - "title": "Methods", - "children": [ - 330, - 337, - 333, - 327, - 324, - 320 - ] - } - ], - "sources": [ - { - "fileName": "tx/tx.ts", - "line": 38, - "character": 13, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/tx.ts#L38" - } - ] - }, - { - "id": 24, - "name": "Chain", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Specifies chain information for all endpoints a node exposes such as the\ngRPC server, Tendermint RPC endpoint, and REST server." - } - ], - "blockTags": [ - { - "tag": "@see", - "content": [ - { - "kind": "text", - "text": "https://docs.cosmos.network/master/core/grpc_rest.html" - } - ] - }, - { - "tag": "@export", - "content": [] - }, - { - "tag": "@interface", - "content": [ - { - "kind": "text", - "text": "Chain" - } - ] - } - ] - }, - "children": [ - { - "id": 28, - "name": "chainId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "chainId: identifier for the chain" - } - ] - }, - "sources": [ - { - "fileName": "chain/chain.ts", - "line": 25, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L25" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 29, - "name": "chainName", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "chain/chain.ts", - "line": 26, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L26" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 27, - "name": "endptGrpc", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "endptGrpc: endpoint for the gRPC gateway. Usually on port 9090." - } - ] - }, - "sources": [ - { - "fileName": "chain/chain.ts", - "line": 23, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L23" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 26, - "name": "endptRest", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "endptRest: endpoint for the REST server. Also, the LCD endpoint." - } - ] - }, - "sources": [ - { - "fileName": "chain/chain.ts", - "line": 21, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L21" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 25, - "name": "endptTm", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "endptTm: endpoint for the Tendermint RPC server. Usually on port 26657." - } - ] - }, - "sources": [ - { - "fileName": "chain/chain.ts", - "line": 19, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L19" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 30, - "name": "feeDenom", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "chain/chain.ts", - "line": 27, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L27" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 28, - 29, - 27, - 26, - 25, - 30 - ] - } - ], - "sources": [ - { - "fileName": "chain/chain.ts", - "line": 17, - "character": 17, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L17" - } - ] - }, - { - "id": 77, - "name": "CoinMap", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "sources": [ - { - "fileName": "chain/types.ts", - "line": 34, - "character": 17, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/types.ts#L34" - } - ], - "indexSignature": { - "id": 78, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 79, - "name": "denom", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - }, - { - "id": 120, - "name": "DexExtension", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 121, - "name": "dex", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/dex.ts", - "line": 23, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/dex.ts#L23" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 122, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 182, - "name": "estimateExitExactAmountIn", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/dex.ts", - "line": 55, - "character": 4, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/dex.ts#L55" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 183, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "query/dex.ts", - "line": 55, - "character": 31, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/dex.ts#L55" - } - ], - "signatures": [ - { - "id": 184, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 185, - "name": "poolId", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 186, - "name": "poolSharesIn", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "QueryExitExactAmountInResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 187, - "name": "estimateExitExactAmountOut", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/dex.ts", - "line": 59, - "character": 4, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/dex.ts#L59" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 188, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "query/dex.ts", - "line": 59, - "character": 32, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/dex.ts#L59" - } - ], - "signatures": [ - { - "id": 189, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 190, - "name": "poolId", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "QueryExitExactAmountOutResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 173, - "name": "estimateJoinExactAmountIn", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/dex.ts", - "line": 48, - "character": 4, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/dex.ts#L48" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 174, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "query/dex.ts", - "line": 48, - "character": 31, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/dex.ts#L48" - } - ], - "signatures": [ - { - "id": 175, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 176, - "name": "poolId", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 177, - "name": "tokensIn", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "name": "Coin", - "qualifiedName": "Coin", - "package": "@cosmjs/amino" - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "QueryJoinExactAmountInResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 178, - "name": "estimateJoinExactAmountOut", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/dex.ts", - "line": 52, - "character": 4, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/dex.ts#L52" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 179, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "query/dex.ts", - "line": 52, - "character": 32, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/dex.ts#L52" - } - ], - "signatures": [ - { - "id": 180, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 181, - "name": "poolId", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "QueryJoinExactAmountOutResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 161, - "name": "estimateSwapExactAmountIn", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/dex.ts", - "line": 38, - "character": 4, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/dex.ts#L38" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 162, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "query/dex.ts", - "line": 38, - "character": 31, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/dex.ts#L38" - } - ], - "signatures": [ - { - "id": 163, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 164, - "name": "poolId", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 165, - "name": "tokeOutDenom", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 166, - "name": "tokenIn", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "name": "Coin", - "qualifiedName": "Coin", - "package": "@cosmjs/amino" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "QuerySwapExactAmountInResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 167, - "name": "estimateSwapExactAmountOut", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/dex.ts", - "line": 43, - "character": 4, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/dex.ts#L43" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 168, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "query/dex.ts", - "line": 43, - "character": 32, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/dex.ts#L43" - } - ], - "signatures": [ - { - "id": 169, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 170, - "name": "poolId", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 171, - "name": "tokenInDenom", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 172, - "name": "tokenOut", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "name": "Coin", - "qualifiedName": "Coin", - "package": "@cosmjs/amino" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "QuerySwapExactAmountOutResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 141, - "name": "numPools", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/dex.ts", - "line": 29, - "character": 4, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/dex.ts#L29" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 142, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "query/dex.ts", - "line": 29, - "character": 14, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/dex.ts#L29" - } - ], - "signatures": [ - { - "id": 143, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "QueryNumPoolsResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 123, - "name": "params", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/dex.ts", - "line": 24, - "character": 4, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/dex.ts#L24" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 124, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "query/dex.ts", - "line": 24, - "character": 12, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/dex.ts#L24" - } - ], - "signatures": [ - { - "id": 125, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "QueryParamsResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 129, - "name": "pool", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/dex.ts", - "line": 26, - "character": 4, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/dex.ts#L26" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 130, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "query/dex.ts", - "line": 26, - "character": 10, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/dex.ts#L26" - } - ], - "signatures": [ - { - "id": 131, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 132, - "name": "poolId", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "QueryPoolResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 126, - "name": "poolNumber", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/dex.ts", - "line": 25, - "character": 4, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/dex.ts#L25" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 127, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "query/dex.ts", - "line": 25, - "character": 16, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/dex.ts#L25" - } - ], - "signatures": [ - { - "id": 128, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "QueryPoolNumberResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 137, - "name": "poolParams", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/dex.ts", - "line": 28, - "character": 4, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/dex.ts#L28" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 138, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "query/dex.ts", - "line": 28, - "character": 16, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/dex.ts#L28" - } - ], - "signatures": [ - { - "id": 139, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 140, - "name": "poolId", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "QueryPoolParamsResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 133, - "name": "pools", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/dex.ts", - "line": 27, - "character": 4, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/dex.ts#L27" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 134, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "query/dex.ts", - "line": 27, - "character": 11, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/dex.ts#L27" - } - ], - "signatures": [ - { - "id": 135, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 136, - "name": "pagination", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "name": "PageRequest" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "QueryPoolsResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 155, - "name": "spotPrice", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/dex.ts", - "line": 33, - "character": 4, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/dex.ts#L33" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 156, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "query/dex.ts", - "line": 33, - "character": 15, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/dex.ts#L33" - } - ], - "signatures": [ - { - "id": 157, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 158, - "name": "poolId", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 159, - "name": "tokenInDenom", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 160, - "name": "tokenOutDenom", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "QuerySpotPriceResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 144, - "name": "totalLiquidity", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/dex.ts", - "line": 30, - "character": 4, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/dex.ts#L30" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 145, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "query/dex.ts", - "line": 30, - "character": 20, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/dex.ts#L30" - } - ], - "signatures": [ - { - "id": 146, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "QueryTotalLiquidityResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 147, - "name": "totalPoolLiquidity", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/dex.ts", - "line": 31, - "character": 4, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/dex.ts#L31" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 148, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "query/dex.ts", - "line": 31, - "character": 24, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/dex.ts#L31" - } - ], - "signatures": [ - { - "id": 149, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 150, - "name": "poolId", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "QueryTotalPoolLiquidityResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 151, - "name": "totalShares", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/dex.ts", - "line": 32, - "character": 4, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/dex.ts#L32" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 152, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "query/dex.ts", - "line": 32, - "character": 17, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/dex.ts#L32" - } - ], - "signatures": [ - { - "id": 153, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 154, - "name": "poolId", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "QueryTotalSharesResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 182, - 187, - 173, - 178, - 161, - 167, - 141, - 123, - 129, - 126, - 137, - 133, - 155, - 144, - 147, - 151 - ] - } - ], - "sources": [ - { - "fileName": "query/dex.ts", - "line": 23, - "character": 16, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/dex.ts#L23" - } - ] - } - } - ], - "name": "Readonly", - "qualifiedName": "Readonly", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 121 - ] - } - ], - "sources": [ - { - "fileName": "query/dex.ts", - "line": 22, - "character": 17, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/dex.ts#L22" - } - ] - }, - { - "id": 272, - "name": "EpochsExtension", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 273, - "name": "epochs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isReadonly": true - }, - "sources": [ - { - "fileName": "query/epochs.ts", - "line": 6, - "character": 11, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/epochs.ts#L6" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 274, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 275, - "name": "currentEpoch", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/epochs.ts", - "line": 7, - "character": 4, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/epochs.ts#L7" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 276, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "query/epochs.ts", - "line": 7, - "character": 18, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/epochs.ts#L7" - } - ], - "signatures": [ - { - "id": 277, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 278, - "name": "args", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 279, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 280, - "name": "identifier", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/epochs.ts", - "line": 8, - "character": 6, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/epochs.ts#L8" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 280 - ] - } - ], - "sources": [ - { - "fileName": "query/epochs.ts", - "line": 7, - "character": 25, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/epochs.ts#L7" - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "QueryCurrentEpochResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 281, - "name": "epochsInfo", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/epochs.ts", - "line": 10, - "character": 4, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/epochs.ts#L10" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 282, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "query/epochs.ts", - "line": 10, - "character": 16, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/epochs.ts#L10" - } - ], - "signatures": [ - { - "id": 283, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "QueryEpochsInfoResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 275, - 281 - ] - } - ], - "sources": [ - { - "fileName": "query/epochs.ts", - "line": 6, - "character": 28, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/epochs.ts#L6" - } - ] - } - } - ], - "name": "Readonly", - "qualifiedName": "Readonly", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 273 - ] - } - ], - "sources": [ - { - "fileName": "query/epochs.ts", - "line": 5, - "character": 17, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/epochs.ts#L5" - } - ] - }, - { - "id": 80, - "name": "IEventLog", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 82, - "name": "attributes", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "chain/types.ts", - "line": 49, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/types.ts#L49" - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reflection", - "declaration": { - "id": 83, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 84, - "name": "key", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "chain/types.ts", - "line": 49, - "character": 16, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/types.ts#L49" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 85, - "name": "value", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "chain/types.ts", - "line": 49, - "character": 29, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/types.ts#L49" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 84, - 85 - ] - } - ], - "sources": [ - { - "fileName": "chain/types.ts", - "line": 49, - "character": 14, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/types.ts#L49" - } - ] - } - } - } - }, - { - "id": 81, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "chain/types.ts", - "line": 48, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/types.ts#L48" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 82, - 81 - ] - } - ], - "sources": [ - { - "fileName": "chain/types.ts", - "line": 47, - "character": 17, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/types.ts#L47" - } - ] - }, - { - "id": 284, - "name": "IQueryCmd", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 287, - "name": "chain", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/query.ts", - "line": 39, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/query.ts#L39" - } - ], - "type": { - "type": "reference", - "id": 24, - "name": "Chain" - } - }, - { - "id": 285, - "name": "client", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/query.ts", - "line": 37, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/query.ts#L37" - } - ], - "type": { - "type": "reference", - "id": 119, - "name": "ExtendedQueryClient" - } - }, - { - "id": 288, - "name": "disconnect", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/query.ts", - "line": 40, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/query.ts#L40" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 289, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "query/query.ts", - "line": 40, - "character": 14, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/query.ts#L40" - } - ], - "signatures": [ - { - "id": 290, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - }, - { - "id": 286, - "name": "tmClient", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/query.ts", - "line": 38, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/query.ts#L38" - } - ], - "type": { - "type": "reference", - "name": "Tendermint34Client", - "qualifiedName": "Tendermint34Client", - "package": "@cosmjs/tendermint-rpc" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 287, - 285, - 288, - 286 - ] - } - ], - "sources": [ - { - "fileName": "query/query.ts", - "line": 36, - "character": 17, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/query.ts#L36" - } - ], - "implementedBy": [ - { - "type": "reference", - "id": 291, - "name": "QueryCmd" - } - ] - }, - { - "id": 90, - "name": "ISdk", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 91, - "name": "chain", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "sdk.ts", - "line": 28, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/sdk.ts#L28" - } - ], - "type": { - "type": "reference", - "id": 24, - "name": "Chain" - } - }, - { - "id": 93, - "name": "query", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "sdk.ts", - "line": 30, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/sdk.ts#L30" - } - ], - "type": { - "type": "reference", - "id": 119, - "name": "ExtendedQueryClient" - } - }, - { - "id": 94, - "name": "tmClient", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "sdk.ts", - "line": 31, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/sdk.ts#L31" - } - ], - "type": { - "type": "reference", - "name": "Tendermint34Client", - "qualifiedName": "Tendermint34Client", - "package": "@cosmjs/tendermint-rpc" - } - }, - { - "id": 92, - "name": "tx", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "sdk.ts", - "line": 29, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/sdk.ts#L29" - } - ], - "type": { - "type": "reference", - "id": 308, - "name": "TxCmd" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 91, - 93, - 94, - 92 - ] - } - ], - "sources": [ - { - "fileName": "sdk.ts", - "line": 27, - "character": 17, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/sdk.ts#L27" - } - ], - "implementedBy": [ - { - "type": "reference", - "id": 95, - "name": "Sdk" - } - ] - }, - { - "id": 371, - "name": "MsgTypeUrls", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "sources": [ - { - "fileName": "msg/types.ts", - "line": 3, - "character": 17, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/msg/types.ts#L3" - } - ], - "indexSignature": { - "id": 372, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 373, - "name": "msg", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 191, - "name": "PerpExtension", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 192, - "name": "perp", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/perp.ts", - "line": 23, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/perp.ts#L23" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 193, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 216, - "name": "metrics", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/perp.ts", - "line": 33, - "character": 4, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/perp.ts#L33" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 217, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "query/perp.ts", - "line": 33, - "character": 13, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/perp.ts#L33" - } - ], - "signatures": [ - { - "id": 218, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 219, - "name": "args", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 220, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 221, - "name": "pair", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/perp.ts", - "line": 33, - "character": 22, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/perp.ts#L33" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 221 - ] - } - ], - "sources": [ - { - "fileName": "query/perp.ts", - "line": 33, - "character": 20, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/perp.ts#L33" - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "QueryMetricsResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 194, - "name": "params", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/perp.ts", - "line": 24, - "character": 4, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/perp.ts#L24" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 195, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "query/perp.ts", - "line": 24, - "character": 12, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/perp.ts#L24" - } - ], - "signatures": [ - { - "id": 196, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "QueryParamsResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 197, - "name": "position", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/perp.ts", - "line": 25, - "character": 4, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/perp.ts#L25" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 198, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "query/perp.ts", - "line": 25, - "character": 14, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/perp.ts#L25" - } - ], - "signatures": [ - { - "id": 199, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 200, - "name": "args", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 201, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 202, - "name": "tokenPair", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/perp.ts", - "line": 26, - "character": 6, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/perp.ts#L26" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 203, - "name": "trader", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/perp.ts", - "line": 27, - "character": 6, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/perp.ts#L27" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 202, - 203 - ] - } - ], - "sources": [ - { - "fileName": "query/perp.ts", - "line": 25, - "character": 21, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/perp.ts#L25" - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "QueryPositionResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 204, - "name": "positions", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/perp.ts", - "line": 29, - "character": 4, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/perp.ts#L29" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 205, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "query/perp.ts", - "line": 29, - "character": 15, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/perp.ts#L29" - } - ], - "signatures": [ - { - "id": 206, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 207, - "name": "args", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 208, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 209, - "name": "trader", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/perp.ts", - "line": 29, - "character": 24, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/perp.ts#L29" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 209 - ] - } - ], - "sources": [ - { - "fileName": "query/perp.ts", - "line": 29, - "character": 22, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/perp.ts#L29" - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "QueryPositionsResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 210, - "name": "premiumFractions", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/perp.ts", - "line": 30, - "character": 4, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/perp.ts#L30" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 211, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "query/perp.ts", - "line": 30, - "character": 22, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/perp.ts#L30" - } - ], - "signatures": [ - { - "id": 212, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 213, - "name": "args", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 214, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 215, - "name": "pair", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/perp.ts", - "line": 31, - "character": 6, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/perp.ts#L31" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 215 - ] - } - ], - "sources": [ - { - "fileName": "query/perp.ts", - "line": 30, - "character": 29, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/perp.ts#L30" - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "QueryCumulativePremiumFractionResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 216, - 194, - 197, - 204, - 210 - ] - } - ], - "sources": [ - { - "fileName": "query/perp.ts", - "line": 23, - "character": 17, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/perp.ts#L23" - } - ] - } - } - ], - "name": "Readonly", - "qualifiedName": "Readonly", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 192 - ] - } - ], - "sources": [ - { - "fileName": "query/perp.ts", - "line": 22, - "character": 17, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/perp.ts#L22" - } - ] - }, - { - "id": 242, - "name": "PricefeedExtension", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 243, - "name": "pricefeed", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/pricefeed.ts", - "line": 9, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/pricefeed.ts#L9" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 244, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 245, - "name": "markets", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/pricefeed.ts", - "line": 12, - "character": 4, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/pricefeed.ts#L12" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 246, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "query/pricefeed.ts", - "line": 12, - "character": 13, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/pricefeed.ts#L12" - } - ], - "signatures": [ - { - "id": 247, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "markets - Return the pair identifier, oracle set, and active status for\neach trading pair." - } - ] - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "QueryMarketsResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 248, - "name": "oracles", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/pricefeed.ts", - "line": 15, - "character": 4, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/pricefeed.ts#L15" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 249, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "query/pricefeed.ts", - "line": 15, - "character": 13, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/pricefeed.ts#L15" - } - ], - "signatures": [ - { - "id": 250, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "oracles - Return the list of oracle addresses for a given trading pair." - } - ] - }, - "parameters": [ - { - "id": 251, - "name": "args", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 252, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 253, - "name": "pairId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/pricefeed.ts", - "line": 15, - "character": 22, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/pricefeed.ts#L15" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 253 - ] - } - ], - "sources": [ - { - "fileName": "query/pricefeed.ts", - "line": 15, - "character": 20, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/pricefeed.ts#L15" - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "QueryOraclesResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 254, - "name": "params", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/pricefeed.ts", - "line": 18, - "character": 4, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/pricefeed.ts#L18" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 255, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "query/pricefeed.ts", - "line": 18, - "character": 12, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/pricefeed.ts#L18" - } - ], - "signatures": [ - { - "id": 256, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "params - Show the parameters of the 'pricefeed' module" - } - ] - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "QueryParamsResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 257, - "name": "price", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/pricefeed.ts", - "line": 21, - "character": 4, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/pricefeed.ts#L21" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 258, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "query/pricefeed.ts", - "line": 21, - "character": 11, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/pricefeed.ts#L21" - } - ], - "signatures": [ - { - "id": 259, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "price - Return the current price for the given pair" - } - ] - }, - "parameters": [ - { - "id": 260, - "name": "args", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 261, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 262, - "name": "pairId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/pricefeed.ts", - "line": 21, - "character": 20, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/pricefeed.ts#L21" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 262 - ] - } - ], - "sources": [ - { - "fileName": "query/pricefeed.ts", - "line": 21, - "character": 18, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/pricefeed.ts#L21" - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "QueryPriceResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 263, - "name": "prices", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/pricefeed.ts", - "line": 24, - "character": 4, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/pricefeed.ts#L24" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 264, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "query/pricefeed.ts", - "line": 24, - "character": 12, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/pricefeed.ts#L24" - } - ], - "signatures": [ - { - "id": 265, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "prices - Return the current price for all pairs" - } - ] - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "QueryPricesResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 266, - "name": "pricesRaw", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/pricefeed.ts", - "line": 29, - "character": 4, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/pricefeed.ts#L29" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 267, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "query/pricefeed.ts", - "line": 29, - "character": 15, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/pricefeed.ts#L29" - } - ], - "signatures": [ - { - "id": 268, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "pricesRaw - Return the raw prices posted by each oracle for a pair.\nThese prices are have yet to be aggregated into a single representative\nvalue for the pair." - } - ] - }, - "parameters": [ - { - "id": 269, - "name": "args", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 270, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 271, - "name": "pairId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/pricefeed.ts", - "line": 30, - "character": 6, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/pricefeed.ts#L30" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 271 - ] - } - ], - "sources": [ - { - "fileName": "query/pricefeed.ts", - "line": 29, - "character": 22, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/pricefeed.ts#L29" - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "QueryRawPricesResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 245, - 248, - 254, - 257, - 263, - 266 - ] - } - ], - "sources": [ - { - "fileName": "query/pricefeed.ts", - "line": 9, - "character": 22, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/pricefeed.ts#L9" - } - ] - } - } - ], - "name": "Readonly", - "qualifiedName": "Readonly", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 243 - ] - } - ], - "sources": [ - { - "fileName": "query/pricefeed.ts", - "line": 8, - "character": 17, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/pricefeed.ts#L8" - } - ] - }, - { - "id": 374, - "name": "TxMessage", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "sources": [ - { - "fileName": "msg/types.ts", - "line": 7, - "character": 17, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/msg/types.ts#L7" - } - ], - "extendedTypes": [ - { - "type": "reference", - "name": "EncodeObject", - "qualifiedName": "EncodeObject", - "package": "@cosmjs/proto-signing" - } - ] - }, - { - "id": 222, - "name": "VpoolExtension", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 223, - "name": "vpool", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/vpool.ts", - "line": 7, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/vpool.ts#L7" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 224, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 225, - "name": "allPools", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/vpool.ts", - "line": 8, - "character": 4, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/vpool.ts#L8" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 226, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "query/vpool.ts", - "line": 8, - "character": 14, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/vpool.ts#L8" - } - ], - "signatures": [ - { - "id": 227, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "QueryAllPoolsResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 228, - "name": "basePrice", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/vpool.ts", - "line": 9, - "character": 4, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/vpool.ts#L9" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 229, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "query/vpool.ts", - "line": 9, - "character": 15, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/vpool.ts#L9" - } - ], - "signatures": [ - { - "id": 230, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 231, - "name": "args", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 232, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 235, - "name": "baseAssetAmount", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/vpool.ts", - "line": 12, - "character": 6, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/vpool.ts#L12" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 234, - "name": "goLong", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/vpool.ts", - "line": 11, - "character": 6, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/vpool.ts#L11" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 233, - "name": "pair", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/vpool.ts", - "line": 10, - "character": 6, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/vpool.ts#L10" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 235, - 234, - 233 - ] - } - ], - "sources": [ - { - "fileName": "query/vpool.ts", - "line": 9, - "character": 22, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/vpool.ts#L9" - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "QueryBaseAssetPriceResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 236, - "name": "reserves", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/vpool.ts", - "line": 14, - "character": 4, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/vpool.ts#L14" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 237, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "query/vpool.ts", - "line": 14, - "character": 14, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/vpool.ts#L14" - } - ], - "signatures": [ - { - "id": 238, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 239, - "name": "args", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 240, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 241, - "name": "pair", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/vpool.ts", - "line": 14, - "character": 23, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/vpool.ts#L14" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 241 - ] - } - ], - "sources": [ - { - "fileName": "query/vpool.ts", - "line": 14, - "character": 21, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/vpool.ts#L14" - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "QueryReserveAssetsResponse" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 225, - 228, - 236 - ] - } - ], - "sources": [ - { - "fileName": "query/vpool.ts", - "line": 7, - "character": 18, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/vpool.ts#L7" - } - ] - } - } - ], - "name": "Readonly", - "qualifiedName": "Readonly", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 223 - ] - } - ], - "sources": [ - { - "fileName": "query/vpool.ts", - "line": 6, - "character": 17, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/vpool.ts#L6" - } - ] - }, - { - "id": 306, - "name": "Address", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "tx/tx.ts", - "line": 26, - "character": 12, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/tx.ts#L26" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 307, - "name": "CosmosSigner", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "tx/tx.ts", - "line": 27, - "character": 12, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/tx.ts#L27" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intersection", - "types": [ - { - "type": "reference", - "name": "OfflineSigner", - "qualifiedName": "OfflineSigner", - "package": "@cosmjs/proto-signing" - }, - { - "type": "reference", - "name": "OfflineDirectSigner", - "qualifiedName": "OfflineDirectSigner", - "package": "@cosmjs/proto-signing" - } - ] - }, - { - "type": "reference", - "name": "DirectSecp256k1HdWallet", - "qualifiedName": "DirectSecp256k1HdWallet", - "package": "@cosmjs/proto-signing" - } - ] - } - }, - { - "id": 119, - "name": "ExtendedQueryClient", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "query/query.ts", - "line": 16, - "character": 12, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/query.ts#L16" - } - ], - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "name": "BankExtension", - "qualifiedName": "BankExtension", - "package": "@cosmjs/stargate" - }, - { - "type": "reference", - "name": "QueryClient", - "qualifiedName": "QueryClient", - "package": "@cosmjs/stargate" - }, - { - "type": "reference", - "name": "AuthExtension", - "qualifiedName": "AuthExtension", - "package": "@cosmjs/stargate" - }, - { - "type": "reference", - "id": 120, - "name": "DexExtension" - }, - { - "type": "reference", - "id": 191, - "name": "PerpExtension" - }, - { - "type": "reference", - "id": 222, - "name": "VpoolExtension" - }, - { - "type": "reference", - "id": 242, - "name": "PricefeedExtension" - }, - { - "type": "reference", - "id": 272, - "name": "EpochsExtension" - } - ] - } - }, - { - "id": 34, - "name": "CHAOSNET_CONFIG", - "kind": 32, - "kindString": "Variable", - "flags": { - "isConst": true - }, - "sources": [ - { - "fileName": "chain/chain.ts", - "line": 64, - "character": 13, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L64" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 35, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 38, - "name": "grpcPort", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "chain/chain.ts", - "line": 67, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L67" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "9090" - }, - { - "id": 36, - "name": "host", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "chain/chain.ts", - "line": 65, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L65" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - }, - "defaultValue": "process.env.CHAIN_HOST" - }, - { - "id": 37, - "name": "lcdPort", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "chain/chain.ts", - "line": 66, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L66" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "1317" - }, - { - "id": 39, - "name": "tmPort", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "chain/chain.ts", - "line": 68, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L68" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "26657" - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 38, - 36, - 37, - 39 - ] - } - ], - "sources": [ - { - "fileName": "chain/chain.ts", - "line": 64, - "character": 31, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L64" - } - ] - } - }, - "defaultValue": "..." - }, - { - "id": 40, - "name": "Chaosnet", - "kind": 32, - "kindString": "Variable", - "flags": { - "isConst": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Chaosnet is a private chain with trading bots, an oracle, and a node\nrunning an updated version of Nibiru. This environment is useful for live\ntesting." - } - ] - }, - "sources": [ - { - "fileName": "chain/chain.ts", - "line": 76, - "character": 13, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L76" - } - ], - "type": { - "type": "reference", - "id": 24, - "name": "Chain" - }, - "defaultValue": "..." - }, - { - "id": 33, - "name": "Devnet", - "kind": 32, - "kindString": "Variable", - "flags": { - "isConst": true - }, - "sources": [ - { - "fileName": "chain/chain.ts", - "line": 62, - "character": 13, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L62" - } - ], - "type": { - "type": "reference", - "id": 24, - "name": "Chain" - }, - "defaultValue": "..." - }, - { - "id": 62, - "name": "INT_MULT", - "kind": 32, - "kindString": "Variable", - "flags": { - "isConst": true - }, - "sources": [ - { - "fileName": "chain/parse.ts", - "line": 4, - "character": 13, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/parse.ts#L4" - } - ], - "type": { - "type": "literal", - "value": 1000000 - }, - "defaultValue": "1_000_000" - }, - { - "id": 31, - "name": "Localnet", - "kind": 32, - "kindString": "Variable", - "flags": { - "isConst": true - }, - "sources": [ - { - "fileName": "chain/chain.ts", - "line": 30, - "character": 13, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L30" - } - ], - "type": { - "type": "reference", - "id": 24, - "name": "Chain" - }, - "defaultValue": "..." - }, - { - "id": 370, - "name": "Msg", - "kind": 32, - "kindString": "Variable", - "flags": { - "isConst": true - }, - "sources": [ - { - "fileName": "msg/index.ts", - "line": 16, - "character": 13, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/msg/index.ts#L16" - } - ], - "type": { - "type": "reference", - "id": 363, - "name": "MsgFactory" - }, - "defaultValue": "..." - }, - { - "id": 32, - "name": "Testnet", - "kind": 32, - "kindString": "Variable", - "flags": { - "isConst": true - }, - "sources": [ - { - "fileName": "chain/chain.ts", - "line": 60, - "character": 13, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L60" - } - ], - "type": { - "type": "reference", - "id": 24, - "name": "Chain" - }, - "defaultValue": "..." - }, - { - "id": 70, - "name": "assert", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "chain/types.ts", - "line": 27, - "character": 16, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/types.ts#L27" - } - ], - "signatures": [ - { - "id": 71, - "name": "assert", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 72, - "name": "condition", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 73, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 56, - "name": "event2KeyValue", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "chain/parse.ts", - "line": 176, - "character": 16, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/parse.ts#L176" - } - ], - "signatures": [ - { - "id": 57, - "name": "event2KeyValue", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 58, - "name": "event", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 80, - "name": "IEventLog" - } - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 59, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "chain/parse.ts", - "line": 176, - "character": 50, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/parse.ts#L176" - } - ], - "indexSignature": { - "id": 60, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 61, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - } - ] - }, - { - "id": 44, - "name": "fromSdkDec", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "chain/parse.ts", - "line": 99, - "character": 16, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/parse.ts#L99" - } - ], - "signatures": [ - { - "id": 45, - "name": "fromSdkDec", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 46, - "name": "sdkDec", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ] - }, - { - "id": 53, - "name": "fromSdkDecSafe", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "chain/parse.ts", - "line": 158, - "character": 16, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/parse.ts#L158" - } - ], - "signatures": [ - { - "id": 54, - "name": "fromSdkDecSafe", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 55, - "name": "inStr", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ] - }, - { - "id": 50, - "name": "fromSdkInt", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "chain/parse.ts", - "line": 152, - "character": 16, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/parse.ts#L152" - } - ], - "signatures": [ - { - "id": 51, - "name": "fromSdkInt", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 52, - "name": "intStr", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ] - }, - { - "id": 375, - "name": "getKeplr", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "wallet/keplr.ts", - "line": 9, - "character": 22, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/wallet/keplr.ts#L9" - } - ], - "signatures": [ - { - "id": 376, - "name": "getKeplr", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 377, - "name": "chain", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 24, - "name": "Chain" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "Keplr", - "qualifiedName": "Keplr", - "package": "@keplr-wallet/types" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 339, - "name": "getRegistry", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "tx/signer.ts", - "line": 30, - "character": 16, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/signer.ts#L30" - } - ], - "signatures": [ - { - "id": 340, - "name": "getRegistry", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reference", - "name": "Registry", - "qualifiedName": "Registry", - "package": "@cosmjs/proto-signing" - } - } - ] - }, - { - "id": 63, - "name": "go", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "chain/types.ts", - "line": 13, - "character": 22, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/types.ts#L13" - } - ], - "signatures": [ - { - "id": 64, - "name": "go", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "typeParameter": [ - { - "id": 65, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "parameters": [ - { - "id": 66, - "name": "promise", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 65, - "name": "T" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 67, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 69, - "name": "err", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "chain/types.ts", - "line": 15, - "character": 33, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/types.ts#L15" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reference", - "name": "Error", - "qualifiedName": "Error", - "package": "typescript" - } - ] - } - }, - { - "id": 68, - "name": "res", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "chain/types.ts", - "line": 15, - "character": 13, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/types.ts#L15" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 65, - "name": "T" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 69, - 68 - ] - } - ], - "sources": [ - { - "fileName": "chain/types.ts", - "line": 15, - "character": 11, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/types.ts#L15" - } - ] - } - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 18, - "name": "isRestEndptLive", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "chain/chain.ts", - "line": 140, - "character": 22, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L140" - } - ], - "signatures": [ - { - "id": 19, - "name": "isRestEndptLive", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 20, - "name": "chain", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 24, - "name": "Chain" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "boolean" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 21, - "name": "isRestEndptValid", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "chain/chain.ts", - "line": 149, - "character": 22, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L149" - } - ], - "signatures": [ - { - "id": 22, - "name": "isRestEndptValid", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 23, - "name": "chain", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 24, - "name": "Chain" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "boolean" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 74, - "name": "newCoinMapFromCoins", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "chain/types.ts", - "line": 39, - "character": 16, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/types.ts#L39" - } - ], - "signatures": [ - { - "id": 75, - "name": "newCoinMapFromCoins", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 76, - "name": "coins", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "name": "Coin", - "qualifiedName": "Coin", - "package": "@cosmjs/amino" - } - } - } - ], - "type": { - "type": "reference", - "id": 77, - "name": "CoinMap" - } - } - ] - }, - { - "id": 4, - "name": "newDevnet", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "chain/chain.ts", - "line": 49, - "character": 16, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L49" - } - ], - "signatures": [ - { - "id": 5, - "name": "newDevnet", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 6, - "name": "chainNumber", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "reference", - "id": 24, - "name": "Chain" - } - } - ] - }, - { - "id": 116, - "name": "newQueryCmd", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "query/query.ts", - "line": 100, - "character": 22, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/query.ts#L100" - } - ], - "signatures": [ - { - "id": 117, - "name": "newQueryCmd", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 118, - "name": "chain", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 24, - "name": "Chain" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 291, - "name": "QueryCmd" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 349, - "name": "newRandomWallet", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "tx/signer.ts", - "line": 64, - "character": 16, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/signer.ts#L64" - } - ], - "signatures": [ - { - "id": 350, - "name": "newRandomWallet", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Generates a new wallet with a BIP39 mnemonic of length 24." - } - ], - "blockTags": [ - { - "tag": "@export", - "content": [] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "A wallet for protobuf based signing using SIGN_MODE_DIRECT." - } - ] - } - ] - }, - "parameters": [ - { - "id": 351, - "name": "length", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "(optional) The number of words in the mnemonic (12, 15, 18, 21 or 24)." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": 18 - }, - { - "type": "literal", - "value": 12 - }, - { - "type": "literal", - "value": 15 - }, - { - "type": "literal", - "value": 21 - }, - { - "type": "literal", - "value": 24 - } - ] - } - }, - { - "id": 352, - "name": "prefix", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "(optional) Bech32 address prefix. Defaults to \"nibi\"." - } - ] - }, - "type": { - "type": "reference", - "id": 353, - "name": "BECH32_PREFIX" - }, - "defaultValue": "BECH32_PREFIX.ADDR" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "DirectSecp256k1HdWallet", - "qualifiedName": "DirectSecp256k1HdWallet", - "package": "@cosmjs/proto-signing" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 86, - "name": "newSdk", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "sdk.ts", - "line": 21, - "character": 22, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/sdk.ts#L21" - } - ], - "signatures": [ - { - "id": 87, - "name": "newSdk", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Assembles an all-purpose SDK for interacting with the Nibiru blockchain.\n\nIf transaction signing is not needed, simply pass an empty string for the\nmnemonic. The querier and Tendermint client will still function normally." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [] - } - ] - }, - "parameters": [ - { - "id": 88, - "name": "chain", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 24, - "name": "Chain" - } - }, - { - "id": 89, - "name": "signer", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 307, - "name": "CosmosSigner" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 95, - "name": "Sdk" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 345, - "name": "newSignerFromKeplr", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "tx/signer.ts", - "line": 49, - "character": 16, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/signer.ts#L49" - } - ], - "signatures": [ - { - "id": 346, - "name": "newSignerFromKeplr", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 347, - "name": "keplr", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "Keplr", - "qualifiedName": "Keplr", - "package": "@keplr-wallet/types" - } - }, - { - "id": 348, - "name": "chainId", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "name": "OfflineSigner", - "qualifiedName": "OfflineSigner", - "package": "@cosmjs/proto-signing" - }, - { - "type": "reference", - "name": "OfflineDirectSigner", - "qualifiedName": "OfflineDirectSigner", - "package": "@cosmjs/proto-signing" - } - ] - } - } - ] - }, - { - "id": 341, - "name": "newSignerFromMnemonic", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "tx/signer.ts", - "line": 42, - "character": 22, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/signer.ts#L42" - } - ], - "signatures": [ - { - "id": 342, - "name": "newSignerFromMnemonic", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Creates a wallet from the given BIP39 mnemonic." - } - ], - "blockTags": [ - { - "tag": "@export", - "content": [] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "A wallet for protobuf based signing using SIGN_MODE_DIRECT" - } - ] - } - ] - }, - "parameters": [ - { - "id": 343, - "name": "mnemonic", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 344, - "name": "prefix", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "(optional) Bech32 address prefix. Defaults to \"nibi\"." - } - ] - }, - "type": { - "type": "reference", - "id": 353, - "name": "BECH32_PREFIX" - }, - "defaultValue": "BECH32_PREFIX.ADDR" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "DirectSecp256k1HdWallet", - "qualifiedName": "DirectSecp256k1HdWallet", - "package": "@cosmjs/proto-signing" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 1, - "name": "newTestnet", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "chain/chain.ts", - "line": 38, - "character": 16, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L38" - } - ], - "signatures": [ - { - "id": 2, - "name": "newTestnet", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 3, - "name": "chainNumber", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "reference", - "id": 24, - "name": "Chain" - } - } - ] - }, - { - "id": 301, - "name": "newTxCmd", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "tx/tx.ts", - "line": 138, - "character": 22, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/tx.ts#L138" - } - ], - "signatures": [ - { - "id": 302, - "name": "newTxCmd", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 303, - "name": "chain", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 24, - "name": "Chain" - } - }, - { - "id": 304, - "name": "signer", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "DirectSecp256k1HdWallet", - "qualifiedName": "DirectSecp256k1HdWallet", - "package": "@cosmjs/proto-signing" - }, - { - "type": "intrinsic", - "name": "Object" - } - ] - } - }, - { - "id": 305, - "name": "gasPriceCoin", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "name": "Coin", - "qualifiedName": "Coin", - "package": "@cosmjs/amino" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 308, - "name": "TxCmd" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 15, - "name": "queryChainIdWithRest", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "chain/chain.ts", - "line": 127, - "character": 22, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L127" - } - ], - "signatures": [ - { - "id": 16, - "name": "queryChainIdWithRest", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 17, - "name": "chain", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 24, - "name": "Chain" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "tuple", - "elements": [ - { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - }, - { - "type": "union", - "types": [ - { - "type": "reference", - "name": "Error", - "qualifiedName": "Error", - "package": "typescript" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - ] - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 41, - "name": "toSdkDec", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "chain/parse.ts", - "line": 25, - "character": 16, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/parse.ts#L25" - } - ], - "signatures": [ - { - "id": 42, - "name": "toSdkDec", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "toSdkDec converts the input float string to an sdk.Dec.\nThe maximum number of decimal places for an sdk.Dec is 18.\nNOTE: An error is thrown if more decimal digits are provided than the\nprecision, 18.\n\nref: Reimplementation of cosmos-sdk/types/decimal.go" - } - ], - "blockTags": [ - { - "tag": "@export", - "content": [] - }, - { - "tag": "@returns", - "content": [] - } - ] - }, - "parameters": [ - { - "id": 43, - "name": "dec", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - }, - { - "id": 47, - "name": "toSdkInt", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "chain/parse.ts", - "line": 148, - "character": 16, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/parse.ts#L148" - } - ], - "signatures": [ - { - "id": 48, - "name": "toSdkInt", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 49, - "name": "i", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - }, - { - "id": 7, - "name": "useFaucet", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "chain/chain.ts", - "line": 88, - "character": 22, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L88" - } - ], - "signatures": [ - { - "id": 8, - "name": "useFaucet", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Sends 10 NIBI and 100 NUSD to the given address from the testnet faucet." - } - ] - }, - "parameters": [ - { - "id": 9, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 10, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 11, - "name": "address", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "chain/chain.ts", - "line": 94, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L94" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 13, - "name": "amtNibi", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "chain/chain.ts", - "line": 96, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L96" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 14, - "name": "amtNusd", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "chain/chain.ts", - "line": 97, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L97" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 12, - "name": "faucetUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "chain/chain.ts", - "line": 95, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L95" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 11, - 13, - 14, - 12 - ] - } - ], - "sources": [ - { - "fileName": "chain/chain.ts", - "line": 93, - "character": 3, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L93" - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "name": "Response", - "qualifiedName": "Response", - "package": "typescript" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 110, - "name": "waitForBlockHeight", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "query/query.ts", - "line": 55, - "character": 22, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/query.ts#L55" - } - ], - "signatures": [ - { - "id": 111, - "name": "waitForBlockHeight", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 112, - "name": "args", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 113, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 114, - "name": "chain", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/query.ts", - "line": 56, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/query.ts#L56" - } - ], - "type": { - "type": "reference", - "id": 24, - "name": "Chain" - } - }, - { - "id": 115, - "name": "height", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "query/query.ts", - "line": 57, - "character": 2, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/query.ts#L57" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 114, - 115 - ] - } - ], - "sources": [ - { - "fileName": "query/query.ts", - "line": 55, - "character": 47, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/query.ts#L55" - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 107, - "name": "waitForNextBlock", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "query/query.ts", - "line": 43, - "character": 22, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/query.ts#L43" - } - ], - "signatures": [ - { - "id": 108, - "name": "waitForNextBlock", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 109, - "name": "chain", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 24, - "name": "Chain" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "qualifiedName": "Promise", - "package": "typescript" - } - } - ] - } - ], - "groups": [ - { - "title": "Enumerations", - "children": [ - 353, - 360 - ] - }, - { - "title": "Classes", - "children": [ - 363, - 291, - 95, - 308 - ] - }, - { - "title": "Interfaces", - "children": [ - 24, - 77, - 120, - 272, - 80, - 284, - 90, - 371, - 191, - 242, - 374, - 222 - ] - }, - { - "title": "Type Aliases", - "children": [ - 306, - 307, - 119 - ] - }, - { - "title": "Variables", - "children": [ - 34, - 40, - 33, - 62, - 31, - 370, - 32 - ] - }, - { - "title": "Functions", - "children": [ - 70, - 56, - 44, - 53, - 50, - 375, - 339, - 63, - 18, - 21, - 74, - 4, - 116, - 349, - 86, - 345, - 341, - 1, - 301, - 15, - 41, - 47, - 7, - 110, - 107 - ] - } - ], - "sources": [ - { - "fileName": "index.ts", - "line": 11, - "character": 0, - "url": "https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/index.ts#L11" - } - ] -} \ No newline at end of file diff --git a/packages/nibijs/docs/classes/MsgFactory.md b/packages/nibijs/docs/classes/MsgFactory.md index f6b57459..7fb35473 100644 --- a/packages/nibijs/docs/classes/MsgFactory.md +++ b/packages/nibijs/docs/classes/MsgFactory.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.8.1](../intro.md) / [Exports](../modules.md) / MsgFactory +[NibiJS Documentation - v0.8.2](../intro.md) / [Exports](../modules.md) / MsgFactory # Class: MsgFactory @@ -29,7 +29,7 @@ #### Defined in -[msg/index.ts:7](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/msg/index.ts#L7) +[msg/index.ts:7](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/msg/index.ts#L7) ___ @@ -39,7 +39,7 @@ ___ #### Defined in -[msg/index.ts:9](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/msg/index.ts#L9) +[msg/index.ts:9](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/msg/index.ts#L9) ___ @@ -49,7 +49,7 @@ ___ #### Defined in -[msg/index.ts:11](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/msg/index.ts#L11) +[msg/index.ts:11](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/msg/index.ts#L11) ___ @@ -59,4 +59,4 @@ ___ #### Defined in -[msg/index.ts:13](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/msg/index.ts#L13) +[msg/index.ts:13](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/msg/index.ts#L13) diff --git a/packages/nibijs/docs/classes/QueryCmd.md b/packages/nibijs/docs/classes/QueryCmd.md index 119d06f4..ea6e67eb 100644 --- a/packages/nibijs/docs/classes/QueryCmd.md +++ b/packages/nibijs/docs/classes/QueryCmd.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.8.1](../intro.md) / [Exports](../modules.md) / QueryCmd +[NibiJS Documentation - v0.8.2](../intro.md) / [Exports](../modules.md) / QueryCmd # Class: QueryCmd @@ -37,7 +37,7 @@ #### Defined in -[query/query.ts:80](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/query.ts#L80) +[query/query.ts:80](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/query/query.ts#L80) ## Properties @@ -51,7 +51,7 @@ #### Defined in -[query/query.ts:78](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/query.ts#L78) +[query/query.ts:78](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/query/query.ts#L78) ___ @@ -65,7 +65,7 @@ ___ #### Defined in -[query/query.ts:74](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/query.ts#L74) +[query/query.ts:74](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/query/query.ts#L74) ___ @@ -79,7 +79,7 @@ ___ #### Defined in -[query/query.ts:76](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/query.ts#L76) +[query/query.ts:76](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/query/query.ts#L76) ## Methods @@ -97,4 +97,4 @@ IQueryCmd.disconnect #### Defined in -[query/query.ts:95](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/query.ts#L95) +[query/query.ts:95](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/query/query.ts#L95) diff --git a/packages/nibijs/docs/classes/Sdk.md b/packages/nibijs/docs/classes/Sdk.md index b410763d..c5a447d0 100644 --- a/packages/nibijs/docs/classes/Sdk.md +++ b/packages/nibijs/docs/classes/Sdk.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.8.1](../intro.md) / [Exports](../modules.md) / Sdk +[NibiJS Documentation - v0.8.2](../intro.md) / [Exports](../modules.md) / Sdk # Class: Sdk @@ -63,7 +63,7 @@ Creates an instance of Sdk. #### Defined in -[sdk.ts:71](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/sdk.ts#L71) +[sdk.ts:71](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/sdk.ts#L71) ## Properties @@ -77,7 +77,7 @@ Creates an instance of Sdk. #### Defined in -[sdk.ts:57](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/sdk.ts#L57) +[sdk.ts:57](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/sdk.ts#L57) ___ @@ -91,7 +91,7 @@ ___ #### Defined in -[sdk.ts:61](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/sdk.ts#L61) +[sdk.ts:61](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/sdk.ts#L61) ___ @@ -105,7 +105,7 @@ ___ #### Defined in -[sdk.ts:63](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/sdk.ts#L63) +[sdk.ts:63](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/sdk.ts#L63) ___ @@ -119,4 +119,4 @@ ___ #### Defined in -[sdk.ts:59](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/sdk.ts#L59) +[sdk.ts:59](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/sdk.ts#L59) diff --git a/packages/nibijs/docs/classes/TxCmd.md b/packages/nibijs/docs/classes/TxCmd.md index f3c2bee4..af32e58a 100644 --- a/packages/nibijs/docs/classes/TxCmd.md +++ b/packages/nibijs/docs/classes/TxCmd.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.8.1](../intro.md) / [Exports](../modules.md) / TxCmd +[NibiJS Documentation - v0.8.2](../intro.md) / [Exports](../modules.md) / TxCmd # Class: TxCmd @@ -24,6 +24,7 @@ TxCmd is analagous to the 'nibid tx' command of the nibid CLI. - [ensureFee](TxCmd.md#ensurefee) - [getAccounts](TxCmd.md#getaccounts) +- [mustSignAndBroadcast](TxCmd.md#mustsignandbroadcast) - [sendTokens](TxCmd.md#sendtokens) - [signAndBroadcast](TxCmd.md#signandbroadcast) - [simulate](TxCmd.md#simulate) @@ -46,7 +47,7 @@ TxCmd is analagous to the 'nibid tx' command of the nibid CLI. #### Defined in -[tx/tx.ts:49](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/tx.ts#L49) +[tx/tx.ts:49](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/tx/tx.ts#L49) ## Properties @@ -56,7 +57,7 @@ TxCmd is analagous to the 'nibid tx' command of the nibid CLI. #### Defined in -[tx/tx.ts:41](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/tx.ts#L41) +[tx/tx.ts:41](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/tx/tx.ts#L41) ___ @@ -66,7 +67,7 @@ ___ #### Defined in -[tx/tx.ts:39](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/tx.ts#L39) +[tx/tx.ts:39](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/tx/tx.ts#L39) ___ @@ -76,7 +77,7 @@ ___ #### Defined in -[tx/tx.ts:45](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/tx.ts#L45) +[tx/tx.ts:45](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/tx/tx.ts#L45) ___ @@ -86,7 +87,7 @@ ___ #### Defined in -[tx/tx.ts:43](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/tx.ts#L43) +[tx/tx.ts:43](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/tx/tx.ts#L43) ___ @@ -96,7 +97,7 @@ ___ #### Defined in -[tx/tx.ts:47](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/tx.ts#L47) +[tx/tx.ts:47](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/tx/tx.ts#L47) ## Methods @@ -116,7 +117,7 @@ ___ #### Defined in -[tx/tx.ts:99](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/tx.ts#L99) +[tx/tx.ts:108](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/tx/tx.ts#L108) ___ @@ -130,7 +131,27 @@ ___ #### Defined in -[tx/tx.ts:126](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/tx.ts#L126) +[tx/tx.ts:135](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/tx/tx.ts#L135) + +___ + +### mustSignAndBroadcast + +▸ **mustSignAndBroadcast**(`...msgs`): `Promise`<`DeliverTxResponse`\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `...msgs` | [`TxMessage`](../interfaces/TxMessage.md)[] | + +#### Returns + +`Promise`<`DeliverTxResponse`\> + +#### Defined in + +[tx/tx.ts:99](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/tx/tx.ts#L99) ___ @@ -151,7 +172,7 @@ ___ #### Defined in -[tx/tx.ts:120](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/tx.ts#L120) +[tx/tx.ts:129](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/tx/tx.ts#L129) ___ @@ -171,7 +192,7 @@ ___ #### Defined in -[tx/tx.ts:80](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/tx.ts#L80) +[tx/tx.ts:80](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/tx/tx.ts#L80) ___ @@ -198,7 +219,7 @@ returns an estimate of how many gas units are required. #### Defined in -[tx/tx.ts:75](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/tx.ts#L75) +[tx/tx.ts:75](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/tx/tx.ts#L75) ___ @@ -219,4 +240,4 @@ ___ #### Defined in -[tx/tx.ts:62](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/tx.ts#L62) +[tx/tx.ts:62](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/tx/tx.ts#L62) diff --git a/packages/nibijs/docs/enums/BECH32_PREFIX.md b/packages/nibijs/docs/enums/BECH32_PREFIX.md index 76bd248d..1f2e8d42 100644 --- a/packages/nibijs/docs/enums/BECH32_PREFIX.md +++ b/packages/nibijs/docs/enums/BECH32_PREFIX.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.8.1](../intro.md) / [Exports](../modules.md) / BECH32\_PREFIX +[NibiJS Documentation - v0.8.2](../intro.md) / [Exports](../modules.md) / BECH32\_PREFIX # Enumeration: BECH32\_PREFIX @@ -23,7 +23,7 @@ ADDR defines the Bech32 prefix of an account address #### Defined in -[tx/signer.ts:14](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/signer.ts#L14) +[tx/signer.ts:14](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/tx/signer.ts#L14) ___ @@ -35,7 +35,7 @@ ADDR_VAL defines the Bech32 prefix of an validator's operator address #### Defined in -[tx/signer.ts:16](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/signer.ts#L16) +[tx/signer.ts:16](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/tx/signer.ts#L16) ___ @@ -47,7 +47,7 @@ ADDR_VALCONS defines the Bech32 prefix of a consensus node address #### Defined in -[tx/signer.ts:18](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/signer.ts#L18) +[tx/signer.ts:18](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/tx/signer.ts#L18) ___ @@ -59,7 +59,7 @@ PUB defines the Bech32 prefix of an account's public key #### Defined in -[tx/signer.ts:20](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/signer.ts#L20) +[tx/signer.ts:20](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/tx/signer.ts#L20) ___ @@ -71,7 +71,7 @@ PUB_VAL defines the Bech32 prefix of an validator's operator public key #### Defined in -[tx/signer.ts:22](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/signer.ts#L22) +[tx/signer.ts:22](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/tx/signer.ts#L22) ___ @@ -83,4 +83,4 @@ PUB_VALCONS defines the Bech32 prefix of a consensus node public key #### Defined in -[tx/signer.ts:24](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/signer.ts#L24) +[tx/signer.ts:24](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/tx/signer.ts#L24) diff --git a/packages/nibijs/docs/enums/Signer.md b/packages/nibijs/docs/enums/Signer.md index f9bc133a..bd2e9bf2 100644 --- a/packages/nibijs/docs/enums/Signer.md +++ b/packages/nibijs/docs/enums/Signer.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.8.1](../intro.md) / [Exports](../modules.md) / Signer +[NibiJS Documentation - v0.8.2](../intro.md) / [Exports](../modules.md) / Signer # Enumeration: Signer @@ -17,7 +17,7 @@ #### Defined in -[tx/signer.ts:73](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/signer.ts#L73) +[tx/signer.ts:73](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/tx/signer.ts#L73) ___ @@ -27,4 +27,4 @@ ___ #### Defined in -[tx/signer.ts:72](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/signer.ts#L72) +[tx/signer.ts:72](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/tx/signer.ts#L72) diff --git a/packages/nibijs/docs/interfaces/Chain.md b/packages/nibijs/docs/interfaces/Chain.md index 1fadeaf6..62ce3f83 100644 --- a/packages/nibijs/docs/interfaces/Chain.md +++ b/packages/nibijs/docs/interfaces/Chain.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.8.1](../intro.md) / [Exports](../modules.md) / Chain +[NibiJS Documentation - v0.8.2](../intro.md) / [Exports](../modules.md) / Chain # Interface: Chain @@ -36,7 +36,7 @@ chainId: identifier for the chain #### Defined in -[chain/chain.ts:25](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L25) +[chain/chain.ts:25](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/chain/chain.ts#L25) ___ @@ -46,7 +46,7 @@ ___ #### Defined in -[chain/chain.ts:26](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L26) +[chain/chain.ts:26](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/chain/chain.ts#L26) ___ @@ -58,7 +58,7 @@ endptGrpc: endpoint for the gRPC gateway. Usually on port 9090. #### Defined in -[chain/chain.ts:23](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L23) +[chain/chain.ts:23](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/chain/chain.ts#L23) ___ @@ -70,7 +70,7 @@ endptRest: endpoint for the REST server. Also, the LCD endpoint. #### Defined in -[chain/chain.ts:21](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L21) +[chain/chain.ts:21](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/chain/chain.ts#L21) ___ @@ -82,7 +82,7 @@ endptTm: endpoint for the Tendermint RPC server. Usually on port 26657. #### Defined in -[chain/chain.ts:19](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L19) +[chain/chain.ts:19](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/chain/chain.ts#L19) ___ @@ -92,4 +92,4 @@ ___ #### Defined in -[chain/chain.ts:27](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L27) +[chain/chain.ts:27](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/chain/chain.ts#L27) diff --git a/packages/nibijs/docs/interfaces/CoinMap.md b/packages/nibijs/docs/interfaces/CoinMap.md index 618c067e..759d5620 100644 --- a/packages/nibijs/docs/interfaces/CoinMap.md +++ b/packages/nibijs/docs/interfaces/CoinMap.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.8.1](../intro.md) / [Exports](../modules.md) / CoinMap +[NibiJS Documentation - v0.8.2](../intro.md) / [Exports](../modules.md) / CoinMap # Interface: CoinMap diff --git a/packages/nibijs/docs/interfaces/DexExtension.md b/packages/nibijs/docs/interfaces/DexExtension.md index 0faf8bef..f869865b 100644 --- a/packages/nibijs/docs/interfaces/DexExtension.md +++ b/packages/nibijs/docs/interfaces/DexExtension.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.8.1](../intro.md) / [Exports](../modules.md) / DexExtension +[NibiJS Documentation - v0.8.2](../intro.md) / [Exports](../modules.md) / DexExtension # Interface: DexExtension @@ -16,4 +16,4 @@ #### Defined in -[query/dex.ts:23](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/dex.ts#L23) +[query/dex.ts:23](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/query/dex.ts#L23) diff --git a/packages/nibijs/docs/interfaces/EpochsExtension.md b/packages/nibijs/docs/interfaces/EpochsExtension.md index 4c321768..48ac6988 100644 --- a/packages/nibijs/docs/interfaces/EpochsExtension.md +++ b/packages/nibijs/docs/interfaces/EpochsExtension.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.8.1](../intro.md) / [Exports](../modules.md) / EpochsExtension +[NibiJS Documentation - v0.8.2](../intro.md) / [Exports](../modules.md) / EpochsExtension # Interface: EpochsExtension @@ -16,4 +16,4 @@ #### Defined in -[query/epochs.ts:6](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/epochs.ts#L6) +[query/epochs.ts:6](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/query/epochs.ts#L6) diff --git a/packages/nibijs/docs/interfaces/IEventLog.md b/packages/nibijs/docs/interfaces/IEventLog.md index 53ae23b6..2a68e2ba 100644 --- a/packages/nibijs/docs/interfaces/IEventLog.md +++ b/packages/nibijs/docs/interfaces/IEventLog.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.8.1](../intro.md) / [Exports](../modules.md) / IEventLog +[NibiJS Documentation - v0.8.2](../intro.md) / [Exports](../modules.md) / IEventLog # Interface: IEventLog @@ -17,7 +17,7 @@ #### Defined in -[chain/types.ts:49](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/types.ts#L49) +[chain/types.ts:49](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/chain/types.ts#L49) ___ @@ -27,4 +27,4 @@ ___ #### Defined in -[chain/types.ts:48](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/types.ts#L48) +[chain/types.ts:48](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/chain/types.ts#L48) diff --git a/packages/nibijs/docs/interfaces/IQueryCmd.md b/packages/nibijs/docs/interfaces/IQueryCmd.md index 0aa6f778..684561f5 100644 --- a/packages/nibijs/docs/interfaces/IQueryCmd.md +++ b/packages/nibijs/docs/interfaces/IQueryCmd.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.8.1](../intro.md) / [Exports](../modules.md) / IQueryCmd +[NibiJS Documentation - v0.8.2](../intro.md) / [Exports](../modules.md) / IQueryCmd # Interface: IQueryCmd @@ -23,7 +23,7 @@ #### Defined in -[query/query.ts:39](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/query.ts#L39) +[query/query.ts:39](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/query/query.ts#L39) ___ @@ -33,7 +33,7 @@ ___ #### Defined in -[query/query.ts:37](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/query.ts#L37) +[query/query.ts:37](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/query/query.ts#L37) ___ @@ -51,7 +51,7 @@ ___ #### Defined in -[query/query.ts:40](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/query.ts#L40) +[query/query.ts:40](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/query/query.ts#L40) ___ @@ -61,4 +61,4 @@ ___ #### Defined in -[query/query.ts:38](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/query.ts#L38) +[query/query.ts:38](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/query/query.ts#L38) diff --git a/packages/nibijs/docs/interfaces/ISdk.md b/packages/nibijs/docs/interfaces/ISdk.md index e833ce69..f4e5fb22 100644 --- a/packages/nibijs/docs/interfaces/ISdk.md +++ b/packages/nibijs/docs/interfaces/ISdk.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.8.1](../intro.md) / [Exports](../modules.md) / ISdk +[NibiJS Documentation - v0.8.2](../intro.md) / [Exports](../modules.md) / ISdk # Interface: ISdk @@ -23,7 +23,7 @@ #### Defined in -[sdk.ts:28](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/sdk.ts#L28) +[sdk.ts:28](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/sdk.ts#L28) ___ @@ -33,7 +33,7 @@ ___ #### Defined in -[sdk.ts:30](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/sdk.ts#L30) +[sdk.ts:30](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/sdk.ts#L30) ___ @@ -43,7 +43,7 @@ ___ #### Defined in -[sdk.ts:31](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/sdk.ts#L31) +[sdk.ts:31](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/sdk.ts#L31) ___ @@ -53,4 +53,4 @@ ___ #### Defined in -[sdk.ts:29](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/sdk.ts#L29) +[sdk.ts:29](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/sdk.ts#L29) diff --git a/packages/nibijs/docs/interfaces/MsgTypeUrls.md b/packages/nibijs/docs/interfaces/MsgTypeUrls.md index a78f0a33..fe61d0b4 100644 --- a/packages/nibijs/docs/interfaces/MsgTypeUrls.md +++ b/packages/nibijs/docs/interfaces/MsgTypeUrls.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.8.1](../intro.md) / [Exports](../modules.md) / MsgTypeUrls +[NibiJS Documentation - v0.8.2](../intro.md) / [Exports](../modules.md) / MsgTypeUrls # Interface: MsgTypeUrls diff --git a/packages/nibijs/docs/interfaces/PerpExtension.md b/packages/nibijs/docs/interfaces/PerpExtension.md index 49544cb8..f616e700 100644 --- a/packages/nibijs/docs/interfaces/PerpExtension.md +++ b/packages/nibijs/docs/interfaces/PerpExtension.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.8.1](../intro.md) / [Exports](../modules.md) / PerpExtension +[NibiJS Documentation - v0.8.2](../intro.md) / [Exports](../modules.md) / PerpExtension # Interface: PerpExtension @@ -16,4 +16,4 @@ #### Defined in -[query/perp.ts:23](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/perp.ts#L23) +[query/perp.ts:23](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/query/perp.ts#L23) diff --git a/packages/nibijs/docs/interfaces/PricefeedExtension.md b/packages/nibijs/docs/interfaces/PricefeedExtension.md index a94cf1e2..2f5f79d7 100644 --- a/packages/nibijs/docs/interfaces/PricefeedExtension.md +++ b/packages/nibijs/docs/interfaces/PricefeedExtension.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.8.1](../intro.md) / [Exports](../modules.md) / PricefeedExtension +[NibiJS Documentation - v0.8.2](../intro.md) / [Exports](../modules.md) / PricefeedExtension # Interface: PricefeedExtension @@ -16,4 +16,4 @@ #### Defined in -[query/pricefeed.ts:9](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/pricefeed.ts#L9) +[query/pricefeed.ts:9](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/query/pricefeed.ts#L9) diff --git a/packages/nibijs/docs/interfaces/TxMessage.md b/packages/nibijs/docs/interfaces/TxMessage.md index 3affea94..72dd2d20 100644 --- a/packages/nibijs/docs/interfaces/TxMessage.md +++ b/packages/nibijs/docs/interfaces/TxMessage.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.8.1](../intro.md) / [Exports](../modules.md) / TxMessage +[NibiJS Documentation - v0.8.2](../intro.md) / [Exports](../modules.md) / TxMessage # Interface: TxMessage diff --git a/packages/nibijs/docs/interfaces/VpoolExtension.md b/packages/nibijs/docs/interfaces/VpoolExtension.md index ad42c4e2..855b2045 100644 --- a/packages/nibijs/docs/interfaces/VpoolExtension.md +++ b/packages/nibijs/docs/interfaces/VpoolExtension.md @@ -1,4 +1,4 @@ -[NibiJS Documentation - v0.8.1](../intro.md) / [Exports](../modules.md) / VpoolExtension +[NibiJS Documentation - v0.8.2](../intro.md) / [Exports](../modules.md) / VpoolExtension # Interface: VpoolExtension @@ -16,4 +16,4 @@ #### Defined in -[query/vpool.ts:7](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/vpool.ts#L7) +[query/vpool.ts:7](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/query/vpool.ts#L7) diff --git a/packages/nibijs/docs/intro.md b/packages/nibijs/docs/intro.md index 3ea2634a..68ea13fa 100644 --- a/packages/nibijs/docs/intro.md +++ b/packages/nibijs/docs/intro.md @@ -1,4 +1,4 @@ -NibiJS Documentation - v0.8.1 / [Exports](modules.md) +NibiJS Documentation - v0.8.2 / [Exports](modules.md)
@@ -8,25 +8,16 @@ NibiJS Documentation - v0.8.1 / [Exports](modules.md) The official TypeScript SDK for the Nibiru blockchain
- +[![npm-version](https://img.shields.io/npm/v/@nibiruchain/nibijs.svg?color=AE8CCD)](https://www.npmjs.com/package/@nibiruchain/nibijs) +[![Nibiru Test workflow][tests-badge]][tests-workflow] +[![downloads][badge-downloads]](https://www.npmjs.com/package/@nibiruchain/nibijs) +[![license](https://img.shields.io/npm/l/express.svg?color=050505)](https://github.com/NibiruChain/ts-sdk/blob/main/LICENSE) +[![social-discord](https://dcbadge.vercel.app/api/server/sgPw8ZYfpQ?style=flat)](https://discord.gg/sgPw8ZYfpQ) + +[badge-downloads]: https://img.shields.io/npm/dm/@nibiruchain/nibijs.svg?color=FFF3CD +[downloads-link]: https://www.npmjs.com/package/@nibiruchain/nibijs +[tests-badge]: https://github.com/NibiruChain/ts-sdk/actions/workflows/tests.yaml/badge.svg +[tests-workflow]: https://github.com/NibiruChain/ts-sdk/actions/workflows/tests.yaml The NibiJS (`@nibiruchain/nibijs`) package makes it possible to interact with Nibiru from a Node.js or browser environment. `nibijs` provides simple abstractions for core data structures, serialization, key management, API requests, and the submission of transactions. @@ -167,5 +158,5 @@ This software is licensed under the MIT license. See [LICENSE](https://github.co © 2022 Nibi, Inc.- +
diff --git a/packages/nibijs/docs/modules.md b/packages/nibijs/docs/modules.md index 452d7de6..fbe825ce 100644 --- a/packages/nibijs/docs/modules.md +++ b/packages/nibijs/docs/modules.md @@ -1,6 +1,6 @@ -[NibiJS Documentation - v0.8.1](intro.md) / Exports +[NibiJS Documentation - v0.8.2](intro.md) / Exports -# NibiJS Documentation - v0.8.1 +# NibiJS Documentation - v0.8.2 ## Table of contents @@ -83,7 +83,7 @@ #### Defined in -[tx/tx.ts:26](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/tx.ts#L26) +[tx/tx.ts:26](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/tx/tx.ts#L26) ___ @@ -93,7 +93,7 @@ ___ #### Defined in -[tx/tx.ts:27](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/tx.ts#L27) +[tx/tx.ts:27](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/tx/tx.ts#L27) ___ @@ -103,7 +103,7 @@ ___ #### Defined in -[query/query.ts:16](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/query.ts#L16) +[query/query.ts:16](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/query/query.ts#L16) ## Variables @@ -122,7 +122,7 @@ ___ #### Defined in -[chain/chain.ts:64](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L64) +[chain/chain.ts:64](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/chain/chain.ts#L64) ___ @@ -136,7 +136,7 @@ testing. #### Defined in -[chain/chain.ts:76](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L76) +[chain/chain.ts:76](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/chain/chain.ts#L76) ___ @@ -146,7 +146,7 @@ ___ #### Defined in -[chain/chain.ts:62](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L62) +[chain/chain.ts:62](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/chain/chain.ts#L62) ___ @@ -156,7 +156,7 @@ ___ #### Defined in -[chain/parse.ts:4](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/parse.ts#L4) +[chain/parse.ts:4](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/chain/parse.ts#L4) ___ @@ -166,7 +166,7 @@ ___ #### Defined in -[chain/chain.ts:30](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L30) +[chain/chain.ts:30](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/chain/chain.ts#L30) ___ @@ -176,7 +176,7 @@ ___ #### Defined in -[msg/index.ts:16](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/msg/index.ts#L16) +[msg/index.ts:16](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/msg/index.ts#L16) ___ @@ -186,7 +186,7 @@ ___ #### Defined in -[chain/chain.ts:60](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L60) +[chain/chain.ts:60](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/chain/chain.ts#L60) ## Functions @@ -207,7 +207,7 @@ ___ #### Defined in -[chain/types.ts:27](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/types.ts#L27) +[chain/types.ts:27](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/chain/types.ts#L27) ___ @@ -227,7 +227,7 @@ ___ #### Defined in -[chain/parse.ts:176](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/parse.ts#L176) +[chain/parse.ts:176](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/chain/parse.ts#L176) ___ @@ -247,7 +247,7 @@ ___ #### Defined in -[chain/parse.ts:99](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/parse.ts#L99) +[chain/parse.ts:99](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/chain/parse.ts#L99) ___ @@ -267,7 +267,7 @@ ___ #### Defined in -[chain/parse.ts:158](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/parse.ts#L158) +[chain/parse.ts:158](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/chain/parse.ts#L158) ___ @@ -287,7 +287,7 @@ ___ #### Defined in -[chain/parse.ts:152](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/parse.ts#L152) +[chain/parse.ts:152](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/chain/parse.ts#L152) ___ @@ -307,7 +307,7 @@ ___ #### Defined in -[wallet/keplr.ts:9](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/wallet/keplr.ts#L9) +[wallet/keplr.ts:9](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/wallet/keplr.ts#L9) ___ @@ -321,7 +321,7 @@ ___ #### Defined in -[tx/signer.ts:30](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/signer.ts#L30) +[tx/signer.ts:30](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/tx/signer.ts#L30) ___ @@ -347,7 +347,7 @@ ___ #### Defined in -[chain/types.ts:13](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/types.ts#L13) +[chain/types.ts:13](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/chain/types.ts#L13) ___ @@ -367,7 +367,7 @@ ___ #### Defined in -[chain/chain.ts:140](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L140) +[chain/chain.ts:140](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/chain/chain.ts#L140) ___ @@ -387,7 +387,7 @@ ___ #### Defined in -[chain/chain.ts:149](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L149) +[chain/chain.ts:149](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/chain/chain.ts#L149) ___ @@ -407,7 +407,7 @@ ___ #### Defined in -[chain/types.ts:39](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/types.ts#L39) +[chain/types.ts:39](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/chain/types.ts#L39) ___ @@ -427,7 +427,7 @@ ___ #### Defined in -[chain/chain.ts:49](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L49) +[chain/chain.ts:49](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/chain/chain.ts#L49) ___ @@ -447,7 +447,7 @@ ___ #### Defined in -[query/query.ts:100](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/query.ts#L100) +[query/query.ts:100](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/query/query.ts#L100) ___ @@ -474,7 +474,7 @@ A wallet for protobuf based signing using SIGN_MODE_DIRECT. #### Defined in -[tx/signer.ts:64](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/signer.ts#L64) +[tx/signer.ts:64](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/tx/signer.ts#L64) ___ @@ -500,7 +500,7 @@ mnemonic. The querier and Tendermint client will still function normally. #### Defined in -[sdk.ts:21](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/sdk.ts#L21) +[sdk.ts:21](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/sdk.ts#L21) ___ @@ -521,7 +521,7 @@ ___ #### Defined in -[tx/signer.ts:49](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/signer.ts#L49) +[tx/signer.ts:49](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/tx/signer.ts#L49) ___ @@ -548,7 +548,7 @@ A wallet for protobuf based signing using SIGN_MODE_DIRECT #### Defined in -[tx/signer.ts:42](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/signer.ts#L42) +[tx/signer.ts:42](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/tx/signer.ts#L42) ___ @@ -568,7 +568,7 @@ ___ #### Defined in -[chain/chain.ts:38](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L38) +[chain/chain.ts:38](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/chain/chain.ts#L38) ___ @@ -590,7 +590,7 @@ ___ #### Defined in -[tx/tx.ts:138](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/tx/tx.ts#L138) +[tx/tx.ts:147](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/tx/tx.ts#L147) ___ @@ -610,7 +610,7 @@ ___ #### Defined in -[chain/chain.ts:127](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L127) +[chain/chain.ts:127](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/chain/chain.ts#L127) ___ @@ -639,7 +639,7 @@ ref: Reimplementation of cosmos-sdk/types/decimal.go #### Defined in -[chain/parse.ts:25](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/parse.ts#L25) +[chain/parse.ts:25](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/chain/parse.ts#L25) ___ @@ -659,7 +659,7 @@ ___ #### Defined in -[chain/parse.ts:148](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/parse.ts#L148) +[chain/parse.ts:148](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/chain/parse.ts#L148) ___ @@ -685,7 +685,7 @@ Sends 10 NIBI and 100 NUSD to the given address from the testnet faucet. #### Defined in -[chain/chain.ts:88](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/chain/chain.ts#L88) +[chain/chain.ts:88](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/chain/chain.ts#L88) ___ @@ -707,7 +707,7 @@ ___ #### Defined in -[query/query.ts:55](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/query.ts#L55) +[query/query.ts:55](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/query/query.ts#L55) ___ @@ -727,4 +727,4 @@ ___ #### Defined in -[query/query.ts:43](https://github.com/NibiruChain/ts-sdk/blob/d8a9441/packages/nibijs/src/query/query.ts#L43) +[query/query.ts:43](https://github.com/NibiruChain/ts-sdk/blob/338fbe5/packages/nibijs/src/query/query.ts#L43) diff --git a/packages/nibijs/package.json b/packages/nibijs/package.json index d96c90c7..2335752c 100644 --- a/packages/nibijs/package.json +++ b/packages/nibijs/package.json @@ -1,7 +1,7 @@ { "name": "@nibiruchain/nibijs", "description": "The TypeScript SDK for the Nibiru blockchain.", - "version": "0.8.1", + "version": "0.8.2", "license": "MIT", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/nibijs/src/tx/tx.ts b/packages/nibijs/src/tx/tx.ts index 6487cefe..e24d0f8b 100644 --- a/packages/nibijs/src/tx/tx.ts +++ b/packages/nibijs/src/tx/tx.ts @@ -21,7 +21,7 @@ import { getRegistry } from "./signer" import { TxMessage } from "../msg/types" import { waitForNextBlock } from "../query" import { BankMsgs } from "../msg/bank" -import { ErrorTxBroadcast, ErrorTxSimulation } from "../chain/error" +import { ErrorTxBroadcast, ErrorTxSimulation, instanceOfError } from "../chain/error" export type Address = string export type CosmosSigner = @@ -96,6 +96,15 @@ export class TxCmd { } } + async mustSignAndBroadcast(...msgs: TxMessage[]): Promise