From 4b78c6dbc308681f8efb7649011fabba3ab91580 Mon Sep 17 00:00:00 2001 From: "hack.bg" Date: Sat, 20 Jan 2024 15:38:22 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20built=20docs=20for=20v2=20@=20Sa?= =?UTF-8?q?t=20Jan=2020=2015:38:22=20UTC=202024?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nix | Bin 10240 -> 10240 bytes rs/help.html | 2 +- rs/settings.html | 2 +- toolbox | 1 + ts/classes/_fadroma_agent.Chain.Backend.html | 8 +- ts/classes/_fadroma_agent.Chain.Batch.html | 12 +-- .../_fadroma_agent.Chain.Connection.html | 52 ++++++------ ts/classes/_fadroma_agent.Chain.Contract.html | 8 +- ts/classes/_fadroma_agent.Chain.Endpoint.html | 12 +-- ts/classes/_fadroma_agent.Chain.Identity.html | 8 +- ts/classes/_fadroma_agent.Core.Error.html | 2 +- .../_fadroma_agent.Deploy.ContractCode.html | 8 +- ...fadroma_agent.Deploy.ContractInstance.html | 38 ++++----- ...fadroma_agent.Deploy.ContractTemplate.html | 22 ++--- .../_fadroma_agent.Deploy.Deployment.html | 16 ++-- .../_fadroma_agent.Deploy.DeploymentUnit.html | 18 ++-- .../_fadroma_agent.Deploy.UploadedCode.html | 16 ++-- .../_fadroma_agent.Program.CompiledCode.html | 12 +-- .../_fadroma_agent.Program.Compiler.html | 10 +-- ...droma_agent.Program.LocalCompiledCode.html | 12 +-- ..._fadroma_agent.Program.RustSourceCode.html | 20 ++--- .../_fadroma_agent.Program.SourceCode.html | 12 +-- .../_fadroma_agent.Store.DeployStore.html | 8 +- .../_fadroma_agent.Store.UploadStore.html | 8 +- .../_fadroma_agent.Stub.StubBackend.html | 8 +- ts/classes/_fadroma_agent.Stub.StubBatch.html | 12 +-- .../_fadroma_agent.Stub.StubCompiler.html | 10 +-- .../_fadroma_agent.Stub.StubConnection.html | 52 ++++++------ ts/classes/_fadroma_agent.Token.Amount.html | 6 +- ts/classes/_fadroma_agent.Token.Coin.html | 4 +- ts/classes/_fadroma_agent.Token.Custom.html | 12 +-- ts/classes/_fadroma_agent.Token.Fee.html | 4 +- ts/classes/_fadroma_agent.Token.Fungible.html | 10 +-- ts/classes/_fadroma_agent.Token.Native.html | 12 +-- .../_fadroma_agent.Token.NonFungible.html | 6 +- ts/classes/_fadroma_agent.Token.Pair.html | 6 +- ts/classes/_fadroma_agent.Token.Swap.html | 6 +- ts/classes/_fadroma_agent.Token.Token.html | 6 +- .../_fadroma_compile.ConfiguredCompiler.html | 12 +-- ...ompile.ContainerizedLocalRustCompiler.html | 48 +++++------ .../_fadroma_compile.LocalRustCompiler.html | 34 ++++---- ..._fadroma_compile.RawLocalRustCompiler.html | 38 ++++----- ..._fadroma_create.CargoWorkspaceProject.html | 10 +-- ts/classes/_fadroma_create.Project.html | 4 +- .../_fadroma_create.ProjectPrompter.html | 4 +- ts/classes/_fadroma_cw.CWBatch.html | 12 +-- ts/classes/_fadroma_cw.CWConnection.html | 78 ++++++++--------- ts/classes/_fadroma_cw.CWConsole.html | 4 +- ts/classes/_fadroma_cw.CWError.html | 2 +- ts/classes/_fadroma_cw.CWIdentity.html | 8 +- .../_fadroma_cw.CWMnemonicIdentity.html | 8 +- ts/classes/_fadroma_cw.CWSignerIdentity.html | 8 +- ts/classes/_fadroma_cw.Cognitarium.html | 14 +-- ts/classes/_fadroma_cw.LawStone.html | 14 +-- ts/classes/_fadroma_cw.OKP4Connection.html | 80 +++++++++--------- .../_fadroma_cw.OKP4MnemonicIdentity.html | 8 +- ts/classes/_fadroma_cw.Objectarium.html | 10 +-- .../_fadroma_devnet.DevnetContainer.html | 70 +++++++-------- ts/classes/_fadroma_devnet.OKP4Container.html | 72 ++++++++-------- ts/classes/_fadroma_devnet.ScrtContainer.html | 72 ++++++++-------- ts/classes/_fadroma_devnet.default.html | 14 +-- ts/classes/_fadroma_oci.Connection.html | 56 ++++++------ ts/classes/_fadroma_oci.Console.html | 4 +- ts/classes/_fadroma_oci.Container.html | 58 ++++++------- ts/classes/_fadroma_oci.Error.html | 4 +- ts/classes/_fadroma_oci.Image.html | 36 ++++---- .../_fadroma_oci.LineTransformStream.html | 10 +-- ts/classes/_fadroma_scrt.Mocknet.Backend.html | 10 +-- ts/classes/_fadroma_scrt.Mocknet.Batch.html | 12 +-- .../_fadroma_scrt.Mocknet.Connection.html | 52 ++++++------ .../_fadroma_scrt.Mocknet.Contract.html | 4 +- ts/classes/_fadroma_scrt.ScrtBatch.html | 18 ++-- ts/classes/_fadroma_scrt.ScrtConnection.html | 56 ++++++------ ts/classes/_fadroma_scrt.ScrtConsole.html | 4 +- ts/classes/_fadroma_scrt.ScrtError.html | 2 +- ts/classes/_fadroma_scrt.ScrtIdentity.html | 8 +- .../_fadroma_scrt.ScrtMnemonicIdentity.html | 8 +- .../_fadroma_scrt.ScrtSignerIdentity.html | 8 +- ts/classes/_fadroma_scrt.Snip20.Snip20.html | 56 ++++++------ ..._fadroma_scrt.Snip20.ViewingKeyClient.html | 12 +-- .../_fadroma_scrt.Snip24.PermitSigner.html | 8 +- ...fadroma_scrt.Snip24.PermitSignerKeplr.html | 10 +-- ts/classes/_fadroma_scrt.Snip721.Snip721.html | 12 +-- ts/functions/_fadroma_agent.Core.assign.html | 2 +- .../_fadroma_compile.codePathName.html | 2 +- ts/functions/_fadroma_compile.default.html | 2 +- ts/functions/_fadroma_compile.distinct.html | 2 +- .../_fadroma_compile.getCompiler.html | 2 +- ts/functions/_fadroma_compile.sanitize.html | 2 +- .../_fadroma_create.createProject.html | 2 +- ts/functions/_fadroma_create.getProject.html | 2 +- ts/functions/_fadroma_cw.assign.html | 2 +- ts/functions/_fadroma_cw.bold.html | 2 +- .../_fadroma_cw.encodeSecp256k1Signature.html | 2 +- ts/functions/_fadroma_cw.testnet.html | 2 +- .../_fadroma_oci.Mock.mockDockerode.html | 2 +- ...droma_oci.Mock.mockDockerodeContainer.html | 2 +- .../_fadroma_oci.Mock.mockStream.html | 2 +- ts/functions/_fadroma_oci.console-1.html | 4 +- ts/functions/_fadroma_oci.follow.html | 2 +- ts/functions/_fadroma_oci.toLabel.html | 2 +- .../_fadroma_scrt.Mocknet.b64toUtf8.html | 2 +- .../_fadroma_scrt.Mocknet.bufferToUtf8.html | 2 +- ..._fadroma_scrt.Mocknet.codeHashForBlob.html | 2 +- ts/functions/_fadroma_scrt.Mocknet.drop.html | 2 +- .../_fadroma_scrt.Mocknet.parseResult.html | 2 +- .../_fadroma_scrt.Mocknet.passBuffer.html | 2 +- .../_fadroma_scrt.Mocknet.passJson.html | 2 +- .../_fadroma_scrt.Mocknet.readBuffer.html | 2 +- .../_fadroma_scrt.Mocknet.readUtf8.html | 2 +- .../_fadroma_scrt.Mocknet.region.html | 2 +- .../_fadroma_scrt.Mocknet.utf8toB64.html | 2 +- .../_fadroma_scrt.Mocknet.utf8toBuffer.html | 2 +- ts/functions/_fadroma_scrt.Mocknet.write.html | 2 +- .../_fadroma_scrt.Mocknet.writeToRegion.html | 2 +- ...adroma_scrt.Mocknet.writeToRegionUtf8.html | 2 +- .../_fadroma_scrt.Mocknet.writeUtf8.html | 2 +- .../_fadroma_scrt.Snip20.createPermitMsg.html | 2 +- ts/functions/_fadroma_scrt.assign.html | 2 +- ts/functions/_fadroma_scrt.bold.html | 2 +- ts/functions/_fadroma_scrt.brailleDump.html | 2 +- ts/functions/_fadroma_scrt.console.html | 4 +- ts/functions/_fadroma_scrt.decodeError.html | 2 +- ts/functions/_fadroma_scrt.into.html | 2 +- ts/functions/_fadroma_scrt.mainnet.html | 2 +- ts/functions/_fadroma_scrt.randomBase64.html | 2 +- ts/functions/_fadroma_scrt.randomBech32.html | 2 +- ts/functions/_fadroma_scrt.testnet.html | 2 +- ts/interfaces/_fadroma_agent.Token.ICoin.html | 4 +- ts/interfaces/_fadroma_agent.Token.IFee.html | 4 +- .../_fadroma_oci.ContainerOptions.html | 4 +- .../_fadroma_oci.ContainerState.html | 4 +- .../_fadroma_scrt.ScrtBatchResult.html | 4 +- .../_fadroma_scrt.Snip20.SendAction.html | 4 +- .../_fadroma_scrt.Snip20.SendFromAction.html | 4 +- .../_fadroma_scrt.Snip20.Snip20Allowance.html | 4 +- ..._fadroma_scrt.Snip20.Snip20BaseConfig.html | 8 +- ..._fadroma_scrt.Snip20.Snip20InitConfig.html | 4 +- .../_fadroma_scrt.Snip20.Snip20InitMsg.html | 16 ++-- .../_fadroma_scrt.Snip20.Snip20TokenInfo.html | 4 +- .../_fadroma_scrt.Snip20.TransferAction.html | 4 +- ...adroma_scrt.Snip20.TransferFromAction.html | 4 +- .../_fadroma_scrt.Snip24.AminoMsg.html | 4 +- ...adroma_scrt.Snip24.KeplrSigningHandle.html | 4 +- .../_fadroma_scrt.Snip24.Permit.html | 4 +- .../_fadroma_scrt.Snip24.PermitAminoMsg.html | 4 +- .../_fadroma_scrt.Snip24.Pubkey.html | 4 +- .../_fadroma_scrt.Snip24.SignDoc.html | 12 +-- .../_fadroma_scrt.Snip24.Signature.html | 4 +- ts/modules/_fadroma_agent.Chain.html | 2 +- ts/modules/_fadroma_agent.Core.html | 2 +- ts/modules/_fadroma_agent.Deploy.html | 2 +- ts/modules/_fadroma_agent.Program.html | 2 +- ts/modules/_fadroma_agent.Store.html | 2 +- ts/modules/_fadroma_agent.Stub.html | 2 +- ts/modules/_fadroma_agent.Token.html | 2 +- ts/modules/_fadroma_oci.Mock.html | 2 +- ts/modules/_fadroma_scrt.Mocknet.html | 2 +- ts/modules/_fadroma_scrt.Snip20.html | 2 +- ts/modules/_fadroma_scrt.Snip24.html | 2 +- ts/modules/_fadroma_scrt.Snip721.html | 2 +- ts/types/_fadroma_agent.Chain.Address.html | 2 +- ts/types/_fadroma_agent.Chain.ChainId.html | 2 +- ts/types/_fadroma_agent.Chain.Label.html | 2 +- ts/types/_fadroma_agent.Chain.Message.html | 2 +- ts/types/_fadroma_agent.Chain.TxHash.html | 2 +- ts/types/_fadroma_agent.Deploy.CodeId.html | 2 +- ..._fadroma_agent.Deploy.DeploymentState.html | 2 +- ts/types/_fadroma_agent.Deploy.Name.html | 2 +- ts/types/_fadroma_agent.Program.CodeHash.html | 2 +- ts/types/_fadroma_agent.Token.Decimal128.html | 2 +- ts/types/_fadroma_agent.Token.Decimal256.html | 2 +- ts/types/_fadroma_agent.Token.Uint128.html | 2 +- ts/types/_fadroma_agent.Token.Uint256.html | 2 +- ts/types/_fadroma_compile.CargoTOML.html | 2 +- ts/types/_fadroma_cw.CognitariumFormat.html | 2 +- ts/types/_fadroma_cw.CognitariumLimits.html | 2 +- ts/types/_fadroma_cw.CognitariumPrefix.html | 2 +- ts/types/_fadroma_cw.CognitariumSelect.html | 2 +- ts/types/_fadroma_cw.CognitariumVersion.html | 2 +- ts/types/_fadroma_cw.CognitariumWhere.html | 2 +- ts/types/_fadroma_cw.LawStoneVersion.html | 2 +- ts/types/_fadroma_cw.ObjectariumVersion.html | 2 +- ts/types/_fadroma_oci.ContainerCommand.html | 2 +- ts/types/_fadroma_scrt.Mocknet.ScrtCWAPI.html | 2 +- .../_fadroma_scrt.Snip20.QueryWithPermit.html | 2 +- .../_fadroma_scrt.Snip20.Snip20Permit.html | 2 +- ts/types/_fadroma_scrt.Snip20.ViewingKey.html | 2 +- .../_fadroma_agent.Chain.___HACK___.html | 2 +- ts/variables/_fadroma_agent.Program.HEAD.html | 2 +- ts/variables/_fadroma_compile.Compiler.html | 2 +- ts/variables/_fadroma_cw.base64.html | 2 +- ts/variables/_fadroma_cw.bech32.html | 2 +- ts/variables/_fadroma_cw.bip32.html | 2 +- ts/variables/_fadroma_cw.bip39.html | 2 +- ts/variables/_fadroma_cw.bip39EN.html | 2 +- ts/variables/_fadroma_cw.chainIds.html | 2 +- .../_fadroma_cw.cognitariumCodeIds.html | 2 +- ts/variables/_fadroma_cw.lawStoneCodeIds.html | 2 +- .../_fadroma_cw.objectariumCodeIds.html | 2 +- ts/variables/_fadroma_cw.testnets.html | 2 +- ts/variables/_fadroma_scrt.base16.html | 2 +- ts/variables/_fadroma_scrt.base64.html | 2 +- ts/variables/_fadroma_scrt.bech32.html | 2 +- ts/variables/_fadroma_scrt.bip32.html | 2 +- ts/variables/_fadroma_scrt.bip39.html | 2 +- ts/variables/_fadroma_scrt.bip39EN.html | 2 +- ts/variables/_fadroma_scrt.chainIds.html | 2 +- ts/variables/_fadroma_scrt.colors.html | 2 +- ts/variables/_fadroma_scrt.faucets.html | 2 +- ts/variables/_fadroma_scrt.mainnets.html | 2 +- ts/variables/_fadroma_scrt.nonUtf8.html | 2 +- ts/variables/_fadroma_scrt.testnets.html | 2 +- 213 files changed, 932 insertions(+), 931 deletions(-) create mode 160000 toolbox diff --git a/nix b/nix index 724c88479837848bdfafc2dcccef660661803776..5fc8affdaefcd6eb3fba86111624897b2d8aeadf 100644 GIT binary patch delta 32 ncmZn&Xb70lD`0MBVrXW>U|?uuWNyr$U@+N`F=aC&<9{^(k_rfl delta 32 ncmZn&Xb70lD_~}9Vqj>_U|?uuWM;;oU@+N`F=aC&<9{^(k*5fU diff --git a/rs/help.html b/rs/help.html index bfd13422edd..4371ffe865c 100644 --- a/rs/help.html +++ b/rs/help.html @@ -1 +1 @@ -Help

Rustdoc help

Back
\ No newline at end of file +Help

Rustdoc help

Back
\ No newline at end of file diff --git a/rs/settings.html b/rs/settings.html index 2f20074e155..abab7d7ad4d 100644 --- a/rs/settings.html +++ b/rs/settings.html @@ -1 +1 @@ -Settings

Rustdoc settings

Back
\ No newline at end of file +Settings

Rustdoc settings

Back
\ No newline at end of file diff --git a/toolbox b/toolbox new file mode 160000 index 00000000000..2dddc12567a --- /dev/null +++ b/toolbox @@ -0,0 +1 @@ +Subproject commit 2dddc12567ac306ec849e8d0fc60ab330199a052 diff --git a/ts/classes/_fadroma_agent.Chain.Backend.html b/ts/classes/_fadroma_agent.Chain.Backend.html index 1002066f3da..abd7b16e445 100644 --- a/ts/classes/_fadroma_agent.Chain.Backend.html +++ b/ts/classes/_fadroma_agent.Chain.Backend.html @@ -1,9 +1,9 @@ -Backend | Documentation

Hierarchy (view full)

Implemented by

    Constructors

    constructor +Backend | Documentation

    Hierarchy (view full)

    Implemented by

      Constructors

      Properties

      Methods

      Constructors

      Properties

      chainId?: string

      The chain ID that will be passed to the devnet node.

      -
      gasToken?: Native

      Denomination of base gas token for this chain.

      -

      Methods

      • Parameters

        • name: string

        Returns Promise<{
            address?: string;
            mnemonic?: string;
        }>

      Generated using TypeDoc

      \ No newline at end of file +

      Constructors

      Properties

      chainId?: string

      The chain ID that will be passed to the devnet node.

      +
      gasToken?: Native

      Denomination of base gas token for this chain.

      +

      Methods

      • Parameters

        • name: string

        Returns Promise<{
            address?: string;
            mnemonic?: string;
        }>

      Generated using TypeDoc

      \ No newline at end of file diff --git a/ts/classes/_fadroma_agent.Chain.Batch.html b/ts/classes/_fadroma_agent.Chain.Batch.html index e2ed6321b6e..85c6e89d313 100644 --- a/ts/classes/_fadroma_agent.Chain.Batch.html +++ b/ts/classes/_fadroma_agent.Chain.Batch.html @@ -1,13 +1,13 @@ Batch | Documentation

      Builder object for batched transactions.

      -

      Type Parameters

      Hierarchy (view full)

      Constructors

      Type Parameters

      Hierarchy (view full)

      Constructors

      Properties

      Methods

      Constructors

      Properties

      connection?: C

      Methods

      • Add an execute message to the batch.

        -

        Parameters

        • Rest ...args: Parameters<C["execute"]>

        Returns this

      • Add an instantiate message to the batch.

        -

        Parameters

        • Rest ...args: Parameters<C["instantiate"]>

        Returns this

      • Submit the batch.

        -

        Parameters

        • Rest ...args: unknown[]

        Returns Promise<unknown>

      • Add an upload message to the batch.

        -

        Parameters

        • Rest ...args: Parameters<C["upload"]>

        Returns this

      Generated using TypeDoc

      \ No newline at end of file +

      Constructors

      Properties

      connection?: C

      Methods

      • Add an execute message to the batch.

        +

        Parameters

        • Rest ...args: Parameters<C["execute"]>

        Returns this

      • Add an instantiate message to the batch.

        +

        Parameters

        • Rest ...args: Parameters<C["instantiate"]>

        Returns this

      • Submit the batch.

        +

        Parameters

        • Rest ...args: unknown[]

        Returns Promise<unknown>

      • Add an upload message to the batch.

        +

        Parameters

        • Rest ...args: Parameters<C["upload"]>

        Returns this

      Generated using TypeDoc

      \ No newline at end of file diff --git a/ts/classes/_fadroma_agent.Chain.Connection.html b/ts/classes/_fadroma_agent.Chain.Connection.html index aab27d12562..267c50c5ffa 100644 --- a/ts/classes/_fadroma_agent.Chain.Connection.html +++ b/ts/classes/_fadroma_agent.Chain.Connection.html @@ -1,4 +1,4 @@ -Connection | Documentation

      Hierarchy (view full)

      Constructors

      constructor +Connection | Documentation

      Hierarchy (view full)

      Constructors

      Properties

      alive api? blockInterval @@ -44,36 +44,36 @@ send upload gas -

      Constructors

      Properties

      alive: boolean = true

      Setting this to false stops retries.

      -
      api?: unknown

      Platform SDK.

      -
      blockInterval: number = 250

      Time to ping for next block.

      -
      chainId?: string

      Chain ID.

      -
      fees?: {
          exec?: IFee;
          init?: IFee;
          send?: IFee;
          upload?: IFee;
      }

      Default transaction fees.

      -

      Type declaration

      • Optional exec?: IFee
      • Optional init?: IFee
      • Optional send?: IFee
      • Optional upload?: IFee
      identity?: Identity

      Signer identity.

      -
      url?: string

      Connection URL.

      -
      gasToken: Native = ...

      Native token of chain.

      -

      Accessors

      • get [toStringTag](): string
      • Returns string

      • get nextBlock(): Promise<number>
      • Wait for the block height to increment.

        -

        Returns Promise<number>

      Methods

      • Parameters

        • contract: {
              address: string;
          }
          • address: string
        • message: Message
        • options: {
              execFee?: IFee;
              execMemo?: string;
              execSend?: ICoin[];
          }
          • Optional execFee?: IFee
          • Optional execMemo?: string
          • Optional execSend?: ICoin[]

        Returns Promise<unknown>

      • Parameters

        • Optional token: string
        • Optional address: string

        Returns Promise<string | number | bigint>

      • Parameters

        • contract: string

        Returns Promise<string>

      • Parameters

        • codeId: string

        Returns Promise<string>

      • Parameters

        • contract: string

        Returns Promise<string>

      • Parameters

        • id: string

        Returns Promise<Iterable<{
            address: string;
        }>>

      • Parameters

        • contract: {
              address: string;
          }
          • address: string
        • message: Message

        Returns Promise<unknown>

      • Parameters

        • recipient: string
        • amounts: ICoin[]
        • Optional options: {
              sendFee?: IFee;
              sendMemo?: string;
          }
          • Optional sendFee?: IFee
          • Optional sendMemo?: string

        Returns Promise<unknown>

      • Parameters

        • outputs: [string, ICoin[]][]
        • Optional options: unknown

        Returns Promise<unknown>

      • Parameters

        • data: Uint8Array
        • options: {
              reupload?: boolean;
              uploadFee?: ICoin[] | "auto";
              uploadMemo?: string;
              uploadStore?: UploadStore;
          }
          • Optional reupload?: boolean
          • Optional uploadFee?: ICoin[] | "auto"
          • Optional uploadMemo?: string
          • Optional uploadStore?: UploadStore

        Returns Promise<Partial<UploadedCode>>

      • Call a given program's transaction method.

        -

        Parameters

        • contract: string | Partial<ContractInstance>
        • message: Message
        • Optional options: {
              execFee?: IFee;
              execMemo?: string;
              execSend?: ICoin[];
          }
          • Optional execFee?: IFee
          • Optional execMemo?: string
          • Optional execSend?: ICoin[]

        Returns Promise<unknown>

      • Get the balance in a given native token, of +

      Constructors

      Properties

      alive: boolean = true

      Setting this to false stops retries.

      +
      api?: unknown

      Platform SDK.

      +
      blockInterval: number = 250

      Time to ping for next block.

      +
      chainId?: string

      Chain ID.

      +
      fees?: {
          exec?: IFee;
          init?: IFee;
          send?: IFee;
          upload?: IFee;
      }

      Default transaction fees.

      +

      Type declaration

      • Optional exec?: IFee
      • Optional init?: IFee
      • Optional send?: IFee
      • Optional upload?: IFee
      identity?: Identity

      Signer identity.

      +
      url?: string

      Connection URL.

      +
      gasToken: Native = ...

      Native token of chain.

      +

      Accessors

      • get [toStringTag](): string
      • Returns string

      • get nextBlock(): Promise<number>
      • Wait for the block height to increment.

        +

        Returns Promise<number>

      Methods

      • Parameters

        • contract: {
              address: string;
          }
          • address: string
        • message: Message
        • options: {
              execFee?: IFee;
              execMemo?: string;
              execSend?: ICoin[];
          }
          • Optional execFee?: IFee
          • Optional execMemo?: string
          • Optional execSend?: ICoin[]

        Returns Promise<unknown>

      • Parameters

        • Optional token: string
        • Optional address: string

        Returns Promise<string | number | bigint>

      • Parameters

        • contract: string

        Returns Promise<string>

      • Parameters

        • codeId: string

        Returns Promise<string>

      • Parameters

        • contract: string

        Returns Promise<string>

      • Parameters

        • id: string

        Returns Promise<Iterable<{
            address: string;
        }>>

      • Parameters

        • contract: {
              address: string;
          }
          • address: string
        • message: Message

        Returns Promise<unknown>

      • Parameters

        • recipient: string
        • amounts: ICoin[]
        • Optional options: {
              sendFee?: IFee;
              sendMemo?: string;
          }
          • Optional sendFee?: IFee
          • Optional sendMemo?: string

        Returns Promise<unknown>

      • Parameters

        • outputs: [string, ICoin[]][]
        • Optional options: unknown

        Returns Promise<unknown>

      • Parameters

        • data: Uint8Array
        • options: {
              reupload?: boolean;
              uploadFee?: ICoin[] | "auto";
              uploadMemo?: string;
              uploadStore?: UploadStore;
          }
          • Optional reupload?: boolean
          • Optional uploadFee?: ICoin[] | "auto"
          • Optional uploadMemo?: string
          • Optional uploadStore?: UploadStore

        Returns Promise<Partial<UploadedCode>>

      • Call a given program's transaction method.

        +

        Parameters

        • contract: string | Partial<ContractInstance>
        • message: Message
        • Optional options: {
              execFee?: IFee;
              execMemo?: string;
              execSend?: ICoin[];
          }
          • Optional execFee?: IFee
          • Optional execMemo?: string
          • Optional execSend?: ICoin[]

        Returns Promise<unknown>

      • Get the balance in a given native token, of either this connection's identity's address, or of another given address.

        -

        Parameters

        • token: string
        • Optional address: string | {
              address: string;
          }

        Returns Promise<unknown>

      • Get the balance in a native token of a given address, +

        Parameters

        • token: string
        • Optional address: string | {
              address: string;
          }

        Returns Promise<unknown>

      • Get the balance in a native token of a given address, either in this connection's gas token, or in another given token.

        -

        Parameters

        • address: string | {
              address: string;
          }
        • Optional token: string

        Returns Promise<unknown>

      • Get the code hash of a given address.

        -

        Parameters

        • contract: string | {
              address: string;
          }

        Returns Promise<string>

      • Get the code hash of a given code id.

        -

        Parameters

        • contract: string | {
              codeId: string;
          }

        Returns Promise<string>

      • Get the code id of a given address.

        -

        Parameters

        • contract: string | {
              address: string;
          }

        Returns Promise<string>

      • Get a client handle for a specific smart contract, authenticated as as this agent.

        -

        Parameters

        • options: string | {
              address: string;
          }

        Returns Chain.Contract

      • Get client handles for all contracts that match a code ID

        -

        Parameters

        • id: string

        Returns Promise<Record<string, Chain.Contract>>

      • Type Parameters

        Parameters

        • id: string
        • $C: C

        Returns Promise<Record<string, InstanceType<C>>>

      • Get client handles for all contracts that match multiple code IDs

        -

        Parameters

        • ids: Iterable<string>

        Returns Promise<Record<string, Record<string, Chain.Contract>>>

      • Type Parameters

        Parameters

        • ids: Iterable<string>
        • Optional $C: C

        Returns Promise<Record<string, Record<string, InstanceType<C>>>>

      • Type Parameters

        Parameters

        • ids: Record<string, C>

        Returns Promise<Record<string, Record<string, InstanceType<C>>>>

      • Instantiate a new program from a code id, label and init message.

        +

        Parameters

        • address: string | {
              address: string;
          }
        • Optional token: string

        Returns Promise<unknown>

      • Get the code hash of a given address.

        +

        Parameters

        • contract: string | {
              address: string;
          }

        Returns Promise<string>

      • Get the code hash of a given code id.

        +

        Parameters

        • contract: string | {
              codeId: string;
          }

        Returns Promise<string>

      • Get the code id of a given address.

        +

        Parameters

        • contract: string | {
              address: string;
          }

        Returns Promise<string>

      • Get a client handle for a specific smart contract, authenticated as as this agent.

        +

        Parameters

        • options: string | {
              address: string;
          }

        Returns Chain.Contract

      • Get client handles for all contracts that match a code ID

        +

        Parameters

        • id: string

        Returns Promise<Record<string, Chain.Contract>>

      • Type Parameters

        Parameters

        • id: string
        • $C: C

        Returns Promise<Record<string, InstanceType<C>>>

      • Get client handles for all contracts that match multiple code IDs

        +

        Parameters

        • ids: Iterable<string>

        Returns Promise<Record<string, Record<string, Chain.Contract>>>

      • Type Parameters

        Parameters

        • ids: Iterable<string>
        • Optional $C: C

        Returns Promise<Record<string, Record<string, InstanceType<C>>>>

      • Type Parameters

        Parameters

        • ids: Record<string, C>

        Returns Promise<Record<string, Record<string, InstanceType<C>>>>

      • Instantiate a new program from a code id, label and init message.

        Parameters

        Returns Promise<ContractInstance & {
            address: string;
        }>

        Deploy.ContractInstance with no address populated yet. This will be populated after executing the batch.

        Example

        await agent.instantiate(template.define({ label, initMsg })
         
        -
      • Query a contract.

        -

        Type Parameters

        • Q

        Parameters

        • contract: string | {
              address: string;
          }
        • message: Message

        Returns Promise<Q>

      • Send native tokens to 1 recipient.

        -

        Parameters

        • recipient: string | {
              address?: string;
          }
        • amounts: (ICoin | Amount)[]
        • Optional options: {
              sendFee?: IFee;
              sendMemo?: string;
          }
          • Optional sendFee?: IFee
          • Optional sendMemo?: string

        Returns Promise<unknown>

      • Upload a contract's code, generating a new code id/hash pair.

        -

        Parameters

        • code: string | Uint8Array | URL | Partial<CompiledCode>
        • options: {
              reupload?: boolean;
              uploadFee?: ICoin[] | "auto";
              uploadMemo?: string;
              uploadStore?: UploadStore;
          } = {}
          • Optional reupload?: boolean
          • Optional uploadFee?: ICoin[] | "auto"
          • Optional uploadMemo?: string
          • Optional uploadStore?: UploadStore

        Returns Promise<UploadedCode & {
            chainId: string;
            codeId: string;
        }>

      Generated using TypeDoc

      \ No newline at end of file +

      Generated using TypeDoc

      \ No newline at end of file diff --git a/ts/classes/_fadroma_agent.Chain.Contract.html b/ts/classes/_fadroma_agent.Chain.Contract.html index 0935a9c43d5..497aacce0eb 100644 --- a/ts/classes/_fadroma_agent.Chain.Contract.html +++ b/ts/classes/_fadroma_agent.Chain.Contract.html @@ -1,12 +1,12 @@ Contract | Documentation

      Contract: interface to the API of a particular contract instance. Has an address on a specific chain, usually also an agent. Subclass this to add the contract's methods.

      -

      Hierarchy (view full)

      Constructors

      Hierarchy (view full)

      Constructors

      Properties

      Methods

      Constructors

      Properties

      connection?: Chain.Connection
      instance?: {
          address?: string;
      }

      Type declaration

      • Optional address?: string

      Methods

      • Execute a transaction on the specified instance as the specified Connection.

        -

        Parameters

        • message: Message
        • options: {
              execFee?: IFee;
              execMemo?: string;
              execSend?: ICoin[];
          } = {}
          • Optional execFee?: IFee
          • Optional execMemo?: string
          • Optional execSend?: ICoin[]

        Returns Promise<unknown>

      • Execute a query on the specified instance as the specified Connection.

        -

        Type Parameters

        • Q

        Parameters

        Returns Promise<Q>

      Generated using TypeDoc

      \ No newline at end of file +

      Constructors

      Properties

      connection?: Chain.Connection
      instance?: {
          address?: string;
      }

      Type declaration

      • Optional address?: string

      Methods

      • Execute a transaction on the specified instance as the specified Connection.

        +

        Parameters

        • message: Message
        • options: {
              execFee?: IFee;
              execMemo?: string;
              execSend?: ICoin[];
          } = {}
          • Optional execFee?: IFee
          • Optional execMemo?: string
          • Optional execSend?: ICoin[]

        Returns Promise<unknown>

      • Execute a query on the specified instance as the specified Connection.

        +

        Type Parameters

        • Q

        Parameters

        Returns Promise<Q>

      Generated using TypeDoc

      \ No newline at end of file diff --git a/ts/classes/_fadroma_agent.Chain.Endpoint.html b/ts/classes/_fadroma_agent.Chain.Endpoint.html index c48761409b2..0b8448f02a6 100644 --- a/ts/classes/_fadroma_agent.Chain.Endpoint.html +++ b/ts/classes/_fadroma_agent.Chain.Endpoint.html @@ -1,12 +1,12 @@ -Endpoint | Documentation

      Hierarchy (view full)

      Constructors

      constructor +Endpoint | Documentation

      Hierarchy (view full)

      Constructors

      Properties

      Accessors

      Constructors

      Properties

      alive: boolean = true

      Setting this to false stops retries.

      -
      api?: unknown

      Platform SDK.

      -
      chainId?: string

      Chain ID.

      -
      url?: string

      Connection URL.

      -

      Accessors

      Generated using TypeDoc

      \ No newline at end of file +

      Constructors

      Properties

      alive: boolean = true

      Setting this to false stops retries.

      +
      api?: unknown

      Platform SDK.

      +
      chainId?: string

      Chain ID.

      +
      url?: string

      Connection URL.

      +

      Accessors

      Generated using TypeDoc

      \ No newline at end of file diff --git a/ts/classes/_fadroma_agent.Chain.Identity.html b/ts/classes/_fadroma_agent.Chain.Identity.html index cf44c0c168c..0f1c096d7c0 100644 --- a/ts/classes/_fadroma_agent.Chain.Identity.html +++ b/ts/classes/_fadroma_agent.Chain.Identity.html @@ -1,8 +1,8 @@ -Identity | Documentation

      Hierarchy (view full)

      Constructors

      constructor +Identity | Documentation

      Hierarchy (view full)

      Constructors

      Properties

      Methods

      Constructors

      Properties

      address?: string

      Unique identifier.

      -
      name?: string

      Display name.

      -

      Methods

      Generated using TypeDoc

      \ No newline at end of file +

      Constructors

      Properties

      address?: string

      Unique identifier.

      +
      name?: string

      Display name.

      +

      Methods

      Generated using TypeDoc

      \ No newline at end of file diff --git a/ts/classes/_fadroma_agent.Core.Error.html b/ts/classes/_fadroma_agent.Core.Error.html index 760757b606c..efc50a88a43 100644 --- a/ts/classes/_fadroma_agent.Core.Error.html +++ b/ts/classes/_fadroma_agent.Core.Error.html @@ -1,4 +1,4 @@ -Error | Documentation

      Hierarchy (view full)

      Constructors

      constructor +Error | Documentation

      Hierarchy (view full)

      Constructors

      Properties

      cause? message name diff --git a/ts/classes/_fadroma_agent.Deploy.ContractCode.html b/ts/classes/_fadroma_agent.Deploy.ContractCode.html index 0f65e7abcf6..14f005f30a0 100644 --- a/ts/classes/_fadroma_agent.Deploy.ContractCode.html +++ b/ts/classes/_fadroma_agent.Deploy.ContractCode.html @@ -1,4 +1,4 @@ -ContractCode | Documentation

      Hierarchy (view full)

      Constructors

      constructor +ContractCode | Documentation

      Hierarchy (view full)

      Constructors

      Properties

      Methods

      Constructors

      Properties

      compiled?: CompiledCode
      compiler?: Program.Compiler
      deployer?: string | Chain.Connection
      source?: SourceCode
      uploaded?: UploadedCode
      uploader?: string | Chain.Connection

      Methods

      • Compile this contract, unless a valid binary is present and a rebuild is not requested.

        -

        Parameters

        • __namedParameters: {
              compiler?: Program.Compiler;
              rebuild?: boolean;
          } = {}

        Returns Promise<CompiledCode & {
            codeHash: string;
        }>

      • Upload this contract, unless a valid upload is present and a rebuild is not requested.

        -

        Parameters

        • __namedParameters: {
              compiler?: Program.Compiler;
              rebuild?: boolean;
          } & {
              reupload?: boolean;
              uploadFee?: ICoin[] | "auto";
              uploadMemo?: string;
              uploadStore?: UploadStore;
          } & {
              reupload?: boolean;
              uploader?: string | {
                  upload: ((code, options?) => Promise<UploadedCode & {
                      chainId: string;
                      codeId: string;
                  }>);
              };
          } = {}

        Returns Promise<UploadedCode & {
            codeId: string;
        }>

      Generated using TypeDoc

      \ No newline at end of file +

      Constructors

      Properties

      compiled?: CompiledCode
      compiler?: Program.Compiler
      deployer?: string | Chain.Connection
      source?: SourceCode
      uploaded?: UploadedCode
      uploader?: string | Chain.Connection

      Methods

      • Compile this contract, unless a valid binary is present and a rebuild is not requested.

        +

        Parameters

        • __namedParameters: {
              compiler?: Program.Compiler;
              rebuild?: boolean;
          } = {}

        Returns Promise<CompiledCode & {
            codeHash: string;
        }>

      • Upload this contract, unless a valid upload is present and a rebuild is not requested.

        +

        Parameters

        • __namedParameters: {
              compiler?: Program.Compiler;
              rebuild?: boolean;
          } & {
              reupload?: boolean;
              uploadFee?: ICoin[] | "auto";
              uploadMemo?: string;
              uploadStore?: UploadStore;
          } & {
              reupload?: boolean;
              uploader?: string | {
                  upload: ((code, options?) => Promise<UploadedCode & {
                      chainId: string;
                      codeId: string;
                  }>);
              };
          } = {}

        Returns Promise<UploadedCode & {
            codeId: string;
        }>

      Generated using TypeDoc

      \ No newline at end of file diff --git a/ts/classes/_fadroma_agent.Deploy.ContractInstance.html b/ts/classes/_fadroma_agent.Deploy.ContractInstance.html index 99287c8ba44..cb7f5cb119f 100644 --- a/ts/classes/_fadroma_agent.Deploy.ContractInstance.html +++ b/ts/classes/_fadroma_agent.Deploy.ContractInstance.html @@ -3,7 +3,7 @@
    • needed for deployment-wide deduplication
    • generates structured label
    • -

      Hierarchy (view full)

      Constructors

      Hierarchy (view full)

      Constructors

      Properties

      Constructors

      Properties

      address?: string

      Address of this contract instance. Unique per chain.

      -
      chainId?: string

      Code ID representing the identity of the contract's code on a specific chain.

      -
      codeHash?: string

      Code hash uniquely identifying the compiled code.

      -
      codeId?: string

      Code ID representing the identity of the contract's code on a specific chain.

      -
      compiled?: CompiledCode
      compiler?: Program.Compiler
      deployer?: string | Chain.Connection
      deployment?: Deployment

      Deployment to which this unit belongs.

      -
      initBy?: string | Chain.Connection

      Address of agent that performed the init tx.

      -
      initFee?: unknown

      Fee to use for init.

      -
      initGas?: unknown

      Contents of init message.

      -
      initMemo?: string

      Instantiation memo.

      -
      initMsg?: Into<Message>

      Contents of init message.

      -
      initSend?: ICoin[]

      Native tokens to send to the new contract.

      -
      initTx?: string

      ID of transaction that performed the init.

      -
      isTemplate: false = false
      label?: string

      Full label of the instance. Unique for a given chain.

      -
      name?: string

      Name of this unit.

      -
      source?: SourceCode
      uploaded?: UploadedCode
      uploader?: string | Chain.Connection

      Methods

      • Parameters

        • __namedParameters: {
              compiler?: Program.Compiler;
              rebuild?: boolean;
          } & {
              reupload?: boolean;
              uploadFee?: ICoin[] | "auto";
              uploadMemo?: string;
              uploadStore?: UploadStore;
          } & {
              reupload?: boolean;
              uploader?: string | {
                  upload: ((code, options?) => Promise<UploadedCode & {
                      chainId: string;
                      codeId: string;
                  }>);
              };
          } & Partial<ContractInstance> & {
              deployer?: string | {
                  instantiate: ((contract, options) => Promise<ContractInstance & {
                      address: string;
                  }>);
              };
              redeploy?: boolean;
          } = {}

        Returns Promise<ContractInstance & {
            address: string;
        }>

      • Returns {
            address: string;
            chainId: string;
            codeHash: string;
            codeId: string;
            initBy: string | Chain.Connection;
            initFee: unknown;
            initGas: unknown;
            initMemo: string;
            initMsg: Into<Message>;
            initSend: ICoin[];
            initTx: string;
            label: string;
            name: string;
        }

        • address: string
        • chainId: string
        • codeHash: string
        • codeId: string
        • initBy: string | Chain.Connection
        • initFee: unknown
        • initGas: unknown
        • initMemo: string
        • initMsg: Into<Message>
        • initSend: ICoin[]
        • initTx: string
        • label: string
        • name: string
      • Upload this contract, unless a valid upload is present and a rebuild is not requested.

        -

        Parameters

        • __namedParameters: {
              compiler?: Program.Compiler;
              rebuild?: boolean;
          } & {
              reupload?: boolean;
              uploadFee?: ICoin[] | "auto";
              uploadMemo?: string;
              uploadStore?: UploadStore;
          } & {
              reupload?: boolean;
              uploader?: string | {
                  upload: ((code, options?) => Promise<UploadedCode & {
                      chainId: string;
                      codeId: string;
                  }>);
              };
          } = {}

        Returns Promise<UploadedCode & {
            codeId: string;
        }>

      Generated using TypeDoc

      \ No newline at end of file +

      Constructors

      Properties

      address?: string

      Address of this contract instance. Unique per chain.

      +
      chainId?: string

      Code ID representing the identity of the contract's code on a specific chain.

      +
      codeHash?: string

      Code hash uniquely identifying the compiled code.

      +
      codeId?: string

      Code ID representing the identity of the contract's code on a specific chain.

      +
      compiled?: CompiledCode
      compiler?: Program.Compiler
      deployer?: string | Chain.Connection
      deployment?: Deployment

      Deployment to which this unit belongs.

      +
      initBy?: string | Chain.Connection

      Address of agent that performed the init tx.

      +
      initFee?: unknown

      Fee to use for init.

      +
      initGas?: unknown

      Contents of init message.

      +
      initMemo?: string

      Instantiation memo.

      +
      initMsg?: Into<Message>

      Contents of init message.

      +
      initSend?: ICoin[]

      Native tokens to send to the new contract.

      +
      initTx?: string

      ID of transaction that performed the init.

      +
      isTemplate: false = false
      label?: string

      Full label of the instance. Unique for a given chain.

      +
      name?: string

      Name of this unit.

      +
      source?: SourceCode
      uploaded?: UploadedCode
      uploader?: string | Chain.Connection

      Methods

      • Parameters

        • __namedParameters: {
              compiler?: Program.Compiler;
              rebuild?: boolean;
          } & {
              reupload?: boolean;
              uploadFee?: ICoin[] | "auto";
              uploadMemo?: string;
              uploadStore?: UploadStore;
          } & {
              reupload?: boolean;
              uploader?: string | {
                  upload: ((code, options?) => Promise<UploadedCode & {
                      chainId: string;
                      codeId: string;
                  }>);
              };
          } & Partial<ContractInstance> & {
              deployer?: string | {
                  instantiate: ((contract, options) => Promise<ContractInstance & {
                      address: string;
                  }>);
              };
              redeploy?: boolean;
          } = {}

        Returns Promise<ContractInstance & {
            address: string;
        }>

      • Returns {
            address: string;
            chainId: string;
            codeHash: string;
            codeId: string;
            initBy: string | Chain.Connection;
            initFee: unknown;
            initGas: unknown;
            initMemo: string;
            initMsg: Into<Message>;
            initSend: ICoin[];
            initTx: string;
            label: string;
            name: string;
        }

        • address: string
        • chainId: string
        • codeHash: string
        • codeId: string
        • initBy: string | Chain.Connection
        • initFee: unknown
        • initGas: unknown
        • initMemo: string
        • initMsg: Into<Message>
        • initSend: ICoin[]
        • initTx: string
        • label: string
        • name: string
      • Upload this contract, unless a valid upload is present and a rebuild is not requested.

        +

        Parameters

        • __namedParameters: {
              compiler?: Program.Compiler;
              rebuild?: boolean;
          } & {
              reupload?: boolean;
              uploadFee?: ICoin[] | "auto";
              uploadMemo?: string;
              uploadStore?: UploadStore;
          } & {
              reupload?: boolean;
              uploader?: string | {
                  upload: ((code, options?) => Promise<UploadedCode & {
                      chainId: string;
                      codeId: string;
                  }>);
              };
          } = {}

        Returns Promise<UploadedCode & {
            codeId: string;
        }>

      Generated using TypeDoc

      \ No newline at end of file diff --git a/ts/classes/_fadroma_agent.Deploy.ContractTemplate.html b/ts/classes/_fadroma_agent.Deploy.ContractTemplate.html index e9b2179e7f1..1a38bd718cf 100644 --- a/ts/classes/_fadroma_agent.Deploy.ContractTemplate.html +++ b/ts/classes/_fadroma_agent.Deploy.ContractTemplate.html @@ -3,7 +3,7 @@
    • needed for deployment-wide deduplication
    • generates structured label
    • -

      Hierarchy (view full)

      Constructors

      Hierarchy (view full)

      Constructors

      Properties

      Constructors

      Properties

      chainId?: string

      Code ID representing the identity of the contract's code on a specific chain.

      -
      codeHash?: string

      Code hash uniquely identifying the compiled code.

      -
      codeId?: string

      Code ID representing the identity of the contract's code on a specific chain.

      -
      compiled?: CompiledCode
      compiler?: Program.Compiler
      deployer?: string | Chain.Connection
      deployment?: Deployment

      Deployment to which this unit belongs.

      -
      isTemplate: true = true
      name?: string

      Name of this unit.

      -
      source?: SourceCode
      uploaded?: UploadedCode
      uploader?: string | Chain.Connection

      Methods

      • Returns {
            chainId: string;
            codeHash: string;
            codeId: string;
            name: string;
        }

        • chainId: string
        • codeHash: string
        • codeId: string
        • name: string
      • Upload this contract, unless a valid upload is present and a rebuild is not requested.

        -

        Parameters

        • __namedParameters: {
              compiler?: Program.Compiler;
              rebuild?: boolean;
          } & {
              reupload?: boolean;
              uploadFee?: ICoin[] | "auto";
              uploadMemo?: string;
              uploadStore?: UploadStore;
          } & {
              reupload?: boolean;
              uploader?: string | {
                  upload: ((code, options?) => Promise<UploadedCode & {
                      chainId: string;
                      codeId: string;
                  }>);
              };
          } = {}

        Returns Promise<UploadedCode & {
            codeId: string;
        }>

      Generated using TypeDoc

      \ No newline at end of file +

      Constructors

      Properties

      chainId?: string

      Code ID representing the identity of the contract's code on a specific chain.

      +
      codeHash?: string

      Code hash uniquely identifying the compiled code.

      +
      codeId?: string

      Code ID representing the identity of the contract's code on a specific chain.

      +
      compiled?: CompiledCode
      compiler?: Program.Compiler
      deployer?: string | Chain.Connection
      deployment?: Deployment

      Deployment to which this unit belongs.

      +
      isTemplate: true = true
      name?: string

      Name of this unit.

      +
      source?: SourceCode
      uploaded?: UploadedCode
      uploader?: string | Chain.Connection

      Methods

      • Returns {
            chainId: string;
            codeHash: string;
            codeId: string;
            name: string;
        }

        • chainId: string
        • codeHash: string
        • codeId: string
        • name: string
      • Upload this contract, unless a valid upload is present and a rebuild is not requested.

        +

        Parameters

        • __namedParameters: {
              compiler?: Program.Compiler;
              rebuild?: boolean;
          } & {
              reupload?: boolean;
              uploadFee?: ICoin[] | "auto";
              uploadMemo?: string;
              uploadStore?: UploadStore;
          } & {
              reupload?: boolean;
              uploader?: string | {
                  upload: ((code, options?) => Promise<UploadedCode & {
                      chainId: string;
                      codeId: string;
                  }>);
              };
          } = {}

        Returns Promise<UploadedCode & {
            codeId: string;
        }>

      Generated using TypeDoc

      \ No newline at end of file diff --git a/ts/classes/_fadroma_agent.Deploy.Deployment.html b/ts/classes/_fadroma_agent.Deploy.Deployment.html index 4fd62b1e5d7..6d1584c4e3c 100644 --- a/ts/classes/_fadroma_agent.Deploy.Deployment.html +++ b/ts/classes/_fadroma_agent.Deploy.Deployment.html @@ -1,5 +1,5 @@ Deployment | Documentation

      A collection of contracts.

      -

      Hierarchy

      Constructors

      Hierarchy

      Constructors

      Properties

      Constructors

      Properties

      [toStringTag]: string
      log: Core.Console = ...
      name: string = ...
      size: number

      Returns

      the number of elements in the Map.

      +

      Constructors

      Properties

      [toStringTag]: string
      log: Core.Console = ...
      name: string = ...
      size: number

      Returns

      the number of elements in the Map.

      [species]: MapConstructor

      Methods

      • Returns an iterable of entries in the map.

        -

        Returns IterableIterator<[string, DeploymentUnit]>

      • Parameters

        • __namedParameters: {
              compiler?: Program.Compiler;
              rebuild?: boolean;
          } & {
              units?: string[];
          } = {}

        Returns Promise<Record<string, CompiledCode & {
            codeHash: string;
        }>>

      • Returns void

      • Define a contract that will be automatically compiled, uploaded, +

        Returns IterableIterator<[string, DeploymentUnit]>

      • Parameters

        • __namedParameters: {
              compiler?: Program.Compiler;
              rebuild?: boolean;
          } & {
              units?: string[];
          } = {}

        Returns Promise<Record<string, CompiledCode & {
            codeHash: string;
        }>>

      • Returns void

      • Parameters

        • key: string

        Returns boolean

        true if an element in the Map existed and has been removed, or false if the element does not exist.

        -
      • Parameters

        • __namedParameters: {
              compiler?: Program.Compiler;
              rebuild?: boolean;
          } & {
              reupload?: boolean;
              uploadFee?: ICoin[] | "auto";
              uploadMemo?: string;
              uploadStore?: UploadStore;
          } & {
              reupload?: boolean;
              uploader?: string | {
                  upload: ((code, options?) => Promise<UploadedCode & {
                      chainId: string;
                      codeId: string;
                  }>);
              };
          } & Partial<ContractInstance> & {
              deployer?: string | {
                  instantiate: ((contract, options) => Promise<ContractInstance & {
                      address: string;
                  }>);
              };
              redeploy?: boolean;
          } & {
              deployStore?: DeployStore;
              units?: string[];
          } = {}

        Returns Promise<Record<string, ContractInstance & {
            address: string;
        }>>

      • Parameters

        • key: string

        Returns boolean

        true if an element in the Map existed and has been removed, or false if the element does not exist.

        +
      • Parameters

        • __namedParameters: {
              compiler?: Program.Compiler;
              rebuild?: boolean;
          } & {
              reupload?: boolean;
              uploadFee?: ICoin[] | "auto";
              uploadMemo?: string;
              uploadStore?: UploadStore;
          } & {
              reupload?: boolean;
              uploader?: string | {
                  upload: ((code, options?) => Promise<UploadedCode & {
                      chainId: string;
                      codeId: string;
                  }>);
              };
          } & Partial<ContractInstance> & {
              deployer?: string | {
                  instantiate: ((contract, options) => Promise<ContractInstance & {
                      address: string;
                  }>);
              };
              redeploy?: boolean;
          } & {
              deployStore?: DeployStore;
              units?: string[];
          } = {}

        Returns Promise<Record<string, ContractInstance & {
            address: string;
        }>>

      • Returns an iterable of key, value pairs for every entry in the map.

        Returns IterableIterator<[string, DeploymentUnit]>

      • Executes a provided function once per each key/value pair in the Map, in insertion order.

        Parameters

        • callbackfn: ((value, key, map) => void)
        • Optional thisArg: any

        Returns void

      • Returns a specified element from the Map object. If the value that is associated to the provided key is an object, then you will get a reference to that object and any change made to that object will effectively modify it inside the Map.

        Parameters

        • key: string

        Returns DeploymentUnit

        Returns the element associated with the specified key. If no element is associated with the specified key, undefined is returned.

      • Parameters

        • key: string

        Returns boolean

        boolean indicating whether an element with the specified key exists or not.

      • Returns an iterable of keys in the map

        -

        Returns IterableIterator<string>

      • Returns {
            name: string;
            units: {
                [k: string]: T;
            };
        }

        • name: string
        • units: {
              [k: string]: T;
          }
          • [k: string]: T
      • Define a template, representing code that can be compiled +

        Returns IterableIterator<string>

      • Returns {
            name: string;
            units: {
                [k: string]: T;
            };
        }

        • name: string
        • units: {
              [k: string]: T;
          }
          • [k: string]: T
      • Parameters

        • __namedParameters: {
              compiler?: Program.Compiler;
              rebuild?: boolean;
          } & {
              reupload?: boolean;
              uploadFee?: ICoin[] | "auto";
              uploadMemo?: string;
              uploadStore?: UploadStore;
          } & {
              reupload?: boolean;
              uploader?: string | {
                  upload: ((code, options?) => Promise<UploadedCode & {
                      chainId: string;
                      codeId: string;
                  }>);
              };
          } & {
              units?: string[];
              uploadStore?: UploadStore;
          } = {}

        Returns Promise<Record<string, UploadedCode & {
            codeId: string;
        }>>

      • Returns an iterable of values in the map

        -

        Returns IterableIterator<DeploymentUnit>

      • Parameters

        • __namedParameters: Partial<{
              name: string;
              units: {
                  [k: string]: T;
              };
          }>

        Returns Deployment

      Generated using TypeDoc

      \ No newline at end of file +

      Parameters

      Returns ContractTemplate

      Generated using TypeDoc

      \ No newline at end of file diff --git a/ts/classes/_fadroma_agent.Deploy.DeploymentUnit.html b/ts/classes/_fadroma_agent.Deploy.DeploymentUnit.html index 52943be2dce..4ed447672be 100644 --- a/ts/classes/_fadroma_agent.Deploy.DeploymentUnit.html +++ b/ts/classes/_fadroma_agent.Deploy.DeploymentUnit.html @@ -3,7 +3,7 @@
    • needed for deployment-wide deduplication
    • generates structured label
    • -

      Hierarchy (view full)

      Constructors

      Hierarchy (view full)

      Constructors

      Properties

      chainId? codeHash? codeId? @@ -19,11 +19,11 @@

      Methods

      Constructors

      Properties

      chainId?: string

      Code ID representing the identity of the contract's code on a specific chain.

      -
      codeHash?: string

      Code hash uniquely identifying the compiled code.

      -
      codeId?: string

      Code ID representing the identity of the contract's code on a specific chain.

      -
      compiled?: CompiledCode
      compiler?: Program.Compiler
      deployer?: string | Chain.Connection
      deployment?: Deployment

      Deployment to which this unit belongs.

      -
      name?: string

      Name of this unit.

      -
      source?: SourceCode
      uploaded?: UploadedCode
      uploader?: string | Chain.Connection

      Methods

      • Compile this contract, unless a valid binary is present and a rebuild is not requested.

        -

        Parameters

        • __namedParameters: {
              compiler?: Program.Compiler;
              rebuild?: boolean;
          } = {}

        Returns Promise<CompiledCode & {
            codeHash: string;
        }>

      • Returns {
            chainId: string;
            codeHash: string;
            codeId: string;
            name: string;
        }

        • chainId: string
        • codeHash: string
        • codeId: string
        • name: string
      • Upload this contract, unless a valid upload is present and a rebuild is not requested.

        -

        Parameters

        • __namedParameters: {
              compiler?: Program.Compiler;
              rebuild?: boolean;
          } & {
              reupload?: boolean;
              uploadFee?: ICoin[] | "auto";
              uploadMemo?: string;
              uploadStore?: UploadStore;
          } & {
              reupload?: boolean;
              uploader?: string | {
                  upload: ((code, options?) => Promise<UploadedCode & {
                      chainId: string;
                      codeId: string;
                  }>);
              };
          } = {}

        Returns Promise<UploadedCode & {
            codeId: string;
        }>

      Generated using TypeDoc

      \ No newline at end of file +

      Constructors

      Properties

      chainId?: string

      Code ID representing the identity of the contract's code on a specific chain.

      +
      codeHash?: string

      Code hash uniquely identifying the compiled code.

      +
      codeId?: string

      Code ID representing the identity of the contract's code on a specific chain.

      +
      compiled?: CompiledCode
      compiler?: Program.Compiler
      deployer?: string | Chain.Connection
      deployment?: Deployment

      Deployment to which this unit belongs.

      +
      name?: string

      Name of this unit.

      +
      source?: SourceCode
      uploaded?: UploadedCode
      uploader?: string | Chain.Connection

      Methods

      • Compile this contract, unless a valid binary is present and a rebuild is not requested.

        +

        Parameters

        • __namedParameters: {
              compiler?: Program.Compiler;
              rebuild?: boolean;
          } = {}

        Returns Promise<CompiledCode & {
            codeHash: string;
        }>

      • Returns {
            chainId: string;
            codeHash: string;
            codeId: string;
            name: string;
        }

        • chainId: string
        • codeHash: string
        • codeId: string
        • name: string
      • Upload this contract, unless a valid upload is present and a rebuild is not requested.

        +

        Parameters

        • __namedParameters: {
              compiler?: Program.Compiler;
              rebuild?: boolean;
          } & {
              reupload?: boolean;
              uploadFee?: ICoin[] | "auto";
              uploadMemo?: string;
              uploadStore?: UploadStore;
          } & {
              reupload?: boolean;
              uploader?: string | {
                  upload: ((code, options?) => Promise<UploadedCode & {
                      chainId: string;
                      codeId: string;
                  }>);
              };
          } = {}

        Returns Promise<UploadedCode & {
            codeId: string;
        }>

      Generated using TypeDoc

      \ No newline at end of file diff --git a/ts/classes/_fadroma_agent.Deploy.UploadedCode.html b/ts/classes/_fadroma_agent.Deploy.UploadedCode.html index 69a97a30005..7805beb8eca 100644 --- a/ts/classes/_fadroma_agent.Deploy.UploadedCode.html +++ b/ts/classes/_fadroma_agent.Deploy.UploadedCode.html @@ -1,5 +1,5 @@ UploadedCode | Documentation

      An object representing the contract's binary uploaded to a given chain.

      -

      Constructors

      Constructors

      Properties

      Methods

      Constructors

      Properties

      chainId?: string

      ID of chain on which this contract is uploaded.

      -
      codeHash?: string

      Code hash uniquely identifying the compiled code.

      -
      codeId?: string

      Code ID representing the identity of the contract's code on a specific chain.

      -
      uploadBy?: string | Chain.Connection

      address of agent that performed the upload.

      -
      uploadGas?: string | number

      address of agent that performed the upload.

      -
      uploadTx?: string

      TXID of transaction that performed the upload.

      -

      Accessors

      Methods

      • Returns {
            chainId?: string;
            codeHash?: string;
            codeId?: string;
            uploadBy?: string;
            uploadGas?: string | number;
            uploadInfo?: string;
            uploadTx?: string;
            [key: string]: unknown;
        }

        • [key: string]: unknown
        • Optional chainId?: string
        • Optional codeHash?: string
        • Optional codeId?: string
        • Optional uploadBy?: string
        • Optional uploadGas?: string | number
        • Optional uploadInfo?: string
        • Optional uploadTx?: string

      Generated using TypeDoc

      \ No newline at end of file +

      Constructors

      Properties

      chainId?: string

      ID of chain on which this contract is uploaded.

      +
      codeHash?: string

      Code hash uniquely identifying the compiled code.

      +
      codeId?: string

      Code ID representing the identity of the contract's code on a specific chain.

      +
      uploadBy?: string | Chain.Connection

      address of agent that performed the upload.

      +
      uploadGas?: string | number

      address of agent that performed the upload.

      +
      uploadTx?: string

      TXID of transaction that performed the upload.

      +

      Accessors

      Methods

      • Returns {
            chainId?: string;
            codeHash?: string;
            codeId?: string;
            uploadBy?: string;
            uploadGas?: string | number;
            uploadInfo?: string;
            uploadTx?: string;
            [key: string]: unknown;
        }

        • [key: string]: unknown
        • Optional chainId?: string
        • Optional codeHash?: string
        • Optional codeId?: string
        • Optional uploadBy?: string
        • Optional uploadGas?: string | number
        • Optional uploadInfo?: string
        • Optional uploadTx?: string

      Generated using TypeDoc

      \ No newline at end of file diff --git a/ts/classes/_fadroma_agent.Program.CompiledCode.html b/ts/classes/_fadroma_agent.Program.CompiledCode.html index 64a91407d6d..57c785181d2 100644 --- a/ts/classes/_fadroma_agent.Program.CompiledCode.html +++ b/ts/classes/_fadroma_agent.Program.CompiledCode.html @@ -1,5 +1,5 @@ CompiledCode | Documentation

      An object representing a given compiled binary.

      -

      Hierarchy (view full)

      Constructors

      Hierarchy (view full)

      Constructors

      Properties

      Constructors

      Properties

      codeData?: Uint8Array

      The compiled code.

      -
      codeHash?: string

      Code hash uniquely identifying the compiled code.

      -
      codePath?: string | URL

      Location of the compiled code.

      -

      Accessors

      Methods

      • Returns {
            codeHash?: string;
            codePath?: string;
            [key: string]: unknown;
        }

        • [key: string]: unknown
        • Optional codeHash?: string
        • Optional codePath?: string

      Generated using TypeDoc

      \ No newline at end of file +

      Constructors

      Properties

      codeData?: Uint8Array

      The compiled code.

      +
      codeHash?: string

      Code hash uniquely identifying the compiled code.

      +
      codePath?: string | URL

      Location of the compiled code.

      +

      Accessors

      Methods

      • Returns {
            codeHash?: string;
            codePath?: string;
            [key: string]: unknown;
        }

        • [key: string]: unknown
        • Optional codeHash?: string
        • Optional codePath?: string

      Generated using TypeDoc

      \ No newline at end of file diff --git a/ts/classes/_fadroma_agent.Program.Compiler.html b/ts/classes/_fadroma_agent.Program.Compiler.html index 860c7047fef..fec89c4b98b 100644 --- a/ts/classes/_fadroma_agent.Program.Compiler.html +++ b/ts/classes/_fadroma_agent.Program.Compiler.html @@ -1,4 +1,4 @@ -Compiler | Documentation

      Hierarchy (view full)

      Constructors

      constructor +Compiler | Documentation

      Hierarchy (view full)

      Constructors

      Properties

      caching id log @@ -7,11 +7,11 @@

      Constructors

      Properties

      caching: boolean = true

      Whether to enable build caching. When set to false, this compiler will rebuild even when binary and checksum are both present in wasm/ directory

      -
      id: string

      Unique identifier of this compiler implementation.

      -

      Methods

      id: string

      Unique identifier of this compiler implementation.

      +

      Methods

      Generated using TypeDoc

      \ No newline at end of file +

      Parameters

      Returns Promise<CompiledCode[]>

      Generated using TypeDoc

      \ No newline at end of file diff --git a/ts/classes/_fadroma_agent.Program.LocalCompiledCode.html b/ts/classes/_fadroma_agent.Program.LocalCompiledCode.html index 0f9b4df5b16..a2ccec0e767 100644 --- a/ts/classes/_fadroma_agent.Program.LocalCompiledCode.html +++ b/ts/classes/_fadroma_agent.Program.LocalCompiledCode.html @@ -1,5 +1,5 @@ LocalCompiledCode | Documentation

      An object representing a given compiled binary on the local filesystem.

      -

      Hierarchy (view full)

      Constructors

      Hierarchy (view full)

      Constructors

      Properties

      Constructors

      Properties

      codeData?: Uint8Array

      The compiled code.

      -
      codeHash?: string

      Code hash uniquely identifying the compiled code.

      -
      codePath?: string | URL

      Location of the compiled code.

      -

      Accessors

      Methods

      • Returns {
            codeHash?: string;
            codePath?: string;
            [key: string]: unknown;
        }

        • [key: string]: unknown
        • Optional codeHash?: string
        • Optional codePath?: string

      Generated using TypeDoc

      \ No newline at end of file +

      Constructors

      Properties

      codeData?: Uint8Array

      The compiled code.

      +
      codeHash?: string

      Code hash uniquely identifying the compiled code.

      +
      codePath?: string | URL

      Location of the compiled code.

      +

      Accessors

      Methods

      • Returns {
            codeHash?: string;
            codePath?: string;
            [key: string]: unknown;
        }

        • [key: string]: unknown
        • Optional codeHash?: string
        • Optional codePath?: string

      Generated using TypeDoc

      \ No newline at end of file diff --git a/ts/classes/_fadroma_agent.Program.RustSourceCode.html b/ts/classes/_fadroma_agent.Program.RustSourceCode.html index b40ef2d3816..5ffdfd728fb 100644 --- a/ts/classes/_fadroma_agent.Program.RustSourceCode.html +++ b/ts/classes/_fadroma_agent.Program.RustSourceCode.html @@ -1,5 +1,5 @@ RustSourceCode | Documentation

      An object representing a given source code.

      -

      Hierarchy (view full)

      Constructors

      Hierarchy (view full)

      Constructors

      Properties

      Methods

      Constructors

      Properties

      cargoCrate?: string

      Name of crate.

      -
      cargoFeatures?: string[] | Set<string>

      List of crate features to enable during build.

      -
      cargoToml?: string

      Path to the crate's Cargo.toml under sourcePath

      -
      cargoWorkspace?: string

      Path to the workspace's Cargo.toml in the source tree.

      -
      sourceDirty?: boolean

      Whether the code contains uncommitted changes.

      -
      sourceOrigin?: string | URL

      URL pointing to Git upstream containing the canonical source code.

      -
      sourcePath?: string

      Path to local checkout of the source code (with .git directory if sourceRef is set).

      -
      sourceRef?: string

      Pointer to the source commit.

      -

      Accessors

      Methods

      • Returns {
            sourceDirty?: boolean;
            sourceOrigin?: string;
            sourcePath?: string;
            sourceRef?: string;
            [key: string]: unknown;
        } & {
            cargoCrate?: string;
            cargoFeatures?: string[];
            cargoWorkspace?: string;
            [key: string]: unknown;
        }

      Generated using TypeDoc

      \ No newline at end of file +

      Constructors

      Properties

      cargoCrate?: string

      Name of crate.

      +
      cargoFeatures?: string[] | Set<string>

      List of crate features to enable during build.

      +
      cargoToml?: string

      Path to the crate's Cargo.toml under sourcePath

      +
      cargoWorkspace?: string

      Path to the workspace's Cargo.toml in the source tree.

      +
      sourceDirty?: boolean

      Whether the code contains uncommitted changes.

      +
      sourceOrigin?: string | URL

      URL pointing to Git upstream containing the canonical source code.

      +
      sourcePath?: string

      Path to local checkout of the source code (with .git directory if sourceRef is set).

      +
      sourceRef?: string

      Pointer to the source commit.

      +

      Accessors

      Methods

      • Returns {
            sourceDirty?: boolean;
            sourceOrigin?: string;
            sourcePath?: string;
            sourceRef?: string;
            [key: string]: unknown;
        } & {
            cargoCrate?: string;
            cargoFeatures?: string[];
            cargoWorkspace?: string;
            [key: string]: unknown;
        }

      Generated using TypeDoc

      \ No newline at end of file diff --git a/ts/classes/_fadroma_agent.Program.SourceCode.html b/ts/classes/_fadroma_agent.Program.SourceCode.html index 3108ce03118..1edd8f36995 100644 --- a/ts/classes/_fadroma_agent.Program.SourceCode.html +++ b/ts/classes/_fadroma_agent.Program.SourceCode.html @@ -1,5 +1,5 @@ SourceCode | Documentation

      An object representing a given source code.

      -

      Hierarchy (view full)

      Constructors

      Hierarchy (view full)

      Constructors

      Properties

      Methods

      Constructors

      Properties

      sourceDirty?: boolean

      Whether the code contains uncommitted changes.

      -
      sourceOrigin?: string | URL

      URL pointing to Git upstream containing the canonical source code.

      -
      sourcePath?: string

      Path to local checkout of the source code (with .git directory if sourceRef is set).

      -
      sourceRef?: string

      Pointer to the source commit.

      -

      Accessors

      Methods

      • Returns {
            sourceDirty?: boolean;
            sourceOrigin?: string;
            sourcePath?: string;
            sourceRef?: string;
            [key: string]: unknown;
        }

        • [key: string]: unknown
        • Optional sourceDirty?: boolean
        • Optional sourceOrigin?: string
        • Optional sourcePath?: string
        • Optional sourceRef?: string

      Generated using TypeDoc

      \ No newline at end of file +

      Constructors

      Properties

      sourceDirty?: boolean

      Whether the code contains uncommitted changes.

      +
      sourceOrigin?: string | URL

      URL pointing to Git upstream containing the canonical source code.

      +
      sourcePath?: string

      Path to local checkout of the source code (with .git directory if sourceRef is set).

      +
      sourceRef?: string

      Pointer to the source commit.

      +

      Accessors

      Methods

      • Returns {
            sourceDirty?: boolean;
            sourceOrigin?: string;
            sourcePath?: string;
            sourceRef?: string;
            [key: string]: unknown;
        }

        • [key: string]: unknown
        • Optional sourceDirty?: boolean
        • Optional sourceOrigin?: string
        • Optional sourcePath?: string
        • Optional sourceRef?: string

      Generated using TypeDoc

      \ No newline at end of file diff --git a/ts/classes/_fadroma_agent.Store.DeployStore.html b/ts/classes/_fadroma_agent.Store.DeployStore.html index c76ef26a56a..01c0c1b316e 100644 --- a/ts/classes/_fadroma_agent.Store.DeployStore.html +++ b/ts/classes/_fadroma_agent.Store.DeployStore.html @@ -1,6 +1,6 @@ DeployStore | Documentation

      A deploy store collects receipts corresponding to individual instances of Deployment, and can create Deployment objects with the data from the receipts.

      -

      Hierarchy

      Constructors

      Hierarchy

      Constructors

      Properties

      [toStringTag] log selected? @@ -16,12 +16,12 @@ keys set values -

      Constructors

      Properties

      [toStringTag]: string
      log: Core.Console = ...
      selected?: Partial<{
          name: string;
          units: {
              [k: string]: T;
          };
      }> = undefined

      Type declaration

      • name: string
      • units: {
            [k: string]: T;
        }
        • [k: string]: T
      size: number

      Returns

      the number of elements in the Map.

      +

      Constructors

      Properties

      [toStringTag]: string
      log: Core.Console = ...
      selected?: Partial<{
          name: string;
          units: {
              [k: string]: T;
          };
      }> = undefined

      Type declaration

      • name: string
      • units: {
            [k: string]: T;
        }
        • [k: string]: T
      size: number

      Returns

      the number of elements in the Map.

      [species]: MapConstructor

      Methods

      • Returns an iterable of entries in the map.

        Returns IterableIterator<[string, Partial<{
            name: string;
            units: {
                [k: string]: T;
            };
        }>]>

      • Returns void

      • Parameters

        • key: string

        Returns boolean

        true if an element in the Map existed and has been removed, or false if the element does not exist.

      • Returns an iterable of key, value pairs for every entry in the map.

        Returns IterableIterator<[string, Partial<{
            name: string;
            units: {
                [k: string]: T;
            };
        }>]>

      • Executes a provided function once per each key/value pair in the Map, in insertion order.

        -

        Parameters

        • callbackfn: ((value, key, map) => void)
            • (value, key, map): void
            • Parameters

              • value: Partial<{
                    name: string;
                    units: {
                        [k: string]: T;
                    };
                }>
              • key: string
              • map: Map<string, Partial<{
                    name: string;
                    units: {
                        [k: string]: T;
                    };
                }>>

              Returns void

        • Optional thisArg: any

        Returns void

      • Parameters

        • Optional name: string

        Returns Partial<{
            name: string;
            units: {
                [k: string]: T;
            };
        }>

      • Parameters

        • key: string

        Returns boolean

        boolean indicating whether an element with the specified key exists or not.

        +

      Parameters

      • callbackfn: ((value, key, map) => void)
          • (value, key, map): void
          • Parameters

            • value: Partial<{
                  name: string;
                  units: {
                      [k: string]: T;
                  };
              }>
            • key: string
            • map: Map<string, Partial<{
                  name: string;
                  units: {
                      [k: string]: T;
                  };
              }>>

            Returns void

      • Optional thisArg: any

      Returns void

      • Parameters

        • Optional name: string

        Returns Partial<{
            name: string;
            units: {
                [k: string]: T;
            };
        }>

      • Parameters

        • key: string

        Returns boolean

        boolean indicating whether an element with the specified key exists or not.

      • Returns an iterable of keys in the map

        -

        Returns IterableIterator<string>

      • Parameters

        • name: string
        • state: Partial<{
              name: string;
              units: {
                  [k: string]: T;
              };
          }> | Partial<Deployment>

        Returns this

      • Returns an iterable of values in the map

        +

        Returns IterableIterator<string>

      • Parameters

        • name: string
        • state: Partial<{
              name: string;
              units: {
                  [k: string]: T;
              };
          }> | Partial<Deployment>

        Returns this

      • Returns an iterable of values in the map

        Returns IterableIterator<Partial<{
            name: string;
            units: {
                [k: string]: T;
            };
        }>>

      Generated using TypeDoc

      \ No newline at end of file diff --git a/ts/classes/_fadroma_agent.Store.UploadStore.html b/ts/classes/_fadroma_agent.Store.UploadStore.html index f2cf8bcda89..ceb2b1cf5da 100644 --- a/ts/classes/_fadroma_agent.Store.UploadStore.html +++ b/ts/classes/_fadroma_agent.Store.UploadStore.html @@ -1,4 +1,4 @@ -UploadStore | Documentation

      Hierarchy

      Constructors

      constructor +UploadStore | Documentation

      Hierarchy

      Constructors

      Properties

      [toStringTag] log size @@ -13,12 +13,12 @@ keys set values -

      Constructors

      Properties

      [toStringTag]: string
      log: Core.Console = ...
      size: number

      Returns

      the number of elements in the Map.

      +

      Constructors

      Properties

      [toStringTag]: string
      log: Core.Console = ...
      size: number

      Returns

      the number of elements in the Map.

      [species]: MapConstructor

      Methods

      • Returns an iterable of entries in the map.

        Returns IterableIterator<[string, UploadedCode]>

      • Returns void

      • Parameters

        • key: string

        Returns boolean

        true if an element in the Map existed and has been removed, or false if the element does not exist.

      • Returns an iterable of key, value pairs for every entry in the map.

        Returns IterableIterator<[string, UploadedCode]>

      • Executes a provided function once per each key/value pair in the Map, in insertion order.

        -

        Parameters

        • callbackfn: ((value, key, map) => void)
        • Optional thisArg: any

        Returns void

      • Parameters

        • key: string

        Returns boolean

        boolean indicating whether an element with the specified key exists or not.

        +

      Parameters

      • callbackfn: ((value, key, map) => void)
      • Optional thisArg: any

      Returns void

      • Parameters

        • key: string

        Returns boolean

        boolean indicating whether an element with the specified key exists or not.

      • Returns an iterable of keys in the map

        -

        Returns IterableIterator<string>

      • Returns an iterable of values in the map

        +

        Returns IterableIterator<string>

      • Returns an iterable of values in the map

        Returns IterableIterator<UploadedCode>

      Generated using TypeDoc

      \ No newline at end of file diff --git a/ts/classes/_fadroma_agent.Stub.StubBackend.html b/ts/classes/_fadroma_agent.Stub.StubBackend.html index 6f35f19dd1a..25f46422878 100644 --- a/ts/classes/_fadroma_agent.Stub.StubBackend.html +++ b/ts/classes/_fadroma_agent.Stub.StubBackend.html @@ -1,4 +1,4 @@ -StubBackend | Documentation

      Hierarchy (view full)

      Constructors

      constructor +StubBackend | Documentation

      Hierarchy (view full)

      Constructors

      Properties

      accounts alive balances @@ -19,6 +19,6 @@ pause start upload -

      Constructors

      Properties

      accounts: Map<string, StubAccount> = ...
      alive: boolean = true
      balances: Map<string, StubBalances> = ...
      chainId: string = 'stub'

      The chain ID that will be passed to the devnet node.

      -
      gasToken: Native = ...

      Denomination of base gas token for this chain.

      -
      instances: Map<string, StubInstance> = ...
      lastCodeId: number = 0
      prefix: string = 'stub1'
      uploads: Map<string, StubUpload> = ...
      url: string = 'http://stub'

      Methods

      • Parameters

        • Rest ...args: unknown[]

        Returns Promise<unknown>

      • Parameters

        • Rest ...args: unknown[]

        Returns Promise<unknown>

      • Parameters

        • Rest ...args: unknown[]

        Returns Promise<unknown>

      • Parameters

        • creator: string
        • codeId: string
        • options: unknown

        Returns Promise<Partial<ContractInstance> & {
            address: string;
        }>

      • Parameters

        • codeData: Uint8Array

        Returns Promise<{
            chainId: string;
            codeData: Uint8Array;
            codeHash: string;
            codeId: string;
            instances: Set<string>;
        }>

      Generated using TypeDoc

      \ No newline at end of file +

      Constructors

      Properties

      accounts: Map<string, StubAccount> = ...
      alive: boolean = true
      balances: Map<string, StubBalances> = ...
      chainId: string = 'stub'

      The chain ID that will be passed to the devnet node.

      +
      gasToken: Native = ...

      Denomination of base gas token for this chain.

      +
      instances: Map<string, StubInstance> = ...
      lastCodeId: number = 0
      prefix: string = 'stub1'
      uploads: Map<string, StubUpload> = ...
      url: string = 'http://stub'

      Methods

      • Parameters

        • Rest ...args: unknown[]

        Returns Promise<unknown>

      • Parameters

        • Rest ...args: unknown[]

        Returns Promise<unknown>

      • Parameters

        • Rest ...args: unknown[]

        Returns Promise<unknown>

      • Parameters

        • creator: string
        • codeId: string
        • options: unknown

        Returns Promise<Partial<ContractInstance> & {
            address: string;
        }>

      • Parameters

        • codeData: Uint8Array

        Returns Promise<{
            chainId: string;
            codeData: Uint8Array;
            codeHash: string;
            codeId: string;
            instances: Set<string>;
        }>

      Generated using TypeDoc

      \ No newline at end of file diff --git a/ts/classes/_fadroma_agent.Stub.StubBatch.html b/ts/classes/_fadroma_agent.Stub.StubBatch.html index 050539b3224..6933ec94821 100644 --- a/ts/classes/_fadroma_agent.Stub.StubBatch.html +++ b/ts/classes/_fadroma_agent.Stub.StubBatch.html @@ -1,5 +1,5 @@ StubBatch | Documentation

      Builder object for batched transactions.

      -

      Hierarchy (view full)

      Constructors

      Hierarchy (view full)

      Constructors

      Properties

      Constructors

      Properties

      connection?: StubConnection
      messages: object[] = []

      Methods

      Generated using TypeDoc

      \ No newline at end of file +

      Constructors

      Properties

      connection?: StubConnection
      messages: object[] = []

      Methods

      Generated using TypeDoc

      \ No newline at end of file diff --git a/ts/classes/_fadroma_agent.Stub.StubCompiler.html b/ts/classes/_fadroma_agent.Stub.StubCompiler.html index dd1f68c6fa5..d8bb3b4cde4 100644 --- a/ts/classes/_fadroma_agent.Stub.StubCompiler.html +++ b/ts/classes/_fadroma_agent.Stub.StubCompiler.html @@ -1,5 +1,5 @@ StubCompiler | Documentation

      A compiler that does nothing. Used for testing.

      -

      Hierarchy (view full)

      Constructors

      Hierarchy (view full)

      Constructors

      Properties

      caching id log @@ -8,11 +8,11 @@

      Constructors

      Properties

      caching: boolean = false

      Whether to enable build caching. When set to false, this compiler will rebuild even when binary and checksum are both present in wasm/ directory

      -
      id: string = 'stub'

      Unique identifier of this compiler implementation.

      -
      log: Core.Console = ...

      Methods

      id: string = 'stub'

      Unique identifier of this compiler implementation.

      +
      log: Core.Console = ...

      Methods

      Generated using TypeDoc

      \ No newline at end of file +

      Parameters

      Returns Promise<CompiledCode[]>

      Generated using TypeDoc

      \ No newline at end of file diff --git a/ts/classes/_fadroma_agent.Stub.StubConnection.html b/ts/classes/_fadroma_agent.Stub.StubConnection.html index 2d06deed8f3..a94a283d35c 100644 --- a/ts/classes/_fadroma_agent.Stub.StubConnection.html +++ b/ts/classes/_fadroma_agent.Stub.StubConnection.html @@ -1,4 +1,4 @@ -StubConnection | Documentation

      Hierarchy (view full)

      Constructors

      constructor +StubConnection | Documentation

      Hierarchy (view full)

      Constructors

      Properties

      alive api? backend @@ -45,36 +45,36 @@ send upload gas -

      Constructors

      Properties

      alive: boolean = true

      Setting this to false stops retries.

      -
      api?: unknown

      Platform SDK.

      -
      backend: StubBackend
      blockInterval: number = 250

      Time to ping for next block.

      -
      chainId?: string

      Chain ID.

      -
      fees?: {
          exec?: IFee;
          init?: IFee;
          send?: IFee;
          upload?: IFee;
      }

      Default transaction fees.

      -

      Type declaration

      • Optional exec?: IFee
      • Optional init?: IFee
      • Optional send?: IFee
      • Optional upload?: IFee
      identity?: Identity

      Signer identity.

      -
      url?: string

      Connection URL.

      -
      gasToken: Native = ...

      Native token of chain.

      -

      Accessors

      • get [toStringTag](): string
      • Returns string

      • get address(): string
      • Returns string

      • get balance(): Promise<unknown>
      • Returns Promise<unknown>

      • get defaultDenom(): string
      • Returns string

      • get height(): Promise<number>
      • Returns Promise<number>

      • get nextBlock(): Promise<number>
      • Wait for the block height to increment.

        -

        Returns Promise<number>

      Methods

      • Parameters

        • contract: {
              address: string;
              codeHash: string;
          }
          • address: string
          • codeHash: string
        • message: Message
        • Optional options: {
              execFee?: IFee;
              execMemo?: string;
              execSend?: ICoin[];
          }
          • Optional execFee?: IFee
          • Optional execMemo?: string
          • Optional execSend?: ICoin[]

        Returns Promise<unknown>

      • Call a given program's transaction method.

        -

        Parameters

        • contract: string | Partial<ContractInstance>
        • message: Message
        • Optional options: {
              execFee?: IFee;
              execMemo?: string;
              execSend?: ICoin[];
          }
          • Optional execFee?: IFee
          • Optional execMemo?: string
          • Optional execSend?: ICoin[]

        Returns Promise<unknown>

      • Get the balance in a given native token, of +

      Constructors

      Properties

      alive: boolean = true

      Setting this to false stops retries.

      +
      api?: unknown

      Platform SDK.

      +
      backend: StubBackend
      blockInterval: number = 250

      Time to ping for next block.

      +
      chainId?: string

      Chain ID.

      +
      fees?: {
          exec?: IFee;
          init?: IFee;
          send?: IFee;
          upload?: IFee;
      }

      Default transaction fees.

      +

      Type declaration

      • Optional exec?: IFee
      • Optional init?: IFee
      • Optional send?: IFee
      • Optional upload?: IFee
      identity?: Identity

      Signer identity.

      +
      url?: string

      Connection URL.

      +
      gasToken: Native = ...

      Native token of chain.

      +

      Accessors

      • get [toStringTag](): string
      • Returns string

      • get address(): string
      • Returns string

      • get balance(): Promise<unknown>
      • Returns Promise<unknown>

      • get defaultDenom(): string
      • Returns string

      • get height(): Promise<number>
      • Returns Promise<number>

      • get nextBlock(): Promise<number>
      • Wait for the block height to increment.

        +

        Returns Promise<number>

      Methods

      • Parameters

        • contract: {
              address: string;
              codeHash: string;
          }
          • address: string
          • codeHash: string
        • message: Message
        • Optional options: {
              execFee?: IFee;
              execMemo?: string;
              execSend?: ICoin[];
          }
          • Optional execFee?: IFee
          • Optional execMemo?: string
          • Optional execSend?: ICoin[]

        Returns Promise<unknown>

      • Call a given program's transaction method.

        +

        Parameters

        • contract: string | Partial<ContractInstance>
        • message: Message
        • Optional options: {
              execFee?: IFee;
              execMemo?: string;
              execSend?: ICoin[];
          }
          • Optional execFee?: IFee
          • Optional execMemo?: string
          • Optional execSend?: ICoin[]

        Returns Promise<unknown>

      • Get the balance in a given native token, of either this connection's identity's address, or of another given address.

        -

        Parameters

        • token: string
        • Optional address: string | {
              address: string;
          }

        Returns Promise<unknown>

      • Get the balance in a native token of a given address, +

        Parameters

        • token: string
        • Optional address: string | {
              address: string;
          }

        Returns Promise<unknown>

      • Get the balance in a native token of a given address, either in this connection's gas token, or in another given token.

        -

        Parameters

        • address: string | {
              address: string;
          }
        • Optional token: string

        Returns Promise<unknown>

      • Get the code hash of a given address.

        -

        Parameters

        • contract: string | {
              address: string;
          }

        Returns Promise<string>

      • Get the code hash of a given code id.

        -

        Parameters

        • contract: string | {
              codeId: string;
          }

        Returns Promise<string>

      • Get the code id of a given address.

        -

        Parameters

        • contract: string | {
              address: string;
          }

        Returns Promise<string>

      • Instantiate a new program from a code id, label and init message.

        +

        Parameters

        • address: string | {
              address: string;
          }
        • Optional token: string

        Returns Promise<unknown>

      • Get the code hash of a given address.

        +

        Parameters

        • contract: string | {
              address: string;
          }

        Returns Promise<string>

      • Get the code hash of a given code id.

        +

        Parameters

        • contract: string | {
              codeId: string;
          }

        Returns Promise<string>

      • Get the code id of a given address.

        +

        Parameters

        • contract: string | {
              address: string;
          }

        Returns Promise<string>

      • Instantiate a new program from a code id, label and init message.

        Parameters

        Returns Promise<ContractInstance & {
            address: string;
        }>

        Deploy.ContractInstance with no address populated yet. This will be populated after executing the batch.

        Example

        await agent.instantiate(template.define({ label, initMsg })
         
        -
      • Query a contract.

        -

        Type Parameters

        • Q

        Parameters

        • contract: string | {
              address: string;
          }
        • message: Message

        Returns Promise<Q>

      • Send native tokens to 1 recipient.

        -

        Parameters

        • recipient: string | {
              address?: string;
          }
        • amounts: (ICoin | Amount)[]
        • Optional options: {
              sendFee?: IFee;
              sendMemo?: string;
          }
          • Optional sendFee?: IFee
          • Optional sendMemo?: string

        Returns Promise<unknown>

      • Upload a contract's code, generating a new code id/hash pair.

        -

        Parameters

        • code: string | Uint8Array | URL | Partial<CompiledCode>
        • options: {
              reupload?: boolean;
              uploadFee?: ICoin[] | "auto";
              uploadMemo?: string;
              uploadStore?: UploadStore;
          } = {}
          • Optional reupload?: boolean
          • Optional uploadFee?: ICoin[] | "auto"
          • Optional uploadMemo?: string
          • Optional uploadStore?: UploadStore

        Returns Promise<UploadedCode & {
            chainId: string;
            codeId: string;
        }>

      Generated using TypeDoc

      \ No newline at end of file +

      Generated using TypeDoc

      \ No newline at end of file diff --git a/ts/classes/_fadroma_agent.Token.Amount.html b/ts/classes/_fadroma_agent.Token.Amount.html index b11e1a1f22d..1cb2a87d4f8 100644 --- a/ts/classes/_fadroma_agent.Token.Amount.html +++ b/ts/classes/_fadroma_agent.Token.Amount.html @@ -1,5 +1,5 @@ Amount | Documentation

      An amount of a fungible token.

      -

      Constructors

      Constructors

      Properties

      Accessors

      [toStringTag] @@ -8,5 +8,5 @@

      Methods

      Constructors

      Properties

      amount: string
      token: Fungible

      Accessors

      Methods

      Generated using TypeDoc

      \ No newline at end of file +

      Constructors

      Properties

      amount: string
      token: Fungible

      Accessors

      Methods

      Generated using TypeDoc

      \ No newline at end of file diff --git a/ts/classes/_fadroma_agent.Token.Coin.html b/ts/classes/_fadroma_agent.Token.Coin.html index e6fae628584..9c506f972ec 100644 --- a/ts/classes/_fadroma_agent.Token.Coin.html +++ b/ts/classes/_fadroma_agent.Token.Coin.html @@ -1,5 +1,5 @@ Coin | Documentation

      Represents some amount of native token.

      -

      Implements

      Constructors

      Implements

      Constructors

      Properties

      Constructors

      Properties

      amount: string
      denom: string

      Generated using TypeDoc

      \ No newline at end of file +

      Constructors

      Properties

      amount: string
      denom: string

      Generated using TypeDoc

      \ No newline at end of file diff --git a/ts/classes/_fadroma_agent.Token.Custom.html b/ts/classes/_fadroma_agent.Token.Custom.html index ac7692223ec..a5d664c265a 100644 --- a/ts/classes/_fadroma_agent.Token.Custom.html +++ b/ts/classes/_fadroma_agent.Token.Custom.html @@ -1,5 +1,5 @@ Custom | Documentation

      A contract-based token.

      -

      Hierarchy (view full)

      Constructors

      Hierarchy (view full)

      Constructors

      Properties

      Accessors

      id @@ -8,8 +8,8 @@ isFungible isNative addZeros -

      Constructors

      Properties

      address: string
      codeHash?: string

      Accessors

      • get id(): string
      • The token contract's address.

        -

        Returns string

      Methods

      Generated using TypeDoc

      \ No newline at end of file +

      Constructors

      Properties

      address: string
      codeHash?: string

      Accessors

      • get id(): string
      • The token contract's address.

        +

        Returns string

      Methods

      Generated using TypeDoc

      \ No newline at end of file diff --git a/ts/classes/_fadroma_agent.Token.Fee.html b/ts/classes/_fadroma_agent.Token.Fee.html index d554c096336..243790e3f0f 100644 --- a/ts/classes/_fadroma_agent.Token.Fee.html +++ b/ts/classes/_fadroma_agent.Token.Fee.html @@ -1,7 +1,7 @@ Fee | Documentation

      A constructable gas fee in native tokens.

      -

      Implements

      Constructors

      Implements

      Constructors

      Properties

      Accessors

      Methods

      add -

      Constructors

      • Parameters

        • amount: string | number | bigint
        • denom: string
        • gas: string = ...

        Returns Fee

      Properties

      amount: ICoin[] = []
      gas: string = ...

      Accessors

      Methods

      • Parameters

        • amount: string | number | bigint
        • denom: string

        Returns void

      Generated using TypeDoc

      \ No newline at end of file +

      Constructors

      • Parameters

        • amount: string | number | bigint
        • denom: string
        • gas: string = ...

        Returns Fee

      Properties

      amount: ICoin[] = []
      gas: string = ...

      Accessors

      Methods

      • Parameters

        • amount: string | number | bigint
        • denom: string

        Returns void

      Generated using TypeDoc

      \ No newline at end of file diff --git a/ts/classes/_fadroma_agent.Token.Fungible.html b/ts/classes/_fadroma_agent.Token.Fungible.html index 0b67f3bc7a8..6fa06fbb686 100644 --- a/ts/classes/_fadroma_agent.Token.Fungible.html +++ b/ts/classes/_fadroma_agent.Token.Fungible.html @@ -1,5 +1,5 @@ Fungible | Documentation

      An abstract fungible token.

      -

      Hierarchy (view full)

      Implemented by

        Constructors

        Hierarchy (view full)

        Implemented by

          Constructors

          Accessors

          Methods

          amount isCustom @@ -7,7 +7,7 @@ isNative addZeros

          Constructors

          Accessors

          • get id(): string
          • The token's unique id.

            -

            Returns string

          Methods

          • Parameters

            • n: string | number
            • z: number

            Returns string

          Generated using TypeDoc

          \ No newline at end of file +

          Returns string

          Methods

          • Parameters

            • n: string | number
            • z: number

            Returns string

          Generated using TypeDoc

          \ No newline at end of file diff --git a/ts/classes/_fadroma_agent.Token.Native.html b/ts/classes/_fadroma_agent.Token.Native.html index 705fe86484f..34b414da3d9 100644 --- a/ts/classes/_fadroma_agent.Token.Native.html +++ b/ts/classes/_fadroma_agent.Token.Native.html @@ -1,5 +1,5 @@ Native | Documentation

          The chain's natively implemented token (such as SCRT on Secret Network).

          -

          Hierarchy (view full)

          Constructors

          Hierarchy (view full)

          Constructors

          Properties

          Accessors

          Methods

          Constructors

          Properties

          denom: string

          Accessors

          • get id(): string
          • The token's unique id.

            -

            Returns string

          Methods

          Generated using TypeDoc

          \ No newline at end of file +

          Constructors

          Properties

          denom: string

          Accessors

          • get id(): string
          • The token's unique id.

            +

            Returns string

          Methods

          Generated using TypeDoc

          \ No newline at end of file diff --git a/ts/classes/_fadroma_agent.Token.NonFungible.html b/ts/classes/_fadroma_agent.Token.NonFungible.html index bda32b9dc9f..208255f7d02 100644 --- a/ts/classes/_fadroma_agent.Token.NonFungible.html +++ b/ts/classes/_fadroma_agent.Token.NonFungible.html @@ -1,7 +1,7 @@ NonFungible | Documentation

          An abstract non-fungible token.

          -

          Hierarchy (view full)

          Implemented by

            Constructors

            Hierarchy (view full)

            Implemented by

              Constructors

              Accessors

              Methods

              Constructors

              Accessors

              • get id(): string
              • The token's unique id.

                -

                Returns string

              Methods

              Generated using TypeDoc

              \ No newline at end of file +

              Returns string

              Methods

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_agent.Token.Pair.html b/ts/classes/_fadroma_agent.Token.Pair.html index f4700adaa1d..4c604cb72c2 100644 --- a/ts/classes/_fadroma_agent.Token.Pair.html +++ b/ts/classes/_fadroma_agent.Token.Pair.html @@ -1,7 +1,7 @@ Pair | Documentation

              A pair of tokens.

              -

              Constructors

              Constructors

              Properties

              a b

              Accessors

              Constructors

              Properties

              Accessors

              Generated using TypeDoc

              \ No newline at end of file +

              Constructors

              Properties

              Accessors

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_agent.Token.Swap.html b/ts/classes/_fadroma_agent.Token.Swap.html index c51e70a33b3..3d39cbb9ccc 100644 --- a/ts/classes/_fadroma_agent.Token.Swap.html +++ b/ts/classes/_fadroma_agent.Token.Swap.html @@ -1,7 +1,7 @@ Swap | Documentation

              A pair of token amounts.

              -

              Constructors

              Constructors

              Properties

              a b

              Accessors

              Constructors

              Properties

              Accessors

              Generated using TypeDoc

              \ No newline at end of file +

              Constructors

              Properties

              Accessors

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_agent.Token.Token.html b/ts/classes/_fadroma_agent.Token.Token.html index d9a7e49ac9f..40597431509 100644 --- a/ts/classes/_fadroma_agent.Token.Token.html +++ b/ts/classes/_fadroma_agent.Token.Token.html @@ -1,7 +1,7 @@ Token | Documentation

              An identifiable token on a network.

              -

              Hierarchy (view full)

              Constructors

              Hierarchy (view full)

              Constructors

              Accessors

              Methods

              Constructors

              Accessors

              Methods

              Generated using TypeDoc

              \ No newline at end of file +

              Returns string

              Methods

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_compile.ConfiguredCompiler.html b/ts/classes/_fadroma_compile.ConfiguredCompiler.html index 0f2c6aec887..15f8f36a433 100644 --- a/ts/classes/_fadroma_compile.ConfiguredCompiler.html +++ b/ts/classes/_fadroma_compile.ConfiguredCompiler.html @@ -1,19 +1,19 @@ ConfiguredCompiler | Documentation

              Class ConfiguredCompilerAbstract

              A compiler that can take configuration values from the environment.

              -

              Hierarchy (view full)

              Constructors

              Hierarchy (view full)

              Constructors

              Properties

              Methods

              Constructors

              Properties

              caching: boolean = true

              Whether to enable build caching. +

              Constructors

              Properties

              caching: boolean = true

              Whether to enable build caching. When set to false, this compiler will rebuild even when binary and checksum are both present in wasm/ directory

              -
              config: Config
              id: string

              Unique identifier of this compiler implementation.

              -

              Methods

              config: Config
              id: string

              Unique identifier of this compiler implementation.

              +

              Methods

              • Compile a source. @hackbg/fadroma implements dockerized and non-dockerized variants using its build.impl.mjs script.

                -

                Parameters

                • source: string | Partial<SourceCode>
                • Rest ...args: unknown[]

                Returns Promise<CompiledCode>

              • Build multiple sources. Default implementation of buildMany is sequential. Compiler classes may override this to optimize.

                -

                Parameters

                Returns Promise<CompiledCode[]>

              Generated using TypeDoc

              \ No newline at end of file +

              Parameters

              Returns Promise<CompiledCode[]>

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_compile.ContainerizedLocalRustCompiler.html b/ts/classes/_fadroma_compile.ContainerizedLocalRustCompiler.html index 913ac514100..b5da2e024c3 100644 --- a/ts/classes/_fadroma_compile.ContainerizedLocalRustCompiler.html +++ b/ts/classes/_fadroma_compile.ContainerizedLocalRustCompiler.html @@ -1,5 +1,5 @@ ContainerizedLocalRustCompiler | Documentation

              Runs the build script in a container.

              -

              Hierarchy (view full)

              Constructors

              Hierarchy (view full)

              Constructors

              Properties

              buildGid?: number = ...

              Owner gid that is set on build artifacts.

              -
              buildImage: Image

              Tag of the docker image for the build container.

              -
              buildImageManifest: string = ...

              Path to the dockerfile for the build container if missing.

              -
              buildImageTag: string = ...

              Docker image to use for dockerized builds.

              -
              buildUid?: number = ...

              Owner uid that is set on build artifacts.

              -
              caching: boolean = !this.config.getFlag('FADROMA_REBUILD', ()=>false)

              Whether to enable caching and reuse contracts from artifacts directory.

              -
              config: Config
              engine: Connection

              Used to launch build container.

              -
              engineSocket: string = ...

              Path to Docker API endpoint.

              -
              id: string = 'local'

              Unique identifier of this compiler implementation.

              -
              noFetch: boolean = ...

              Whether to skip any git fetch calls in the build script.

              -
              outputDir: Directory = ...

              Name of directory where build artifacts are collected.

              -
              outputGid: string = ...

              Owner gid that is set on build artifacts.

              -
              outputUid: string = ...

              Owner uid that is set on build artifacts.

              -
              quiet: boolean = ...

              Whether the build log should be printed only on error, or always

              -
              revision: string = Program.HEAD

              Default Git reference from which to build sources.

              -
              script?: string = ...

              The build script.

              -
              toolchain: string = ...

              Version of Rust toolchain to use.

              -
              verbose: boolean = ...

              Whether the build process should print more detail to the console.

              -

              Accessors

              Methods

              • This implementation groups the passed source by workspace and ref, +

              Constructors

              Properties

              buildGid?: number = ...

              Owner gid that is set on build artifacts.

              +
              buildImage: Image

              Tag of the docker image for the build container.

              +
              buildImageManifest: string = ...

              Path to the dockerfile for the build container if missing.

              +
              buildImageTag: string = ...

              Docker image to use for dockerized builds.

              +
              buildUid?: number = ...

              Owner uid that is set on build artifacts.

              +
              caching: boolean = !this.config.getFlag('FADROMA_REBUILD', ()=>false)

              Whether to enable caching and reuse contracts from artifacts directory.

              +
              config: Config
              engine: Connection

              Used to launch build container.

              +
              engineSocket: string = ...

              Path to Docker API endpoint.

              +
              id: string = 'local'

              Unique identifier of this compiler implementation.

              +
              noFetch: boolean = ...

              Whether to skip any git fetch calls in the build script.

              +
              outputDir: Directory = ...

              Name of directory where build artifacts are collected.

              +
              outputGid: string = ...

              Owner gid that is set on build artifacts.

              +
              outputUid: string = ...

              Owner uid that is set on build artifacts.

              +
              quiet: boolean = ...

              Whether the build log should be printed only on error, or always

              +
              revision: string = Program.HEAD

              Default Git reference from which to build sources.

              +
              script?: string = ...

              The build script.

              +
              toolchain: string = ...

              Version of Rust toolchain to use.

              +
              verbose: boolean = ...

              Whether the build process should print more detail to the console.

              +

              Accessors

              Methods

              • This implementation groups the passed source by workspace and ref, in order to launch one build container per workspace/ref combination and have it build all the crates from that combination in sequence, reusing the container's internal intermediate build cache.

                -

                Parameters

                Returns Promise<CompiledCode[]>

              Generated using TypeDoc

              \ No newline at end of file +

              Parameters

              Returns CompiledCode

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_compile.LocalRustCompiler.html b/ts/classes/_fadroma_compile.LocalRustCompiler.html index 970a77d9e7d..c5478a74252 100644 --- a/ts/classes/_fadroma_compile.LocalRustCompiler.html +++ b/ts/classes/_fadroma_compile.LocalRustCompiler.html @@ -1,6 +1,6 @@ LocalRustCompiler | Documentation

              Class LocalRustCompilerAbstract

              Can compile Rust smart contracts. Will only perform a build if a contract is not built yet or FADROMA_REBUILD=1 is set.

              -

              Hierarchy (view full)

              Constructors

              Hierarchy (view full)

              Constructors

              Properties

              buildGid?: number = ...

              Owner gid that is set on build artifacts.

              -
              buildUid?: number = ...

              Owner uid that is set on build artifacts.

              -
              caching: boolean = !this.config.getFlag('FADROMA_REBUILD', ()=>false)

              Whether to enable caching and reuse contracts from artifacts directory.

              -
              config: Config
              id: string = 'local'

              Unique identifier of this compiler implementation.

              -
              noFetch: boolean = ...

              Whether to skip any git fetch calls in the build script.

              -
              outputDir: Directory = ...

              Name of directory where build artifacts are collected.

              -
              quiet: boolean = ...

              Whether the build log should be printed only on error, or always

              -
              revision: string = Program.HEAD

              Default Git reference from which to build sources.

              -
              script?: string = ...

              The build script.

              -
              toolchain: string = ...

              Version of Rust toolchain to use.

              -
              verbose: boolean = ...

              Whether the build process should print more detail to the console.

              -

              Methods

              • This implementation groups the passed source by workspace and ref, +

              Constructors

              Properties

              buildGid?: number = ...

              Owner gid that is set on build artifacts.

              +
              buildUid?: number = ...

              Owner uid that is set on build artifacts.

              +
              caching: boolean = !this.config.getFlag('FADROMA_REBUILD', ()=>false)

              Whether to enable caching and reuse contracts from artifacts directory.

              +
              config: Config
              id: string = 'local'

              Unique identifier of this compiler implementation.

              +
              noFetch: boolean = ...

              Whether to skip any git fetch calls in the build script.

              +
              outputDir: Directory = ...

              Name of directory where build artifacts are collected.

              +
              quiet: boolean = ...

              Whether the build log should be printed only on error, or always

              +
              revision: string = Program.HEAD

              Default Git reference from which to build sources.

              +
              script?: string = ...

              The build script.

              +
              toolchain: string = ...

              Version of Rust toolchain to use.

              +
              verbose: boolean = ...

              Whether the build process should print more detail to the console.

              +

              Methods

              • This implementation groups the passed source by workspace and ref, in order to launch one build container per workspace/ref combination and have it build all the crates from that combination in sequence, reusing the container's internal intermediate build cache.

                -

                Parameters

                Returns Promise<CompiledCode[]>

              • Parameters

                • sourcePath: string
                • sourceRef: string
                • tasks: Set<CompileTask>

                Returns void

              • Parameters

                • __namedParameters: {
                      outputDir: string;
                      sourceRef: string;
                      tasks: Set<CompileTask>;
                  }
                  • outputDir: string
                  • sourceRef: string
                  • tasks: Set<CompileTask>

                Returns Promise<Record<number, CompiledCode>>

              • Parameters

                • sourcePath: string
                • sourceRef: string
                • tasks: Set<CompileTask>

                Returns void

              • Parameters

                • __namedParameters: {
                      outputDir: string;
                      sourceRef: string;
                      tasks: Set<CompileTask>;
                  }
                  • outputDir: string
                  • sourceRef: string
                  • tasks: Set<CompileTask>

                Returns Promise<Record<number, CompiledCode>>

              Generated using TypeDoc

              \ No newline at end of file +

              Parameters

              Returns CompiledCode

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_compile.RawLocalRustCompiler.html b/ts/classes/_fadroma_compile.RawLocalRustCompiler.html index f49aaa04443..0ce09aa8dda 100644 --- a/ts/classes/_fadroma_compile.RawLocalRustCompiler.html +++ b/ts/classes/_fadroma_compile.RawLocalRustCompiler.html @@ -1,5 +1,5 @@ RawLocalRustCompiler | Documentation

              Runs the build script in the current envionment.

              -

              Hierarchy (view full)

              Constructors

              Hierarchy (view full)

              Constructors

              Properties

              Constructors

              Properties

              buildGid?: number = ...

              Owner gid that is set on build artifacts.

              -
              buildUid?: number = ...

              Owner uid that is set on build artifacts.

              -
              caching: boolean = !this.config.getFlag('FADROMA_REBUILD', ()=>false)

              Whether to enable caching and reuse contracts from artifacts directory.

              -
              config: Config
              id: string = 'local'

              Unique identifier of this compiler implementation.

              -
              noFetch: boolean = ...

              Whether to skip any git fetch calls in the build script.

              -
              outputDir: Directory = ...

              Name of directory where build artifacts are collected.

              -
              quiet: boolean = ...

              Whether the build log should be printed only on error, or always

              -
              revision: string = Program.HEAD

              Default Git reference from which to build sources.

              -
              runtime: string = ...

              Node.js runtime that runs the build subprocess. +

              Constructors

              Properties

              buildGid?: number = ...

              Owner gid that is set on build artifacts.

              +
              buildUid?: number = ...

              Owner uid that is set on build artifacts.

              +
              caching: boolean = !this.config.getFlag('FADROMA_REBUILD', ()=>false)

              Whether to enable caching and reuse contracts from artifacts directory.

              +
              config: Config
              id: string = 'local'

              Unique identifier of this compiler implementation.

              +
              noFetch: boolean = ...

              Whether to skip any git fetch calls in the build script.

              +
              outputDir: Directory = ...

              Name of directory where build artifacts are collected.

              +
              quiet: boolean = ...

              Whether the build log should be printed only on error, or always

              +
              revision: string = Program.HEAD

              Default Git reference from which to build sources.

              +
              runtime: string = ...

              Node.js runtime that runs the build subprocess. Defaults to the same one that is running this script.

              -
              script?: string = ...

              The build script.

              -
              toolchain: string = ...

              Version of Rust toolchain to use.

              -
              verbose: boolean = ...

              Whether the build process should print more detail to the console.

              -

              Methods

              script?: string = ...

              The build script.

              +
              toolchain: string = ...

              Version of Rust toolchain to use.

              +
              verbose: boolean = ...

              Whether the build process should print more detail to the console.

              +

              Methods

              • This implementation groups the passed source by workspace and ref, in order to launch one build container per workspace/ref combination and have it build all the crates from that combination in sequence, reusing the container's internal intermediate build cache.

                -

                Parameters

                Returns Promise<CompiledCode[]>

              • Overridable for testing.

                -

                Parameters

                • Rest ...args: [command: string, args: readonly string[], options: SpawnOptions]

                Returns ChildProcess

              • Overridable for testing.

                +

                Parameters

                • Rest ...args: [command: string, args: readonly string[], options: SpawnOptions]

                Returns ChildProcess

              Generated using TypeDoc

              \ No newline at end of file +

              Parameters

              Returns CompiledCode

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_create.CargoWorkspaceProject.html b/ts/classes/_fadroma_create.CargoWorkspaceProject.html index ce6d4b933c7..1542c1165ce 100644 --- a/ts/classes/_fadroma_create.CargoWorkspaceProject.html +++ b/ts/classes/_fadroma_create.CargoWorkspaceProject.html @@ -1,5 +1,5 @@ CargoWorkspaceProject | Documentation

              Project that consists of scripts plus multiple crates in a Cargo workspace.

              -

              Hierarchy (view full)

              Constructors

              Hierarchy (view full)

              Constructors

              Properties

              cargoCrates: Record<string, {
                  dependencies?: Record<string, {
                      features?: string[];
                      version: string;
                  }>;
                  name: string;
              }> = {}

              Type declaration

              • Optional dependencies?: Record<string, {
                    features?: string[];
                    version: string;
                }>
              • name: string
              cargoToml: File = ...

              The root file of the workspace

              -
              contractsDir: Directory = ...

              Directory where deployable crates live.

              -
              envFile: File = ...
              gitIgnore: File = ...
              librariesDir: Directory = ...

              Directory where non-deployable crates live.

              -
              main: File = ...
              name?: string
              packageJson: File = ...
              readme: File = ...
              root: Directory
              shellNix: File = ...
              stateDir: Directory = ...
              wasmDir: Directory = ...

              Accessors

              • get path(): string
              • Returns string

              Methods

              Generated using TypeDoc

              \ No newline at end of file +

              Constructors

              Properties

              cargoCrates: Record<string, {
                  dependencies?: Record<string, {
                      features?: string[];
                      version: string;
                  }>;
                  name: string;
              }> = {}

              Type declaration

              • Optional dependencies?: Record<string, {
                    features?: string[];
                    version: string;
                }>
              • name: string
              cargoToml: File = ...

              The root file of the workspace

              +
              contractsDir: Directory = ...

              Directory where deployable crates live.

              +
              envFile: File = ...
              gitIgnore: File = ...
              librariesDir: Directory = ...

              Directory where non-deployable crates live.

              +
              main: File = ...
              name?: string
              packageJson: File = ...
              readme: File = ...
              root: Directory
              shellNix: File = ...
              stateDir: Directory = ...
              wasmDir: Directory = ...

              Accessors

              • get path(): string
              • Returns string

              Methods

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_create.Project.html b/ts/classes/_fadroma_create.Project.html index 5d555edf4d5..dd78fd2dcce 100644 --- a/ts/classes/_fadroma_create.Project.html +++ b/ts/classes/_fadroma_create.Project.html @@ -1,4 +1,4 @@ -Project | Documentation

              Hierarchy (view full)

              Constructors

              constructor +Project | Documentation

              Hierarchy (view full)

              Constructors

              • Parameters

                • root: string | Path
                • Optional name: string

                Returns Project

              Properties

              cargoCrates: Record<string, {
                  dependencies?: Record<string, {
                      features?: string[];
                      version: string;
                  }>;
                  name: string;
              }> = {}

              Type declaration

              • Optional dependencies?: Record<string, {
                    features?: string[];
                    version: string;
                }>
              • name: string
              cargoToml: File = ...
              envFile: File = ...
              gitIgnore: File = ...
              main: File = ...
              name?: string
              packageJson: File = ...
              readme: File = ...
              root: Directory
              shellNix: File = ...
              stateDir: Directory = ...
              wasmDir: Directory = ...

              Accessors

              • get path(): string
              • Returns string

              Methods

              Generated using TypeDoc

              \ No newline at end of file +

              Constructors

              • Parameters

                • root: string | Path
                • Optional name: string

                Returns Project

              Properties

              cargoCrates: Record<string, {
                  dependencies?: Record<string, {
                      features?: string[];
                      version: string;
                  }>;
                  name: string;
              }> = {}

              Type declaration

              • Optional dependencies?: Record<string, {
                    features?: string[];
                    version: string;
                }>
              • name: string
              cargoToml: File = ...
              envFile: File = ...
              gitIgnore: File = ...
              main: File = ...
              name?: string
              packageJson: File = ...
              readme: File = ...
              root: Directory
              shellNix: File = ...
              stateDir: Directory = ...
              wasmDir: Directory = ...

              Accessors

              • get path(): string
              • Returns string

              Methods

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_create.ProjectPrompter.html b/ts/classes/_fadroma_create.ProjectPrompter.html index ce0abcadb9e..6065dea0f83 100644 --- a/ts/classes/_fadroma_create.ProjectPrompter.html +++ b/ts/classes/_fadroma_create.ProjectPrompter.html @@ -1,4 +1,4 @@ -ProjectPrompter | Documentation

              Hierarchy

              • Prompter
                • ProjectPrompter

              Constructors

              constructor +ProjectPrompter | Documentation

              Hierarchy

              • Prompter
                • ProjectPrompter

              Constructors

              Properties

              Methods

              Constructors

              • Parameters

                • prompts: {
                      prompt: any;
                  } = Prompts
                  • prompt: any
                • interactive: boolean = true

                Returns ProjectPrompter

              Properties

              interactive: boolean = true
              prompts: {
                  prompt: any;
              } = Prompts

              Type declaration

              • prompt: any

              Methods

              • Parameters

                • __namedParameters: Partial<SystemTools> = {}
                • prompts: {
                      prompt: any;
                  } = Prompts
                  • prompt: any

                Returns Promise<"docker" | "podman" | "raw">

              • Parameters

                • state: Record<string, any>

                Returns Promise<void>

              • Parameters

                Returns Promise<string>

              • Parameters

                • prompts: typeof prompts = Prompts

                Returns Promise<number>

              • Returns Promise<string>

              • Parameters

                • name: string | Promise<string>

                Returns Promise<Path>

              • Parameters

                • state: Record<string, any>

                Returns Promise<void>

              • Type Parameters

                • T

                Parameters

                • message: string
                • choices: T[]

                Returns Promise<any>

              • Type Parameters

                • T

                Parameters

                • message: string
                • __namedParameters: {
                      clean?: ((x) => string);
                      valid?: ((x) => boolean);
                  } = {}
                  • Optional clean?: ((x) => string)
                      • (x): string
                      • Parameters

                        • x: string

                        Returns string

                  • Optional valid?: ((x) => boolean)
                      • (x): boolean
                      • Parameters

                        • x: string

                        Returns boolean

                Returns Promise<string>

              • Parameters

                • state: Record<string, any>

                Returns Promise<void>

              • Type Parameters

                • S

                Parameters

                • state: S
                • selector: ((state) => Function | Promise<Function>)
                    • (state): Function | Promise<Function>
                    • Parameters

                      • state: S

                      Returns Function | Promise<Function>

                Returns Promise<S>

              Generated using TypeDoc

              \ No newline at end of file +

              Constructors

              • Parameters

                • prompts: {
                      prompt: any;
                  } = Prompts
                  • prompt: any
                • interactive: boolean = true

                Returns ProjectPrompter

              Properties

              interactive: boolean = true
              prompts: {
                  prompt: any;
              } = Prompts

              Type declaration

              • prompt: any

              Methods

              • Parameters

                • __namedParameters: Partial<SystemTools> = {}
                • prompts: {
                      prompt: any;
                  } = Prompts
                  • prompt: any

                Returns Promise<"docker" | "podman" | "raw">

              • Parameters

                • state: Record<string, any>

                Returns Promise<void>

              • Parameters

                Returns Promise<string>

              • Parameters

                • prompts: typeof prompts = Prompts

                Returns Promise<number>

              • Returns Promise<string>

              • Parameters

                • name: string | Promise<string>

                Returns Promise<Path>

              • Parameters

                • state: Record<string, any>

                Returns Promise<void>

              • Type Parameters

                • T

                Parameters

                • message: string
                • choices: T[]

                Returns Promise<any>

              • Type Parameters

                • T

                Parameters

                • message: string
                • __namedParameters: {
                      clean?: ((x) => string);
                      valid?: ((x) => boolean);
                  } = {}
                  • Optional clean?: ((x) => string)
                      • (x): string
                      • Parameters

                        • x: string

                        Returns string

                  • Optional valid?: ((x) => boolean)
                      • (x): boolean
                      • Parameters

                        • x: string

                        Returns boolean

                Returns Promise<string>

              • Parameters

                • state: Record<string, any>

                Returns Promise<void>

              • Type Parameters

                • S

                Parameters

                • state: S
                • selector: ((state) => Function | Promise<Function>)
                    • (state): Function | Promise<Function>
                    • Parameters

                      • state: S

                      Returns Function | Promise<Function>

                Returns Promise<S>

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_cw.CWBatch.html b/ts/classes/_fadroma_cw.CWBatch.html index f769d01c9ea..133f4d17556 100644 --- a/ts/classes/_fadroma_cw.CWBatch.html +++ b/ts/classes/_fadroma_cw.CWBatch.html @@ -1,13 +1,13 @@ CWBatch | Documentation

              Transaction batch for CosmWasm-enabled chains.

              -

              Hierarchy (view full)

              Constructors

              Hierarchy (view full)

              Constructors

              Properties

              Methods

              Constructors

              Properties

              connection?: CWConnection

              Methods

              • Add an upload message to the batch.

                -

                Parameters

                • code: string | Uint8Array | URL | Partial<CompiledCode>
                • options: {
                      reupload?: boolean;
                      uploadFee?: ICoin[] | "auto";
                      uploadMemo?: string;
                      uploadStore?: UploadStore;
                  }
                  • Optional reupload?: boolean
                  • Optional uploadFee?: ICoin[] | "auto"
                  • Optional uploadMemo?: string
                  • Optional uploadStore?: UploadStore

                Returns CWBatch

              Generated using TypeDoc

              \ No newline at end of file +

              Constructors

              Properties

              connection?: CWConnection

              Methods

              • Add an upload message to the batch.

                +

                Parameters

                • code: string | Uint8Array | URL | Partial<CompiledCode>
                • options: {
                      reupload?: boolean;
                      uploadFee?: ICoin[] | "auto";
                      uploadMemo?: string;
                      uploadStore?: UploadStore;
                  }
                  • Optional reupload?: boolean
                  • Optional uploadFee?: ICoin[] | "auto"
                  • Optional uploadMemo?: string
                  • Optional uploadStore?: UploadStore

                Returns CWBatch

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_cw.CWConnection.html b/ts/classes/_fadroma_cw.CWConnection.html index 0ec014aa6a3..e17596a3c45 100644 --- a/ts/classes/_fadroma_cw.CWConnection.html +++ b/ts/classes/_fadroma_cw.CWConnection.html @@ -1,5 +1,5 @@ CWConnection | Documentation

              Generic agent for CosmWasm-enabled chains.

              -

              Hierarchy (view full)

              Constructors

              Hierarchy (view full)

              Constructors

              Properties

              alive api bech32Prefix? @@ -49,49 +49,49 @@ send upload gas -

              Constructors

              Properties

              alive: boolean = true

              Setting this to false stops retries.

              -
              api: Promise<CosmWasmClient | SigningCosmWasmClient>

              API connects asynchronously, so API handle is a promise of either variant.

              -
              bech32Prefix?: string

              The bech32 prefix for the account's address

              -
              blockInterval: number = 250

              Time to ping for next block.

              -
              chainId?: string

              Chain ID.

              -
              coinType?: number

              The coin type in the HD derivation path

              -
              fees?: {
                  exec?: IFee;
                  init?: IFee;
                  send?: IFee;
                  upload?: IFee;
              }

              Default transaction fees.

              -

              Type declaration

              • Optional exec?: IFee
              • Optional init?: IFee
              • Optional send?: IFee
              • Optional upload?: IFee
              hdAccountIndex?: number

              The account index in the HD derivation path

              -

              A supported method of authentication.

              -
              url?: string

              Connection URL.

              -
              gasToken: Native = ...

              Native token of chain.

              -

              Accessors

              • get [toStringTag](): string
              • Returns string

              • get address(): string
              • Returns string

              • get balance(): Promise<unknown>
              • Returns Promise<unknown>

              • get defaultDenom(): string
              • Returns string

              • get height(): Promise<number>
              • Returns Promise<number>

              • get nextBlock(): Promise<number>
              • Wait for the block height to increment.

                -

                Returns Promise<number>

              Methods

              • Call a transaction method of a contract.

                -

                Parameters

                • contract: {
                      address: string;
                  }
                  • address: string
                • message: Message
                • __namedParameters: Omit<{
                      execFee?: IFee;
                      execMemo?: string;
                      execSend?: ICoin[];
                  }, "execFee"> & {
                      execFee?: number | IFee | "auto";
                  } = {}

                Returns Promise<unknown>

              • Stargate implementation of querying a smart contract.

                -

                Type Parameters

                • U

                Parameters

                • contract: string | {
                      address: string;
                  }
                • message: Message

                Returns Promise<U>

              • Stargate implementation of sending native token.

                -

                Parameters

                • recipient: string
                • amounts: ICoin[]
                • Optional options: {
                      sendFee?: IFee;
                      sendMemo?: string;
                  }
                  • Optional sendFee?: IFee
                  • Optional sendMemo?: string

                Returns Promise<DeliverTxResponse>

              • Call a given program's transaction method.

                -

                Parameters

                • contract: string | Partial<ContractInstance>
                • message: Message
                • Optional options: {
                      execFee?: IFee;
                      execMemo?: string;
                      execSend?: ICoin[];
                  }
                  • Optional execFee?: IFee
                  • Optional execMemo?: string
                  • Optional execSend?: ICoin[]

                Returns Promise<unknown>

              • Get the balance in a given native token, of +

              Constructors

              Properties

              alive: boolean = true

              Setting this to false stops retries.

              +
              api: Promise<CosmWasmClient | SigningCosmWasmClient>

              API connects asynchronously, so API handle is a promise of either variant.

              +
              bech32Prefix?: string

              The bech32 prefix for the account's address

              +
              blockInterval: number = 250

              Time to ping for next block.

              +
              chainId?: string

              Chain ID.

              +
              coinType?: number

              The coin type in the HD derivation path

              +
              fees?: {
                  exec?: IFee;
                  init?: IFee;
                  send?: IFee;
                  upload?: IFee;
              }

              Default transaction fees.

              +

              Type declaration

              • Optional exec?: IFee
              • Optional init?: IFee
              • Optional send?: IFee
              • Optional upload?: IFee
              hdAccountIndex?: number

              The account index in the HD derivation path

              +

              A supported method of authentication.

              +
              url?: string

              Connection URL.

              +
              gasToken: Native = ...

              Native token of chain.

              +

              Accessors

              • get [toStringTag](): string
              • Returns string

              • get address(): string
              • Returns string

              • get balance(): Promise<unknown>
              • Returns Promise<unknown>

              • get defaultDenom(): string
              • Returns string

              • get height(): Promise<number>
              • Returns Promise<number>

              • get nextBlock(): Promise<number>
              • Wait for the block height to increment.

                +

                Returns Promise<number>

              Methods

              • Call a transaction method of a contract.

                +

                Parameters

                • contract: {
                      address: string;
                  }
                  • address: string
                • message: Message
                • __namedParameters: Omit<{
                      execFee?: IFee;
                      execMemo?: string;
                      execSend?: ICoin[];
                  }, "execFee"> & {
                      execFee?: number | IFee | "auto";
                  } = {}

                Returns Promise<unknown>

              • Stargate implementation of querying a smart contract.

                +

                Type Parameters

                • U

                Parameters

                • contract: string | {
                      address: string;
                  }
                • message: Message

                Returns Promise<U>

              • Stargate implementation of sending native token.

                +

                Parameters

                • recipient: string
                • amounts: ICoin[]
                • Optional options: {
                      sendFee?: IFee;
                      sendMemo?: string;
                  }
                  • Optional sendFee?: IFee
                  • Optional sendMemo?: string

                Returns Promise<DeliverTxResponse>

              • Call a given program's transaction method.

                +

                Parameters

                • contract: string | Partial<ContractInstance>
                • message: Message
                • Optional options: {
                      execFee?: IFee;
                      execMemo?: string;
                      execSend?: ICoin[];
                  }
                  • Optional execFee?: IFee
                  • Optional execMemo?: string
                  • Optional execSend?: ICoin[]

                Returns Promise<unknown>

              • Get the balance in a given native token, of either this connection's identity's address, or of another given address.

                -

                Parameters

                • token: string
                • Optional address: string | {
                      address: string;
                  }

                Returns Promise<unknown>

              • Get the balance in a native token of a given address, +

                Parameters

                • token: string
                • Optional address: string | {
                      address: string;
                  }

                Returns Promise<unknown>

              • Get the balance in a native token of a given address, either in this connection's gas token, or in another given token.

                -

                Parameters

                • address: string | {
                      address: string;
                  }
                • Optional token: string

                Returns Promise<unknown>

              • Get the code hash of a given address.

                -

                Parameters

                • contract: string | {
                      address: string;
                  }

                Returns Promise<string>

              • Get the code hash of a given code id.

                -

                Parameters

                • contract: string | {
                      codeId: string;
                  }

                Returns Promise<string>

              • Get the code id of a given address.

                -

                Parameters

                • contract: string | {
                      address: string;
                  }

                Returns Promise<string>

              • Stargate implementation of getting a contract label.

                -

                Parameters

                • address: string

                Returns Promise<string>

              • Instantiate a new program from a code id, label and init message.

                +

                Parameters

                • address: string | {
                      address: string;
                  }
                • Optional token: string

                Returns Promise<unknown>

              • Get the code hash of a given address.

                +

                Parameters

                • contract: string | {
                      address: string;
                  }

                Returns Promise<string>

              • Get the code hash of a given code id.

                +

                Parameters

                • contract: string | {
                      codeId: string;
                  }

                Returns Promise<string>

              • Get the code id of a given address.

                +

                Parameters

                • contract: string | {
                      address: string;
                  }

                Returns Promise<string>

              • Stargate implementation of getting a contract label.

                +

                Parameters

                • address: string

                Returns Promise<string>

              • Instantiate a new program from a code id, label and init message.

                Parameters

                Returns Promise<ContractInstance & {
                    address: string;
                }>

                Deploy.ContractInstance with no address populated yet. This will be populated after executing the batch.

                Example

                await agent.instantiate(template.define({ label, initMsg })
                 
                -
              • Query a contract.

                -

                Type Parameters

                • Q

                Parameters

                • contract: string | {
                      address: string;
                  }
                • message: Message

                Returns Promise<Q>

              • Send native tokens to 1 recipient.

                -

                Parameters

                • recipient: string | {
                      address?: string;
                  }
                • amounts: (ICoin | Amount)[]
                • Optional options: {
                      sendFee?: IFee;
                      sendMemo?: string;
                  }
                  • Optional sendFee?: IFee
                  • Optional sendMemo?: string

                Returns Promise<unknown>

              • Upload a contract's code, generating a new code id/hash pair.

                -

                Parameters

                • code: string | Uint8Array | URL | Partial<CompiledCode>
                • options: {
                      reupload?: boolean;
                      uploadFee?: ICoin[] | "auto";
                      uploadMemo?: string;
                      uploadStore?: UploadStore;
                  } = {}
                  • Optional reupload?: boolean
                  • Optional uploadFee?: ICoin[] | "auto"
                  • Optional uploadMemo?: string
                  • Optional uploadStore?: UploadStore

                Returns Promise<UploadedCode & {
                    chainId: string;
                    codeId: string;
                }>

              Generated using TypeDoc

              \ No newline at end of file +

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_cw.CWConsole.html b/ts/classes/_fadroma_cw.CWConsole.html index 5bfd5ad4000..0583c46df15 100644 --- a/ts/classes/_fadroma_cw.CWConsole.html +++ b/ts/classes/_fadroma_cw.CWConsole.html @@ -1,4 +1,4 @@ -CWConsole | Documentation

              Hierarchy (view full)

              Constructors

              constructor +CWConsole | Documentation

              Hierarchy (view full)

              Constructors

              Properties

              Accessors

              [toStringTag] @@ -12,4 +12,4 @@ table trace warn -

              Constructors

              • Parameters

                • Optional label: string
                • Optional options: Partial<ConsoleOptions>

                Returns CWConsole

              Properties

              label: string = '@fadroma/cw'
              parent: Core.Console | Console

              Accessors

              • get [toStringTag](): string
              • Returns string

              • get width(): number
              • Returns number

              Methods

              • Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • label: string
                • Optional options: Partial<ConsoleOptions>

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              Generated using TypeDoc

              \ No newline at end of file +

              Constructors

              • Parameters

                • Optional label: string
                • Optional options: Partial<ConsoleOptions>

                Returns CWConsole

              Properties

              label: string = '@fadroma/cw'
              parent: Core.Console | Console

              Accessors

              • get [toStringTag](): string
              • Returns string

              • get width(): number
              • Returns number

              Methods

              • Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • label: string
                • Optional options: Partial<ConsoleOptions>

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_cw.CWError.html b/ts/classes/_fadroma_cw.CWError.html index ca6ad63b749..9c5a54bea3c 100644 --- a/ts/classes/_fadroma_cw.CWError.html +++ b/ts/classes/_fadroma_cw.CWError.html @@ -1,4 +1,4 @@ -CWError | Documentation

              Hierarchy (view full)

              Constructors

              constructor +CWError | Documentation

              Hierarchy (view full)

              Constructors

              Properties

              cause? message name diff --git a/ts/classes/_fadroma_cw.CWIdentity.html b/ts/classes/_fadroma_cw.CWIdentity.html index ae840e1aff2..ea972903e07 100644 --- a/ts/classes/_fadroma_cw.CWIdentity.html +++ b/ts/classes/_fadroma_cw.CWIdentity.html @@ -1,9 +1,9 @@ -CWIdentity | Documentation

              Hierarchy (view full)

              Constructors

              constructor +CWIdentity | Documentation

              Hierarchy (view full)

              Constructors

              Properties

              Methods

              Constructors

              Properties

              address?: string

              Unique identifier.

              -
              name?: string

              Display name.

              -
              signer: OfflineSigner

              Methods

              Generated using TypeDoc

              \ No newline at end of file +

              Constructors

              Properties

              address?: string

              Unique identifier.

              +
              name?: string

              Display name.

              +
              signer: OfflineSigner

              Methods

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_cw.CWMnemonicIdentity.html b/ts/classes/_fadroma_cw.CWMnemonicIdentity.html index dc47c847f03..b18140a7524 100644 --- a/ts/classes/_fadroma_cw.CWMnemonicIdentity.html +++ b/ts/classes/_fadroma_cw.CWMnemonicIdentity.html @@ -1,4 +1,4 @@ -CWMnemonicIdentity | Documentation

              Hierarchy (view full)

              Constructors

              constructor +CWMnemonicIdentity | Documentation

              Hierarchy (view full)

              Constructors

              Properties

              Methods

              Constructors

              Properties

              address?: string

              Unique identifier.

              -
              bech32Prefix: string
              coinType: number
              hdAccountIndex: number
              name?: string

              Display name.

              -
              pubkey: Uint8Array
              signer: OfflineSigner

              Methods

              Generated using TypeDoc

              \ No newline at end of file +

              Constructors

              Properties

              address?: string

              Unique identifier.

              +
              bech32Prefix: string
              coinType: number
              hdAccountIndex: number
              name?: string

              Display name.

              +
              pubkey: Uint8Array
              signer: OfflineSigner

              Methods

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_cw.CWSignerIdentity.html b/ts/classes/_fadroma_cw.CWSignerIdentity.html index 07206e1fa82..0765519145f 100644 --- a/ts/classes/_fadroma_cw.CWSignerIdentity.html +++ b/ts/classes/_fadroma_cw.CWSignerIdentity.html @@ -1,9 +1,9 @@ -CWSignerIdentity | Documentation

              Hierarchy (view full)

              Constructors

              constructor +CWSignerIdentity | Documentation

              Hierarchy (view full)

              Constructors

              Properties

              Methods

              Constructors

              Properties

              address?: string

              Unique identifier.

              -
              name?: string

              Display name.

              -
              signer: OfflineSigner

              Methods

              Generated using TypeDoc

              \ No newline at end of file +

              Constructors

              Properties

              address?: string

              Unique identifier.

              +
              name?: string

              Display name.

              +
              signer: OfflineSigner

              Methods

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_cw.Cognitarium.html b/ts/classes/_fadroma_cw.Cognitarium.html index 0ae670ce9c9..1228f61d7d9 100644 --- a/ts/classes/_fadroma_cw.Cognitarium.html +++ b/ts/classes/_fadroma_cw.Cognitarium.html @@ -1,5 +1,5 @@ Cognitarium | Documentation

              OKP4 triple store.

              -

              Hierarchy (view full)

              Constructors

              Hierarchy (view full)

              Constructors

              Properties

              Constructors

              Properties

              connection?: Chain.Connection
              instance?: {
                  address?: string;
              }

              Type declaration

              • Optional address?: string
              v2.1.0: typeof Cognitarium_v2_1_0 = ...

              Methods

              • Execute a transaction on the specified instance as the specified Connection.

                -

                Parameters

                • message: Message
                • options: {
                      execFee?: IFee;
                      execMemo?: string;
                      execSend?: ICoin[];
                  } = {}
                  • Optional execFee?: IFee
                  • Optional execMemo?: string
                  • Optional execSend?: ICoin[]

                Returns Promise<unknown>

              • Execute a query on the specified instance as the specified Connection.

                -

                Type Parameters

                • Q

                Parameters

                Returns Promise<Q>

              Generated using TypeDoc

              \ No newline at end of file +

              Constructors

              Properties

              connection?: Chain.Connection
              instance?: {
                  address?: string;
              }

              Type declaration

              • Optional address?: string
              v2.1.0: typeof Cognitarium_v2_1_0 = ...

              Methods

              • Execute a transaction on the specified instance as the specified Connection.

                +

                Parameters

                • message: Message
                • options: {
                      execFee?: IFee;
                      execMemo?: string;
                      execSend?: ICoin[];
                  } = {}
                  • Optional execFee?: IFee
                  • Optional execMemo?: string
                  • Optional execSend?: ICoin[]

                Returns Promise<unknown>

              • Execute a query on the specified instance as the specified Connection.

                +

                Type Parameters

                • Q

                Parameters

                Returns Promise<Q>

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_cw.LawStone.html b/ts/classes/_fadroma_cw.LawStone.html index c1c164ef2ee..e29401fe779 100644 --- a/ts/classes/_fadroma_cw.LawStone.html +++ b/ts/classes/_fadroma_cw.LawStone.html @@ -1,5 +1,5 @@ LawStone | Documentation

              OKP4 rule engine.

              -

              Hierarchy (view full)

              Constructors

              Hierarchy (view full)

              Constructors

              Properties

              Constructors

              Properties

              connection?: Chain.Connection
              instance?: {
                  address?: string;
              }

              Type declaration

              • Optional address?: string
              v2.1.0: typeof LawStone_v2_1_0 = ...

              Methods

              • Make a query against this law stone's program.

                -

                Parameters

                • query: string

                Returns Promise<unknown>

              • Permanently prevent this law stone from answering further queries.

                -

                Returns Promise<unknown>

              • Execute a transaction on the specified instance as the specified Connection.

                -

                Parameters

                • message: Message
                • options: {
                      execFee?: IFee;
                      execMemo?: string;
                      execSend?: ICoin[];
                  } = {}
                  • Optional execFee?: IFee
                  • Optional execMemo?: string
                  • Optional execSend?: ICoin[]

                Returns Promise<unknown>

              • Execute a query on the specified instance as the specified Connection.

                -

                Type Parameters

                • Q

                Parameters

                Returns Promise<Q>

              • Create an init message for a law stone.

                -

                Parameters

                • storage_address: string
                • program: string

                Returns {
                    program: string;
                    storage_address: string;
                }

                • program: string
                • storage_address: string

              Generated using TypeDoc

              \ No newline at end of file +

              Constructors

              Properties

              connection?: Chain.Connection
              instance?: {
                  address?: string;
              }

              Type declaration

              • Optional address?: string
              v2.1.0: typeof LawStone_v2_1_0 = ...

              Methods

              • Make a query against this law stone's program.

                +

                Parameters

                • query: string

                Returns Promise<unknown>

              • Permanently prevent this law stone from answering further queries.

                +

                Returns Promise<unknown>

              • Execute a transaction on the specified instance as the specified Connection.

                +

                Parameters

                • message: Message
                • options: {
                      execFee?: IFee;
                      execMemo?: string;
                      execSend?: ICoin[];
                  } = {}
                  • Optional execFee?: IFee
                  • Optional execMemo?: string
                  • Optional execSend?: ICoin[]

                Returns Promise<unknown>

              • Execute a query on the specified instance as the specified Connection.

                +

                Type Parameters

                • Q

                Parameters

                Returns Promise<Q>

              • Create an init message for a law stone.

                +

                Parameters

                • storage_address: string
                • program: string

                Returns {
                    program: string;
                    storage_address: string;
                }

                • program: string
                • storage_address: string

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_cw.OKP4Connection.html b/ts/classes/_fadroma_cw.OKP4Connection.html index 4b87f2148e9..ff8bea5ff3e 100644 --- a/ts/classes/_fadroma_cw.OKP4Connection.html +++ b/ts/classes/_fadroma_cw.OKP4Connection.html @@ -1,5 +1,5 @@ OKP4Connection | Documentation

              Connection for OKP4.

              -

              Hierarchy (view full)

              Constructors

              Hierarchy (view full)

              Constructors

              Properties

              alive api bech32Prefix? @@ -51,50 +51,50 @@ send upload gas -

              Constructors

              Properties

              alive: boolean = true

              Setting this to false stops retries.

              -
              api: Promise<CosmWasmClient | SigningCosmWasmClient>

              API connects asynchronously, so API handle is a promise of either variant.

              -
              bech32Prefix?: string

              The bech32 prefix for the account's address

              -
              blockInterval: number = 250

              Time to ping for next block.

              -
              chainId?: string

              Chain ID.

              -
              coinType?: number

              The coin type in the HD derivation path

              -
              fees: {
                  exec: IFee;
                  init: IFee;
                  send: IFee;
                  upload: IFee;
              } = ...

              Transaction fees for this agent.

              -

              Type declaration

              hdAccountIndex?: number

              The account index in the HD derivation path

              -

              A supported method of authentication.

              -
              url?: string

              Connection URL.

              -
              gasToken: Native = ...

              Default denomination of gas token.

              -

              Accessors

              • get [toStringTag](): string
              • Returns string

              • get address(): string
              • Returns string

              • get balance(): Promise<unknown>
              • Returns Promise<unknown>

              • get defaultDenom(): string
              • Returns string

              • get height(): Promise<number>
              • Returns Promise<number>

              • get nextBlock(): Promise<number>
              • Wait for the block height to increment.

                -

                Returns Promise<number>

              Methods

              • Call a transaction method of a contract.

                -

                Parameters

                • contract: {
                      address: string;
                  }
                  • address: string
                • message: Message
                • __namedParameters: Omit<{
                      execFee?: IFee;
                      execMemo?: string;
                      execSend?: ICoin[];
                  }, "execFee"> & {
                      execFee?: number | IFee | "auto";
                  } = {}

                Returns Promise<unknown>

              • Stargate implementation of querying a smart contract.

                -

                Type Parameters

                • U

                Parameters

                • contract: string | {
                      address: string;
                  }
                • message: Message

                Returns Promise<U>

              • Stargate implementation of sending native token.

                -

                Parameters

                • recipient: string
                • amounts: ICoin[]
                • Optional options: {
                      sendFee?: IFee;
                      sendMemo?: string;
                  }
                  • Optional sendFee?: IFee
                  • Optional sendMemo?: string

                Returns Promise<DeliverTxResponse>

              • Call a given program's transaction method.

                -

                Parameters

                • contract: string | Partial<ContractInstance>
                • message: Message
                • Optional options: {
                      execFee?: IFee;
                      execMemo?: string;
                      execSend?: ICoin[];
                  }
                  • Optional execFee?: IFee
                  • Optional execMemo?: string
                  • Optional execSend?: ICoin[]

                Returns Promise<unknown>

              • Get the balance in a given native token, of +

              Constructors

              Properties

              alive: boolean = true

              Setting this to false stops retries.

              +
              api: Promise<CosmWasmClient | SigningCosmWasmClient>

              API connects asynchronously, so API handle is a promise of either variant.

              +
              bech32Prefix?: string

              The bech32 prefix for the account's address

              +
              blockInterval: number = 250

              Time to ping for next block.

              +
              chainId?: string

              Chain ID.

              +
              coinType?: number

              The coin type in the HD derivation path

              +
              fees: {
                  exec: IFee;
                  init: IFee;
                  send: IFee;
                  upload: IFee;
              } = ...

              Transaction fees for this agent.

              +

              Type declaration

              hdAccountIndex?: number

              The account index in the HD derivation path

              +

              A supported method of authentication.

              +
              url?: string

              Connection URL.

              +
              gasToken: Native = ...

              Default denomination of gas token.

              +

              Accessors

              • get [toStringTag](): string
              • Returns string

              • get address(): string
              • Returns string

              • get balance(): Promise<unknown>
              • Returns Promise<unknown>

              • get defaultDenom(): string
              • Returns string

              • get height(): Promise<number>
              • Returns Promise<number>

              • get nextBlock(): Promise<number>
              • Wait for the block height to increment.

                +

                Returns Promise<number>

              Methods

              • Call a transaction method of a contract.

                +

                Parameters

                • contract: {
                      address: string;
                  }
                  • address: string
                • message: Message
                • __namedParameters: Omit<{
                      execFee?: IFee;
                      execMemo?: string;
                      execSend?: ICoin[];
                  }, "execFee"> & {
                      execFee?: number | IFee | "auto";
                  } = {}

                Returns Promise<unknown>

              • Stargate implementation of querying a smart contract.

                +

                Type Parameters

                • U

                Parameters

                • contract: string | {
                      address: string;
                  }
                • message: Message

                Returns Promise<U>

              • Stargate implementation of sending native token.

                +

                Parameters

                • recipient: string
                • amounts: ICoin[]
                • Optional options: {
                      sendFee?: IFee;
                      sendMemo?: string;
                  }
                  • Optional sendFee?: IFee
                  • Optional sendMemo?: string

                Returns Promise<DeliverTxResponse>

              • Call a given program's transaction method.

                +

                Parameters

                • contract: string | Partial<ContractInstance>
                • message: Message
                • Optional options: {
                      execFee?: IFee;
                      execMemo?: string;
                      execSend?: ICoin[];
                  }
                  • Optional execFee?: IFee
                  • Optional execMemo?: string
                  • Optional execSend?: ICoin[]

                Returns Promise<unknown>

              • Get the balance in a given native token, of either this connection's identity's address, or of another given address.

                -

                Parameters

                • token: string
                • Optional address: string | {
                      address: string;
                  }

                Returns Promise<unknown>

              • Get the balance in a native token of a given address, +

                Parameters

                • token: string
                • Optional address: string | {
                      address: string;
                  }

                Returns Promise<unknown>

              • Get the balance in a native token of a given address, either in this connection's gas token, or in another given token.

                -

                Parameters

                • address: string | {
                      address: string;
                  }
                • Optional token: string

                Returns Promise<unknown>

              • Get the code id of a given address.

                -

                Parameters

                • contract: string | {
                      address: string;
                  }

                Returns Promise<string>

              • Instantiate a new program from a code id, label and init message.

                +

                Parameters

                • address: string | {
                      address: string;
                  }
                • Optional token: string

                Returns Promise<unknown>

              • Get the code id of a given address.

                +

                Parameters

                • contract: string | {
                      address: string;
                  }

                Returns Promise<string>

              • Instantiate a new program from a code id, label and init message.

                Parameters

                Returns Promise<ContractInstance & {
                    address: string;
                }>

                Deploy.ContractInstance with no address populated yet. This will be populated after executing the batch.

                Example

                await agent.instantiate(template.define({ label, initMsg })
                 
                -
              • Query a contract.

                -

                Type Parameters

                • Q

                Parameters

                • contract: string | {
                      address: string;
                  }
                • message: Message

                Returns Promise<Q>

              • Send native tokens to 1 recipient.

                -

                Parameters

                • recipient: string | {
                      address?: string;
                  }
                • amounts: (ICoin | Amount)[]
                • Optional options: {
                      sendFee?: IFee;
                      sendMemo?: string;
                  }
                  • Optional sendFee?: IFee
                  • Optional sendMemo?: string

                Returns Promise<unknown>

              • Upload a contract's code, generating a new code id/hash pair.

                -

                Parameters

                • code: string | Uint8Array | URL | Partial<CompiledCode>
                • options: {
                      reupload?: boolean;
                      uploadFee?: ICoin[] | "auto";
                      uploadMemo?: string;
                      uploadStore?: UploadStore;
                  } = {}
                  • Optional reupload?: boolean
                  • Optional uploadFee?: ICoin[] | "auto"
                  • Optional uploadMemo?: string
                  • Optional uploadStore?: UploadStore

                Returns Promise<UploadedCode & {
                    chainId: string;
                    codeId: string;
                }>

              Generated using TypeDoc

              \ No newline at end of file +

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_cw.OKP4MnemonicIdentity.html b/ts/classes/_fadroma_cw.OKP4MnemonicIdentity.html index 9143cd67eb2..10a02fa749e 100644 --- a/ts/classes/_fadroma_cw.OKP4MnemonicIdentity.html +++ b/ts/classes/_fadroma_cw.OKP4MnemonicIdentity.html @@ -1,4 +1,4 @@ -OKP4MnemonicIdentity | Documentation

              Hierarchy (view full)

              Constructors

              constructor +OKP4MnemonicIdentity | Documentation

              Hierarchy (view full)

              Constructors

              Properties

              Methods

              Constructors

              Properties

              address?: string

              Unique identifier.

              -
              bech32Prefix: string
              coinType: number
              hdAccountIndex: number
              name?: string

              Display name.

              -
              pubkey: Uint8Array
              signer: OfflineSigner

              Methods

              Generated using TypeDoc

              \ No newline at end of file +

              Constructors

              Properties

              address?: string

              Unique identifier.

              +
              bech32Prefix: string
              coinType: number
              hdAccountIndex: number
              name?: string

              Display name.

              +
              pubkey: Uint8Array
              signer: OfflineSigner

              Methods

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_cw.Objectarium.html b/ts/classes/_fadroma_cw.Objectarium.html index 1d4c6435b9f..1046dc6674c 100644 --- a/ts/classes/_fadroma_cw.Objectarium.html +++ b/ts/classes/_fadroma_cw.Objectarium.html @@ -1,5 +1,5 @@ Objectarium | Documentation

              OKP4 object store.

              -

              Hierarchy (view full)

              Constructors

              Hierarchy (view full)

              Constructors

              Properties

              connection? instance? log @@ -11,7 +11,7 @@ store unpin init -

              Constructors

              Properties

              connection?: Chain.Connection
              instance?: {
                  address?: string;
              }

              Type declaration

              • Optional address?: string
              v2.0.0: typeof Objectarium_v2_1_0 = ...

              Methods

              • Execute a transaction on the specified instance as the specified Connection.

                -

                Parameters

                • message: Message
                • options: {
                      execFee?: IFee;
                      execMemo?: string;
                      execSend?: ICoin[];
                  } = {}
                  • Optional execFee?: IFee
                  • Optional execMemo?: string
                  • Optional execSend?: ICoin[]

                Returns Promise<unknown>

              • Execute a query on the specified instance as the specified Connection.

                -

                Type Parameters

                • Q

                Parameters

                Returns Promise<Q>

              • Create an init message for an objectarium.

                -

                Parameters

                • bucket: string

                Returns {
                    bucket: string;
                }

                • bucket: string

              Generated using TypeDoc

              \ No newline at end of file +

              Constructors

              Properties

              connection?: Chain.Connection
              instance?: {
                  address?: string;
              }

              Type declaration

              • Optional address?: string
              v2.0.0: typeof Objectarium_v2_1_0 = ...

              Methods

              • Execute a transaction on the specified instance as the specified Connection.

                +

                Parameters

                • message: Message
                • options: {
                      execFee?: IFee;
                      execMemo?: string;
                      execSend?: ICoin[];
                  } = {}
                  • Optional execFee?: IFee
                  • Optional execMemo?: string
                  • Optional execSend?: ICoin[]

                Returns Promise<unknown>

              • Execute a query on the specified instance as the specified Connection.

                +

                Type Parameters

                • Q

                Parameters

                Returns Promise<Q>

              • Create an init message for an objectarium.

                +

                Parameters

                • bucket: string

                Returns {
                    bucket: string;
                }

                • bucket: string

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_devnet.DevnetContainer.html b/ts/classes/_fadroma_devnet.DevnetContainer.html index 40abc8e1b2c..9269a36a08a 100644 --- a/ts/classes/_fadroma_devnet.DevnetContainer.html +++ b/ts/classes/_fadroma_devnet.DevnetContainer.html @@ -1,6 +1,6 @@ DevnetContainer | Documentation

              Class DevnetContainerAbstract

              A private local instance of a network, running in a container managed by @fadroma/oci.

              -

              Hierarchy (view full)

              Implements

              Constructors

              Hierarchy (view full)

              Implements

              Constructors

              Properties

              chainId? container created @@ -35,52 +35,52 @@

              Methods

              Constructors

              Properties

              chainId?: string

              Chain ID of chain node running inside devnet container.

              -
              container: Container = ...

              Container instance of devnet.

              -
              created: Promise<DevnetContainer>

              Wait for the devnet to be created.

              -
              exitHandler?: ((...args) => void)

              The exit handler that cleans up external resources.

              +

              Constructors

              Properties

              chainId?: string

              Chain ID of chain node running inside devnet container.

              +
              container: Container = ...

              Container instance of devnet.

              +
              created: Promise<DevnetContainer>

              Wait for the devnet to be created.

              +
              exitHandler?: ((...args) => void)

              The exit handler that cleans up external resources.

              Type declaration

                • (...args): void
                • The exit handler that cleans up external resources.

                  -

                  Parameters

                  • Rest ...args: any

                  Returns void

              gasToken?: Native

              Denomination of base gas token for this chain.

              -
              genesisAccounts: Record<string, string | number | bigint> = {}

              Initial accounts.

              -
              genesisUploads: Record<string, Partial<CompiledCode>> = {}

              Initial uploads.

              -
              initScript: Path = ...

              If set, overrides the script that launches the devnet in the container.

              -
              log: Core.Console = ...

              Logger.

              -
              nodeBinary?: string

              Name of binary in container to start.

              -
              nodeHost: string = 'localhost'

              The hostname of the API URL.

              -
              nodePort?: string | number

              The port of the API URL.

              -
              nodePortMode?: APIMode

              Which service does the API URL port correspond to.

              -
              nodeProtocol: string = 'http'

              The protocol of the API URL without the trailing colon.

              -
              onScriptExit: "remove" | "pause" | "remain"

              What to do with the devnet once the process that has spawned it exits.

              +

              Parameters

              • Rest ...args: any

              Returns void

              gasToken?: Native

              Denomination of base gas token for this chain.

              +
              genesisAccounts: Record<string, string | number | bigint> = {}

              Initial accounts.

              +
              genesisUploads: Record<string, Partial<CompiledCode>> = {}

              Initial uploads.

              +
              initScript: Path = ...

              If set, overrides the script that launches the devnet in the container.

              +
              log: Core.Console = ...

              Logger.

              +
              nodeBinary?: string

              Name of binary in container to start.

              +
              nodeHost: string = 'localhost'

              The hostname of the API URL.

              +
              nodePort?: string | number

              The port of the API URL.

              +
              nodePortMode?: APIMode

              Which service does the API URL port correspond to.

              +
              nodeProtocol: string = 'http'

              The protocol of the API URL without the trailing colon.

              +
              onScriptExit: "remove" | "pause" | "remain"

              What to do with the devnet once the process that has spawned it exits.

              • "remain": the devnet container keeps running
              • "pause": the devnet container is stopped
              • "remove": the devnet container is stopped and removed, along with the state directory
              -
              paused: Promise<DevnetContainer>

              Wait for the devnet to be stopped.

              -
              platformName: Platform

              Name of devnet platform.

              -
              platformVersion: string

              Version of devnet platform.

              -
              removed: Promise<DevnetContainer>

              Wait for the devnet to be removed.

              -
              running: boolean = false

              Whether the devnet container is started.

              -
              started: Promise<DevnetContainer>

              Wait for the devnet to be started.

              -
              stateRoot: Directory

              This directory contains the state of all devnets, e.g. ~/.local/share/fadroma/devnets. +

              paused: Promise<DevnetContainer>

              Wait for the devnet to be stopped.

              +
              platformName: Platform

              Name of devnet platform.

              +
              platformVersion: string

              Version of devnet platform.

              +
              removed: Promise<DevnetContainer>

              Wait for the devnet to be removed.

              +
              running: boolean = false

              Whether the devnet container is started.

              +
              started: Promise<DevnetContainer>

              Wait for the devnet to be started.

              +
              stateRoot: Directory

              This directory contains the state of all devnets, e.g. ~/.local/share/fadroma/devnets. The devnet container will create a subdirectory named after the chain ID.

              -
              url?: string | URL

              URL for connecting to a remote devnet.

              -
              verbose: boolean = false

              Whether more detailed output is preferred.

              -
              waitMore: number = 7

              Seconds to wait after first block. +

              url?: string | URL

              URL for connecting to a remote devnet.

              +
              verbose: boolean = false

              Whether more detailed output is preferred.

              +
              waitMore: number = 7

              Seconds to wait after first block. Tests override this to save time.

              -
              waitPort: ((__namedParameters) => Promise<void>) = waitPort

              Function that waits for port to open after launching container. +

              waitPort: ((__namedParameters) => Promise<void>) = waitPort

              Function that waits for port to open after launching container. Tests override this to save time.

              Type declaration

                • (__namedParameters): Promise<void>
                • Function that waits for port to open after launching container. Tests override this to save time.

                  -

                  Parameters

                  • __namedParameters: {
                        host: string;
                        interval?: number;
                        port: number;
                        retries?: number;
                    }
                    • host: string
                    • Optional interval?: number
                    • port: number
                    • Optional retries?: number

                  Returns Promise<void>

              waitString: string = ''

              Once this phrase is encountered in the log output +

              Parameters

              • __namedParameters: {
                    host: string;
                    interval?: number;
                    port: number;
                    retries?: number;
                }
                • host: string
                • Optional interval?: number
                • port: number
                • Optional retries?: number

              Returns Promise<void>

              waitString: string = ''

              Once this phrase is encountered in the log output from the container, the devnet is ready to accept requests.

              -

              Accessors

              • get runFile(): File
              • This file is created when the container is started. +

              Accessors

              • get runFile(): File
              • This file is created when the container is started. Deleting it tells the script running inside the container to kill the devnet.

                -

                Returns File

              • get stateDir(): Directory
              • This directory contains the state of the devnet, such as statefile, runfile, genesis accounts.

                -

                Returns Directory

              • get stateFile(): File
              • This file contains the state of the devnet, such as container ID.

                -

                Returns File

              Methods

              • Export the contents of the devnet as a container image.

                -

                Parameters

                • repository: string = ...
                • tag: string = ...

                Returns Promise<any>

              • Get info for named genesis account, including the mnemonic

                -

                Parameters

                • name: string | {
                      name?: string;
                  }

                Returns Promise<Partial<Identity> & {
                    mnemonic: string;
                }>

              Generated using TypeDoc

              \ No newline at end of file +

              Returns File

              Methods

              • Export the contents of the devnet as a container image.

                +

                Parameters

                • repository: string = ...
                • tag: string = ...

                Returns Promise<any>

              • Get info for named genesis account, including the mnemonic

                +

                Parameters

                • name: string | {
                      name?: string;
                  }

                Returns Promise<Partial<Identity> & {
                    mnemonic: string;
                }>

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_devnet.OKP4Container.html b/ts/classes/_fadroma_devnet.OKP4Container.html index ee974e0d7ed..945b2e73722 100644 --- a/ts/classes/_fadroma_devnet.OKP4Container.html +++ b/ts/classes/_fadroma_devnet.OKP4Container.html @@ -1,6 +1,6 @@ OKP4Container | Documentation

              A private local instance of a network, running in a container managed by @fadroma/oci.

              -

              Type Parameters

              • V extends OKP4Version

              Hierarchy (view full)

              Constructors

              Type Parameters

              • V extends OKP4Version

              Hierarchy (view full)

              Constructors

              Properties

              chainId? container created @@ -36,53 +36,53 @@

              Methods

              Constructors

              Properties

              chainId?: string

              Chain ID of chain node running inside devnet container.

              -
              container: Container = ...

              Container instance of devnet.

              -
              created: Promise<OKP4Container<V>>

              Wait for the devnet to be created.

              -
              exitHandler?: ((...args) => void)

              The exit handler that cleans up external resources.

              +

              Constructors

              Properties

              chainId?: string

              Chain ID of chain node running inside devnet container.

              +
              container: Container = ...

              Container instance of devnet.

              +
              created: Promise<OKP4Container<V>>

              Wait for the devnet to be created.

              +
              exitHandler?: ((...args) => void)

              The exit handler that cleans up external resources.

              Type declaration

                • (...args): void
                • The exit handler that cleans up external resources.

                  -

                  Parameters

                  • Rest ...args: any

                  Returns void

              gasToken: Native = ...

              Denomination of base gas token for this chain.

              -
              genesisAccounts: Record<string, string | number | bigint> = {}

              Initial accounts.

              -
              genesisUploads: Record<string, Partial<CompiledCode>> = {}

              Initial uploads.

              -
              initScript: Path = ...

              If set, overrides the script that launches the devnet in the container.

              -
              log: Core.Console = ...

              Logger.

              -
              nodeBinary?: string

              Name of binary in container to start.

              -
              nodeHost: string = 'localhost'

              The hostname of the API URL.

              -
              nodePort?: string | number

              The port of the API URL.

              -
              nodePortMode?: APIMode

              Which service does the API URL port correspond to.

              -
              nodeProtocol: string = 'http'

              The protocol of the API URL without the trailing colon.

              -
              onScriptExit: "remove" | "pause" | "remain"

              What to do with the devnet once the process that has spawned it exits.

              +

              Parameters

              • Rest ...args: any

              Returns void

              gasToken: Native = ...

              Denomination of base gas token for this chain.

              +
              genesisAccounts: Record<string, string | number | bigint> = {}

              Initial accounts.

              +
              genesisUploads: Record<string, Partial<CompiledCode>> = {}

              Initial uploads.

              +
              initScript: Path = ...

              If set, overrides the script that launches the devnet in the container.

              +
              log: Core.Console = ...

              Logger.

              +
              nodeBinary?: string

              Name of binary in container to start.

              +
              nodeHost: string = 'localhost'

              The hostname of the API URL.

              +
              nodePort?: string | number

              The port of the API URL.

              +
              nodePortMode?: APIMode

              Which service does the API URL port correspond to.

              +
              nodeProtocol: string = 'http'

              The protocol of the API URL without the trailing colon.

              +
              onScriptExit: "remove" | "pause" | "remain"

              What to do with the devnet once the process that has spawned it exits.

              • "remain": the devnet container keeps running
              • "pause": the devnet container is stopped
              • "remove": the devnet container is stopped and removed, along with the state directory
              -
              paused: Promise<OKP4Container<V>>

              Wait for the devnet to be stopped.

              -
              platformName: Platform

              Name of devnet platform.

              -
              platformVersion: string

              Version of devnet platform.

              -
              removed: Promise<OKP4Container<V>>

              Wait for the devnet to be removed.

              -
              running: boolean = false

              Whether the devnet container is started.

              -
              started: Promise<OKP4Container<V>>

              Wait for the devnet to be started.

              -
              stateRoot: Directory

              This directory contains the state of all devnets, e.g. ~/.local/share/fadroma/devnets. +

              paused: Promise<OKP4Container<V>>

              Wait for the devnet to be stopped.

              +
              platformName: Platform

              Name of devnet platform.

              +
              platformVersion: string

              Version of devnet platform.

              +
              removed: Promise<OKP4Container<V>>

              Wait for the devnet to be removed.

              +
              running: boolean = false

              Whether the devnet container is started.

              +
              started: Promise<OKP4Container<V>>

              Wait for the devnet to be started.

              +
              stateRoot: Directory

              This directory contains the state of all devnets, e.g. ~/.local/share/fadroma/devnets. The devnet container will create a subdirectory named after the chain ID.

              -
              url?: string | URL

              URL for connecting to a remote devnet.

              -
              verbose: boolean = false

              Whether more detailed output is preferred.

              -
              waitMore: number = 7

              Seconds to wait after first block. +

              url?: string | URL

              URL for connecting to a remote devnet.

              +
              verbose: boolean = false

              Whether more detailed output is preferred.

              +
              waitMore: number = 7

              Seconds to wait after first block. Tests override this to save time.

              -
              waitPort: ((__namedParameters) => Promise<void>) = waitPort

              Function that waits for port to open after launching container. +

              waitPort: ((__namedParameters) => Promise<void>) = waitPort

              Function that waits for port to open after launching container. Tests override this to save time.

              Type declaration

                • (__namedParameters): Promise<void>
                • Function that waits for port to open after launching container. Tests override this to save time.

                  -

                  Parameters

                  • __namedParameters: {
                        host: string;
                        interval?: number;
                        port: number;
                        retries?: number;
                    }
                    • host: string
                    • Optional interval?: number
                    • port: number
                    • Optional retries?: number

                  Returns Promise<void>

              waitString: string = ''

              Once this phrase is encountered in the log output +

              Parameters

              • __namedParameters: {
                    host: string;
                    interval?: number;
                    port: number;
                    retries?: number;
                }
                • host: string
                • Optional interval?: number
                • port: number
                • Optional retries?: number

              Returns Promise<void>

              waitString: string = ''

              Once this phrase is encountered in the log output from the container, the devnet is ready to accept requests.

              -
              v: Record<"5.0", Partial<OKP4Container<"5.0">>> = ...

              Supported versions of OKP4.

              -

              Accessors

              v: Record<"5.0", Partial<OKP4Container<"5.0">>> = ...

              Supported versions of OKP4.

              +

              Accessors

              • get runFile(): File
              • This file is created when the container is started. Deleting it tells the script running inside the container to kill the devnet.

                -

                Returns File

              • get stateFile(): File
              • This file contains the state of the devnet, such as container ID.

                -

                Returns File

              Methods

              • Export the contents of the devnet as a container image.

                -

                Parameters

                • repository: string = ...
                • tag: string = ...

                Returns Promise<any>

              Generated using TypeDoc

              \ No newline at end of file +

              Returns File

              Methods

              • Export the contents of the devnet as a container image.

                +

                Parameters

                • repository: string = ...
                • tag: string = ...

                Returns Promise<any>

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_devnet.ScrtContainer.html b/ts/classes/_fadroma_devnet.ScrtContainer.html index c9b0d9ad59b..3b74b4aab92 100644 --- a/ts/classes/_fadroma_devnet.ScrtContainer.html +++ b/ts/classes/_fadroma_devnet.ScrtContainer.html @@ -1,6 +1,6 @@ ScrtContainer | Documentation

              A private local instance of a network, running in a container managed by @fadroma/oci.

              -

              Type Parameters

              • V extends ScrtVersion

              Hierarchy (view full)

              Constructors

              Type Parameters

              • V extends ScrtVersion

              Hierarchy (view full)

              Constructors

              Properties

              chainId? container created @@ -36,53 +36,53 @@

              Methods

              Constructors

              Properties

              chainId?: string

              Chain ID of chain node running inside devnet container.

              -
              container: Container = ...

              Container instance of devnet.

              -
              created: Promise<ScrtContainer<V>>

              Wait for the devnet to be created.

              -
              exitHandler?: ((...args) => void)

              The exit handler that cleans up external resources.

              +

              Constructors

              Properties

              chainId?: string

              Chain ID of chain node running inside devnet container.

              +
              container: Container = ...

              Container instance of devnet.

              +
              created: Promise<ScrtContainer<V>>

              Wait for the devnet to be created.

              +
              exitHandler?: ((...args) => void)

              The exit handler that cleans up external resources.

              Type declaration

                • (...args): void
                • The exit handler that cleans up external resources.

                  -

                  Parameters

                  • Rest ...args: any

                  Returns void

              gasToken: Native = ...

              Denomination of base gas token for this chain.

              -
              genesisAccounts: Record<string, string | number | bigint> = {}

              Initial accounts.

              -
              genesisUploads: Record<string, Partial<CompiledCode>> = {}

              Initial uploads.

              -
              initScript: Path = ...

              If set, overrides the script that launches the devnet in the container.

              -
              log: Core.Console = ...

              Logger.

              -
              nodeBinary?: string

              Name of binary in container to start.

              -
              nodeHost: string = 'localhost'

              The hostname of the API URL.

              -
              nodePort?: string | number

              The port of the API URL.

              -
              nodePortMode?: APIMode

              Which service does the API URL port correspond to.

              -
              nodeProtocol: string = 'http'

              The protocol of the API URL without the trailing colon.

              -
              onScriptExit: "remove" | "pause" | "remain"

              What to do with the devnet once the process that has spawned it exits.

              +

              Parameters

              • Rest ...args: any

              Returns void

              gasToken: Native = ...

              Denomination of base gas token for this chain.

              +
              genesisAccounts: Record<string, string | number | bigint> = {}

              Initial accounts.

              +
              genesisUploads: Record<string, Partial<CompiledCode>> = {}

              Initial uploads.

              +
              initScript: Path = ...

              If set, overrides the script that launches the devnet in the container.

              +
              log: Core.Console = ...

              Logger.

              +
              nodeBinary?: string

              Name of binary in container to start.

              +
              nodeHost: string = 'localhost'

              The hostname of the API URL.

              +
              nodePort?: string | number

              The port of the API URL.

              +
              nodePortMode?: APIMode

              Which service does the API URL port correspond to.

              +
              nodeProtocol: string = 'http'

              The protocol of the API URL without the trailing colon.

              +
              onScriptExit: "remove" | "pause" | "remain"

              What to do with the devnet once the process that has spawned it exits.

              • "remain": the devnet container keeps running
              • "pause": the devnet container is stopped
              • "remove": the devnet container is stopped and removed, along with the state directory
              -
              paused: Promise<ScrtContainer<V>>

              Wait for the devnet to be stopped.

              -
              platformName: Platform

              Name of devnet platform.

              -
              platformVersion: string

              Version of devnet platform.

              -
              removed: Promise<ScrtContainer<V>>

              Wait for the devnet to be removed.

              -
              running: boolean = false

              Whether the devnet container is started.

              -
              started: Promise<ScrtContainer<V>>

              Wait for the devnet to be started.

              -
              stateRoot: Directory

              This directory contains the state of all devnets, e.g. ~/.local/share/fadroma/devnets. +

              paused: Promise<ScrtContainer<V>>

              Wait for the devnet to be stopped.

              +
              platformName: Platform

              Name of devnet platform.

              +
              platformVersion: string

              Version of devnet platform.

              +
              removed: Promise<ScrtContainer<V>>

              Wait for the devnet to be removed.

              +
              running: boolean = false

              Whether the devnet container is started.

              +
              started: Promise<ScrtContainer<V>>

              Wait for the devnet to be started.

              +
              stateRoot: Directory

              This directory contains the state of all devnets, e.g. ~/.local/share/fadroma/devnets. The devnet container will create a subdirectory named after the chain ID.

              -
              url?: string | URL

              URL for connecting to a remote devnet.

              -
              verbose: boolean = false

              Whether more detailed output is preferred.

              -
              waitMore: number = 7

              Seconds to wait after first block. +

              url?: string | URL

              URL for connecting to a remote devnet.

              +
              verbose: boolean = false

              Whether more detailed output is preferred.

              +
              waitMore: number = 7

              Seconds to wait after first block. Tests override this to save time.

              -
              waitPort: ((__namedParameters) => Promise<void>) = waitPort

              Function that waits for port to open after launching container. +

              waitPort: ((__namedParameters) => Promise<void>) = waitPort

              Function that waits for port to open after launching container. Tests override this to save time.

              Type declaration

                • (__namedParameters): Promise<void>
                • Function that waits for port to open after launching container. Tests override this to save time.

                  -

                  Parameters

                  • __namedParameters: {
                        host: string;
                        interval?: number;
                        port: number;
                        retries?: number;
                    }
                    • host: string
                    • Optional interval?: number
                    • port: number
                    • Optional retries?: number

                  Returns Promise<void>

              waitString: string = ''

              Once this phrase is encountered in the log output +

              Parameters

              • __namedParameters: {
                    host: string;
                    interval?: number;
                    port: number;
                    retries?: number;
                }
                • host: string
                • Optional interval?: number
                • port: number
                • Optional retries?: number

              Returns Promise<void>

              waitString: string = ''

              Once this phrase is encountered in the log output from the container, the devnet is ready to accept requests.

              -
              v: Record<"1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.7" | "1.8" | "1.9", Partial<ScrtContainer<"1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.7" | "1.8" | "1.9">>> = ...

              Supported versions of Secret Network.

              -

              Accessors

              v: Record<"1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.7" | "1.8" | "1.9", Partial<ScrtContainer<"1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.7" | "1.8" | "1.9">>> = ...

              Supported versions of Secret Network.

              +

              Accessors

              • get runFile(): File
              • This file is created when the container is started. Deleting it tells the script running inside the container to kill the devnet.

                -

                Returns File

              • get stateFile(): File
              • This file contains the state of the devnet, such as container ID.

                -

                Returns File

              Methods

              • Export the contents of the devnet as a container image.

                -

                Parameters

                • repository: string = ...
                • tag: string = ...

                Returns Promise<any>

              Generated using TypeDoc

              \ No newline at end of file +

              Returns File

              Methods

              • Export the contents of the devnet as a container image.

                +

                Parameters

                • repository: string = ...
                • tag: string = ...

                Returns Promise<any>

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_devnet.default.html b/ts/classes/_fadroma_devnet.default.html index 75371c013c1..d4667e65647 100644 --- a/ts/classes/_fadroma_devnet.default.html +++ b/ts/classes/_fadroma_devnet.default.html @@ -1,4 +1,4 @@ -default | Documentation

              Hierarchy (view full)

              Constructors

              constructor +default | Documentation

              Hierarchy (view full)

              Constructors

              Properties

              Constructors

              Properties

              args: string[] = []

              Extra arguments passed from the command line.

              +

              Constructors

              Properties

              args: string[] = []

              Extra arguments passed from the command line.

              commandTree: CommandTree<default> = {}

              All registered commands.

              -
              createDevnet: ((platform, version, chainId?) => Promise<any>) = ...

              Type declaration

                • (platform, version, chainId?): Promise<any>
                • Parameters

                  • platform: "scrt" | "okp4"
                  • version: string
                  • Optional chainId: string

                  Returns Promise<any>

              currentCommand: string = ''

              Currently executing command.

              +
              createDevnet: ((platform, version, chainId?) => Promise<any>) = ...

              Type declaration

                • (platform, version, chainId?): Promise<any>
                • Parameters

                  • platform: "scrt" | "okp4"
                  • version: string
                  • Optional chainId: string

                  Returns Promise<any>

              currentCommand: string = ''

              Currently executing command.

              cwd: string = ...

              Current working directory at launch of process.

              env: Record<string, string> = ...

              Process environment at lauch of process.

              -
              exportDevnet: ((chainId, imageTag?) => never) = ...

              Type declaration

                • (chainId, imageTag?): never
                • Parameters

                  • chainId: string
                  • Optional imageTag: string

                  Returns never

              info: string

              Description of this command tree.

              -
              launchDevnet: ((platform, version, chainId?) => Promise<void>) = ...

              Type declaration

                • (platform, version, chainId?): Promise<void>
                • Parameters

                  • platform: "scrt" | "okp4"
                  • version: string
                  • Optional chainId: string

                  Returns Promise<void>

              listDevnets: (() => Promise<void>) = ...

              Type declaration

                • (): Promise<void>
                • Returns Promise<void>

              listPlatforms: (() => void) = ...

              Type declaration

                • (): void
                • Returns void

              name: string

              Name of this command tree.

              -
              pauseDevnet: ((chainId) => never) = ...

              Type declaration

                • (chainId): never
                • Parameters

                  • chainId: string

                  Returns never

              printUsageOnly: (() => Promise<void>) = ...

              Type declaration

                • (): Promise<void>
                • Returns Promise<void>

              pruneDevnets: (() => Promise<void>) = ...

              Type declaration

                • (): Promise<void>
                • Returns Promise<void>

              removeDevnet: ((chainId) => never) = ...

              Type declaration

                • (chainId): never
                • Parameters

                  • chainId: string

                  Returns never

              startDevnet: ((chainId) => Promise<void>) = ...

              Type declaration

                • (chainId): Promise<void>
                • Parameters

                  • chainId: string

                  Returns Promise<void>

              timestamp: string = ...

              Start of command execution.

              +
              exportDevnet: ((chainId, imageTag?) => never) = ...

              Type declaration

                • (chainId, imageTag?): never
                • Parameters

                  • chainId: string
                  • Optional imageTag: string

                  Returns never

              info: string

              Description of this command tree.

              +
              launchDevnet: ((platform, version, chainId?) => Promise<void>) = ...

              Type declaration

                • (platform, version, chainId?): Promise<void>
                • Parameters

                  • platform: "scrt" | "okp4"
                  • version: string
                  • Optional chainId: string

                  Returns Promise<void>

              listDevnets: (() => Promise<void>) = ...

              Type declaration

                • (): Promise<void>
                • Returns Promise<void>

              listPlatforms: (() => void) = ...

              Type declaration

                • (): void
                • Returns void

              name: string

              Name of this command tree.

              +
              pauseDevnet: ((chainId) => never) = ...

              Type declaration

                • (chainId): never
                • Parameters

                  • chainId: string

                  Returns never

              printUsageOnly: (() => Promise<void>) = ...

              Type declaration

                • (): Promise<void>
                • Returns Promise<void>

              pruneDevnets: (() => Promise<void>) = ...

              Type declaration

                • (): Promise<void>
                • Returns Promise<void>

              removeDevnet: ((chainId) => never) = ...

              Type declaration

                • (chainId): never
                • Parameters

                  • chainId: string

                  Returns never

              startDevnet: ((chainId) => Promise<void>) = ...

              Type declaration

                • (chainId): Promise<void>
                • Parameters

                  • chainId: string

                  Returns Promise<void>

              timestamp: string = ...

              Start of command execution.

              Methods

              • Define a command and return this.

                Type Parameters

                Parameters

                • parameters: {
                      args: string;
                      info: string;
                      name: string;
                  }
                  • args: string
                  • info: string
                  • name: string
                • step: X

                Returns this

              • Attach a command subtree and return this.

                Parameters

                • name: string
                • info: string
                • subtree: default

                Returns this

              • Define a command and return it.

                @@ -49,7 +49,7 @@
              • End the process.

                Parameters

                • code: number = 0

                Returns void

              • Filter commands by each word from the list of arguments then pass the rest as arguments to the found command.

                -

                Parameters

                • args: string[]

                Returns [default | Command<default>, ...string[]]

              • Parameters

                • __namedParameters: default

                Returns Promise<void>

              • Parameters

                • arg0: default

                Returns Promise<void>

              • Run a command from this command tree.

                +

                Parameters

                • args: string[]

                Returns [default | Command<default>, ...string[]]

              • Parameters

                • __namedParameters: default

                Returns Promise<void>

              • Parameters

                • arg0: default

                Returns Promise<void>

              • Run a command from this command tree.

                Type Parameters

                • T

                Parameters

                • argv: string[]
                • context: any = ...

                Returns Promise<T>

              • Start an interactive REPL with this deployment as global context.

                Returns Promise<void>

                Throws

                if the node:repl and node:vm native modules are unavailable.

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_oci.Connection.html b/ts/classes/_fadroma_oci.Connection.html index a0c85c6b256..dc0500932bb 100644 --- a/ts/classes/_fadroma_oci.Connection.html +++ b/ts/classes/_fadroma_oci.Connection.html @@ -1,4 +1,4 @@ -Connection | Documentation

              Hierarchy (view full)

              Constructors

              constructor +Connection | Documentation

              Hierarchy (view full)

              Constructors

              Properties

              alive api blockInterval @@ -50,38 +50,38 @@

              Constructors

              Properties

              alive: boolean = true

              Setting this to false stops retries.

              -
              api: DockerHandle

              Platform SDK.

              -
              blockInterval: number = 250

              Time to ping for next block.

              -
              chainId?: string

              Chain ID.

              -
              fees?: {
                  exec?: IFee;
                  init?: IFee;
                  send?: IFee;
                  upload?: IFee;
              }

              Default transaction fees.

              -

              Type declaration

              • Optional exec?: IFee
              • Optional init?: IFee
              • Optional send?: IFee
              • Optional upload?: IFee
              identity?: Identity

              Signer identity.

              -
              url?: string

              Connection URL.

              -
              gasToken: Native = ...

              Native token of chain.

              -

              Accessors

              • get [toStringTag](): string
              • Returns string

              • get address(): string
              • Returns string

              • get balance(): Promise<unknown>
              • Returns Promise<unknown>

              • get defaultDenom(): string
              • Returns string

              • get height(): Promise<number>
              • Returns Promise<number>

              • get nextBlock(): Promise<number>
              • Wait for the block height to increment.

                -

                Returns Promise<number>

              Methods

              • Returns list of containers from a given image.

                -

                Parameters

                • imageId: any

                Returns Promise<{
                    address: string;
                    codeId: any;
                    container: ContainerInfo;
                }[]>

              • Call a given program's transaction method.

                -

                Parameters

                • contract: string | Partial<ContractInstance>
                • message: Message
                • Optional options: {
                      execFee?: IFee;
                      execMemo?: string;
                      execSend?: ICoin[];
                  }
                  • Optional execFee?: IFee
                  • Optional execMemo?: string
                  • Optional execSend?: ICoin[]

                Returns Promise<unknown>

              Properties

              alive: boolean = true

              Setting this to false stops retries.

              +
              api: DockerHandle

              Platform SDK.

              +
              blockInterval: number = 250

              Time to ping for next block.

              +
              chainId?: string

              Chain ID.

              +
              fees?: {
                  exec?: IFee;
                  init?: IFee;
                  send?: IFee;
                  upload?: IFee;
              }

              Default transaction fees.

              +

              Type declaration

              • Optional exec?: IFee
              • Optional init?: IFee
              • Optional send?: IFee
              • Optional upload?: IFee
              identity?: Identity

              Signer identity.

              +
              url?: string

              Connection URL.

              +
              gasToken: Native = ...

              Native token of chain.

              +

              Accessors

              • get [toStringTag](): string
              • Returns string

              • get address(): string
              • Returns string

              • get balance(): Promise<unknown>
              • Returns Promise<unknown>

              • get defaultDenom(): string
              • Returns string

              • get height(): Promise<number>
              • Returns Promise<number>

              • get nextBlock(): Promise<number>
              • Wait for the block height to increment.

                +

                Returns Promise<number>

              Methods

              • Returns list of containers from a given image.

                +

                Parameters

                • imageId: any

                Returns Promise<{
                    address: string;
                    codeId: any;
                    container: ContainerInfo;
                }[]>

              • Call a given program's transaction method.

                +

                Parameters

                • contract: string | Partial<ContractInstance>
                • message: Message
                • Optional options: {
                      execFee?: IFee;
                      execMemo?: string;
                      execSend?: ICoin[];
                  }
                  • Optional execFee?: IFee
                  • Optional execMemo?: string
                  • Optional execSend?: ICoin[]

                Returns Promise<unknown>

              • Get the balance in a given native token, of either this connection's identity's address, or of another given address.

                -

                Parameters

                • token: string
                • Optional address: string | {
                      address: string;
                  }

                Returns Promise<unknown>

              • Get the balance in a native token of a given address, +

                Parameters

                • token: string
                • Optional address: string | {
                      address: string;
                  }

                Returns Promise<unknown>

              • Get the balance in a native token of a given address, either in this connection's gas token, or in another given token.

                -

                Parameters

                • address: string | {
                      address: string;
                  }
                • Optional token: string

                Returns Promise<unknown>

              • Get the code hash of a given address.

                -

                Parameters

                • contract: string | {
                      address: string;
                  }

                Returns Promise<string>

              • Get the code hash of a given code id.

                -

                Parameters

                • contract: string | {
                      codeId: string;
                  }

                Returns Promise<string>

              • Get the code id of a given address.

                -

                Parameters

                • contract: string | {
                      address: string;
                  }

                Returns Promise<string>

              • Parameters

                • name: string
                • Optional dockerfile: string
                • Optional inputFiles: string[]

                Returns Image

              • Instantiate a new program from a code id, label and init message.

                +

                Parameters

                • address: string | {
                      address: string;
                  }
                • Optional token: string

                Returns Promise<unknown>

              • Get the code hash of a given address.

                +

                Parameters

                • contract: string | {
                      address: string;
                  }

                Returns Promise<string>

              • Get the code hash of a given code id.

                +

                Parameters

                • contract: string | {
                      codeId: string;
                  }

                Returns Promise<string>

              • Get the code id of a given address.

                +

                Parameters

                • contract: string | {
                      address: string;
                  }

                Returns Promise<string>

              • Parameters

                • name: string
                • Optional dockerfile: string
                • Optional inputFiles: string[]

                Returns Image

              • Instantiate a new program from a code id, label and init message.

                Parameters

                Returns Promise<ContractInstance & {
                    address: string;
                }>

                Deploy.ContractInstance with no address populated yet. This will be populated after executing the batch.

                Example

                await agent.instantiate(template.define({ label, initMsg })
                 
                -
              • Query a contract.

                -

                Type Parameters

                • Q

                Parameters

                • contract: string | {
                      address: string;
                  }
                • message: Message

                Returns Promise<Q>

              • Send native tokens to 1 recipient.

                -

                Parameters

                • recipient: string | {
                      address?: string;
                  }
                • amounts: (ICoin | Amount)[]
                • Optional options: {
                      sendFee?: IFee;
                      sendMemo?: string;
                  }
                  • Optional sendFee?: IFee
                  • Optional sendMemo?: string

                Returns Promise<unknown>

              • Upload a contract's code, generating a new code id/hash pair.

                -

                Parameters

                • code: string | Uint8Array | URL | Partial<CompiledCode>
                • options: {
                      reupload?: boolean;
                      uploadFee?: ICoin[] | "auto";
                      uploadMemo?: string;
                      uploadStore?: UploadStore;
                  } = {}
                  • Optional reupload?: boolean
                  • Optional uploadFee?: ICoin[] | "auto"
                  • Optional uploadMemo?: string
                  • Optional uploadStore?: UploadStore

                Returns Promise<UploadedCode & {
                    chainId: string;
                    codeId: string;
                }>

              Generated using TypeDoc

              \ No newline at end of file +
              • Query a contract.

                +

                Type Parameters

                • Q

                Parameters

                • contract: string | {
                      address: string;
                  }
                • message: Message

                Returns Promise<Q>

              • Send native tokens to 1 recipient.

                +

                Parameters

                • recipient: string | {
                      address?: string;
                  }
                • amounts: (ICoin | Amount)[]
                • Optional options: {
                      sendFee?: IFee;
                      sendMemo?: string;
                  }
                  • Optional sendFee?: IFee
                  • Optional sendMemo?: string

                Returns Promise<unknown>

              • Upload a contract's code, generating a new code id/hash pair.

                +

                Parameters

                • code: string | Uint8Array | URL | Partial<CompiledCode>
                • options: {
                      reupload?: boolean;
                      uploadFee?: ICoin[] | "auto";
                      uploadMemo?: string;
                      uploadStore?: UploadStore;
                  } = {}
                  • Optional reupload?: boolean
                  • Optional uploadFee?: ICoin[] | "auto"
                  • Optional uploadMemo?: string
                  • Optional uploadStore?: UploadStore

                Returns Promise<UploadedCode & {
                    chainId: string;
                    codeId: string;
                }>

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_oci.Console.html b/ts/classes/_fadroma_oci.Console.html index 633530b44f3..4783a89769f 100644 --- a/ts/classes/_fadroma_oci.Console.html +++ b/ts/classes/_fadroma_oci.Console.html @@ -1,4 +1,4 @@ -Console | Documentation

              Hierarchy (view full)

              Constructors

              constructor +Console | Documentation

              Hierarchy (view full)

              Constructors

              Properties

              Accessors

              [toStringTag] @@ -21,4 +21,4 @@ table trace warn -

              Constructors

              • Parameters

                • Optional label: string
                • Optional options: Partial<ConsoleOptions>

                Returns Console

              Properties

              label: string = '@fadroma/oci'
              parent: Core.Console | Console

              Accessors

              • get [toStringTag](): string
              • Returns string

              • get width(): number
              • Returns number

              Methods

              • Returns this

              • Parameters

                • Optional name: string

                Returns void

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • label: string
                • Optional options: Partial<ConsoleOptions>

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              Generated using TypeDoc

              \ No newline at end of file +

              Constructors

              • Parameters

                • Optional label: string
                • Optional options: Partial<ConsoleOptions>

                Returns Console

              Properties

              label: string = '@fadroma/oci'
              parent: Core.Console | Console

              Accessors

              • get [toStringTag](): string
              • Returns string

              • get width(): number
              • Returns number

              Methods

              • Returns this

              • Parameters

                • Optional name: string

                Returns void

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • label: string
                • Optional options: Partial<ConsoleOptions>

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_oci.Container.html b/ts/classes/_fadroma_oci.Container.html index 8279010097b..f3b3ea51659 100644 --- a/ts/classes/_fadroma_oci.Container.html +++ b/ts/classes/_fadroma_oci.Container.html @@ -1,5 +1,5 @@ Container | Documentation

              Interface to a Docker container.

              -

              Hierarchy (view full)

              Constructors

              Hierarchy (view full)

              Constructors

              Properties

              Constructors

              Properties

              address?: string

              Address of this contract instance. Unique per chain.

              -
              chainId?: string

              Code ID representing the identity of the contract's code on a specific chain.

              -
              codeHash?: string

              Code hash uniquely identifying the compiled code.

              -
              codeId?: string

              Code ID representing the identity of the contract's code on a specific chain.

              -
              compiled?: CompiledCode
              compiler?: Program.Compiler
              deployer?: string | Chain.Connection
              deployment?: Deployment

              Deployment to which this unit belongs.

              -
              engine: Connection
              entrypoint?: ContainerCommand
              id?: string
              image: Image
              initBy?: string | Chain.Connection

              Address of agent that performed the init tx.

              -
              initFee?: unknown

              Fee to use for init.

              -
              initGas?: unknown

              Contents of init message.

              -
              initMemo?: string

              Instantiation memo.

              -
              initMsg?: Into<Message>

              Contents of init message.

              -
              initSend?: ICoin[]

              Native tokens to send to the new contract.

              -
              initTx?: string

              ID of transaction that performed the init.

              -
              isTemplate: false = false
              label?: string

              Full label of the instance. Unique for a given chain.

              -
              log: Console
              name?: string

              Name of this unit.

              -
              options: Partial<ContainerOptions> = {}
              source?: SourceCode
              uploaded?: UploadedCode
              uploader?: string | Chain.Connection

              Accessors

              Methods

              • Parameters

                • __namedParameters: {
                      compiler?: Program.Compiler;
                      rebuild?: boolean;
                  } & {
                      reupload?: boolean;
                      uploadFee?: ICoin[] | "auto";
                      uploadMemo?: string;
                      uploadStore?: UploadStore;
                  } & {
                      reupload?: boolean;
                      uploader?: string | {
                          upload: ((code, options?) => Promise<UploadedCode & {
                              chainId: string;
                              codeId: string;
                          }>);
                      };
                  } & Partial<ContractInstance> & {
                      deployer?: string | {
                          instantiate: ((contract, options) => Promise<ContractInstance & {
                              address: string;
                          }>);
                      };
                      redeploy?: boolean;
                  } = {}

                Returns Promise<ContractInstance & {
                    address: string;
                }>

              • Executes a command in the container.

                +

              Constructors

              Properties

              address?: string

              Address of this contract instance. Unique per chain.

              +
              chainId?: string

              Code ID representing the identity of the contract's code on a specific chain.

              +
              codeHash?: string

              Code hash uniquely identifying the compiled code.

              +
              codeId?: string

              Code ID representing the identity of the contract's code on a specific chain.

              +
              compiled?: CompiledCode
              compiler?: Program.Compiler
              deployer?: string | Chain.Connection
              deployment?: Deployment

              Deployment to which this unit belongs.

              +
              engine: Connection
              entrypoint?: ContainerCommand
              id?: string
              image: Image
              initBy?: string | Chain.Connection

              Address of agent that performed the init tx.

              +
              initFee?: unknown

              Fee to use for init.

              +
              initGas?: unknown

              Contents of init message.

              +
              initMemo?: string

              Instantiation memo.

              +
              initMsg?: Into<Message>

              Contents of init message.

              +
              initSend?: ICoin[]

              Native tokens to send to the new contract.

              +
              initTx?: string

              ID of transaction that performed the init.

              +
              isTemplate: false = false
              label?: string

              Full label of the instance. Unique for a given chain.

              +
              log: Console
              name?: string

              Name of this unit.

              +
              options: Partial<ContainerOptions> = {}
              source?: SourceCode
              uploaded?: UploadedCode
              uploader?: string | Chain.Connection

              Accessors

              Methods

              • Parameters

                • __namedParameters: {
                      compiler?: Program.Compiler;
                      rebuild?: boolean;
                  } & {
                      reupload?: boolean;
                      uploadFee?: ICoin[] | "auto";
                      uploadMemo?: string;
                      uploadStore?: UploadStore;
                  } & {
                      reupload?: boolean;
                      uploader?: string | {
                          upload: ((code, options?) => Promise<UploadedCode & {
                              chainId: string;
                              codeId: string;
                          }>);
                      };
                  } & Partial<ContractInstance> & {
                      deployer?: string | {
                          instantiate: ((contract, options) => Promise<ContractInstance & {
                              address: string;
                          }>);
                      };
                      redeploy?: boolean;
                  } = {}

                Returns Promise<ContractInstance & {
                    address: string;
                }>

              • Executes a command in the container.

                Parameters

                • Rest ...command: string[]

                Returns Promise<[string, string]>

                [stdout, stderr]

                -
              • Returns Promise<boolean>

              • Save a container as an image.

                -

                Parameters

                • Optional repository: string
                • tag: string = 'latest'

                Returns Promise<any>

              • Get info about a container.

                -

                Returns Promise<ContainerInspectInfo>

              • Is this container running?

                -

                Returns Promise<boolean>

              • Returns {
                    address: string;
                    chainId: string;
                    codeHash: string;
                    codeId: string;
                    initBy: string | Chain.Connection;
                    initFee: unknown;
                    initGas: unknown;
                    initMemo: string;
                    initMsg: Into<Message>;
                    initSend: ICoin[];
                    initTx: string;
                    label: string;
                    name: string;
                }

                • address: string
                • chainId: string
                • codeHash: string
                • codeId: string
                • initBy: string | Chain.Connection
                • initFee: unknown
                • initGas: unknown
                • initMemo: string
                • initMsg: Into<Message>
                • initSend: ICoin[]
                • initTx: string
                • label: string
                • name: string
              • Upload this contract, unless a valid upload is present and a rebuild is not requested.

                -

                Parameters

                • __namedParameters: {
                      compiler?: Program.Compiler;
                      rebuild?: boolean;
                  } & {
                      reupload?: boolean;
                      uploadFee?: ICoin[] | "auto";
                      uploadMemo?: string;
                      uploadStore?: UploadStore;
                  } & {
                      reupload?: boolean;
                      uploader?: string | {
                          upload: ((code, options?) => Promise<UploadedCode & {
                              chainId: string;
                              codeId: string;
                          }>);
                      };
                  } = {}

                Returns Promise<UploadedCode & {
                    codeId: string;
                }>

              • Wait for the container to exit.

                -

                Returns Promise<{
                    code: any;
                    error: any;
                }>

              • Wait for the container logs to emit an expected string.

                -

                Parameters

                • expected: string
                • Optional logFilter: ((data) => boolean)
                    • (data): boolean
                    • Parameters

                      • data: string

                      Returns boolean

                • Optional thenDetach: boolean

                Returns Promise<void>

              Generated using TypeDoc

              \ No newline at end of file +

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_oci.Error.html b/ts/classes/_fadroma_oci.Error.html index 58f5c6c5f26..8083b0d8459 100644 --- a/ts/classes/_fadroma_oci.Error.html +++ b/ts/classes/_fadroma_oci.Error.html @@ -1,4 +1,4 @@ -Error | Documentation

              Hierarchy (view full)

              Constructors

              constructor +Error | Documentation

              Hierarchy (view full)

              Constructors

              Properties

              cause? message name @@ -17,7 +17,7 @@ stackTraceLimit

              Methods

              Constructors

              • Parameters

                • Optional message: string

                Returns Error

              • Parameters

                • Optional message: string
                • Optional options: ErrorOptions

                Returns Error

              Properties

              cause?: unknown
              message: string
              name: string
              stack?: string
              BuildFailed: typeof OopsError = ...
              ContainerAlreadyCreated: typeof OopsError = ...
              NoContainer: typeof OopsError = ...
              NoDockerfile: typeof OopsError = ...
              NoDockerode: typeof OopsError = ...
              NoImage: typeof OopsError = ...
              NoName: typeof OopsError = ...
              NoNameNorDockerfile: typeof OopsError = ...
              NotDockerode: typeof OopsError = ...
              PullFailed: typeof OopsError = ...
              prepareStackTrace?: ((err, stackTraces) => any)

              Optional override for formatting stack traces

              +

              Constructors

              • Parameters

                • Optional message: string

                Returns Error

              • Parameters

                • Optional message: string
                • Optional options: ErrorOptions

                Returns Error

              Properties

              cause?: unknown
              message: string
              name: string
              stack?: string
              BuildFailed: typeof OopsError = ...
              ContainerAlreadyCreated: typeof OopsError = ...
              NoContainer: typeof OopsError = ...
              NoDockerfile: typeof OopsError = ...
              NoDockerode: typeof OopsError = ...
              NoImage: typeof OopsError = ...
              NoName: typeof OopsError = ...
              NoNameNorDockerfile: typeof OopsError = ...
              NotDockerode: typeof OopsError = ...
              PullFailed: typeof OopsError = ...
              prepareStackTrace?: ((err, stackTraces) => any)

              Optional override for formatting stack traces

              Type declaration

              See

              https://v8.dev/docs/stack-trace-api#customizing-stack-traces

              diff --git a/ts/classes/_fadroma_oci.Image.html b/ts/classes/_fadroma_oci.Image.html index 04fa685d03c..c0c7c0bcce8 100644 --- a/ts/classes/_fadroma_oci.Image.html +++ b/ts/classes/_fadroma_oci.Image.html @@ -3,7 +3,7 @@
            • needed for deployment-wide deduplication
            • generates structured label
            • -

              Hierarchy (view full)

              Constructors

              Hierarchy (view full)

              Constructors

              Properties

              Constructors

              Properties

              _available: Promise<Image> = null
              chainId?: string

              Code ID representing the identity of the contract's code on a specific chain.

              -
              codeHash?: string

              Code hash uniquely identifying the compiled code.

              -
              codeId?: string

              Code ID representing the identity of the contract's code on a specific chain.

              -
              compiled?: CompiledCode
              compiler?: Program.Compiler
              deployer?: string | Chain.Connection
              deployment?: Deployment

              Deployment to which this unit belongs.

              -
              dockerfile: string = null
              engine: Connection
              inputFiles: string[] = []
              isTemplate: true = true
              log: Console
              name?: string

              Name of this unit.

              -
              source?: SourceCode
              uploaded?: UploadedCode
              uploader?: string | Chain.Connection

              Accessors

              Methods

              • Throws if inspected image does not exist locally.

                -

                Returns Promise<void>

              • Check if the image exists.

                -

                Returns Promise<boolean>

              • Get info about a container.

                -

                Returns Promise<ImageInspectInfo>

              • Throws if inspected image does not exist in Docker Hub.

                -

                Returns Promise<void>

              • Pull the image from the registry, or build it from a local file if not available there.

                -

                Returns Promise<Image>

              • Remove this image.

                -

                Returns Promise<any>

              • Returns {
                    chainId: string;
                    codeHash: string;
                    codeId: string;
                    name: string;
                }

                • chainId: string
                • codeHash: string
                • codeId: string
                • name: string
              • Upload this contract, unless a valid upload is present and a rebuild is not requested.

                -

                Parameters

                • __namedParameters: {
                      compiler?: Program.Compiler;
                      rebuild?: boolean;
                  } & {
                      reupload?: boolean;
                      uploadFee?: ICoin[] | "auto";
                      uploadMemo?: string;
                      uploadStore?: UploadStore;
                  } & {
                      reupload?: boolean;
                      uploader?: string | {
                          upload: ((code, options?) => Promise<UploadedCode & {
                              chainId: string;
                              codeId: string;
                          }>);
                      };
                  } = {}

                Returns Promise<UploadedCode & {
                    codeId: string;
                }>

              Generated using TypeDoc

              \ No newline at end of file +

              Constructors

              Properties

              _available: Promise<Image> = null
              chainId?: string

              Code ID representing the identity of the contract's code on a specific chain.

              +
              codeHash?: string

              Code hash uniquely identifying the compiled code.

              +
              codeId?: string

              Code ID representing the identity of the contract's code on a specific chain.

              +
              compiled?: CompiledCode
              compiler?: Program.Compiler
              deployer?: string | Chain.Connection
              deployment?: Deployment

              Deployment to which this unit belongs.

              +
              dockerfile: string = null
              engine: Connection
              inputFiles: string[] = []
              isTemplate: true = true
              log: Console
              name?: string

              Name of this unit.

              +
              source?: SourceCode
              uploaded?: UploadedCode
              uploader?: string | Chain.Connection

              Accessors

              Methods

              • Throws if inspected image does not exist locally.

                +

                Returns Promise<void>

              • Check if the image exists.

                +

                Returns Promise<boolean>

              • Get info about a container.

                +

                Returns Promise<ImageInspectInfo>

              • Throws if inspected image does not exist in Docker Hub.

                +

                Returns Promise<void>

              • Pull the image from the registry, or build it from a local file if not available there.

                +

                Returns Promise<Image>

              • Remove this image.

                +

                Returns Promise<any>

              • Returns {
                    chainId: string;
                    codeHash: string;
                    codeId: string;
                    name: string;
                }

                • chainId: string
                • codeHash: string
                • codeId: string
                • name: string
              • Upload this contract, unless a valid upload is present and a rebuild is not requested.

                +

                Parameters

                • __namedParameters: {
                      compiler?: Program.Compiler;
                      rebuild?: boolean;
                  } & {
                      reupload?: boolean;
                      uploadFee?: ICoin[] | "auto";
                      uploadMemo?: string;
                      uploadStore?: UploadStore;
                  } & {
                      reupload?: boolean;
                      uploader?: string | {
                          upload: ((code, options?) => Promise<UploadedCode & {
                              chainId: string;
                              codeId: string;
                          }>);
                      };
                  } = {}

                Returns Promise<UploadedCode & {
                    codeId: string;
                }>

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_oci.LineTransformStream.html b/ts/classes/_fadroma_oci.LineTransformStream.html index 24ef1578872..b1d95f95237 100644 --- a/ts/classes/_fadroma_oci.LineTransformStream.html +++ b/ts/classes/_fadroma_oci.LineTransformStream.html @@ -1,7 +1,7 @@ LineTransformStream | Documentation

              Based on: Line Transform Stream by Nick Schwarzenberg nick@bitfasching.de https://github.com/bitfasching/node-line-transform-stream#readme Used under MIT license.

              -

              Hierarchy

              • Transform
                • LineTransformStream

              Constructors

              Hierarchy

              • Transform
                • LineTransformStream

              Constructors

              Properties

              Constructors

              Properties

              allowHalfOpen: boolean

              If false then the stream will automatically end the writable side when the +

              Constructors

              Properties

              allowHalfOpen: boolean

              If false then the stream will automatically end the writable side when the readable side ends. Set initially by the allowHalfOpen constructor option, which defaults to true.

              This can be changed manually to change the half-open behavior of an existingDuplex stream instance, but must be changed before the 'end' event is @@ -105,7 +105,7 @@

              Since

              v0.9.4

              closed: boolean
              destroyed: boolean

              Is true after readable.destroy() has been called.

              Since

              v8.0.0

              -
              errored: Error
              lineBuffer: string
              readable: boolean

              Is true if it is safe to call readable.read(), which means +

              errored: Error
              lineBuffer: string
              readable: boolean

              Is true if it is safe to call readable.read(), which means the stream has not been destroyed or emitted 'error' or 'end'.

              Since

              v11.4.0

              readableAborted: boolean

              Returns whether the stream was destroyed or errored before emitting 'end'.

              @@ -127,7 +127,7 @@

              Since

              v9.4.0

              readableObjectMode: boolean

              Getter for the property objectMode of a given Readable stream.

              Since

              v12.3.0

              -
              stringEncoding: string
              transformCallback: Function
              writable: boolean
              writableCorked: number
              writableEnded: boolean
              writableFinished: boolean
              writableHighWaterMark: number
              writableLength: number
              writableNeedDrain: boolean
              writableObjectMode: boolean
              captureRejectionSymbol: typeof captureRejectionSymbol

              Value: Symbol.for('nodejs.rejection')

              +
              stringEncoding: string
              transformCallback: Function
              writable: boolean
              writableCorked: number
              writableEnded: boolean
              writableFinished: boolean
              writableHighWaterMark: number
              writableLength: number
              writableNeedDrain: boolean
              writableObjectMode: boolean
              captureRejectionSymbol: typeof captureRejectionSymbol

              Value: Symbol.for('nodejs.rejection')

              See how to write a custom rejection handler.

              Since

              v13.4.0, v12.16.0

              captureRejections: boolean

              Value: boolean

              @@ -161,7 +161,7 @@

              Since

              v13.6.0, v12.17.0

              Methods

              • Calls readable.destroy() with an AbortError and returns a promise that fulfills when the stream is finished.

                Returns Promise<void>

                Since

                v20.4.0

                -
              • Returns AsyncIterableIterator<any>

              • Parameters

                • error: Error
                • event: string
                • Rest ...args: any[]

                Returns void

              • Parameters

                • callback: ((error?) => void)
                    • (error?): void
                    • Parameters

                      • Optional error: Error

                      Returns void

                Returns void

              • Parameters

                • error: Error
                • callback: ((error) => void)
                    • (error): void
                    • Parameters

                      • error: Error

                      Returns void

                Returns void

              • Parameters

                • callback: ((error?) => void)
                    • (error?): void
                    • Parameters

                      • Optional error: Error

                      Returns void

                Returns void

              • Parameters

                • callback: TransformCallback

                Returns void

              • Parameters

                • size: number

                Returns void

              • Parameters

                • data: any
                • encoding: string
                • callback: Function

                Returns void

              • Parameters

                • chunk: any
                • encoding: BufferEncoding
                • callback: ((error?) => void)
                    • (error?): void
                    • Parameters

                      • Optional error: Error

                      Returns void

                Returns void

              • Parameters

                • chunks: {
                      chunk: any;
                      encoding: BufferEncoding;
                  }[]
                • callback: ((error?) => void)
                    • (error?): void
                    • Parameters

                      • Optional error: Error

                      Returns void

                Returns void

              • Event emitter +

              • Returns AsyncIterableIterator<any>

              • Parameters

                • error: Error
                • event: string
                • Rest ...args: any[]

                Returns void

              • Parameters

                • callback: ((error?) => void)
                    • (error?): void
                    • Parameters

                      • Optional error: Error

                      Returns void

                Returns void

              • Parameters

                • error: Error
                • callback: ((error) => void)
                    • (error): void
                    • Parameters

                      • error: Error

                      Returns void

                Returns void

              • Parameters

                • callback: ((error?) => void)
                    • (error?): void
                    • Parameters

                      • Optional error: Error

                      Returns void

                Returns void

              • Parameters

                • callback: TransformCallback

                Returns void

              • Parameters

                • size: number

                Returns void

              • Parameters

                • data: any
                • encoding: string
                • callback: Function

                Returns void

              • Parameters

                • chunk: any
                • encoding: BufferEncoding
                • callback: ((error?) => void)
                    • (error?): void
                    • Parameters

                      • Optional error: Error

                      Returns void

                Returns void

              • Parameters

                • chunks: {
                      chunk: any;
                      encoding: BufferEncoding;
                  }[]
                • callback: ((error?) => void)
                    • (error?): void
                    • Parameters

                      • Optional error: Error

                      Returns void

                Returns void

              Constructors

              Properties

              connection?: Mocknet.Connection
              messages: any[] = []

              Methods

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_scrt.Mocknet.Connection.html b/ts/classes/_fadroma_scrt.Mocknet.Connection.html index faf15cd25cc..0feb62cc455 100644 --- a/ts/classes/_fadroma_scrt.Mocknet.Connection.html +++ b/ts/classes/_fadroma_scrt.Mocknet.Connection.html @@ -1,5 +1,5 @@ Connection | Documentation

              Chain instance containing a local mocknet.

              -

              Hierarchy (view full)

              Constructors

              Hierarchy (view full)

              Constructors

              Properties

              alive api? backend @@ -47,36 +47,36 @@ send upload gas -

              Constructors

              Properties

              alive: boolean = true

              Setting this to false stops retries.

              -
              api?: unknown

              Platform SDK.

              -
              backend: Mocknet.Backend
              blockInterval: number = 250

              Time to ping for next block.

              -
              chainId?: string

              Chain ID.

              -
              fees?: {
                  exec?: IFee;
                  init?: IFee;
                  send?: IFee;
                  upload?: IFee;
              }

              Default transaction fees.

              -

              Type declaration

              • Optional exec?: IFee
              • Optional init?: IFee
              • Optional send?: IFee
              • Optional upload?: IFee
              identity?: Identity

              Signer identity.

              -
              url?: string

              Connection URL.

              -
              gasToken: Native = ...

              Native token of chain.

              -

              Accessors

              • get [toStringTag](): string
              • Returns string

              • get address(): string
              • Returns string

              • get balance(): Promise<unknown>
              • Returns Promise<unknown>

              • get defaultDenom(): string
              • Returns string

              • get height(): Promise<number>
              • Returns Promise<number>

              • get nextBlock(): Promise<number>
              • Wait for the block height to increment.

                -

                Returns Promise<number>

              Methods

              • Parameters

                • Rest ...args: [contract: {
                      address: string;
                      codeHash: string;
                  }, message: Message, options?: {
                      execFee?: IFee;
                      execMemo?: string;
                      execSend?: ICoin[];
                  }]

                Returns Promise<unknown>

              • Call a given program's transaction method.

                -

                Parameters

                • contract: string | Partial<ContractInstance>
                • message: Message
                • Optional options: {
                      execFee?: IFee;
                      execMemo?: string;
                      execSend?: ICoin[];
                  }
                  • Optional execFee?: IFee
                  • Optional execMemo?: string
                  • Optional execSend?: ICoin[]

                Returns Promise<unknown>

              • Get the balance in a given native token, of +

              Constructors

              Properties

              alive: boolean = true

              Setting this to false stops retries.

              +
              api?: unknown

              Platform SDK.

              +
              backend: Mocknet.Backend
              blockInterval: number = 250

              Time to ping for next block.

              +
              chainId?: string

              Chain ID.

              +
              fees?: {
                  exec?: IFee;
                  init?: IFee;
                  send?: IFee;
                  upload?: IFee;
              }

              Default transaction fees.

              +

              Type declaration

              • Optional exec?: IFee
              • Optional init?: IFee
              • Optional send?: IFee
              • Optional upload?: IFee
              identity?: Identity

              Signer identity.

              +
              url?: string

              Connection URL.

              +
              gasToken: Native = ...

              Native token of chain.

              +

              Accessors

              • get [toStringTag](): string
              • Returns string

              • get address(): string
              • Returns string

              • get balance(): Promise<unknown>
              • Returns Promise<unknown>

              • get defaultDenom(): string
              • Returns string

              • get height(): Promise<number>
              • Returns Promise<number>

              • get nextBlock(): Promise<number>
              • Wait for the block height to increment.

                +

                Returns Promise<number>

              Methods

              • Parameters

                • Rest ...args: [contract: {
                      address: string;
                      codeHash: string;
                  }, message: Message, options?: {
                      execFee?: IFee;
                      execMemo?: string;
                      execSend?: ICoin[];
                  }]

                Returns Promise<unknown>

              • Call a given program's transaction method.

                +

                Parameters

                • contract: string | Partial<ContractInstance>
                • message: Message
                • Optional options: {
                      execFee?: IFee;
                      execMemo?: string;
                      execSend?: ICoin[];
                  }
                  • Optional execFee?: IFee
                  • Optional execMemo?: string
                  • Optional execSend?: ICoin[]

                Returns Promise<unknown>

              • Get the balance in a given native token, of either this connection's identity's address, or of another given address.

                -

                Parameters

                • token: string
                • Optional address: string | {
                      address: string;
                  }

                Returns Promise<unknown>

              • Get the balance in a native token of a given address, +

                Parameters

                • token: string
                • Optional address: string | {
                      address: string;
                  }

                Returns Promise<unknown>

              • Get the balance in a native token of a given address, either in this connection's gas token, or in another given token.

                -

                Parameters

                • address: string | {
                      address: string;
                  }
                • Optional token: string

                Returns Promise<unknown>

              • Get the code id of a given address.

                -

                Parameters

                • contract: string | {
                      address: string;
                  }

                Returns Promise<string>

              • Instantiate a new program from a code id, label and init message.

                +

                Parameters

                • address: string | {
                      address: string;
                  }
                • Optional token: string

                Returns Promise<unknown>

              • Get the code id of a given address.

                +

                Parameters

                • contract: string | {
                      address: string;
                  }

                Returns Promise<string>

              • Instantiate a new program from a code id, label and init message.

                Parameters

                Returns Promise<ContractInstance & {
                    address: string;
                }>

                Deploy.ContractInstance with no address populated yet. This will be populated after executing the batch.

                Example

                await agent.instantiate(template.define({ label, initMsg })
                 
                -
              • Send native tokens to 1 recipient.

                -

                Parameters

                • recipient: string | {
                      address?: string;
                  }
                • amounts: (ICoin | Amount)[]
                • Optional options: {
                      sendFee?: IFee;
                      sendMemo?: string;
                  }
                  • Optional sendFee?: IFee
                  • Optional sendMemo?: string

                Returns Promise<unknown>

              • Upload a contract's code, generating a new code id/hash pair.

                -

                Parameters

                • code: string | Uint8Array | URL | Partial<CompiledCode>
                • options: {
                      reupload?: boolean;
                      uploadFee?: ICoin[] | "auto";
                      uploadMemo?: string;
                      uploadStore?: UploadStore;
                  } = {}
                  • Optional reupload?: boolean
                  • Optional uploadFee?: ICoin[] | "auto"
                  • Optional uploadMemo?: string
                  • Optional uploadStore?: UploadStore

                Returns Promise<UploadedCode & {
                    chainId: string;
                    codeId: string;
                }>

              Generated using TypeDoc

              \ No newline at end of file +

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_scrt.Mocknet.Contract.html b/ts/classes/_fadroma_scrt.Mocknet.Contract.html index 870c31574ae..08a65ac06a4 100644 --- a/ts/classes/_fadroma_scrt.Mocknet.Contract.html +++ b/ts/classes/_fadroma_scrt.Mocknet.Contract.html @@ -1,4 +1,4 @@ -Contract | Documentation

              Type Parameters

              • V extends ScrtCWVersion

              Constructors

              constructor +Contract | Documentation

              Type Parameters

              • V extends ScrtCWVersion

              Constructors

              Properties

              Constructors

              Properties

              address?: string
              codeHash?: string
              codeId?: string
              cosmWasmVersion?: V
              log: ScrtConsole = ...
              mocknet: Mocknet.Backend
              prefix: string = 'secret1'
              runtime?: Instance<ScrtCWAPI<V>["exports"]>
              storage: Map<string, Buffer> = ...

              Accessors

              Methods

              • Parameters

                • __namedParameters: any = {}

                Returns number[]

              • Parameters

                • __namedParameters: {
                      env?: object;
                      info?: object;
                      msg: Message;
                      sender: string;
                  }
                  • Optional env?: object
                  • Optional info?: object
                  • msg: Message
                  • sender: string

                Returns any

              • Parameters

                • __namedParameters: Partial<{
                      env: object;
                      info: object;
                      msg: Message;
                      sender: string;
                  }> = {}

                Returns any

              • Parameters

                • __namedParameters: any = {}

                Returns number[]

              • Parameters

                • sender: string
                • now: number = + new Date()

                Returns {
                    env: {
                        block: {
                            chain_id: string;
                            height: number;
                            time: number;
                        };
                        contract: {
                            address: string;
                        };
                        contract_code_hash: string;
                        contract_key: string;
                        message: {
                            sender: string;
                            sent_funds: any[];
                        };
                        transaction: undefined;
                    };
                    info?: undefined;
                } | {
                    env: {
                        block: {
                            chain_id: string;
                            height: number;
                            time: string;
                        };
                        contract: {
                            address: string;
                        };
                        contract_code_hash: undefined;
                        contract_key: undefined;
                        message: undefined;
                        transaction: {
                            index: number;
                        };
                    };
                    info: {
                        funds: any[];
                        sender: string;
                    };
                }

              • Parameters

                • __namedParameters: any = {}

                Returns number[]

              Generated using TypeDoc

              \ No newline at end of file +

              Constructors

              Properties

              address?: string
              codeHash?: string
              codeId?: string
              cosmWasmVersion?: V
              log: ScrtConsole = ...
              mocknet: Mocknet.Backend
              prefix: string = 'secret1'
              runtime?: Instance<ScrtCWAPI<V>["exports"]>
              storage: Map<string, Buffer> = ...

              Accessors

              Methods

              • Parameters

                • __namedParameters: any = {}

                Returns number[]

              • Parameters

                • __namedParameters: {
                      env?: object;
                      info?: object;
                      msg: Message;
                      sender: string;
                  }
                  • Optional env?: object
                  • Optional info?: object
                  • msg: Message
                  • sender: string

                Returns any

              • Parameters

                • __namedParameters: Partial<{
                      env: object;
                      info: object;
                      msg: Message;
                      sender: string;
                  }> = {}

                Returns any

              • Parameters

                • __namedParameters: any = {}

                Returns number[]

              • Parameters

                • sender: string
                • now: number = + new Date()

                Returns {
                    env: {
                        block: {
                            chain_id: string;
                            height: number;
                            time: number;
                        };
                        contract: {
                            address: string;
                        };
                        contract_code_hash: string;
                        contract_key: string;
                        message: {
                            sender: string;
                            sent_funds: any[];
                        };
                        transaction: undefined;
                    };
                    info?: undefined;
                } | {
                    env: {
                        block: {
                            chain_id: string;
                            height: number;
                            time: string;
                        };
                        contract: {
                            address: string;
                        };
                        contract_code_hash: undefined;
                        contract_key: undefined;
                        message: undefined;
                        transaction: {
                            index: number;
                        };
                    };
                    info: {
                        funds: any[];
                        sender: string;
                    };
                }

              • Parameters

                • __namedParameters: any = {}

                Returns number[]

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_scrt.ScrtBatch.html b/ts/classes/_fadroma_scrt.ScrtBatch.html index c006963b79f..42a56ba399c 100644 --- a/ts/classes/_fadroma_scrt.ScrtBatch.html +++ b/ts/classes/_fadroma_scrt.ScrtBatch.html @@ -1,5 +1,5 @@ ScrtBatch | Documentation

              Builder object for batched transactions.

              -

              Hierarchy (view full)

              Constructors

              Hierarchy (view full)

              Constructors

              Properties

              Constructors

              Properties

              connection?: ScrtConnection

              Messages to encrypt.

              -

              Accessors

              • get encryptedMessages(): Promise<any[]>
              • Format the messages for API v1 like secretjs and encrypt them.

                -

                Returns Promise<any[]>

              Methods

              • Parameters

                • encryptedMessages: any[]
                • Optional memo: string

                Returns any

              • Format the messages for API v1beta1 like secretcli and generate a multisig-ready +

              Constructors

              Properties

              connection?: ScrtConnection

              Messages to encrypt.

              +

              Accessors

              • get encryptedMessages(): Promise<any[]>
              • Format the messages for API v1 like secretjs and encrypt them.

                +

                Returns Promise<any[]>

              Methods

              • Parameters

                • encryptedMessages: any[]
                • Optional memo: string

                Returns any

              • Format the messages for API v1beta1 like secretcli and generate a multisig-ready unsigned transaction batch; don't execute it, but save it in state/$CHAIN_ID/transactions and output a signing command for it to the console.

                -

                Parameters

                • Optional name: string

                Returns Promise<{
                    accountNumber: number;
                    name: string;
                    sequence: number;
                    unsignedTxBody: string;
                }>

              Generated using TypeDoc

              \ No newline at end of file +

              Parameters

              Returns Promise<{
                  accountNumber: number;
                  name: string;
                  sequence: number;
                  unsignedTxBody: string;
              }>

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_scrt.ScrtConnection.html b/ts/classes/_fadroma_scrt.ScrtConnection.html index 319853f41ea..b5ae1128b41 100644 --- a/ts/classes/_fadroma_scrt.ScrtConnection.html +++ b/ts/classes/_fadroma_scrt.ScrtConnection.html @@ -1,5 +1,5 @@ ScrtConnection | Documentation

              Represents a Secret Network API endpoint.

              -

              Hierarchy (view full)

              Constructors

              Hierarchy (view full)

              Constructors

              Properties

              alive api blockInterval @@ -52,39 +52,39 @@ setMaxGas upload gas -

              Constructors

              Properties

              alive: boolean = true

              Setting this to false stops retries.

              -

              Underlying API client.

              -
              blockInterval: number = 250

              Time to ping for next block.

              -
              chainId?: string

              Chain ID.

              -
              fees: {
                  exec: IFee;
                  init: IFee;
                  send: IFee;
                  upload: IFee;
              } = ...

              Set permissive fees by default.

              -

              Type declaration

              identity: ScrtIdentity

              Supports multiple authentication methods.

              -
              url?: string

              Connection URL.

              -
              gasToken: Native = ...

              Smallest unit of native token.

              -

              Accessors

              • get [toStringTag](): string
              • Returns string

              • get address(): string
              • Returns string

              • get balance(): Promise<unknown>
              • Returns Promise<unknown>

              • get defaultDenom(): string
              • Returns string

              • get height(): Promise<number>
              • Returns Promise<number>

              • get nextBlock(): Promise<number>
              • Wait for the block height to increment.

                -

                Returns Promise<number>

              Methods

              • Parameters

                • contract: {
                      address: string;
                      codeHash: string;
                  }
                  • address: string
                  • codeHash: string
                • message: Message
                • Optional options: {
                      execFee?: IFee;
                      execMemo?: string;
                      execSend?: ICoin[];
                  } & {
                      preSimulate?: boolean;
                  }

                Returns Promise<TxResponse>

              • Query a contract.

                +

              Constructors

              Properties

              alive: boolean = true

              Setting this to false stops retries.

              +

              Underlying API client.

              +
              blockInterval: number = 250

              Time to ping for next block.

              +
              chainId?: string

              Chain ID.

              +
              fees: {
                  exec: IFee;
                  init: IFee;
                  send: IFee;
                  upload: IFee;
              } = ...

              Set permissive fees by default.

              +

              Type declaration

              identity: ScrtIdentity

              Supports multiple authentication methods.

              +
              url?: string

              Connection URL.

              +
              gasToken: Native = ...

              Smallest unit of native token.

              +

              Accessors

              • get [toStringTag](): string
              • Returns string

              • get address(): string
              • Returns string

              • get balance(): Promise<unknown>
              • Returns Promise<unknown>

              • get defaultDenom(): string
              • Returns string

              • get height(): Promise<number>
              • Returns Promise<number>

              • get nextBlock(): Promise<number>
              • Wait for the block height to increment.

                +

                Returns Promise<number>

              Methods

              • Parameters

                • contract: {
                      address: string;
                      codeHash: string;
                  }
                  • address: string
                  • codeHash: string
                • message: Message
                • Optional options: {
                      execFee?: IFee;
                      execMemo?: string;
                      execSend?: ICoin[];
                  } & {
                      preSimulate?: boolean;
                  }

                Returns Promise<TxResponse>

              • Query a contract.

                Type Parameters

                • U

                Parameters

                • contract: {
                      address: string;
                      codeHash: string;
                  }
                  • address: string
                  • codeHash: string
                • message: Message

                Returns Promise<U>

                the result of the query

                -
              • Call a given program's transaction method.

                -

                Parameters

                • contract: string | Partial<ContractInstance>
                • message: Message
                • Optional options: {
                      execFee?: IFee;
                      execMemo?: string;
                      execSend?: ICoin[];
                  }
                  • Optional execFee?: IFee
                  • Optional execMemo?: string
                  • Optional execSend?: ICoin[]

                Returns Promise<unknown>

              • Call a given program's transaction method.

                +

                Parameters

                • contract: string | Partial<ContractInstance>
                • message: Message
                • Optional options: {
                      execFee?: IFee;
                      execMemo?: string;
                      execSend?: ICoin[];
                  }
                  • Optional execFee?: IFee
                  • Optional execMemo?: string
                  • Optional execSend?: ICoin[]

                Returns Promise<unknown>

              • Get the balance in a given native token, of either this connection's identity's address, or of another given address.

                -

                Parameters

                • token: string
                • Optional address: string | {
                      address: string;
                  }

                Returns Promise<unknown>

              • Get the balance in a native token of a given address, +

                Parameters

                • token: string
                • Optional address: string | {
                      address: string;
                  }

                Returns Promise<unknown>

              • Get the balance in a native token of a given address, either in this connection's gas token, or in another given token.

                -

                Parameters

                • address: string | {
                      address: string;
                  }
                • Optional token: string

                Returns Promise<unknown>

              • Get the code hash of a given address.

                -

                Parameters

                • contract: string | {
                      address: string;
                  }

                Returns Promise<string>

              • Get the code hash of a given code id.

                -

                Parameters

                • contract: string | {
                      codeId: string;
                  }

                Returns Promise<string>

              • Get the code id of a given address.

                -

                Parameters

                • contract: string | {
                      address: string;
                  }

                Returns Promise<string>

              • Parameters

                • contract_address: string

                Returns Promise<string>

              • Returns Promise<{
                    accountNumber: number;
                    sequence: number;
                }>

              • Instantiate a new program from a code id, label and init message.

                +

                Parameters

                • address: string | {
                      address: string;
                  }
                • Optional token: string

                Returns Promise<unknown>

              • Get the code hash of a given address.

                +

                Parameters

                • contract: string | {
                      address: string;
                  }

                Returns Promise<string>

              • Get the code hash of a given code id.

                +

                Parameters

                • contract: string | {
                      codeId: string;
                  }

                Returns Promise<string>

              • Get the code id of a given address.

                +

                Parameters

                • contract: string | {
                      address: string;
                  }

                Returns Promise<string>

              • Parameters

                • contract_address: string

                Returns Promise<string>

              • Returns Promise<{
                    accountNumber: number;
                    sequence: number;
                }>

              • Instantiate a new program from a code id, label and init message.

                Parameters

                Returns Promise<ContractInstance & {
                    address: string;
                }>

                Deploy.ContractInstance with no address populated yet. This will be populated after executing the batch.

                Example

                await agent.instantiate(template.define({ label, initMsg })
                 
                -
              • Query a contract.

                -

                Type Parameters

                • Q

                Parameters

                • contract: string | {
                      address: string;
                  }
                • message: Message

                Returns Promise<Q>

              • Send native tokens to 1 recipient.

                -

                Parameters

                • recipient: string | {
                      address?: string;
                  }
                • amounts: (ICoin | Amount)[]
                • Optional options: {
                      sendFee?: IFee;
                      sendMemo?: string;
                  }
                  • Optional sendFee?: IFee
                  • Optional sendMemo?: string

                Returns Promise<unknown>

              • Parameters

                • outputs: never
                • Optional opts: any

                Returns Promise<void>

              • Upload a contract's code, generating a new code id/hash pair.

                -

                Parameters

                • code: string | Uint8Array | URL | Partial<CompiledCode>
                • options: {
                      reupload?: boolean;
                      uploadFee?: ICoin[] | "auto";
                      uploadMemo?: string;
                      uploadStore?: UploadStore;
                  } = {}
                  • Optional reupload?: boolean
                  • Optional uploadFee?: ICoin[] | "auto"
                  • Optional uploadMemo?: string
                  • Optional uploadStore?: UploadStore

                Returns Promise<UploadedCode & {
                    chainId: string;
                    codeId: string;
                }>

              Generated using TypeDoc

              \ No newline at end of file +

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_scrt.ScrtConsole.html b/ts/classes/_fadroma_scrt.ScrtConsole.html index 5596ec8ae07..969a9975759 100644 --- a/ts/classes/_fadroma_scrt.ScrtConsole.html +++ b/ts/classes/_fadroma_scrt.ScrtConsole.html @@ -1,4 +1,4 @@ -ScrtConsole | Documentation

              Hierarchy (view full)

              Constructors

              constructor +ScrtConsole | Documentation

              Hierarchy (view full)

              Constructors

              Properties

              Accessors

              [toStringTag] @@ -12,4 +12,4 @@ table trace warn -

              Constructors

              • Parameters

                • Optional label: string
                • Optional options: Partial<ConsoleOptions>

                Returns ScrtConsole

              Properties

              label: string = '@fadroma/scrt'
              parent: Core.Console | Console

              Accessors

              • get [toStringTag](): string
              • Returns string

              • get width(): number
              • Returns number

              Methods

              • Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • label: string
                • Optional options: Partial<ConsoleOptions>

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              Generated using TypeDoc

              \ No newline at end of file +

              Constructors

              • Parameters

                • Optional label: string
                • Optional options: Partial<ConsoleOptions>

                Returns ScrtConsole

              Properties

              label: string = '@fadroma/scrt'
              parent: Core.Console | Console

              Accessors

              • get [toStringTag](): string
              • Returns string

              • get width(): number
              • Returns number

              Methods

              • Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • label: string
                • Optional options: Partial<ConsoleOptions>

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_scrt.ScrtError.html b/ts/classes/_fadroma_scrt.ScrtError.html index 5c41870c1db..d7d74df8ce9 100644 --- a/ts/classes/_fadroma_scrt.ScrtError.html +++ b/ts/classes/_fadroma_scrt.ScrtError.html @@ -1,4 +1,4 @@ -ScrtError | Documentation

              Hierarchy (view full)

              Constructors

              constructor +ScrtError | Documentation

              Hierarchy (view full)

              Constructors

              Properties

              cause? message name diff --git a/ts/classes/_fadroma_scrt.ScrtIdentity.html b/ts/classes/_fadroma_scrt.ScrtIdentity.html index fe7d8b8fc39..160aab8bbf3 100644 --- a/ts/classes/_fadroma_scrt.ScrtIdentity.html +++ b/ts/classes/_fadroma_scrt.ScrtIdentity.html @@ -1,10 +1,10 @@ -ScrtIdentity | Documentation

              Class ScrtIdentityAbstract

              Hierarchy (view full)

              Constructors

              constructor +ScrtIdentity | Documentation

              Class ScrtIdentityAbstract

              Hierarchy (view full)

              Constructors

              Properties

              Methods

              Constructors

              Properties

              address?: string

              Unique identifier.

              -
              name?: string

              Display name.

              -

              Methods

              Generated using TypeDoc

              \ No newline at end of file +

              Constructors

              Properties

              address?: string

              Unique identifier.

              +
              name?: string

              Display name.

              +

              Methods

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_scrt.ScrtMnemonicIdentity.html b/ts/classes/_fadroma_scrt.ScrtMnemonicIdentity.html index e21568dcdc8..ea553eec5cc 100644 --- a/ts/classes/_fadroma_scrt.ScrtMnemonicIdentity.html +++ b/ts/classes/_fadroma_scrt.ScrtMnemonicIdentity.html @@ -1,4 +1,4 @@ -ScrtMnemonicIdentity | Documentation

              Hierarchy (view full)

              Constructors

              constructor +ScrtMnemonicIdentity | Documentation

              Hierarchy (view full)

              Constructors

              Properties

              address? log name? @@ -6,6 +6,6 @@

              Methods

              Constructors

              Properties

              address?: string

              Unique identifier.

              -
              name?: string

              Display name.

              -
              wallet: Wallet

              Methods

              Generated using TypeDoc

              \ No newline at end of file +

              Constructors

              Properties

              address?: string

              Unique identifier.

              +
              name?: string

              Display name.

              +
              wallet: Wallet

              Methods

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_scrt.ScrtSignerIdentity.html b/ts/classes/_fadroma_scrt.ScrtSignerIdentity.html index 189524e3aad..c2d10479d7d 100644 --- a/ts/classes/_fadroma_scrt.ScrtSignerIdentity.html +++ b/ts/classes/_fadroma_scrt.ScrtSignerIdentity.html @@ -1,4 +1,4 @@ -ScrtSignerIdentity | Documentation

              Hierarchy (view full)

              Constructors

              constructor +ScrtSignerIdentity | Documentation

              Hierarchy (view full)

              Constructors

              Properties

              address? encryptionUtils? log @@ -6,6 +6,6 @@

              Methods

              Constructors

              Properties

              address?: string

              Unique identifier.

              -
              encryptionUtils?: EncryptionUtils
              name?: string

              Display name.

              -

              Methods

              Generated using TypeDoc

              \ No newline at end of file +

              Constructors

              Properties

              address?: string

              Unique identifier.

              +
              encryptionUtils?: EncryptionUtils
              name?: string

              Display name.

              +

              Methods

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_scrt.Snip20.Snip20.html b/ts/classes/_fadroma_scrt.Snip20.Snip20.html index 4d387831c96..1989a29a2dc 100644 --- a/ts/classes/_fadroma_scrt.Snip20.Snip20.html +++ b/ts/classes/_fadroma_scrt.Snip20.Snip20.html @@ -1,5 +1,5 @@ Snip20 | Documentation

              An abstract fungible token.

              -

              Hierarchy (view full)

              Implements

              Constructors

              Hierarchy (view full)

              Implements

              Constructors

              Properties

              Constructors

              Properties

              connection?: Chain.Connection
              decimals: number = null

              The decimal precision of the token.

              -
              instance?: {
                  address?: string;
                  codeHash?: string;
              }

              Type declaration

              • Optional address?: string
              • Optional codeHash?: string
              name: string = null

              The full name of the token.

              -
              symbol: string = null

              The market symbol of the token.

              -
              totalSupply: string = null

              The total supply of the token.

              -

              Accessors

              • get asDescriptor(): Custom
              • Returns Custom

                self as plain Token.Custom with a hidden (from serialization!) +

              Constructors

              Properties

              connection?: Chain.Connection
              decimals: number = null

              The decimal precision of the token.

              +
              instance?: {
                  address?: string;
                  codeHash?: string;
              }

              Type declaration

              • Optional address?: string
              • Optional codeHash?: string
              name: string = null

              The full name of the token.

              +
              symbol: string = null

              The market symbol of the token.

              +
              totalSupply: string = null

              The total supply of the token.

              +

              Accessors

              • get asDescriptor(): Custom
              • Returns Custom

                self as plain Token.Custom with a hidden (from serialization!) client property pointing to this.

                -
              • get id(): string
              • Get a comparable token ID.

                -

                Returns string

              Methods

              • Add addresses to be minters

                -

                Parameters

                • minters: string[]

                Returns Promise<unknown>

              • Burn SNIP20 tokens

                -

                Parameters

                • amount: string | number | bigint
                • Optional memo: string

                Returns Promise<unknown>

              • Change the admin of the token, who can set the minters

                -

                Parameters

                • address: string

                Returns Promise<unknown>

              • Check the current allowance from owner to spender.

                -

                Parameters

                • spender: string
                • owner: string
                • key: string

                Returns Promise<unknown>

              • Decrease allowance to spender

                -

                Parameters

                • amount: string | number | bigint
                • spender: string

                Returns Promise<unknown>

              • Deposit native tokens into the contract.

                -

                Parameters

                Returns Promise<unknown>

              • Execute a transaction on the specified instance as the specified Connection.

                -

                Parameters

                • message: Message
                • options: {
                      execFee?: IFee;
                      execMemo?: string;
                      execSend?: ICoin[];
                  } = {}
                  • Optional execFee?: IFee
                  • Optional execMemo?: string
                  • Optional execSend?: ICoin[]

                Returns Promise<unknown>

              • Parameters

                • address: string
                • key: string

                Returns Promise<string>

              • Increase allowance to spender

                -

                Parameters

                • amount: string | number | bigint
                • spender: string

                Returns Promise<unknown>

              • Mint SNIP20 tokens

                -

                Parameters

                • amount: string | number | bigint
                • recipient: string = ...

                Returns Promise<unknown>

              • Execute a query on the specified instance as the specified Connection.

                -

                Type Parameters

                • Q

                Parameters

                Returns Promise<Q>

              • Redeem an amount of a native token from the contract.

                -

                Parameters

                • amount: string | number | bigint
                • Optional denom: string

                Returns Promise<unknown>

              • Send tokens to address. +

              • get id(): string
              • Get a comparable token ID.

                +

                Returns string

              Methods

              • Add addresses to be minters

                +

                Parameters

                • minters: string[]

                Returns Promise<unknown>

              • Burn SNIP20 tokens

                +

                Parameters

                • amount: string | number | bigint
                • Optional memo: string

                Returns Promise<unknown>

              • Change the admin of the token, who can set the minters

                +

                Parameters

                • address: string

                Returns Promise<unknown>

              • Check the current allowance from owner to spender.

                +

                Parameters

                • spender: string
                • owner: string
                • key: string

                Returns Promise<unknown>

              • Decrease allowance to spender

                +

                Parameters

                • amount: string | number | bigint
                • spender: string

                Returns Promise<unknown>

              • Deposit native tokens into the contract.

                +

                Parameters

                Returns Promise<unknown>

              • Execute a transaction on the specified instance as the specified Connection.

                +

                Parameters

                • message: Message
                • options: {
                      execFee?: IFee;
                      execMemo?: string;
                      execSend?: ICoin[];
                  } = {}
                  • Optional execFee?: IFee
                  • Optional execMemo?: string
                  • Optional execSend?: ICoin[]

                Returns Promise<unknown>

              • Parameters

                • address: string
                • key: string

                Returns Promise<string>

              • Increase allowance to spender

                +

                Parameters

                • amount: string | number | bigint
                • spender: string

                Returns Promise<unknown>

              • Mint SNIP20 tokens

                +

                Parameters

                • amount: string | number | bigint
                • recipient: string = ...

                Returns Promise<unknown>

              • Execute a query on the specified instance as the specified Connection.

                +

                Type Parameters

                • Q

                Parameters

                Returns Promise<Q>

              • Redeem an amount of a native token from the contract.

                +

                Parameters

                • amount: string | number | bigint
                • Optional denom: string

                Returns Promise<unknown>

              • Send tokens to address. Same as transfer but allows for receive callback.

                -

                Parameters

                • amount: string | number | bigint
                • recipient: string
                • Optional callback: string | object

                Returns Promise<unknown>

              • Parameters

                • owner: string
                • amount: string
                • recipient: String
                • Optional hash: string
                • Optional msg: string
                • Optional memo: string

                Returns Promise<unknown>

              • Set specific addresses to be minters, remove all others

                -

                Parameters

                • minters: string[]

                Returns Promise<unknown>

              • Transfer tokens to address

                -

                Parameters

                • amount: string | number | bigint
                • recipient: string

                Returns Promise<unknown>

              • Parameters

                • owner: string
                • recipient: string
                • amount: string
                • Optional memo: string

                Returns Promise<unknown>

              • Create a SNIP20 init message.

                -

                Parameters

                • __namedParameters: {
                      admin: string | {
                          address: string;
                      };
                      balances?: {
                          address: string;
                          amount: string;
                      }[];
                      config?: Partial<Snip20InitConfig>;
                      decimals: number;
                      name?: string;
                      prngSeed?: string;
                      symbol: string;
                  }
                  • admin: string | {
                        address: string;
                    }
                  • Optional balances?: {
                        address: string;
                        amount: string;
                    }[]
                  • Optional config?: Partial<Snip20InitConfig>
                  • decimals: number
                  • Optional name?: string
                  • Optional prngSeed?: string
                  • symbol: string

                Returns Snip20InitMsg

              Generated using TypeDoc

              \ No newline at end of file +

              Parameters

              • amount: string | number | bigint
              • recipient: string
              • Optional callback: string | object

              Returns Promise<unknown>

              • Parameters

                • owner: string
                • amount: string
                • recipient: String
                • Optional hash: string
                • Optional msg: string
                • Optional memo: string

                Returns Promise<unknown>

              • Set specific addresses to be minters, remove all others

                +

                Parameters

                • minters: string[]

                Returns Promise<unknown>

              • Transfer tokens to address

                +

                Parameters

                • amount: string | number | bigint
                • recipient: string

                Returns Promise<unknown>

              • Parameters

                • owner: string
                • recipient: string
                • amount: string
                • Optional memo: string

                Returns Promise<unknown>

              • Create a SNIP20 init message.

                +

                Parameters

                • __namedParameters: {
                      admin: string | {
                          address: string;
                      };
                      balances?: {
                          address: string;
                          amount: string;
                      }[];
                      config?: Partial<Snip20InitConfig>;
                      decimals: number;
                      name?: string;
                      prngSeed?: string;
                      symbol: string;
                  }
                  • admin: string | {
                        address: string;
                    }
                  • Optional balances?: {
                        address: string;
                        amount: string;
                    }[]
                  • Optional config?: Partial<Snip20InitConfig>
                  • decimals: number
                  • Optional name?: string
                  • Optional prngSeed?: string
                  • symbol: string

                Returns Snip20InitMsg

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_scrt.Snip20.ViewingKeyClient.html b/ts/classes/_fadroma_scrt.Snip20.ViewingKeyClient.html index 410fc28075b..1c3f4e3ab65 100644 --- a/ts/classes/_fadroma_scrt.Snip20.ViewingKeyClient.html +++ b/ts/classes/_fadroma_scrt.Snip20.ViewingKeyClient.html @@ -1,5 +1,5 @@ ViewingKeyClient | Documentation

              A contract's viewing key methods.

              -

              Hierarchy (view full)

              Constructors

              Hierarchy (view full)

              Constructors

              Properties

              Constructors

              Properties

              connection?: Chain.Connection
              instance?: {
                  address?: string;
              }

              Type declaration

              • Optional address?: string

              Methods

              • Create a random viewing key.

                -

                Parameters

                • entropy: string = ...

                Returns Promise<Uint8Array>

              • Execute a transaction on the specified instance as the specified Connection.

                -

                Parameters

                • message: Message
                • options: {
                      execFee?: IFee;
                      execMemo?: string;
                      execSend?: ICoin[];
                  } = {}
                  • Optional execFee?: IFee
                  • Optional execMemo?: string
                  • Optional execSend?: ICoin[]

                Returns Promise<unknown>

              • Execute a query on the specified instance as the specified Connection.

                -

                Type Parameters

                • Q

                Parameters

                Returns Promise<Q>

              • Set a user-specified viewing key.

                -

                Parameters

                • key: string

                Returns Promise<unknown>

              Generated using TypeDoc

              \ No newline at end of file +

              Constructors

              Properties

              connection?: Chain.Connection
              instance?: {
                  address?: string;
              }

              Type declaration

              • Optional address?: string

              Methods

              • Create a random viewing key.

                +

                Parameters

                • entropy: string = ...

                Returns Promise<Uint8Array>

              • Execute a transaction on the specified instance as the specified Connection.

                +

                Parameters

                • message: Message
                • options: {
                      execFee?: IFee;
                      execMemo?: string;
                      execSend?: ICoin[];
                  } = {}
                  • Optional execFee?: IFee
                  • Optional execMemo?: string
                  • Optional execSend?: ICoin[]

                Returns Promise<unknown>

              • Execute a query on the specified instance as the specified Connection.

                +

                Type Parameters

                • Q

                Parameters

                Returns Promise<Q>

              • Set a user-specified viewing key.

                +

                Parameters

                • key: string

                Returns Promise<unknown>

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_scrt.Snip24.PermitSigner.html b/ts/classes/_fadroma_scrt.Snip24.PermitSigner.html index 848c62f305e..5a9f04cb5c2 100644 --- a/ts/classes/_fadroma_scrt.Snip24.PermitSigner.html +++ b/ts/classes/_fadroma_scrt.Snip24.PermitSigner.html @@ -1,4 +1,4 @@ -PermitSigner | Documentation

              Hierarchy (view full)

              Constructors

              constructor +PermitSigner | Documentation

              Hierarchy (view full)

              Constructors

              Properties

              Methods

              sign @@ -6,7 +6,7 @@

              Constructors

              • Parameters

                • chainId: string

                  The id of the chain for which permits will be signed.

                • address: string

                  The address which will do the signing and which will be the address used by the contracts.

                  -

                Returns PermitSigner

              Properties

              address: string

              The address which will do the signing and +

              Returns PermitSigner

              Properties

              address: string

              The address which will do the signing and which will be the address used by the contracts.

              -
              chainId: string

              The id of the chain for which permits will be signed.

              -

              Methods

              Generated using TypeDoc

              \ No newline at end of file +
              chainId: string

              The id of the chain for which permits will be signed.

              +

              Methods

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_scrt.Snip24.PermitSignerKeplr.html b/ts/classes/_fadroma_scrt.Snip24.PermitSignerKeplr.html index cbc659b265b..63c7409338f 100644 --- a/ts/classes/_fadroma_scrt.Snip24.PermitSignerKeplr.html +++ b/ts/classes/_fadroma_scrt.Snip24.PermitSignerKeplr.html @@ -1,12 +1,12 @@ -PermitSignerKeplr | Documentation

              Hierarchy (view full)

              Constructors

              constructor +PermitSignerKeplr | Documentation

              Hierarchy (view full)

              Constructors

              Properties

              Methods

              Constructors

              Properties

              address: string

              The address which will do the signing and +

              Returns PermitSignerKeplr

              Properties

              address: string

              The address which will do the signing and which will be the address used by the contracts.

              -
              chainId: string

              The id of the chain for which permits will be signed.

              -
              keplr: KeplrSigningHandle<any>

              Must be a pre-configured instance.

              -

              Methods

              Generated using TypeDoc

              \ No newline at end of file +
              chainId: string

              The id of the chain for which permits will be signed.

              +
              keplr: KeplrSigningHandle<any>

              Must be a pre-configured instance.

              +

              Methods

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/classes/_fadroma_scrt.Snip721.Snip721.html b/ts/classes/_fadroma_scrt.Snip721.Snip721.html index ab6f8d52768..8b1fb3a7115 100644 --- a/ts/classes/_fadroma_scrt.Snip721.Snip721.html +++ b/ts/classes/_fadroma_scrt.Snip721.Snip721.html @@ -1,5 +1,5 @@ Snip721 | Documentation

              Client to a specific SNIP-721 non-fungible token contract.

              -

              Hierarchy (view full)

              Implements

              Constructors

              Hierarchy (view full)

              Implements

              Constructors

              Properties

              connection? instance? log @@ -7,8 +7,8 @@

              Methods

              Constructors

              Properties

              connection?: Chain.Connection
              instance?: {
                  address?: string;
              }

              Type declaration

              • Optional address?: string

              Accessors

              • get id(): string
              • The token's unique id.

                -

                Returns string

              Methods

              • Execute a transaction on the specified instance as the specified Connection.

                -

                Parameters

                • message: Message
                • options: {
                      execFee?: IFee;
                      execMemo?: string;
                      execSend?: ICoin[];
                  } = {}
                  • Optional execFee?: IFee
                  • Optional execMemo?: string
                  • Optional execSend?: ICoin[]

                Returns Promise<unknown>

              • Execute a query on the specified instance as the specified Connection.

                -

                Type Parameters

                • Q

                Parameters

                Returns Promise<Q>

              Generated using TypeDoc

              \ No newline at end of file +

              Constructors

              Properties

              connection?: Chain.Connection
              instance?: {
                  address?: string;
              }

              Type declaration

              • Optional address?: string

              Accessors

              • get id(): string
              • The token's unique id.

                +

                Returns string

              Methods

              • Execute a transaction on the specified instance as the specified Connection.

                +

                Parameters

                • message: Message
                • options: {
                      execFee?: IFee;
                      execMemo?: string;
                      execSend?: ICoin[];
                  } = {}
                  • Optional execFee?: IFee
                  • Optional execMemo?: string
                  • Optional execSend?: ICoin[]

                Returns Promise<unknown>

              • Execute a query on the specified instance as the specified Connection.

                +

                Type Parameters

                • Q

                Parameters

                Returns Promise<Q>

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_agent.Core.assign.html b/ts/functions/_fadroma_agent.Core.assign.html index e5d2898a835..c3be38031ef 100644 --- a/ts/functions/_fadroma_agent.Core.assign.html +++ b/ts/functions/_fadroma_agent.Core.assign.html @@ -4,4 +4,4 @@
            • no need to state property name thrice
            • doesn't leave undefineds
            • -

              Type Parameters

              Parameters

              Returns void

              Generated using TypeDoc

              \ No newline at end of file +

              Type Parameters

              Parameters

              Returns void

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_compile.codePathName.html b/ts/functions/_fadroma_compile.codePathName.html index 040b0748d06..a06e7ba4f3e 100644 --- a/ts/functions/_fadroma_compile.codePathName.html +++ b/ts/functions/_fadroma_compile.codePathName.html @@ -1,2 +1,2 @@ codePathName | Documentation

              Generated using TypeDoc

              \ No newline at end of file +

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_compile.default.html b/ts/functions/_fadroma_compile.default.html index 9470c49054c..5daae47ecde 100644 --- a/ts/functions/_fadroma_compile.default.html +++ b/ts/functions/_fadroma_compile.default.html @@ -1 +1 @@ -default | Documentation

              Generated using TypeDoc

              \ No newline at end of file +default | Documentation

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_compile.distinct.html b/ts/functions/_fadroma_compile.distinct.html index 3bbb47b8429..09560b5c687 100644 --- a/ts/functions/_fadroma_compile.distinct.html +++ b/ts/functions/_fadroma_compile.distinct.html @@ -1,2 +1,2 @@ distinct | Documentation
              • Type Parameters

                • T

                Parameters

                • x: T[]

                Returns T[]

                an array with duplicate elements removed

                -

              Generated using TypeDoc

              \ No newline at end of file +

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_compile.getCompiler.html b/ts/functions/_fadroma_compile.getCompiler.html index 6d6b8c5713f..a02335ca857 100644 --- a/ts/functions/_fadroma_compile.getCompiler.html +++ b/ts/functions/_fadroma_compile.getCompiler.html @@ -1 +1 @@ -getCompiler | Documentation

              Generated using TypeDoc

              \ No newline at end of file +getCompiler | Documentation

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_compile.sanitize.html b/ts/functions/_fadroma_compile.sanitize.html index b722065fb5b..442a5bcaaba 100644 --- a/ts/functions/_fadroma_compile.sanitize.html +++ b/ts/functions/_fadroma_compile.sanitize.html @@ -1,2 +1,2 @@ sanitize | Documentation
              • Parameters

                • ref: string

                Returns string

                a filename-friendly version of a Git ref

                -

              Generated using TypeDoc

              \ No newline at end of file +

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_create.createProject.html b/ts/functions/_fadroma_create.createProject.html index 7f9d09f5974..a2cec41819e 100644 --- a/ts/functions/_fadroma_create.createProject.html +++ b/ts/functions/_fadroma_create.createProject.html @@ -1 +1 @@ -createProject | Documentation
              • Parameters

                • Optional options: {
                      cargoCrate?: string;
                      cargoWorkspace?: boolean;
                      interactive?: boolean;
                      libFeatures?: string[];
                      name?: string;
                      root?: string | Path | Promise<string | Path>;
                      tools?: SystemTools;
                  }
                  • Optional cargoCrate?: string
                  • Optional cargoWorkspace?: boolean
                  • Optional interactive?: boolean
                  • Optional libFeatures?: string[]
                  • Optional name?: string
                  • Optional root?: string | Path | Promise<string | Path>
                  • Optional tools?: SystemTools

                Returns Promise<Project>

              Generated using TypeDoc

              \ No newline at end of file +createProject | Documentation
              • Parameters

                • Optional options: {
                      cargoCrate?: string;
                      cargoWorkspace?: boolean;
                      interactive?: boolean;
                      libFeatures?: string[];
                      name?: string;
                      root?: string | Path | Promise<string | Path>;
                      tools?: SystemTools;
                  }
                  • Optional cargoCrate?: string
                  • Optional cargoWorkspace?: boolean
                  • Optional interactive?: boolean
                  • Optional libFeatures?: string[]
                  • Optional name?: string
                  • Optional root?: string | Path | Promise<string | Path>
                  • Optional tools?: SystemTools

                Returns Promise<Project>

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_create.getProject.html b/ts/functions/_fadroma_create.getProject.html index a1c38a0649c..1e1097f50de 100644 --- a/ts/functions/_fadroma_create.getProject.html +++ b/ts/functions/_fadroma_create.getProject.html @@ -1 +1 @@ -getProject | Documentation

              Generated using TypeDoc

              \ No newline at end of file +getProject | Documentation

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_cw.assign.html b/ts/functions/_fadroma_cw.assign.html index b7a38d5325f..226f1ad81af 100644 --- a/ts/functions/_fadroma_cw.assign.html +++ b/ts/functions/_fadroma_cw.assign.html @@ -4,4 +4,4 @@
            • no need to state property name thrice
            • doesn't leave undefineds
            • -

              Type Parameters

              Parameters

              Returns void

              Generated using TypeDoc

              \ No newline at end of file +

              Type Parameters

              Parameters

              Returns void

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_cw.bold.html b/ts/functions/_fadroma_cw.bold.html index 23f00342728..00ac2e8221f 100644 --- a/ts/functions/_fadroma_cw.bold.html +++ b/ts/functions/_fadroma_cw.bold.html @@ -4,7 +4,7 @@

              Example

              import <
               

              Example

              import chalk = require('chalk');

              log(chalk.red.bgBlack`2 + 3 = {bold ${2 + 3}}`)
              -
            • Parameters

              • Rest ...text: unknown[]

              Returns string

            • Properties

            • Parameters

              • Rest ...text: unknown[]

              Returns string

            • Properties

              Instance bgBlack bgBlackBright bgBlue diff --git a/ts/functions/_fadroma_cw.encodeSecp256k1Signature.html b/ts/functions/_fadroma_cw.encodeSecp256k1Signature.html index d8a7ac54601..bb2bb5c3e9f 100644 --- a/ts/functions/_fadroma_cw.encodeSecp256k1Signature.html +++ b/ts/functions/_fadroma_cw.encodeSecp256k1Signature.html @@ -1 +1 @@ -encodeSecp256k1Signature | Documentation

              Function encodeSecp256k1Signature

              • Parameters

                • pubkey: Uint8Array
                • signature: Uint8Array

                Returns {
                    pub_key: {
                        type: string;
                        value: string;
                    };
                    signature: string;
                }

                • pub_key: {
                      type: string;
                      value: string;
                  }
                  • type: string
                  • value: string
                • signature: string

              Generated using TypeDoc

              \ No newline at end of file +encodeSecp256k1Signature | Documentation

              Function encodeSecp256k1Signature

              • Parameters

                • pubkey: Uint8Array
                • signature: Uint8Array

                Returns {
                    pub_key: {
                        type: string;
                        value: string;
                    };
                    signature: string;
                }

                • pub_key: {
                      type: string;
                      value: string;
                  }
                  • type: string
                  • value: string
                • signature: string

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_cw.testnet.html b/ts/functions/_fadroma_cw.testnet.html index b7949cc9d9b..5d55d950b14 100644 --- a/ts/functions/_fadroma_cw.testnet.html +++ b/ts/functions/_fadroma_cw.testnet.html @@ -1,2 +1,2 @@ testnet | Documentation

              Generated using TypeDoc

              \ No newline at end of file +

              Parameters

              Returns OKP4Connection

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_oci.Mock.mockDockerode.html b/ts/functions/_fadroma_oci.Mock.mockDockerode.html index c784bf3a24f..2756c792585 100644 --- a/ts/functions/_fadroma_oci.Mock.mockDockerode.html +++ b/ts/functions/_fadroma_oci.Mock.mockDockerode.html @@ -1,2 +1,2 @@ mockDockerode | Documentation
              • A stub implementation of the Dockerode APIs used by @fadroma/oci.

                -

                Parameters

                • callback: Function = ...

                Returns DockerHandle

              Generated using TypeDoc

              \ No newline at end of file +

              Parameters

              • callback: Function = ...

              Returns DockerHandle

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_oci.Mock.mockDockerodeContainer.html b/ts/functions/_fadroma_oci.Mock.mockDockerodeContainer.html index 5827e296f0b..872735208f2 100644 --- a/ts/functions/_fadroma_oci.Mock.mockDockerodeContainer.html +++ b/ts/functions/_fadroma_oci.Mock.mockDockerodeContainer.html @@ -1 +1 @@ -mockDockerodeContainer | Documentation
              • Parameters

                • callback: Function = ...

                Returns {
                    id: string;
                    attach(): Promise<{
                        pipe(): void;
                        setEncoding(): void;
                    }>;
                    inspect(): Promise<{
                        Args: any;
                        Image: string;
                        Name: any;
                        NetworkSettings: {
                            IPAddress: any;
                        };
                        Path: any;
                        State: {
                            Running: any;
                        };
                    }>;
                    logs(options, cb): Promise<{
                        on: (() => void);
                    }>;
                    start(): Promise<void>;
                    wait(): Promise<{
                        Error: any;
                        StatusCode: number;
                    }>;
                }

                • id: string
                • attach:function
                  • Returns Promise<{
                        pipe(): void;
                        setEncoding(): void;
                    }>

                • inspect:function
                  • Returns Promise<{
                        Args: any;
                        Image: string;
                        Name: any;
                        NetworkSettings: {
                            IPAddress: any;
                        };
                        Path: any;
                        State: {
                            Running: any;
                        };
                    }>

                • logs:function
                  • Parameters

                    • options: any
                    • cb: Function

                    Returns Promise<{
                        on: (() => void);
                    }>

                • start:function
                • wait:function
                  • Returns Promise<{
                        Error: any;
                        StatusCode: number;
                    }>

              Generated using TypeDoc

              \ No newline at end of file +mockDockerodeContainer | Documentation
              • Parameters

                • callback: Function = ...

                Returns {
                    id: string;
                    attach(): Promise<{
                        pipe(): void;
                        setEncoding(): void;
                    }>;
                    inspect(): Promise<{
                        Args: any;
                        Image: string;
                        Name: any;
                        NetworkSettings: {
                            IPAddress: any;
                        };
                        Path: any;
                        State: {
                            Running: any;
                        };
                    }>;
                    logs(options, cb): Promise<{
                        on: (() => void);
                    }>;
                    start(): Promise<void>;
                    wait(): Promise<{
                        Error: any;
                        StatusCode: number;
                    }>;
                }

                • id: string
                • attach:function
                  • Returns Promise<{
                        pipe(): void;
                        setEncoding(): void;
                    }>

                • inspect:function
                  • Returns Promise<{
                        Args: any;
                        Image: string;
                        Name: any;
                        NetworkSettings: {
                            IPAddress: any;
                        };
                        Path: any;
                        State: {
                            Running: any;
                        };
                    }>

                • logs:function
                  • Parameters

                    • options: any
                    • cb: Function

                    Returns Promise<{
                        on: (() => void);
                    }>

                • start:function
                • wait:function
                  • Returns Promise<{
                        Error: any;
                        StatusCode: number;
                    }>

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_oci.Mock.mockStream.html b/ts/functions/_fadroma_oci.Mock.mockStream.html index b6f0e6368aa..50cf80aaa52 100644 --- a/ts/functions/_fadroma_oci.Mock.mockStream.html +++ b/ts/functions/_fadroma_oci.Mock.mockStream.html @@ -1 +1 @@ -mockStream | Documentation
              • Returns {
                    on: (() => void);
                }

                • on: (() => void)
                    • (): void
                    • Returns void

              Generated using TypeDoc

              \ No newline at end of file +mockStream | Documentation
              • Returns {
                    on: (() => void);
                }

                • on: (() => void)
                    • (): void
                    • Returns void

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_oci.console-1.html b/ts/functions/_fadroma_oci.console-1.html index fceeff95abd..33c1a1d8280 100644 --- a/ts/functions/_fadroma_oci.console-1.html +++ b/ts/functions/_fadroma_oci.console-1.html @@ -1,4 +1,4 @@ -console | Documentation

              Properties

              label +console | Documentation

              Properties

              Accessors

              [toStringTag] width @@ -20,4 +20,4 @@ table trace warn -

              Properties

              label: string = '@fadroma/oci'
              parent: Core.Console | Console

              Accessors

              • get [toStringTag](): string
              • Returns string

              • get width(): number
              • Returns number

              Methods

              • Returns this

              • Parameters

                • Optional name: string

                Returns void

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • label: string
                • Optional options: Partial<ConsoleOptions>

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              Generated using TypeDoc

              \ No newline at end of file +

              Properties

              label: string = '@fadroma/oci'
              parent: Core.Console | Console

              Accessors

              • get [toStringTag](): string
              • Returns string

              • get width(): number
              • Returns number

              Methods

              • Returns this

              • Parameters

                • Optional name: string

                Returns void

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • label: string
                • Optional options: Partial<ConsoleOptions>

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_oci.follow.html b/ts/functions/_fadroma_oci.follow.html index 0625e2b4e98..8528929b008 100644 --- a/ts/functions/_fadroma_oci.follow.html +++ b/ts/functions/_fadroma_oci.follow.html @@ -1,2 +1,2 @@ follow | Documentation
              • Follow the output stream from a Dockerode container until it closes.

                -

                Parameters

                • dockerode: DockerHandle
                • stream: any
                • callback: ((data) => void)
                    • (data): void
                    • Parameters

                      • data: any

                      Returns void

                Returns Promise<void>

              Generated using TypeDoc

              \ No newline at end of file +

              Parameters

              • dockerode: DockerHandle
              • stream: any
              • callback: ((data) => void)
                  • (data): void
                  • Parameters

                    • data: any

                    Returns void

              Returns Promise<void>

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_oci.toLabel.html b/ts/functions/_fadroma_oci.toLabel.html index d3b71ca4ef5..d8343dd6093 100644 --- a/ts/functions/_fadroma_oci.toLabel.html +++ b/ts/functions/_fadroma_oci.toLabel.html @@ -1 +1 @@ -toLabel | Documentation
              • Parameters

                • __namedParameters: {
                      id?: string;
                      name?: string;
                      shortId?: string;
                  }
                  • Optional id?: string
                  • Optional name?: string
                  • Optional shortId?: string

                Returns string

              Generated using TypeDoc

              \ No newline at end of file +toLabel | Documentation
              • Parameters

                • __namedParameters: {
                      id?: string;
                      name?: string;
                      shortId?: string;
                  }
                  • Optional id?: string
                  • Optional name?: string
                  • Optional shortId?: string

                Returns string

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_scrt.Mocknet.b64toUtf8.html b/ts/functions/_fadroma_scrt.Mocknet.b64toUtf8.html index 84a4d4a8189..bbd16c4e07b 100644 --- a/ts/functions/_fadroma_scrt.Mocknet.b64toUtf8.html +++ b/ts/functions/_fadroma_scrt.Mocknet.b64toUtf8.html @@ -1,2 +1,2 @@ b64toUtf8 | Documentation
              • Convert base64 string to utf8 string

                -

                Parameters

                • str: string

                Returns string

              Generated using TypeDoc

              \ No newline at end of file +

              Parameters

              Returns string

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_scrt.Mocknet.bufferToUtf8.html b/ts/functions/_fadroma_scrt.Mocknet.bufferToUtf8.html index 6d0306ccd89..64ab120b3f9 100644 --- a/ts/functions/_fadroma_scrt.Mocknet.bufferToUtf8.html +++ b/ts/functions/_fadroma_scrt.Mocknet.bufferToUtf8.html @@ -1,2 +1,2 @@ bufferToUtf8 | Documentation
              • Convert buffer to utf8 string.

                -

                Parameters

                • buf: Buffer

                Returns string

              Generated using TypeDoc

              \ No newline at end of file +

              Parameters

              Returns string

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_scrt.Mocknet.codeHashForBlob.html b/ts/functions/_fadroma_scrt.Mocknet.codeHashForBlob.html index 093d4b4fa0d..061551ea49b 100644 --- a/ts/functions/_fadroma_scrt.Mocknet.codeHashForBlob.html +++ b/ts/functions/_fadroma_scrt.Mocknet.codeHashForBlob.html @@ -1 +1 @@ -codeHashForBlob | Documentation

              Generated using TypeDoc

              \ No newline at end of file +codeHashForBlob | Documentation

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_scrt.Mocknet.drop.html b/ts/functions/_fadroma_scrt.Mocknet.drop.html index 748606357ff..71adb68ecd5 100644 --- a/ts/functions/_fadroma_scrt.Mocknet.drop.html +++ b/ts/functions/_fadroma_scrt.Mocknet.drop.html @@ -1,2 +1,2 @@ drop | Documentation
              • Deallocate memory. Fails silently if no deallocate callback is exposed by the blob.

                -

                Parameters

                • __namedParameters: {
                      deallocate: ((ptr) => void);
                  }
                  • deallocate: ((ptr) => void)
                      • (ptr): void
                      • Parameters

                        • ptr: number

                        Returns void

                • ptr: number

                Returns void

              Generated using TypeDoc

              \ No newline at end of file +

              Parameters

              Returns void

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_scrt.Mocknet.parseResult.html b/ts/functions/_fadroma_scrt.Mocknet.parseResult.html index 1e74c528b5e..a4c4eea6134 100644 --- a/ts/functions/_fadroma_scrt.Mocknet.parseResult.html +++ b/ts/functions/_fadroma_scrt.Mocknet.parseResult.html @@ -1,2 +1,2 @@ parseResult | Documentation
              • Convert a Result<T, E> returned from Rust side to Ok or throw

                -

                Parameters

                • response: {
                      Err: any;
                      Ok: any;
                  }
                  • Err: any
                  • Ok: any
                • action: "instantiate" | "execute" | "query" | "query_chain"
                • Optional address: string

                Returns any

              Generated using TypeDoc

              \ No newline at end of file +

              Parameters

              Returns any

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_scrt.Mocknet.passBuffer.html b/ts/functions/_fadroma_scrt.Mocknet.passBuffer.html index 4537e67690e..c8145387aa1 100644 --- a/ts/functions/_fadroma_scrt.Mocknet.passBuffer.html +++ b/ts/functions/_fadroma_scrt.Mocknet.passBuffer.html @@ -1,3 +1,3 @@ passBuffer | Documentation

              Generated using TypeDoc

              \ No newline at end of file +

              Parameters

              Returns number

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_scrt.Mocknet.passJson.html b/ts/functions/_fadroma_scrt.Mocknet.passJson.html index a15b649beae..906b28206d9 100644 --- a/ts/functions/_fadroma_scrt.Mocknet.passJson.html +++ b/ts/functions/_fadroma_scrt.Mocknet.passJson.html @@ -1,2 +1,2 @@ passJson | Documentation
              • Serialize a datum into a JSON string and pass it into the contract.

                -

                Type Parameters

                • T

                Parameters

                • memory: Allocator
                • data: T

                Returns number

              Generated using TypeDoc

              \ No newline at end of file +

              Type Parameters

              Parameters

              Returns number

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_scrt.Mocknet.readBuffer.html b/ts/functions/_fadroma_scrt.Mocknet.readBuffer.html index 91b5b8f4120..967a055ceea 100644 --- a/ts/functions/_fadroma_scrt.Mocknet.readBuffer.html +++ b/ts/functions/_fadroma_scrt.Mocknet.readBuffer.html @@ -1,2 +1,2 @@ readBuffer | Documentation
              • Read contents of region referenced by region pointer into a string.

                -

                Parameters

                • __namedParameters: Allocator
                • ptr: number

                Returns Buffer

              Generated using TypeDoc

              \ No newline at end of file +

              Parameters

              Returns Buffer

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_scrt.Mocknet.readUtf8.html b/ts/functions/_fadroma_scrt.Mocknet.readUtf8.html index 8cda7799e1c..1fea5fce02e 100644 --- a/ts/functions/_fadroma_scrt.Mocknet.readUtf8.html +++ b/ts/functions/_fadroma_scrt.Mocknet.readUtf8.html @@ -1,2 +1,2 @@ readUtf8 | Documentation
              • Read contents of region referenced by region pointer into a string.

                -

                Parameters

                • __namedParameters: Allocator
                • ptr: number

                Returns string

              Generated using TypeDoc

              \ No newline at end of file +

              Parameters

              Returns string

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_scrt.Mocknet.region.html b/ts/functions/_fadroma_scrt.Mocknet.region.html index ff50f431eac..4810636dca7 100644 --- a/ts/functions/_fadroma_scrt.Mocknet.region.html +++ b/ts/functions/_fadroma_scrt.Mocknet.region.html @@ -1,2 +1,2 @@ region | Documentation
              • Read region properties from pointer to region.

                -

                Parameters

                • buffer: any
                • ptr: number

                Returns Region

              Generated using TypeDoc

              \ No newline at end of file +

              Parameters

              Returns Region

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_scrt.Mocknet.utf8toB64.html b/ts/functions/_fadroma_scrt.Mocknet.utf8toB64.html index 78118de16f4..902a1808491 100644 --- a/ts/functions/_fadroma_scrt.Mocknet.utf8toB64.html +++ b/ts/functions/_fadroma_scrt.Mocknet.utf8toB64.html @@ -1,2 +1,2 @@ utf8toB64 | Documentation
              • Convert utf8 string to base64 string

                -

                Parameters

                • str: string

                Returns string

              Generated using TypeDoc

              \ No newline at end of file +

              Parameters

              Returns string

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_scrt.Mocknet.utf8toBuffer.html b/ts/functions/_fadroma_scrt.Mocknet.utf8toBuffer.html index 7db3cb8cd42..7422bbe76f8 100644 --- a/ts/functions/_fadroma_scrt.Mocknet.utf8toBuffer.html +++ b/ts/functions/_fadroma_scrt.Mocknet.utf8toBuffer.html @@ -1,2 +1,2 @@ utf8toBuffer | Documentation
              • Convert utf8 string to buffer.

                -

                Parameters

                • str: string

                Returns Buffer

              Generated using TypeDoc

              \ No newline at end of file +

              Parameters

              Returns Buffer

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_scrt.Mocknet.write.html b/ts/functions/_fadroma_scrt.Mocknet.write.html index fc94fce7375..1131c1c6071 100644 --- a/ts/functions/_fadroma_scrt.Mocknet.write.html +++ b/ts/functions/_fadroma_scrt.Mocknet.write.html @@ -1,2 +1,2 @@ write | Documentation
              • Write data to memory address.

                -

                Parameters

                • buffer: ArrayLike<number>
                • addr: number
                • data: ArrayLike<number>

                Returns void

              Generated using TypeDoc

              \ No newline at end of file +

              Parameters

              Returns void

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_scrt.Mocknet.writeToRegion.html b/ts/functions/_fadroma_scrt.Mocknet.writeToRegion.html index 1d5e59e405b..b4f08ce3944 100644 --- a/ts/functions/_fadroma_scrt.Mocknet.writeToRegion.html +++ b/ts/functions/_fadroma_scrt.Mocknet.writeToRegion.html @@ -1,2 +1,2 @@ writeToRegion | Documentation
              • Write data to address of region referenced by pointer.

                -

                Parameters

                • __namedParameters: Allocator
                • ptr: number
                • data: ArrayLike<number>

                Returns void

              Generated using TypeDoc

              \ No newline at end of file +

              Parameters

              Returns void

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_scrt.Mocknet.writeToRegionUtf8.html b/ts/functions/_fadroma_scrt.Mocknet.writeToRegionUtf8.html index c1bc9494f5e..3bc84c89db3 100644 --- a/ts/functions/_fadroma_scrt.Mocknet.writeToRegionUtf8.html +++ b/ts/functions/_fadroma_scrt.Mocknet.writeToRegionUtf8.html @@ -1,2 +1,2 @@ writeToRegionUtf8 | Documentation
              • Write UTF8-encoded data to address of region referenced by pointer.

                -

                Parameters

                • memory: Allocator
                • ptr: number
                • data: string

                Returns void

              Generated using TypeDoc

              \ No newline at end of file +

              Parameters

              Returns void

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_scrt.Mocknet.writeUtf8.html b/ts/functions/_fadroma_scrt.Mocknet.writeUtf8.html index 923e28b62e7..149fe053950 100644 --- a/ts/functions/_fadroma_scrt.Mocknet.writeUtf8.html +++ b/ts/functions/_fadroma_scrt.Mocknet.writeUtf8.html @@ -1,2 +1,2 @@ writeUtf8 | Documentation
              • Write UTF8-encoded data to memory address.

                -

                Parameters

                • buffer: ArrayLike<number>
                • addr: number
                • data: string

                Returns void

              Generated using TypeDoc

              \ No newline at end of file +

              Parameters

              Returns void

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_scrt.Snip20.createPermitMsg.html b/ts/functions/_fadroma_scrt.Snip20.createPermitMsg.html index ca4d47863e9..a702fef7703 100644 --- a/ts/functions/_fadroma_scrt.Snip20.createPermitMsg.html +++ b/ts/functions/_fadroma_scrt.Snip20.createPermitMsg.html @@ -1 +1 @@ -createPermitMsg | Documentation

              Generated using TypeDoc

              \ No newline at end of file +createPermitMsg | Documentation

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_scrt.assign.html b/ts/functions/_fadroma_scrt.assign.html index bd0072b85d5..1cd7b9295b8 100644 --- a/ts/functions/_fadroma_scrt.assign.html +++ b/ts/functions/_fadroma_scrt.assign.html @@ -4,4 +4,4 @@
            • no need to state property name thrice
            • doesn't leave undefineds
            • -

              Type Parameters

              Parameters

              Returns void

              Generated using TypeDoc

              \ No newline at end of file +

              Type Parameters

              Parameters

              Returns void

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_scrt.bold.html b/ts/functions/_fadroma_scrt.bold.html index 18fca795405..d56c8ab9880 100644 --- a/ts/functions/_fadroma_scrt.bold.html +++ b/ts/functions/_fadroma_scrt.bold.html @@ -4,7 +4,7 @@

              Example

              import <
               

              Example

              import chalk = require('chalk');

              log(chalk.red.bgBlack`2 + 3 = {bold ${2 + 3}}`)
              -
            • Parameters

              • Rest ...text: unknown[]

              Returns string

            • Properties

            • Parameters

              • Rest ...text: unknown[]

              Returns string

            • Properties

              Instance bgBlack bgBlackBright bgBlue diff --git a/ts/functions/_fadroma_scrt.brailleDump.html b/ts/functions/_fadroma_scrt.brailleDump.html index e162cf73f4f..d70881263fb 100644 --- a/ts/functions/_fadroma_scrt.brailleDump.html +++ b/ts/functions/_fadroma_scrt.brailleDump.html @@ -1 +1 @@ -brailleDump | Documentation
              • Parameters

                • data: ArrayLike<number>

                Returns string

              Generated using TypeDoc

              \ No newline at end of file +brailleDump | Documentation
              • Parameters

                • data: ArrayLike<number>

                Returns string

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_scrt.console.html b/ts/functions/_fadroma_scrt.console.html index d1b1b3f00bc..7781fef8125 100644 --- a/ts/functions/_fadroma_scrt.console.html +++ b/ts/functions/_fadroma_scrt.console.html @@ -1,4 +1,4 @@ -console | Documentation

              Properties

              label +console | Documentation

              Properties

              Accessors

              [toStringTag] width @@ -11,4 +11,4 @@ table trace warn -

              Properties

              label: string = '@fadroma/scrt'
              parent: Core.Console | Console

              Accessors

              • get [toStringTag](): string
              • Returns string

              • get width(): number
              • Returns number

              Methods

              • Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • label: string
                • Optional options: Partial<ConsoleOptions>

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              Generated using TypeDoc

              \ No newline at end of file +

              Properties

              label: string = '@fadroma/scrt'
              parent: Core.Console | Console

              Accessors

              • get [toStringTag](): string
              • Returns string

              • get width(): number
              • Returns number

              Methods

              • Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • label: string
                • Optional options: Partial<ConsoleOptions>

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              • Parameters

                • Rest ...args: any

                Returns this

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_scrt.decodeError.html b/ts/functions/_fadroma_scrt.decodeError.html index acdc82cd989..21b31298506 100644 --- a/ts/functions/_fadroma_scrt.decodeError.html +++ b/ts/functions/_fadroma_scrt.decodeError.html @@ -1 +1 @@ -decodeError | Documentation

              Generated using TypeDoc

              \ No newline at end of file +decodeError | Documentation

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_scrt.into.html b/ts/functions/_fadroma_scrt.into.html index 2d93732a456..f3b821a1e1c 100644 --- a/ts/functions/_fadroma_scrt.into.html +++ b/ts/functions/_fadroma_scrt.into.html @@ -1,2 +1,2 @@ into | Documentation
              • Resolve a lazily provided value.

                -

                Type Parameters

                • X

                • Y

                Parameters

                • specifier: Into<X>
                • Optional context: Y

                Returns Promise<X>

              Generated using TypeDoc

              \ No newline at end of file +

              Type Parameters

              • X

              • Y

              Parameters

              • specifier: Into<X>
              • Optional context: Y

              Returns Promise<X>

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_scrt.mainnet.html b/ts/functions/_fadroma_scrt.mainnet.html index 983b409447e..c81cfc29b0e 100644 --- a/ts/functions/_fadroma_scrt.mainnet.html +++ b/ts/functions/_fadroma_scrt.mainnet.html @@ -1,2 +1,2 @@ mainnet | Documentation

              Generated using TypeDoc

              \ No newline at end of file +

              Parameters

              Returns ScrtConnection

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_scrt.randomBase64.html b/ts/functions/_fadroma_scrt.randomBase64.html index 6f505ad0700..7947bc78f85 100644 --- a/ts/functions/_fadroma_scrt.randomBase64.html +++ b/ts/functions/_fadroma_scrt.randomBase64.html @@ -1,3 +1,3 @@ randomBase64 | Documentation
              • Returns a base64-encoded string of given length. Default is 64 bytes, i.e. 512 bits of entropy.

                -

                Parameters

                • n: number = 64

                Returns string

              Generated using TypeDoc

              \ No newline at end of file +

              Parameters

              • n: number = 64

              Returns string

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_scrt.randomBech32.html b/ts/functions/_fadroma_scrt.randomBech32.html index 4dfc98aa2b5..3f766c05533 100644 --- a/ts/functions/_fadroma_scrt.randomBech32.html +++ b/ts/functions/_fadroma_scrt.randomBech32.html @@ -1,3 +1,3 @@ randomBech32 | Documentation
              • Returns a random valid bech32 address. Default length is 32 bytes (canonical addr in Cosmos)

                -

                Parameters

                • prefix: string = 'hackbg'
                • n: number = 32

                Returns `${Lowercase<string>}1${string}`

              Generated using TypeDoc

              \ No newline at end of file +

              Parameters

              Returns `${Lowercase<string>}1${string}`

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/functions/_fadroma_scrt.testnet.html b/ts/functions/_fadroma_scrt.testnet.html index 3114357d809..6a2c93f4816 100644 --- a/ts/functions/_fadroma_scrt.testnet.html +++ b/ts/functions/_fadroma_scrt.testnet.html @@ -1,2 +1,2 @@ testnet | Documentation

              Generated using TypeDoc

              \ No newline at end of file +

              Parameters

              Returns ScrtConnection

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/interfaces/_fadroma_agent.Token.ICoin.html b/ts/interfaces/_fadroma_agent.Token.ICoin.html index a61be7018c2..0df64a9b21a 100644 --- a/ts/interfaces/_fadroma_agent.Token.ICoin.html +++ b/ts/interfaces/_fadroma_agent.Token.ICoin.html @@ -1,4 +1,4 @@ ICoin | Documentation

              Represents some amount of native token.

              -
              interface ICoin {
                  amount: string;
                  denom: string;
              }

              Implemented by

              Properties

              interface ICoin {
                  amount: string;
                  denom: string;
              }

              Implemented by

              Properties

              Properties

              amount: string
              denom: string

              Generated using TypeDoc

              \ No newline at end of file +

              Properties

              amount: string
              denom: string

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/interfaces/_fadroma_agent.Token.IFee.html b/ts/interfaces/_fadroma_agent.Token.IFee.html index 099ce59f4d8..b7344368745 100644 --- a/ts/interfaces/_fadroma_agent.Token.IFee.html +++ b/ts/interfaces/_fadroma_agent.Token.IFee.html @@ -1,4 +1,4 @@ IFee | Documentation

              A gas fee, payable in native tokens.

              -
              interface IFee {
                  amount: readonly ICoin[];
                  gas: string;
              }

              Implemented by

              Properties

              interface IFee {
                  amount: readonly ICoin[];
                  gas: string;
              }

              Implemented by

              Properties

              Properties

              amount: readonly ICoin[]
              gas: string

              Generated using TypeDoc

              \ No newline at end of file +

              Properties

              amount: readonly ICoin[]
              gas: string

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/interfaces/_fadroma_oci.ContainerOptions.html b/ts/interfaces/_fadroma_oci.ContainerOptions.html index 62e9357df8d..6c12e61bd0b 100644 --- a/ts/interfaces/_fadroma_oci.ContainerOptions.html +++ b/ts/interfaces/_fadroma_oci.ContainerOptions.html @@ -1,4 +1,4 @@ -ContainerOptions | Documentation
              interface ContainerOptions {
                  cwd: string;
                  env: Record<string, string>;
                  exposed: string[];
                  extra: Record<string, unknown>;
                  mapped: Record<string, string>;
                  readonly: Record<string, string>;
                  remove: boolean;
                  writable: Record<string, string>;
              }

              Properties

              cwd +ContainerOptions | Documentation
              interface ContainerOptions {
                  cwd: string;
                  env: Record<string, string>;
                  exposed: string[];
                  extra: Record<string, unknown>;
                  mapped: Record<string, string>;
                  readonly: Record<string, string>;
                  remove: boolean;
                  writable: Record<string, string>;
              }

              Properties

              Properties

              cwd: string
              env: Record<string, string>
              exposed: string[]
              extra: Record<string, unknown>
              mapped: Record<string, string>
              readonly: Record<string, string>
              remove: boolean
              writable: Record<string, string>

              Generated using TypeDoc

              \ No newline at end of file +

              Properties

              cwd: string
              env: Record<string, string>
              exposed: string[]
              extra: Record<string, unknown>
              mapped: Record<string, string>
              readonly: Record<string, string>
              remove: boolean
              writable: Record<string, string>

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/interfaces/_fadroma_oci.ContainerState.html b/ts/interfaces/_fadroma_oci.ContainerState.html index 0732db46395..2c197c70833 100644 --- a/ts/interfaces/_fadroma_oci.ContainerState.html +++ b/ts/interfaces/_fadroma_oci.ContainerState.html @@ -1,4 +1,4 @@ -ContainerState | Documentation
              interface ContainerState {
                  Image: string;
                  NetworkSettings: {
                      IPAddress: string;
                  };
                  State: {
                      Running: boolean;
                  };
              }

              Properties

              Image +ContainerState | Documentation
              interface ContainerState {
                  Image: string;
                  NetworkSettings: {
                      IPAddress: string;
                  };
                  State: {
                      Running: boolean;
                  };
              }

              Properties

              Image: string
              NetworkSettings: {
                  IPAddress: string;
              }

              Type declaration

              • IPAddress: string
              State: {
                  Running: boolean;
              }

              Type declaration

              • Running: boolean

              Generated using TypeDoc

              \ No newline at end of file +

              Properties

              Image: string
              NetworkSettings: {
                  IPAddress: string;
              }

              Type declaration

              • IPAddress: string
              State: {
                  Running: boolean;
              }

              Type declaration

              • Running: boolean

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/interfaces/_fadroma_scrt.ScrtBatchResult.html b/ts/interfaces/_fadroma_scrt.ScrtBatchResult.html index 4a3d02c6669..1baddafe727 100644 --- a/ts/interfaces/_fadroma_scrt.ScrtBatchResult.html +++ b/ts/interfaces/_fadroma_scrt.ScrtBatchResult.html @@ -1,4 +1,4 @@ -ScrtBatchResult | Documentation
              interface ScrtBatchResult {
                  address?: string;
                  chainId: string;
                  codeHash?: string;
                  codeId?: string;
                  label?: string;
                  sender?: string;
                  tx: string;
                  type: "wasm/MsgInstantiateContract" | "wasm/MsgExecuteContract";
              }

              Properties

              address? +ScrtBatchResult | Documentation
              interface ScrtBatchResult {
                  address?: string;
                  chainId: string;
                  codeHash?: string;
                  codeId?: string;
                  label?: string;
                  sender?: string;
                  tx: string;
                  type: "wasm/MsgInstantiateContract" | "wasm/MsgExecuteContract";
              }

              Properties

              Properties

              address?: string
              chainId: string
              codeHash?: string
              codeId?: string
              label?: string
              sender?: string
              tx: string
              type: "wasm/MsgInstantiateContract" | "wasm/MsgExecuteContract"

              Generated using TypeDoc

              \ No newline at end of file +

              Properties

              address?: string
              chainId: string
              codeHash?: string
              codeId?: string
              label?: string
              sender?: string
              tx: string
              type: "wasm/MsgInstantiateContract" | "wasm/MsgExecuteContract"

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/interfaces/_fadroma_scrt.Snip20.SendAction.html b/ts/interfaces/_fadroma_scrt.Snip20.SendAction.html index 11094897599..1c73fc32044 100644 --- a/ts/interfaces/_fadroma_scrt.Snip20.SendAction.html +++ b/ts/interfaces/_fadroma_scrt.Snip20.SendAction.html @@ -1,6 +1,6 @@ -SendAction | Documentation
              interface SendAction {
                  amount: string;
                  memo?: string;
                  msg?: string;
                  recipient: string;
                  recipient_code_hash?: string;
              }

              Properties

              amount +SendAction | Documentation
              interface SendAction {
                  amount: string;
                  memo?: string;
                  msg?: string;
                  recipient: string;
                  recipient_code_hash?: string;
              }

              Properties

              amount: string
              memo?: string
              msg?: string
              recipient: string
              recipient_code_hash?: string

              Generated using TypeDoc

              \ No newline at end of file +

              Properties

              amount: string
              memo?: string
              msg?: string
              recipient: string
              recipient_code_hash?: string

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/interfaces/_fadroma_scrt.Snip20.SendFromAction.html b/ts/interfaces/_fadroma_scrt.Snip20.SendFromAction.html index 4e2338abef4..f51c930a40f 100644 --- a/ts/interfaces/_fadroma_scrt.Snip20.SendFromAction.html +++ b/ts/interfaces/_fadroma_scrt.Snip20.SendFromAction.html @@ -1,7 +1,7 @@ -SendFromAction | Documentation
              interface SendFromAction {
                  amount: string;
                  memo?: string;
                  msg?: string;
                  owner: string;
                  recipient: string;
                  recipient_code_hash?: string;
              }

              Properties

              amount +SendFromAction | Documentation
              interface SendFromAction {
                  amount: string;
                  memo?: string;
                  msg?: string;
                  owner: string;
                  recipient: string;
                  recipient_code_hash?: string;
              }

              Properties

              amount: string
              memo?: string
              msg?: string
              owner: string
              recipient: string
              recipient_code_hash?: string

              Generated using TypeDoc

              \ No newline at end of file +

              Properties

              amount: string
              memo?: string
              msg?: string
              owner: string
              recipient: string
              recipient_code_hash?: string

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/interfaces/_fadroma_scrt.Snip20.Snip20Allowance.html b/ts/interfaces/_fadroma_scrt.Snip20.Snip20Allowance.html index 094766eee05..f6ae7121d70 100644 --- a/ts/interfaces/_fadroma_scrt.Snip20.Snip20Allowance.html +++ b/ts/interfaces/_fadroma_scrt.Snip20.Snip20Allowance.html @@ -1,5 +1,5 @@ -Snip20Allowance | Documentation
              interface Snip20Allowance {
                  allowance: string;
                  expiration?: number;
                  owner: string;
                  spender: string;
              }

              Properties

              allowance +Snip20Allowance | Documentation
              interface Snip20Allowance {
                  allowance: string;
                  expiration?: number;
                  owner: string;
                  spender: string;
              }

              Properties

              allowance: string
              expiration?: number
              owner: string
              spender: string

              Generated using TypeDoc

              \ No newline at end of file +

              Properties

              allowance: string
              expiration?: number
              owner: string
              spender: string

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/interfaces/_fadroma_scrt.Snip20.Snip20BaseConfig.html b/ts/interfaces/_fadroma_scrt.Snip20.Snip20BaseConfig.html index f75fa689713..8bb53d059d7 100644 --- a/ts/interfaces/_fadroma_scrt.Snip20.Snip20BaseConfig.html +++ b/ts/interfaces/_fadroma_scrt.Snip20.Snip20BaseConfig.html @@ -1,7 +1,7 @@ -Snip20BaseConfig | Documentation
              interface Snip20BaseConfig {
                  decimals: number;
                  name: string;
                  symbol: string;
              }

              Hierarchy (view full)

              Properties

              decimals +Snip20BaseConfig | Documentation
              interface Snip20BaseConfig {
                  decimals: number;
                  name: string;
                  symbol: string;
              }

              Hierarchy (view full)

              Properties

              Properties

              decimals: number

              The decimal precision of the token.

              -
              name: string

              The full name of the token.

              -
              symbol: string

              The market symbol of the token.

              -

              Generated using TypeDoc

              \ No newline at end of file +
              name: string

              The full name of the token.

              +
              symbol: string

              The market symbol of the token.

              +

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/interfaces/_fadroma_scrt.Snip20.Snip20InitConfig.html b/ts/interfaces/_fadroma_scrt.Snip20.Snip20InitConfig.html index ff91266f6ab..718660013e5 100644 --- a/ts/interfaces/_fadroma_scrt.Snip20.Snip20InitConfig.html +++ b/ts/interfaces/_fadroma_scrt.Snip20.Snip20InitConfig.html @@ -1,6 +1,6 @@ -Snip20InitConfig | Documentation
              interface Snip20InitConfig {
                  enable_burn?: boolean;
                  enable_deposit?: boolean;
                  enable_mint?: boolean;
                  enable_redeem?: boolean;
                  public_total_supply?: boolean;
                  [name: string]: unknown;
              }

              Indexable

              [name: string]: unknown

              Properties

              enable_burn? +Snip20InitConfig | Documentation
              interface Snip20InitConfig {
                  enable_burn?: boolean;
                  enable_deposit?: boolean;
                  enable_mint?: boolean;
                  enable_redeem?: boolean;
                  public_total_supply?: boolean;
                  [name: string]: unknown;
              }

              Indexable

              [name: string]: unknown

              Properties

              enable_burn?: boolean
              enable_deposit?: boolean
              enable_mint?: boolean
              enable_redeem?: boolean
              public_total_supply?: boolean

              Generated using TypeDoc

              \ No newline at end of file +

              Properties

              enable_burn?: boolean
              enable_deposit?: boolean
              enable_mint?: boolean
              enable_redeem?: boolean
              public_total_supply?: boolean

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/interfaces/_fadroma_scrt.Snip20.Snip20InitMsg.html b/ts/interfaces/_fadroma_scrt.Snip20.Snip20InitMsg.html index 95a3e11a623..3cfd9814bd8 100644 --- a/ts/interfaces/_fadroma_scrt.Snip20.Snip20InitMsg.html +++ b/ts/interfaces/_fadroma_scrt.Snip20.Snip20InitMsg.html @@ -1,4 +1,4 @@ -Snip20InitMsg | Documentation
              interface Snip20InitMsg {
                  admin: string;
                  config: Snip20InitConfig;
                  decimals: number;
                  initial_balances?: {
                      address: string;
                      amount: string;
                  }[];
                  name: string;
                  prng_seed: string;
                  symbol: string;
                  [name: string]: unknown;
              }

              Hierarchy (view full)

              Indexable

              [name: string]: unknown

              Properties

              admin +Snip20InitMsg | Documentation
              interface Snip20InitMsg {
                  admin: string;
                  config: Snip20InitConfig;
                  decimals: number;
                  initial_balances?: {
                      address: string;
                      amount: string;
                  }[];
                  name: string;
                  prng_seed: string;
                  symbol: string;
                  [name: string]: unknown;
              }

              Hierarchy (view full)

              Indexable

              [name: string]: unknown

              Properties

              Properties

              admin: string

              The admin of the token.

              -

              The settings for the token.

              -
              decimals: number

              The decimal precision of the token.

              -
              initial_balances?: {
                  address: string;
                  amount: string;
              }[]

              Initial balances.

              -

              Type declaration

              • address: string
              • amount: string
              name: string

              The full name of the token.

              -
              prng_seed: string

              The PRNG seed for the token.

              -
              symbol: string

              The market symbol of the token.

              -

              Generated using TypeDoc

              \ No newline at end of file +

              The settings for the token.

              +
              decimals: number

              The decimal precision of the token.

              +
              initial_balances?: {
                  address: string;
                  amount: string;
              }[]

              Initial balances.

              +

              Type declaration

              • address: string
              • amount: string
              name: string

              The full name of the token.

              +
              prng_seed: string

              The PRNG seed for the token.

              +
              symbol: string

              The market symbol of the token.

              +

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/interfaces/_fadroma_scrt.Snip20.Snip20TokenInfo.html b/ts/interfaces/_fadroma_scrt.Snip20.Snip20TokenInfo.html index abba7b7ebfd..0080378d7ef 100644 --- a/ts/interfaces/_fadroma_scrt.Snip20.Snip20TokenInfo.html +++ b/ts/interfaces/_fadroma_scrt.Snip20.Snip20TokenInfo.html @@ -1,5 +1,5 @@ -Snip20TokenInfo | Documentation
              interface Snip20TokenInfo {
                  decimals: number;
                  name: string;
                  symbol: string;
                  total_supply?: string;
              }

              Properties

              decimals +Snip20TokenInfo | Documentation
              interface Snip20TokenInfo {
                  decimals: number;
                  name: string;
                  symbol: string;
                  total_supply?: string;
              }

              Properties

              decimals: number
              name: string
              symbol: string
              total_supply?: string

              Generated using TypeDoc

              \ No newline at end of file +

              Properties

              decimals: number
              name: string
              symbol: string
              total_supply?: string

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/interfaces/_fadroma_scrt.Snip20.TransferAction.html b/ts/interfaces/_fadroma_scrt.Snip20.TransferAction.html index 0b55622fb0f..79fd774c489 100644 --- a/ts/interfaces/_fadroma_scrt.Snip20.TransferAction.html +++ b/ts/interfaces/_fadroma_scrt.Snip20.TransferAction.html @@ -1,4 +1,4 @@ -TransferAction | Documentation
              interface TransferAction {
                  amount: string;
                  memo?: string;
                  recipient: string;
              }

              Properties

              amount +TransferAction | Documentation
              interface TransferAction {
                  amount: string;
                  memo?: string;
                  recipient: string;
              }

              Properties

              Properties

              amount: string
              memo?: string
              recipient: string

              Generated using TypeDoc

              \ No newline at end of file +

              Properties

              amount: string
              memo?: string
              recipient: string

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/interfaces/_fadroma_scrt.Snip20.TransferFromAction.html b/ts/interfaces/_fadroma_scrt.Snip20.TransferFromAction.html index 8e479f566a8..915eaa8ec82 100644 --- a/ts/interfaces/_fadroma_scrt.Snip20.TransferFromAction.html +++ b/ts/interfaces/_fadroma_scrt.Snip20.TransferFromAction.html @@ -1,5 +1,5 @@ -TransferFromAction | Documentation
              interface TransferFromAction {
                  amount: string;
                  memo?: string;
                  owner: string;
                  recipient: string;
              }

              Properties

              amount +TransferFromAction | Documentation
              interface TransferFromAction {
                  amount: string;
                  memo?: string;
                  owner: string;
                  recipient: string;
              }

              Properties

              amount: string
              memo?: string
              owner: string
              recipient: string

              Generated using TypeDoc

              \ No newline at end of file +

              Properties

              amount: string
              memo?: string
              owner: string
              recipient: string

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/interfaces/_fadroma_scrt.Snip24.AminoMsg.html b/ts/interfaces/_fadroma_scrt.Snip24.AminoMsg.html index 9ebd14b2691..a88af167602 100644 --- a/ts/interfaces/_fadroma_scrt.Snip24.AminoMsg.html +++ b/ts/interfaces/_fadroma_scrt.Snip24.AminoMsg.html @@ -1,3 +1,3 @@ -AminoMsg | Documentation
              interface AminoMsg {
                  type: string;
                  value: any;
              }

              Properties

              type +AminoMsg | Documentation
              interface AminoMsg {
                  type: string;
                  value: any;
              }

              Properties

              Properties

              type: string
              value: any

              Generated using TypeDoc

              \ No newline at end of file +

              Properties

              type: string
              value: any

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/interfaces/_fadroma_scrt.Snip24.KeplrSigningHandle.html b/ts/interfaces/_fadroma_scrt.Snip24.KeplrSigningHandle.html index 8f3f40266b4..1988eb87d03 100644 --- a/ts/interfaces/_fadroma_scrt.Snip24.KeplrSigningHandle.html +++ b/ts/interfaces/_fadroma_scrt.Snip24.KeplrSigningHandle.html @@ -1,2 +1,2 @@ -KeplrSigningHandle | Documentation
              interface KeplrSigningHandle<T> {
                  signAmino(chain_id, address, signDoc, options): Promise<Snip24.Permit<T>>;
              }

              Type Parameters

              • T

              Methods

              Methods

              • Parameters

                • chain_id: string
                • address: string
                • signDoc: SignDoc
                • options: {
                      preferNoSetFee: boolean;
                      preferNoSetMemo: boolean;
                  }
                  • preferNoSetFee: boolean
                  • preferNoSetMemo: boolean

                Returns Promise<Snip24.Permit<T>>

              Generated using TypeDoc

              \ No newline at end of file +KeplrSigningHandle | Documentation
              interface KeplrSigningHandle<T> {
                  signAmino(chain_id, address, signDoc, options): Promise<Snip24.Permit<T>>;
              }

              Type Parameters

              • T

              Methods

              Methods

              • Parameters

                • chain_id: string
                • address: string
                • signDoc: SignDoc
                • options: {
                      preferNoSetFee: boolean;
                      preferNoSetMemo: boolean;
                  }
                  • preferNoSetFee: boolean
                  • preferNoSetMemo: boolean

                Returns Promise<Snip24.Permit<T>>

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/interfaces/_fadroma_scrt.Snip24.Permit.html b/ts/interfaces/_fadroma_scrt.Snip24.Permit.html index 573af4c3a57..3b7aefe52b0 100644 --- a/ts/interfaces/_fadroma_scrt.Snip24.Permit.html +++ b/ts/interfaces/_fadroma_scrt.Snip24.Permit.html @@ -1,3 +1,3 @@ -Permit | Documentation
              interface Permit<T> {
                  params: {
                      allowed_tokens: string[];
                      chain_id: string;
                      permissions: T[];
                      permit_name: string;
                  };
                  signature: Signature;
              }

              Type Parameters

              • T

              Properties

              params +Permit | Documentation
              interface Permit<T> {
                  params: {
                      allowed_tokens: string[];
                      chain_id: string;
                      permissions: T[];
                      permit_name: string;
                  };
                  signature: Signature;
              }

              Type Parameters

              • T

              Properties

              Properties

              params: {
                  allowed_tokens: string[];
                  chain_id: string;
                  permissions: T[];
                  permit_name: string;
              }

              Type declaration

              • allowed_tokens: string[]
              • chain_id: string
              • permissions: T[]
              • permit_name: string
              signature: Signature

              Generated using TypeDoc

              \ No newline at end of file +

              Properties

              params: {
                  allowed_tokens: string[];
                  chain_id: string;
                  permissions: T[];
                  permit_name: string;
              }

              Type declaration

              • allowed_tokens: string[]
              • chain_id: string
              • permissions: T[]
              • permit_name: string
              signature: Signature

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/interfaces/_fadroma_scrt.Snip24.PermitAminoMsg.html b/ts/interfaces/_fadroma_scrt.Snip24.PermitAminoMsg.html index 80e20767c55..76fd81185b3 100644 --- a/ts/interfaces/_fadroma_scrt.Snip24.PermitAminoMsg.html +++ b/ts/interfaces/_fadroma_scrt.Snip24.PermitAminoMsg.html @@ -1,5 +1,5 @@ PermitAminoMsg | Documentation

              Used as the value field of the AminoMsg type.

              -
              interface PermitAminoMsg<T> {
                  allowed_tokens: string[];
                  permissions: T[];
                  permit_name: string;
              }

              Type Parameters

              • T

              Properties

              interface PermitAminoMsg<T> {
                  allowed_tokens: string[];
                  permissions: T[];
                  permit_name: string;
              }

              Type Parameters

              • T

              Properties

              allowed_tokens: string[]
              permissions: T[]
              permit_name: string

              Generated using TypeDoc

              \ No newline at end of file +

              Properties

              allowed_tokens: string[]
              permissions: T[]
              permit_name: string

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/interfaces/_fadroma_scrt.Snip24.Pubkey.html b/ts/interfaces/_fadroma_scrt.Snip24.Pubkey.html index 89d7696d263..a1a74234ef8 100644 --- a/ts/interfaces/_fadroma_scrt.Snip24.Pubkey.html +++ b/ts/interfaces/_fadroma_scrt.Snip24.Pubkey.html @@ -1,3 +1,3 @@ -Pubkey | Documentation
              interface Pubkey {
                  type: "tendermint/PubKeySecp256k1";
                  value: any;
              }

              Properties

              type +Pubkey | Documentation
              interface Pubkey {
                  type: "tendermint/PubKeySecp256k1";
                  value: any;
              }

              Properties

              Properties

              type: "tendermint/PubKeySecp256k1"
              value: any

              Generated using TypeDoc

              \ No newline at end of file +

              Properties

              type: "tendermint/PubKeySecp256k1"
              value: any

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/interfaces/_fadroma_scrt.Snip24.SignDoc.html b/ts/interfaces/_fadroma_scrt.Snip24.SignDoc.html index 2b6becc0735..0db7c6dd30d 100644 --- a/ts/interfaces/_fadroma_scrt.Snip24.SignDoc.html +++ b/ts/interfaces/_fadroma_scrt.Snip24.SignDoc.html @@ -1,15 +1,15 @@ SignDoc | Documentation

              Data used for creating a signature as per the SNIP-24 spec: https://github.com/SecretFoundation/SNIPs/blob/master/SNIP-24.md#permit-content---stdsigndoc This type is case sensitive!

              -
              interface SignDoc {
                  account_number: string;
                  chain_id: string;
                  fee: IFee;
                  memo: string;
                  msgs: readonly Snip24.AminoMsg[];
                  sequence: string;
              }

              Properties

              interface SignDoc {
                  account_number: string;
                  chain_id: string;
                  fee: IFee;
                  memo: string;
                  msgs: readonly Snip24.AminoMsg[];
                  sequence: string;
              }

              Properties

              account_number: string

              Always 0.

              -
              chain_id: string
              fee: IFee

              Always 0 uscrt + 1 gas

              -
              memo: string

              Always empty.

              -
              msgs: readonly Snip24.AminoMsg[]

              Always 1 message of type query_permit

              -
              sequence: string

              Always 0.

              -

              Generated using TypeDoc

              \ No newline at end of file +
              chain_id: string
              fee: IFee

              Always 0 uscrt + 1 gas

              +
              memo: string

              Always empty.

              +
              msgs: readonly Snip24.AminoMsg[]

              Always 1 message of type query_permit

              +
              sequence: string

              Always 0.

              +

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/interfaces/_fadroma_scrt.Snip24.Signature.html b/ts/interfaces/_fadroma_scrt.Snip24.Signature.html index 0a84f22eb9a..405d4d78055 100644 --- a/ts/interfaces/_fadroma_scrt.Snip24.Signature.html +++ b/ts/interfaces/_fadroma_scrt.Snip24.Signature.html @@ -1,3 +1,3 @@ -Signature | Documentation
              interface Signature {
                  pub_key: Pubkey;
                  signature: string;
              }

              Properties

              pub_key +Signature | Documentation
              interface Signature {
                  pub_key: Pubkey;
                  signature: string;
              }

              Properties

              Properties

              pub_key: Pubkey
              signature: string

              Generated using TypeDoc

              \ No newline at end of file +

              Properties

              pub_key: Pubkey
              signature: string

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/modules/_fadroma_agent.Chain.html b/ts/modules/_fadroma_agent.Chain.html index cb46f8a0a01..8b80a46ada1 100644 --- a/ts/modules/_fadroma_agent.Chain.html +++ b/ts/modules/_fadroma_agent.Chain.html @@ -1,4 +1,4 @@ -Chain | Documentation

              Index

              Classes

              Backend +Chain | Documentation

              Index

              Classes

              Backend Batch Connection Contract diff --git a/ts/modules/_fadroma_agent.Core.html b/ts/modules/_fadroma_agent.Core.html index 5d5760a78d0..1c88e369cb7 100644 --- a/ts/modules/_fadroma_agent.Core.html +++ b/ts/modules/_fadroma_agent.Core.html @@ -13,7 +13,7 @@
              -

              Index

              Namespaces

              Index

              Namespaces

              Classes

              Console diff --git a/ts/modules/_fadroma_agent.Deploy.html b/ts/modules/_fadroma_agent.Deploy.html index 641174002cd..4ae3aefaaaa 100644 --- a/ts/modules/_fadroma_agent.Deploy.html +++ b/ts/modules/_fadroma_agent.Deploy.html @@ -1,4 +1,4 @@ -Deploy | Documentation

              Index

              Classes

              ContractCode +Deploy | Documentation

              Index

              Classes

              ContractCode ContractInstance ContractTemplate Deployment diff --git a/ts/modules/_fadroma_agent.Program.html b/ts/modules/_fadroma_agent.Program.html index 3ca2ef11d75..b26887c443c 100644 --- a/ts/modules/_fadroma_agent.Program.html +++ b/ts/modules/_fadroma_agent.Program.html @@ -1,4 +1,4 @@ -Program | Documentation

              Index

              Classes

              CompiledCode +Program | Documentation

              Index

              Classes

              CompiledCode Compiler LocalCompiledCode RustSourceCode diff --git a/ts/modules/_fadroma_agent.Store.html b/ts/modules/_fadroma_agent.Store.html index e3ee8f5ca36..1cc59237f8d 100644 --- a/ts/modules/_fadroma_agent.Store.html +++ b/ts/modules/_fadroma_agent.Store.html @@ -1,3 +1,3 @@ -Store | Documentation

              Index

              Classes

              DeployStore +Store | Documentation

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/modules/_fadroma_agent.Stub.html b/ts/modules/_fadroma_agent.Stub.html index d498a59236b..eee9bdf3747 100644 --- a/ts/modules/_fadroma_agent.Stub.html +++ b/ts/modules/_fadroma_agent.Stub.html @@ -1,4 +1,4 @@ -Stub | Documentation

              Index

              Classes

              StubBackend +Stub | Documentation

              Index

              Classes

              StubBackend StubBatch StubCompiler StubConnection diff --git a/ts/modules/_fadroma_agent.Token.html b/ts/modules/_fadroma_agent.Token.html index f4bc42b7fc6..833909be73c 100644 --- a/ts/modules/_fadroma_agent.Token.html +++ b/ts/modules/_fadroma_agent.Token.html @@ -1,4 +1,4 @@ -Token | Documentation

              Index

              Classes

              Amount +Token | Documentation

              Index

              Classes

              Amount Coin Custom Fee diff --git a/ts/modules/_fadroma_oci.Mock.html b/ts/modules/_fadroma_oci.Mock.html index 23bf5c04da2..e231d4322ce 100644 --- a/ts/modules/_fadroma_oci.Mock.html +++ b/ts/modules/_fadroma_oci.Mock.html @@ -1,4 +1,4 @@ -Mock | Documentation

              Index

              Functions

              mockDockerode +Mock | Documentation

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/modules/_fadroma_scrt.Mocknet.html b/ts/modules/_fadroma_scrt.Mocknet.html index d7c414da4cb..4057643c695 100644 --- a/ts/modules/_fadroma_scrt.Mocknet.html +++ b/ts/modules/_fadroma_scrt.Mocknet.html @@ -1,4 +1,4 @@ -Mocknet | Documentation

              Index

              Classes

              Backend +Mocknet | Documentation

              Index

              Classes

              Backend Batch Connection Contract diff --git a/ts/modules/_fadroma_scrt.Snip20.html b/ts/modules/_fadroma_scrt.Snip20.html index 7d9b2c2a7c8..67996c6f854 100644 --- a/ts/modules/_fadroma_scrt.Snip20.html +++ b/ts/modules/_fadroma_scrt.Snip20.html @@ -1,4 +1,4 @@ -Snip20 | Documentation

              Index

              Classes

              Snip20 +Snip20 | Documentation

              Index

              Classes

              Interfaces

              SendAction SendFromAction diff --git a/ts/modules/_fadroma_scrt.Snip24.html b/ts/modules/_fadroma_scrt.Snip24.html index cc682e9d12b..77ff95fc3fa 100644 --- a/ts/modules/_fadroma_scrt.Snip24.html +++ b/ts/modules/_fadroma_scrt.Snip24.html @@ -1,4 +1,4 @@ -Snip24 | Documentation

              Index

              Classes

              PermitSigner +Snip24 | Documentation

              Index

              Classes

              Interfaces

              AminoMsg KeplrSigningHandle diff --git a/ts/modules/_fadroma_scrt.Snip721.html b/ts/modules/_fadroma_scrt.Snip721.html index 47cd9a8a46e..ecf428770b0 100644 --- a/ts/modules/_fadroma_scrt.Snip721.html +++ b/ts/modules/_fadroma_scrt.Snip721.html @@ -1,2 +1,2 @@ -Snip721 | Documentation

              Index

              Classes

              Snip721 +Snip721 | Documentation

              Index

              Classes

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/types/_fadroma_agent.Chain.Address.html b/ts/types/_fadroma_agent.Chain.Address.html index 43c6bdbdc49..0c90946cf5c 100644 --- a/ts/types/_fadroma_agent.Chain.Address.html +++ b/ts/types/_fadroma_agent.Chain.Address.html @@ -1,2 +1,2 @@ Address | Documentation
              Address: string

              An address on a chain.

              -

              Generated using TypeDoc

              \ No newline at end of file +

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/types/_fadroma_agent.Chain.ChainId.html b/ts/types/_fadroma_agent.Chain.ChainId.html index 715cd92f096..465a34fa0cd 100644 --- a/ts/types/_fadroma_agent.Chain.ChainId.html +++ b/ts/types/_fadroma_agent.Chain.ChainId.html @@ -1 +1 @@ -ChainId | Documentation
              ChainId: string

              Generated using TypeDoc

              \ No newline at end of file +ChainId | Documentation
              ChainId: string

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/types/_fadroma_agent.Chain.Label.html b/ts/types/_fadroma_agent.Chain.Label.html index a94ecbc31f3..4f5c5a211fc 100644 --- a/ts/types/_fadroma_agent.Chain.Label.html +++ b/ts/types/_fadroma_agent.Chain.Label.html @@ -1,2 +1,2 @@ Label | Documentation
              Label: string

              A contract's full unique on-chain label.

              -

              Generated using TypeDoc

              \ No newline at end of file +

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/types/_fadroma_agent.Chain.Message.html b/ts/types/_fadroma_agent.Chain.Message.html index 46e767daa36..886ef779384 100644 --- a/ts/types/_fadroma_agent.Chain.Message.html +++ b/ts/types/_fadroma_agent.Chain.Message.html @@ -1,2 +1,2 @@ Message | Documentation
              Message: string | Record<string, unknown>

              A transaction message that can be sent to a contract.

              -

              Generated using TypeDoc

              \ No newline at end of file +

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/types/_fadroma_agent.Chain.TxHash.html b/ts/types/_fadroma_agent.Chain.TxHash.html index f1339c2b411..4c2b94e0b36 100644 --- a/ts/types/_fadroma_agent.Chain.TxHash.html +++ b/ts/types/_fadroma_agent.Chain.TxHash.html @@ -1,2 +1,2 @@ TxHash | Documentation
              TxHash: string

              A transaction hash, uniquely identifying an executed transaction on a chain.

              -

              Generated using TypeDoc

              \ No newline at end of file +

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/types/_fadroma_agent.Deploy.CodeId.html b/ts/types/_fadroma_agent.Deploy.CodeId.html index f555c945301..5d02a66cd40 100644 --- a/ts/types/_fadroma_agent.Deploy.CodeId.html +++ b/ts/types/_fadroma_agent.Deploy.CodeId.html @@ -1,2 +1,2 @@ CodeId | Documentation
              CodeId: string

              A code ID, identifying uploaded code on a chain.

              -

              Generated using TypeDoc

              \ No newline at end of file +

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/types/_fadroma_agent.Deploy.DeploymentState.html b/ts/types/_fadroma_agent.Deploy.DeploymentState.html index a4c0d08a086..44167895332 100644 --- a/ts/types/_fadroma_agent.Deploy.DeploymentState.html +++ b/ts/types/_fadroma_agent.Deploy.DeploymentState.html @@ -1 +1 @@ -DeploymentState | Documentation
              DeploymentState: Partial<ReturnType<Deployment["serialize"]>>

              Generated using TypeDoc

              \ No newline at end of file +DeploymentState | Documentation
              DeploymentState: Partial<ReturnType<Deployment["serialize"]>>

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/types/_fadroma_agent.Deploy.Name.html b/ts/types/_fadroma_agent.Deploy.Name.html index 299ce59d6b7..1681a9f9101 100644 --- a/ts/types/_fadroma_agent.Deploy.Name.html +++ b/ts/types/_fadroma_agent.Deploy.Name.html @@ -1,2 +1,2 @@ Name | Documentation
              Name: string

              The name of a deployment unit. Used to generate contract label.

              -

              Generated using TypeDoc

              \ No newline at end of file +

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/types/_fadroma_agent.Program.CodeHash.html b/ts/types/_fadroma_agent.Program.CodeHash.html index 0392bef5edd..8d9d343ae98 100644 --- a/ts/types/_fadroma_agent.Program.CodeHash.html +++ b/ts/types/_fadroma_agent.Program.CodeHash.html @@ -1,2 +1,2 @@ CodeHash | Documentation
              CodeHash: string

              A code hash, uniquely identifying a particular smart contract implementation.

              -

              Generated using TypeDoc

              \ No newline at end of file +

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/types/_fadroma_agent.Token.Decimal128.html b/ts/types/_fadroma_agent.Token.Decimal128.html index 171ed4ff6a3..99f71325cdb 100644 --- a/ts/types/_fadroma_agent.Token.Decimal128.html +++ b/ts/types/_fadroma_agent.Token.Decimal128.html @@ -1,2 +1,2 @@ Decimal128 | Documentation
              Decimal128: string

              A 128-bit decimal fraction.

              -

              Generated using TypeDoc

              \ No newline at end of file +

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/types/_fadroma_agent.Token.Decimal256.html b/ts/types/_fadroma_agent.Token.Decimal256.html index b50d3650537..654084c84fc 100644 --- a/ts/types/_fadroma_agent.Token.Decimal256.html +++ b/ts/types/_fadroma_agent.Token.Decimal256.html @@ -1,2 +1,2 @@ Decimal256 | Documentation
              Decimal256: string

              A 256-bit decimal fraction.

              -

              Generated using TypeDoc

              \ No newline at end of file +

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/types/_fadroma_agent.Token.Uint128.html b/ts/types/_fadroma_agent.Token.Uint128.html index 3a0bd6f9548..367c3f56c10 100644 --- a/ts/types/_fadroma_agent.Token.Uint128.html +++ b/ts/types/_fadroma_agent.Token.Uint128.html @@ -1,2 +1,2 @@ Uint128 | Documentation
              Uint128: string

              A 128-bit integer.

              -

              Generated using TypeDoc

              \ No newline at end of file +

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/types/_fadroma_agent.Token.Uint256.html b/ts/types/_fadroma_agent.Token.Uint256.html index cdea1979181..59e86ece8c7 100644 --- a/ts/types/_fadroma_agent.Token.Uint256.html +++ b/ts/types/_fadroma_agent.Token.Uint256.html @@ -1,2 +1,2 @@ Uint256 | Documentation
              Uint256: string

              A 256-bit integer.

              -

              Generated using TypeDoc

              \ No newline at end of file +

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/types/_fadroma_compile.CargoTOML.html b/ts/types/_fadroma_compile.CargoTOML.html index 6e9d98b8a15..cf6833971fc 100644 --- a/ts/types/_fadroma_compile.CargoTOML.html +++ b/ts/types/_fadroma_compile.CargoTOML.html @@ -1,2 +1,2 @@ CargoTOML | Documentation
              CargoTOML: {
                  dependencies: Record<string, {
                      path?: string;
                  }>;
                  package: {
                      name: string;
                  };
              }

              The parts of Cargo.toml which the compiler needs to be aware of.

              -

              Type declaration

              • dependencies: Record<string, {
                    path?: string;
                }>
              • package: {
                    name: string;
                }
                • name: string

              Generated using TypeDoc

              \ No newline at end of file +

              Type declaration

              • dependencies: Record<string, {
                    path?: string;
                }>
              • package: {
                    name: string;
                }
                • name: string

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/types/_fadroma_cw.CognitariumFormat.html b/ts/types/_fadroma_cw.CognitariumFormat.html index d66a5008903..5d4e8cd5bbc 100644 --- a/ts/types/_fadroma_cw.CognitariumFormat.html +++ b/ts/types/_fadroma_cw.CognitariumFormat.html @@ -1 +1 @@ -CognitariumFormat | Documentation

              Type alias CognitariumFormat

              CognitariumFormat: "turtle" | "rdf_xml" | "n_triples" | "n_quads"

              Generated using TypeDoc

              \ No newline at end of file +CognitariumFormat | Documentation

              Type alias CognitariumFormat

              CognitariumFormat: "turtle" | "rdf_xml" | "n_triples" | "n_quads"

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/types/_fadroma_cw.CognitariumLimits.html b/ts/types/_fadroma_cw.CognitariumLimits.html index 312f50a5dc0..f0b145cf711 100644 --- a/ts/types/_fadroma_cw.CognitariumLimits.html +++ b/ts/types/_fadroma_cw.CognitariumLimits.html @@ -1 +1 @@ -CognitariumLimits | Documentation

              Type alias CognitariumLimits

              CognitariumLimits: {
                  max_byte_size: Uint128;
                  max_insert_data_byte_size: Uint128;
                  max_insert_data_triple_count: Uint128;
                  max_query_limit: number;
                  max_query_variable_count: number;
                  max_triple_byte_size: Uint128;
                  max_triple_count: Uint128;
              }

              Type declaration

              • max_byte_size: Uint128
              • max_insert_data_byte_size: Uint128
              • max_insert_data_triple_count: Uint128
              • max_query_limit: number
              • max_query_variable_count: number
              • max_triple_byte_size: Uint128
              • max_triple_count: Uint128

              Generated using TypeDoc

              \ No newline at end of file +CognitariumLimits | Documentation

              Type alias CognitariumLimits

              CognitariumLimits: {
                  max_byte_size: Uint128;
                  max_insert_data_byte_size: Uint128;
                  max_insert_data_triple_count: Uint128;
                  max_query_limit: number;
                  max_query_variable_count: number;
                  max_triple_byte_size: Uint128;
                  max_triple_count: Uint128;
              }

              Type declaration

              • max_byte_size: Uint128
              • max_insert_data_byte_size: Uint128
              • max_insert_data_triple_count: Uint128
              • max_query_limit: number
              • max_query_variable_count: number
              • max_triple_byte_size: Uint128
              • max_triple_count: Uint128

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/types/_fadroma_cw.CognitariumPrefix.html b/ts/types/_fadroma_cw.CognitariumPrefix.html index c819b980aae..4ce553da302 100644 --- a/ts/types/_fadroma_cw.CognitariumPrefix.html +++ b/ts/types/_fadroma_cw.CognitariumPrefix.html @@ -1 +1 @@ -CognitariumPrefix | Documentation

              Type alias CognitariumPrefix

              CognitariumPrefix: {
                  namespace: string;
                  prefix: string;
              }

              Type declaration

              • namespace: string
              • prefix: string

              Generated using TypeDoc

              \ No newline at end of file +CognitariumPrefix | Documentation

              Type alias CognitariumPrefix

              CognitariumPrefix: {
                  namespace: string;
                  prefix: string;
              }

              Type declaration

              • namespace: string
              • prefix: string

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/types/_fadroma_cw.CognitariumSelect.html b/ts/types/_fadroma_cw.CognitariumSelect.html index 18b51f5e133..38776680cb2 100644 --- a/ts/types/_fadroma_cw.CognitariumSelect.html +++ b/ts/types/_fadroma_cw.CognitariumSelect.html @@ -1 +1 @@ -CognitariumSelect | Documentation

              Type alias CognitariumSelect

              CognitariumSelect: {
                  variable: string;
              }

              Type declaration

              • variable: string

              Generated using TypeDoc

              \ No newline at end of file +CognitariumSelect | Documentation

              Type alias CognitariumSelect

              CognitariumSelect: {
                  variable: string;
              }

              Type declaration

              • variable: string

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/types/_fadroma_cw.CognitariumVersion.html b/ts/types/_fadroma_cw.CognitariumVersion.html index 243968bde7b..63d5ec2e9ee 100644 --- a/ts/types/_fadroma_cw.CognitariumVersion.html +++ b/ts/types/_fadroma_cw.CognitariumVersion.html @@ -1 +1 @@ -CognitariumVersion | Documentation

              Type alias CognitariumVersion

              CognitariumVersion: string

              Generated using TypeDoc

              \ No newline at end of file +CognitariumVersion | Documentation

              Type alias CognitariumVersion

              CognitariumVersion: string

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/types/_fadroma_cw.CognitariumWhere.html b/ts/types/_fadroma_cw.CognitariumWhere.html index db04fb12e07..b5822f350a8 100644 --- a/ts/types/_fadroma_cw.CognitariumWhere.html +++ b/ts/types/_fadroma_cw.CognitariumWhere.html @@ -1 +1 @@ -CognitariumWhere | Documentation

              Type alias CognitariumWhere

              CognitariumWhere: {
                  simple: {
                      triple_pattern: {
                          object: {
                              variable: string;
                          };
                          predicate: {
                              node: {
                                  named_node: string;
                              };
                          };
                          subject: {
                              variable: string;
                          };
                      };
                  };
              }

              Type declaration

              • simple: {
                    triple_pattern: {
                        object: {
                            variable: string;
                        };
                        predicate: {
                            node: {
                                named_node: string;
                            };
                        };
                        subject: {
                            variable: string;
                        };
                    };
                }
                • triple_pattern: {
                      object: {
                          variable: string;
                      };
                      predicate: {
                          node: {
                              named_node: string;
                          };
                      };
                      subject: {
                          variable: string;
                      };
                  }
                  • object: {
                        variable: string;
                    }
                    • variable: string
                  • predicate: {
                        node: {
                            named_node: string;
                        };
                    }
                    • node: {
                          named_node: string;
                      }
                      • named_node: string
                  • subject: {
                        variable: string;
                    }
                    • variable: string

              Generated using TypeDoc

              \ No newline at end of file +CognitariumWhere | Documentation

              Type alias CognitariumWhere

              CognitariumWhere: {
                  simple: {
                      triple_pattern: {
                          object: {
                              variable: string;
                          };
                          predicate: {
                              node: {
                                  named_node: string;
                              };
                          };
                          subject: {
                              variable: string;
                          };
                      };
                  };
              }

              Type declaration

              • simple: {
                    triple_pattern: {
                        object: {
                            variable: string;
                        };
                        predicate: {
                            node: {
                                named_node: string;
                            };
                        };
                        subject: {
                            variable: string;
                        };
                    };
                }
                • triple_pattern: {
                      object: {
                          variable: string;
                      };
                      predicate: {
                          node: {
                              named_node: string;
                          };
                      };
                      subject: {
                          variable: string;
                      };
                  }
                  • object: {
                        variable: string;
                    }
                    • variable: string
                  • predicate: {
                        node: {
                            named_node: string;
                        };
                    }
                    • node: {
                          named_node: string;
                      }
                      • named_node: string
                  • subject: {
                        variable: string;
                    }
                    • variable: string

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/types/_fadroma_cw.LawStoneVersion.html b/ts/types/_fadroma_cw.LawStoneVersion.html index a66592593d2..b2e4f447d6a 100644 --- a/ts/types/_fadroma_cw.LawStoneVersion.html +++ b/ts/types/_fadroma_cw.LawStoneVersion.html @@ -1 +1 @@ -LawStoneVersion | Documentation

              Type alias LawStoneVersion

              LawStoneVersion: string

              Generated using TypeDoc

              \ No newline at end of file +LawStoneVersion | Documentation

              Type alias LawStoneVersion

              LawStoneVersion: string

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/types/_fadroma_cw.ObjectariumVersion.html b/ts/types/_fadroma_cw.ObjectariumVersion.html index 95a77e107f9..7ce3cc19d3e 100644 --- a/ts/types/_fadroma_cw.ObjectariumVersion.html +++ b/ts/types/_fadroma_cw.ObjectariumVersion.html @@ -1 +1 @@ -ObjectariumVersion | Documentation

              Type alias ObjectariumVersion

              ObjectariumVersion: string

              Generated using TypeDoc

              \ No newline at end of file +ObjectariumVersion | Documentation

              Type alias ObjectariumVersion

              ObjectariumVersion: string

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/types/_fadroma_oci.ContainerCommand.html b/ts/types/_fadroma_oci.ContainerCommand.html index 65eae4d3078..5704062805b 100644 --- a/ts/types/_fadroma_oci.ContainerCommand.html +++ b/ts/types/_fadroma_oci.ContainerCommand.html @@ -1 +1 @@ -ContainerCommand | Documentation
              ContainerCommand: string | string[]

              Generated using TypeDoc

              \ No newline at end of file +ContainerCommand | Documentation
              ContainerCommand: string | string[]

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/types/_fadroma_scrt.Mocknet.ScrtCWAPI.html b/ts/types/_fadroma_scrt.Mocknet.ScrtCWAPI.html index 163a1788c55..1830e3962a6 100644 --- a/ts/types/_fadroma_scrt.Mocknet.ScrtCWAPI.html +++ b/ts/types/_fadroma_scrt.Mocknet.ScrtCWAPI.html @@ -1 +1 @@ -ScrtCWAPI | Documentation
              ScrtCWAPI<V>: {
                  exports: Allocator & {
                      query(msg): number;
                  };
                  imports: {
                      env: {
                          db_read(key): number;
                          db_remove(key): void;
                          db_write(key, val): void;
                          debug(msg): number;
                          query_chain(req): number;
                      };
                      memory: WebAssembly.Memory;
                  };
              } & {
                  0.x: {
                      exports: {
                          handle(env, msg): number;
                          init(env, msg): number;
                      };
                      imports: {
                          env: {
                              canonicalize_address(src, dst): number;
                              humanize_address(src, dst): number;
                          };
                      };
                  };
                  1.x: {
                      exports: {
                          execute(env, info, msg): number;
                          instantiate(env, info, msg): number;
                          requires_staking(): number;
                      };
                      imports: {
                          env: {
                              addr_canonicalize(src, dst): number;
                              addr_humanize(src, dst): number;
                              addr_validate(addr): number;
                              ed25519_batch_verify(msgs, sigs, pubs): number;
                              ed25519_sign(msg, priv): number;
                              ed25519_verify(msg, sig, pub): number;
                              gas_evaporate(...args): any;
                              secp256k1_recover_pubkey(hash, sig, param): number;
                              secp256k1_sign(msg, priv): number;
                              secp256k1_verify(hash, sig, pub): number;
                          };
                          memory: WebAssembly.Memory;
                      };
                  };
              }[V]

              Type Parameters

              • V extends ScrtCWVersion

              Type declaration

              • exports: Allocator & {
                    query(msg): number;
                }
              • imports: {
                    env: {
                        db_read(key): number;
                        db_remove(key): void;
                        db_write(key, val): void;
                        debug(msg): number;
                        query_chain(req): number;
                    };
                    memory: WebAssembly.Memory;
                }
                • env: {
                      db_read(key): number;
                      db_remove(key): void;
                      db_write(key, val): void;
                      debug(msg): number;
                      query_chain(req): number;
                  }
                • memory: WebAssembly.Memory

              Generated using TypeDoc

              \ No newline at end of file +ScrtCWAPI | Documentation
              ScrtCWAPI<V>: {
                  exports: Allocator & {
                      query(msg): number;
                  };
                  imports: {
                      env: {
                          db_read(key): number;
                          db_remove(key): void;
                          db_write(key, val): void;
                          debug(msg): number;
                          query_chain(req): number;
                      };
                      memory: WebAssembly.Memory;
                  };
              } & {
                  0.x: {
                      exports: {
                          handle(env, msg): number;
                          init(env, msg): number;
                      };
                      imports: {
                          env: {
                              canonicalize_address(src, dst): number;
                              humanize_address(src, dst): number;
                          };
                      };
                  };
                  1.x: {
                      exports: {
                          execute(env, info, msg): number;
                          instantiate(env, info, msg): number;
                          requires_staking(): number;
                      };
                      imports: {
                          env: {
                              addr_canonicalize(src, dst): number;
                              addr_humanize(src, dst): number;
                              addr_validate(addr): number;
                              ed25519_batch_verify(msgs, sigs, pubs): number;
                              ed25519_sign(msg, priv): number;
                              ed25519_verify(msg, sig, pub): number;
                              gas_evaporate(...args): any;
                              secp256k1_recover_pubkey(hash, sig, param): number;
                              secp256k1_sign(msg, priv): number;
                              secp256k1_verify(hash, sig, pub): number;
                          };
                          memory: WebAssembly.Memory;
                      };
                  };
              }[V]

              Type Parameters

              • V extends ScrtCWVersion

              Type declaration

              • exports: Allocator & {
                    query(msg): number;
                }
              • imports: {
                    env: {
                        db_read(key): number;
                        db_remove(key): void;
                        db_write(key, val): void;
                        debug(msg): number;
                        query_chain(req): number;
                    };
                    memory: WebAssembly.Memory;
                }
                • env: {
                      db_read(key): number;
                      db_remove(key): void;
                      db_write(key, val): void;
                      debug(msg): number;
                      query_chain(req): number;
                  }
                • memory: WebAssembly.Memory

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/types/_fadroma_scrt.Snip20.QueryWithPermit.html b/ts/types/_fadroma_scrt.Snip20.QueryWithPermit.html index 70e535372b9..ef531ed7987 100644 --- a/ts/types/_fadroma_scrt.Snip20.QueryWithPermit.html +++ b/ts/types/_fadroma_scrt.Snip20.QueryWithPermit.html @@ -1 +1 @@ -QueryWithPermit | Documentation

              Type alias QueryWithPermit<Q, P>

              QueryWithPermit<Q, P>: {
                  with_permit: {
                      permit: P;
                      query: Q;
                  };
              }

              Type Parameters

              • Q

              • P

              Type declaration

              • with_permit: {
                    permit: P;
                    query: Q;
                }
                • permit: P
                • query: Q

              Generated using TypeDoc

              \ No newline at end of file +QueryWithPermit | Documentation

              Type alias QueryWithPermit<Q, P>

              QueryWithPermit<Q, P>: {
                  with_permit: {
                      permit: P;
                      query: Q;
                  };
              }

              Type Parameters

              • Q

              • P

              Type declaration

              • with_permit: {
                    permit: P;
                    query: Q;
                }
                • permit: P
                • query: Q

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/types/_fadroma_scrt.Snip20.Snip20Permit.html b/ts/types/_fadroma_scrt.Snip20.Snip20Permit.html index 6ac799f05a0..ab095a49dea 100644 --- a/ts/types/_fadroma_scrt.Snip20.Snip20Permit.html +++ b/ts/types/_fadroma_scrt.Snip20.Snip20Permit.html @@ -1 +1 @@ -Snip20Permit | Documentation
              Snip20Permit: Snip24.Permit<"allowance" | "balance" | "history" | "owner">

              Generated using TypeDoc

              \ No newline at end of file +Snip20Permit | Documentation
              Snip20Permit: Snip24.Permit<"allowance" | "balance" | "history" | "owner">

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/types/_fadroma_scrt.Snip20.ViewingKey.html b/ts/types/_fadroma_scrt.Snip20.ViewingKey.html index e86c21f38af..7e01b29ad38 100644 --- a/ts/types/_fadroma_scrt.Snip20.ViewingKey.html +++ b/ts/types/_fadroma_scrt.Snip20.ViewingKey.html @@ -1,2 +1,2 @@ ViewingKey | Documentation
              ViewingKey: string

              A viewing key.

              -

              Generated using TypeDoc

              \ No newline at end of file +

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/variables/_fadroma_agent.Chain.___HACK___.html b/ts/variables/_fadroma_agent.Chain.___HACK___.html index 7e20844d20f..550c2d36b97 100644 --- a/ts/variables/_fadroma_agent.Chain.___HACK___.html +++ b/ts/variables/_fadroma_agent.Chain.___HACK___.html @@ -1 +1 @@ -_$_HACK_$_ | Documentation
              _$_HACK_$_: {
                  CompiledCode: typeof CompiledCode;
              } = ...

              Type declaration

              Generated using TypeDoc

              \ No newline at end of file +_$_HACK_$_ | Documentation
              _$_HACK_$_: {
                  CompiledCode: typeof CompiledCode;
              } = ...

              Type declaration

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/variables/_fadroma_agent.Program.HEAD.html b/ts/variables/_fadroma_agent.Program.HEAD.html index dd0f23f0c47..cf82b0d61d7 100644 --- a/ts/variables/_fadroma_agent.Program.HEAD.html +++ b/ts/variables/_fadroma_agent.Program.HEAD.html @@ -1,2 +1,2 @@ HEAD | Documentation
              HEAD: "HEAD" = 'HEAD'

              The default Git ref when not specified.

              -

              Generated using TypeDoc

              \ No newline at end of file +

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/variables/_fadroma_compile.Compiler.html b/ts/variables/_fadroma_compile.Compiler.html index 8b7db78833e..f5a4f32ff25 100644 --- a/ts/variables/_fadroma_compile.Compiler.html +++ b/ts/variables/_fadroma_compile.Compiler.html @@ -1 +1 @@ -Compiler | Documentation
              Compiler: typeof Program.Compiler = Program.Compiler

              Generated using TypeDoc

              \ No newline at end of file +Compiler | Documentation
              Compiler: typeof Program.Compiler = Program.Compiler

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/variables/_fadroma_cw.base64.html b/ts/variables/_fadroma_cw.base64.html index 6893b5e4e7d..21e125b9f70 100644 --- a/ts/variables/_fadroma_cw.base64.html +++ b/ts/variables/_fadroma_cw.base64.html @@ -1 +1 @@ -base64 | Documentation

              Generated using TypeDoc

              \ No newline at end of file +base64 | Documentation

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/variables/_fadroma_cw.bech32.html b/ts/variables/_fadroma_cw.bech32.html index 4f078cf7b63..f19db6c7f51 100644 --- a/ts/variables/_fadroma_cw.bech32.html +++ b/ts/variables/_fadroma_cw.bech32.html @@ -1 +1 @@ -bech32 | Documentation
              bech32: {
                  decode: {
                      <Prefix_1>(str, limit?): Core.Bech32Decoded<Prefix_1>;
                      (str, limit?): Core.Bech32Decoded<string>;
                  };
                  decodeToBytes: ((str) => Core.Bech32DecodedWithArray<string>);
                  decodeUnsafe: ((str, limit?) => void | Core.Bech32Decoded<string>);
                  encode: (<Prefix>(prefix, words, limit?) => `${Lowercase<Prefix>}1${string}`);
                  fromWords: ((to) => Uint8Array);
                  fromWordsUnsafe: ((to) => void | Uint8Array);
                  toWords: ((from) => number[]);
              }

              Type declaration

              Generated using TypeDoc

              \ No newline at end of file +bech32 | Documentation
              bech32: {
                  decode: {
                      <Prefix_1>(str, limit?): Core.Bech32Decoded<Prefix_1>;
                      (str, limit?): Core.Bech32Decoded<string>;
                  };
                  decodeToBytes: ((str) => Core.Bech32DecodedWithArray<string>);
                  decodeUnsafe: ((str, limit?) => void | Core.Bech32Decoded<string>);
                  encode: (<Prefix>(prefix, words, limit?) => `${Lowercase<Prefix>}1${string}`);
                  fromWords: ((to) => Uint8Array);
                  fromWordsUnsafe: ((to) => void | Uint8Array);
                  toWords: ((from) => number[]);
              }

              Type declaration

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/variables/_fadroma_cw.bip32.html b/ts/variables/_fadroma_cw.bip32.html index 9ce557aeb26..9c1d8db5872 100644 --- a/ts/variables/_fadroma_cw.bip32.html +++ b/ts/variables/_fadroma_cw.bip32.html @@ -1 +1 @@ -bip32 | Documentation

              Generated using TypeDoc

              \ No newline at end of file +bip32 | Documentation

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/variables/_fadroma_cw.bip39.html b/ts/variables/_fadroma_cw.bip39.html index e1d9c293197..fb9e7f5775f 100644 --- a/ts/variables/_fadroma_cw.bip39.html +++ b/ts/variables/_fadroma_cw.bip39.html @@ -1 +1 @@ -bip39 | Documentation

              Generated using TypeDoc

              \ No newline at end of file +bip39 | Documentation

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/variables/_fadroma_cw.bip39EN.html b/ts/variables/_fadroma_cw.bip39EN.html index 59042c1e852..32fcfddbf20 100644 --- a/ts/variables/_fadroma_cw.bip39EN.html +++ b/ts/variables/_fadroma_cw.bip39EN.html @@ -1 +1 @@ -bip39EN | Documentation
              bip39EN: string[]

              Generated using TypeDoc

              \ No newline at end of file +bip39EN | Documentation
              bip39EN: string[]

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/variables/_fadroma_cw.chainIds.html b/ts/variables/_fadroma_cw.chainIds.html index 837bf351335..34a3da88b66 100644 --- a/ts/variables/_fadroma_cw.chainIds.html +++ b/ts/variables/_fadroma_cw.chainIds.html @@ -1 +1 @@ -chainIds | Documentation

              Variable chainIdsConst

              chainIds: {
                  testnet: string;
              } = ...

              Type declaration

              • testnet: string

              Generated using TypeDoc

              \ No newline at end of file +chainIds | Documentation

              Variable chainIdsConst

              chainIds: {
                  testnet: string;
              } = ...

              Type declaration

              • testnet: string

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/variables/_fadroma_cw.cognitariumCodeIds.html b/ts/variables/_fadroma_cw.cognitariumCodeIds.html index 901b4e9a454..f82e1a9b46f 100644 --- a/ts/variables/_fadroma_cw.cognitariumCodeIds.html +++ b/ts/variables/_fadroma_cw.cognitariumCodeIds.html @@ -1,2 +1,2 @@ cognitariumCodeIds | Documentation

              Variable cognitariumCodeIdsConst

              cognitariumCodeIds: Record<CognitariumVersion, CodeId> = ...

              Code IDs for versions of Cognitarium contract.

              -

              Generated using TypeDoc

              \ No newline at end of file +

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/variables/_fadroma_cw.lawStoneCodeIds.html b/ts/variables/_fadroma_cw.lawStoneCodeIds.html index f3ce9d7ebda..41ff8ec8af8 100644 --- a/ts/variables/_fadroma_cw.lawStoneCodeIds.html +++ b/ts/variables/_fadroma_cw.lawStoneCodeIds.html @@ -1,2 +1,2 @@ lawStoneCodeIds | Documentation

              Variable lawStoneCodeIdsConst

              lawStoneCodeIds: Record<LawStoneVersion, CodeId> = ...

              Code IDs for versions of Law Stone contract.

              -

              Generated using TypeDoc

              \ No newline at end of file +

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/variables/_fadroma_cw.objectariumCodeIds.html b/ts/variables/_fadroma_cw.objectariumCodeIds.html index d867d6481e6..25c53b6bad6 100644 --- a/ts/variables/_fadroma_cw.objectariumCodeIds.html +++ b/ts/variables/_fadroma_cw.objectariumCodeIds.html @@ -1,2 +1,2 @@ objectariumCodeIds | Documentation

              Variable objectariumCodeIdsConst

              objectariumCodeIds: Record<ObjectariumVersion, CodeId> = ...

              Code IDs for versions of Objectarium contract.

              -

              Generated using TypeDoc

              \ No newline at end of file +

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/variables/_fadroma_cw.testnets.html b/ts/variables/_fadroma_cw.testnets.html index 9e4d1164c51..8a32db3d226 100644 --- a/ts/variables/_fadroma_cw.testnets.html +++ b/ts/variables/_fadroma_cw.testnets.html @@ -1 +1 @@ -testnets | Documentation

              Variable testnetsConst

              testnets: Set<string> = ...

              Generated using TypeDoc

              \ No newline at end of file +testnets | Documentation

              Variable testnetsConst

              testnets: Set<string> = ...

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/variables/_fadroma_scrt.base16.html b/ts/variables/_fadroma_scrt.base16.html index 55c37c82318..7f3ad9eaac2 100644 --- a/ts/variables/_fadroma_scrt.base16.html +++ b/ts/variables/_fadroma_scrt.base16.html @@ -1 +1 @@ -base16 | Documentation

              Generated using TypeDoc

              \ No newline at end of file +base16 | Documentation

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/variables/_fadroma_scrt.base64.html b/ts/variables/_fadroma_scrt.base64.html index 1390366b9dc..1f002393053 100644 --- a/ts/variables/_fadroma_scrt.base64.html +++ b/ts/variables/_fadroma_scrt.base64.html @@ -1 +1 @@ -base64 | Documentation

              Generated using TypeDoc

              \ No newline at end of file +base64 | Documentation

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/variables/_fadroma_scrt.bech32.html b/ts/variables/_fadroma_scrt.bech32.html index 7c37714cb59..31c2a4c1b89 100644 --- a/ts/variables/_fadroma_scrt.bech32.html +++ b/ts/variables/_fadroma_scrt.bech32.html @@ -1 +1 @@ -bech32 | Documentation
              bech32: {
                  decode: {
                      <Prefix_1>(str, limit?): Core.Bech32Decoded<Prefix_1>;
                      (str, limit?): Core.Bech32Decoded<string>;
                  };
                  decodeToBytes: ((str) => Core.Bech32DecodedWithArray<string>);
                  decodeUnsafe: ((str, limit?) => void | Core.Bech32Decoded<string>);
                  encode: (<Prefix>(prefix, words, limit?) => `${Lowercase<Prefix>}1${string}`);
                  fromWords: ((to) => Uint8Array);
                  fromWordsUnsafe: ((to) => void | Uint8Array);
                  toWords: ((from) => number[]);
              }

              Type declaration

              Generated using TypeDoc

              \ No newline at end of file +bech32 | Documentation
              bech32: {
                  decode: {
                      <Prefix_1>(str, limit?): Core.Bech32Decoded<Prefix_1>;
                      (str, limit?): Core.Bech32Decoded<string>;
                  };
                  decodeToBytes: ((str) => Core.Bech32DecodedWithArray<string>);
                  decodeUnsafe: ((str, limit?) => void | Core.Bech32Decoded<string>);
                  encode: (<Prefix>(prefix, words, limit?) => `${Lowercase<Prefix>}1${string}`);
                  fromWords: ((to) => Uint8Array);
                  fromWordsUnsafe: ((to) => void | Uint8Array);
                  toWords: ((from) => number[]);
              }

              Type declaration

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/variables/_fadroma_scrt.bip32.html b/ts/variables/_fadroma_scrt.bip32.html index d98cae9688c..3644a0d5efa 100644 --- a/ts/variables/_fadroma_scrt.bip32.html +++ b/ts/variables/_fadroma_scrt.bip32.html @@ -1 +1 @@ -bip32 | Documentation

              Generated using TypeDoc

              \ No newline at end of file +bip32 | Documentation

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/variables/_fadroma_scrt.bip39.html b/ts/variables/_fadroma_scrt.bip39.html index 8c2ef1f33aa..f63fa4106e1 100644 --- a/ts/variables/_fadroma_scrt.bip39.html +++ b/ts/variables/_fadroma_scrt.bip39.html @@ -1 +1 @@ -bip39 | Documentation

              Generated using TypeDoc

              \ No newline at end of file +bip39 | Documentation

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/variables/_fadroma_scrt.bip39EN.html b/ts/variables/_fadroma_scrt.bip39EN.html index 72c819e2563..d7a6e7a0004 100644 --- a/ts/variables/_fadroma_scrt.bip39EN.html +++ b/ts/variables/_fadroma_scrt.bip39EN.html @@ -1 +1 @@ -bip39EN | Documentation
              bip39EN: string[]

              Generated using TypeDoc

              \ No newline at end of file +bip39EN | Documentation
              bip39EN: string[]

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/variables/_fadroma_scrt.chainIds.html b/ts/variables/_fadroma_scrt.chainIds.html index de98d9a9962..d2a09f02441 100644 --- a/ts/variables/_fadroma_scrt.chainIds.html +++ b/ts/variables/_fadroma_scrt.chainIds.html @@ -1 +1 @@ -chainIds | Documentation

              Variable chainIdsConst

              chainIds: {
                  mainnet: string;
                  testnet: string;
              } = ...

              Type declaration

              • mainnet: string
              • testnet: string

              Generated using TypeDoc

              \ No newline at end of file +chainIds | Documentation

              Variable chainIdsConst

              chainIds: {
                  mainnet: string;
                  testnet: string;
              } = ...

              Type declaration

              • mainnet: string
              • testnet: string

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/variables/_fadroma_scrt.colors.html b/ts/variables/_fadroma_scrt.colors.html index d83f60bba92..08fd189393c 100644 --- a/ts/variables/_fadroma_scrt.colors.html +++ b/ts/variables/_fadroma_scrt.colors.html @@ -57,4 +57,4 @@

              Example

              import <
               

              Returns Core.colors.Chalk

              Example

              import chalk = require('chalk');

              chalk.keyword('orange');
            • rgb:function
              • Use RGB values to set text color.

                -

                Parameters

                • red: number
                • green: number
                • blue: number

                Returns Core.colors.Chalk

            • Generated using TypeDoc

              \ No newline at end of file +

              Parameters

              Returns Core.colors.Chalk

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/variables/_fadroma_scrt.faucets.html b/ts/variables/_fadroma_scrt.faucets.html index c11ebe3d13e..1f15a6d58d0 100644 --- a/ts/variables/_fadroma_scrt.faucets.html +++ b/ts/variables/_fadroma_scrt.faucets.html @@ -1 +1 @@ -faucets | Documentation
              faucets: Record<string, Set<string>>

              Generated using TypeDoc

              \ No newline at end of file +faucets | Documentation
              faucets: Record<string, Set<string>>

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/variables/_fadroma_scrt.mainnets.html b/ts/variables/_fadroma_scrt.mainnets.html index 404637f128d..2b0cbbd7c4c 100644 --- a/ts/variables/_fadroma_scrt.mainnets.html +++ b/ts/variables/_fadroma_scrt.mainnets.html @@ -1,2 +1,2 @@ mainnets | Documentation

              Generated using TypeDoc

              \ No newline at end of file +

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/variables/_fadroma_scrt.nonUtf8.html b/ts/variables/_fadroma_scrt.nonUtf8.html index c7eb64c7e8c..c21fd1721b8 100644 --- a/ts/variables/_fadroma_scrt.nonUtf8.html +++ b/ts/variables/_fadroma_scrt.nonUtf8.html @@ -1,2 +1,2 @@ nonUtf8 | Documentation

              Variable nonUtf8Const

              nonUtf8: typeof nonUtf8 = ...

              Marks a response field as non-UTF8 to prevent large binary arrays filling the console.

              -

              Generated using TypeDoc

              \ No newline at end of file +

              Generated using TypeDoc

              \ No newline at end of file diff --git a/ts/variables/_fadroma_scrt.testnets.html b/ts/variables/_fadroma_scrt.testnets.html index 6810cb06d25..845db4b7038 100644 --- a/ts/variables/_fadroma_scrt.testnets.html +++ b/ts/variables/_fadroma_scrt.testnets.html @@ -1 +1 @@ -testnets | Documentation

              Variable testnetsConst

              testnets: Set<string> = ...

              Generated using TypeDoc

              \ No newline at end of file +testnets | Documentation

              Variable testnetsConst

              testnets: Set<string> = ...

              Generated using TypeDoc

              \ No newline at end of file