@btc-vision/transaction 1.0.8 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/README.md +4 -2
  2. package/browser/_version.d.ts +1 -1
  3. package/browser/index.js +1 -1
  4. package/build/_version.d.ts +1 -1
  5. package/build/_version.js +1 -1
  6. package/build/utils/BitcoinUtils.js +3 -3
  7. package/docs/classes/AddressGenerator.html +2 -2
  8. package/docs/classes/BitcoinUtils.html +4 -4
  9. package/docs/classes/CalldataGenerator.html +10 -10
  10. package/docs/classes/Compressor.html +4 -4
  11. package/docs/classes/ContractBaseMetadata.html +4 -4
  12. package/docs/classes/DeploymentGenerator.html +9 -9
  13. package/docs/classes/DeploymentTransaction.html +73 -73
  14. package/docs/classes/EcKeyPair.html +16 -16
  15. package/docs/classes/FundingTransaction.html +48 -48
  16. package/docs/classes/Generator.html +9 -9
  17. package/docs/classes/InteractionTransaction.html +63 -63
  18. package/docs/classes/OPNetLimitedProvider.html +4 -4
  19. package/docs/classes/SharedInteractionTransaction.html +69 -69
  20. package/docs/classes/TapscriptVerificator.html +2 -2
  21. package/docs/classes/TransactionBuilder.html +51 -51
  22. package/docs/classes/TransactionFactory.html +3 -3
  23. package/docs/classes/TweakedSigner.html +2 -2
  24. package/docs/classes/Wallet.html +10 -10
  25. package/docs/classes/WrapTransaction.html +75 -75
  26. package/docs/classes/WrappedGeneration.html +8 -8
  27. package/docs/classes/wBTC.html +7 -7
  28. package/docs/enums/TransactionSequence.html +2 -2
  29. package/docs/enums/TransactionType.html +2 -2
  30. package/docs/index.html +4 -2
  31. package/docs/interfaces/ContractAddressVerificationParams.html +2 -2
  32. package/docs/interfaces/DeploymentResult.html +2 -2
  33. package/docs/interfaces/FetchUTXOParams.html +2 -2
  34. package/docs/interfaces/GenerationConstraints.html +5 -5
  35. package/docs/interfaces/IDeploymentParameters.html +2 -2
  36. package/docs/interfaces/IFundingTransactionParameters.html +2 -2
  37. package/docs/interfaces/IInteractionParameters.html +2 -2
  38. package/docs/interfaces/ITransactionParameters.html +2 -2
  39. package/docs/interfaces/IWallet.html +4 -4
  40. package/docs/interfaces/IWrapParameters.html +2 -2
  41. package/docs/interfaces/NetworkInformation.html +2 -2
  42. package/docs/interfaces/PsbtInputExtended.html +1 -1
  43. package/docs/interfaces/PsbtOutputExtendedAddress.html +2 -2
  44. package/docs/interfaces/PsbtOutputExtendedScript.html +2 -2
  45. package/docs/interfaces/RawUTXOResponse.html +2 -2
  46. package/docs/interfaces/SharedInteractionParameters.html +2 -2
  47. package/docs/interfaces/TapLeafScript.html +2 -2
  48. package/docs/interfaces/TweakSettings.html +3 -3
  49. package/docs/interfaces/UTXO.html +2 -2
  50. package/docs/interfaces/UpdateInput.html +2 -2
  51. package/docs/interfaces/WrapResult.html +2 -2
  52. package/docs/interfaces/WrappedGenerationParameters.html +6 -6
  53. package/docs/types/PsbtOutputExtended.html +1 -1
  54. package/docs/variables/version.html +1 -1
  55. package/package.json +1 -1
  56. package/src/_version.ts +1 -1
  57. package/src/utils/BitcoinUtils.ts +3 -3
@@ -156,15 +156,15 @@
156
156
  --md-sys-color-surface-container-high: #efe7de;
157
157
  --md-sys-color-surface-container-highest: #e9e1d9
158
158
  }
159
- </style><link rel="stylesheet" href="../assets/material-style.css"/></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">OPNet</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">OPNet</a></li><li><a href="ContractBaseMetadata.html">ContractBaseMetadata</a></li></ul><h1>Class ContractBaseMetadata<code class="tsd-tag ts-flagAbstract">Abstract</code> </h1></div><section class="tsd-panel tsd-hierarchy"><h4>Hierarchy (<a class="link" href="../hierarchy.html#ContractBaseMetadata">view full</a>)</h4><ul class="tsd-hierarchy"><li><span class="target">ContractBaseMetadata</span><ul class="tsd-hierarchy"><li><a href="wBTC.html" class="tsd-signature-type tsd-kind-class">wBTC</a></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/c640351fa3d0b647a1a13b584d73e1066b91ed5c/src/metadata/ContractBaseMetadata.ts#L4">src/metadata/ContractBaseMetadata.ts:4</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="ContractBaseMetadata.html#constructor" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
159
+ </style><link rel="stylesheet" href="../assets/material-style.css"/></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">OPNet</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">OPNet</a></li><li><a href="ContractBaseMetadata.html">ContractBaseMetadata</a></li></ul><h1>Class ContractBaseMetadata<code class="tsd-tag ts-flagAbstract">Abstract</code> </h1></div><section class="tsd-panel tsd-hierarchy"><h4>Hierarchy (<a class="link" href="../hierarchy.html#ContractBaseMetadata">view full</a>)</h4><ul class="tsd-hierarchy"><li><span class="target">ContractBaseMetadata</span><ul class="tsd-hierarchy"><li><a href="wBTC.html" class="tsd-signature-type tsd-kind-class">wBTC</a></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/0218db40fec642fdc75d31f5fce3ea59c2ffd724/src/metadata/ContractBaseMetadata.ts#L4">src/metadata/ContractBaseMetadata.ts:4</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="ContractBaseMetadata.html#constructor" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
160
160
  </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="ContractBaseMetadata.html#address" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>address</span></a>
161
161
  <a href="ContractBaseMetadata.html#network" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>network</span></a>
162
162
  </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="ContractBaseMetadata.html#getAddress" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Address</span></a>
163
163
  <a href="ContractBaseMetadata.html#getAddress-2" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Address</span></a>
164
- </div></section></div></details></section></section><section class="tsd-panel-group tsd-member-group"><h2>Constructors</h2><section class="tsd-panel tsd-member tsd-is-protected"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-protected"><li class="tsd-signature tsd-anchor-link"><a id="constructor.new_ContractBaseMetadata" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new <wbr/>Contract<wbr/>Base<wbr/>Metadata</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">network</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="ContractBaseMetadata.html" class="tsd-signature-type tsd-kind-class">ContractBaseMetadata</a><a href="#constructor.new_ContractBaseMetadata" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">network</span>: <span class="tsd-signature-type">Network</span><span class="tsd-signature-symbol"> = networks.bitcoin</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="ContractBaseMetadata.html" class="tsd-signature-type tsd-kind-class">ContractBaseMetadata</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/c640351fa3d0b647a1a13b584d73e1066b91ed5c/src/metadata/ContractBaseMetadata.ts#L7">src/metadata/ContractBaseMetadata.ts:7</a></li></ul></aside></li></ul></section></section><section class="tsd-panel-group tsd-member-group"><h2>Properties</h2><section class="tsd-panel tsd-member tsd-is-protected"><a id="address" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <code class="tsd-tag ts-flagAbstract">Abstract</code> <span>address</span><a href="#address" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">address</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/c640351fa3d0b647a1a13b584d73e1066b91ed5c/src/metadata/ContractBaseMetadata.ts#L5">src/metadata/ContractBaseMetadata.ts:5</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected"><a id="network" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>network</span><a href="#network" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">network</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Network</span><span class="tsd-signature-symbol"> = networks.bitcoin</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/c640351fa3d0b647a1a13b584d73e1066b91ed5c/src/metadata/ContractBaseMetadata.ts#L7">src/metadata/ContractBaseMetadata.ts:7</a></li></ul></aside></section></section><section class="tsd-panel-group tsd-member-group"><h2>Methods</h2><section class="tsd-panel tsd-member"><a id="getAddress" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Address</span><a href="#getAddress" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getAddress.getAddress-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Address</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#getAddress.getAddress-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><div class="tsd-comment tsd-typography"><h4>Description</h4><p>Get the contract address</p>
165
- </div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/c640351fa3d0b647a1a13b584d73e1066b91ed5c/src/metadata/ContractBaseMetadata.ts#L20">src/metadata/ContractBaseMetadata.ts:20</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getAddress-2" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>get<wbr/>Address</span><a href="#getAddress-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getAddress-2.getAddress-3" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Address</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">network</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#getAddress-2.getAddress-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">network</span>: <span class="tsd-signature-type">Network</span><span class="tsd-signature-symbol"> = networks.bitcoin</span></span><div class="tsd-comment tsd-typography"><p>The network to get the address for</p>
164
+ </div></section></div></details></section></section><section class="tsd-panel-group tsd-member-group"><h2>Constructors</h2><section class="tsd-panel tsd-member tsd-is-protected"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-protected"><li class="tsd-signature tsd-anchor-link"><a id="constructor.new_ContractBaseMetadata" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new <wbr/>Contract<wbr/>Base<wbr/>Metadata</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">network</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="ContractBaseMetadata.html" class="tsd-signature-type tsd-kind-class">ContractBaseMetadata</a><a href="#constructor.new_ContractBaseMetadata" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">network</span>: <span class="tsd-signature-type">Network</span><span class="tsd-signature-symbol"> = networks.bitcoin</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="ContractBaseMetadata.html" class="tsd-signature-type tsd-kind-class">ContractBaseMetadata</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/0218db40fec642fdc75d31f5fce3ea59c2ffd724/src/metadata/ContractBaseMetadata.ts#L7">src/metadata/ContractBaseMetadata.ts:7</a></li></ul></aside></li></ul></section></section><section class="tsd-panel-group tsd-member-group"><h2>Properties</h2><section class="tsd-panel tsd-member tsd-is-protected"><a id="address" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <code class="tsd-tag ts-flagAbstract">Abstract</code> <span>address</span><a href="#address" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">address</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/0218db40fec642fdc75d31f5fce3ea59c2ffd724/src/metadata/ContractBaseMetadata.ts#L5">src/metadata/ContractBaseMetadata.ts:5</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected"><a id="network" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>network</span><a href="#network" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">network</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Network</span><span class="tsd-signature-symbol"> = networks.bitcoin</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/0218db40fec642fdc75d31f5fce3ea59c2ffd724/src/metadata/ContractBaseMetadata.ts#L7">src/metadata/ContractBaseMetadata.ts:7</a></li></ul></aside></section></section><section class="tsd-panel-group tsd-member-group"><h2>Methods</h2><section class="tsd-panel tsd-member"><a id="getAddress" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Address</span><a href="#getAddress" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getAddress.getAddress-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Address</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#getAddress.getAddress-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><div class="tsd-comment tsd-typography"><h4>Description</h4><p>Get the contract address</p>
165
+ </div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/0218db40fec642fdc75d31f5fce3ea59c2ffd724/src/metadata/ContractBaseMetadata.ts#L20">src/metadata/ContractBaseMetadata.ts:20</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getAddress-2" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>get<wbr/>Address</span><a href="#getAddress-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getAddress-2.getAddress-3" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Address</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">network</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#getAddress-2.getAddress-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">network</span>: <span class="tsd-signature-type">Network</span><span class="tsd-signature-symbol"> = networks.bitcoin</span></span><div class="tsd-comment tsd-typography"><p>The network to get the address for</p>
166
166
  </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><div class="tsd-comment tsd-typography"><h4>Description</h4><p>Get the contract address</p>
167
- </div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/c640351fa3d0b647a1a13b584d73e1066b91ed5c/src/metadata/ContractBaseMetadata.ts#L13">src/metadata/ContractBaseMetadata.ts:13</a></li></ul></aside></li></ul></section></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><a href="#constructor" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a><a href="#address" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>address</span></a><a href="#network" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>network</span></a><a href="#getAddress" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Address</span></a><a href="#getAddress-2" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Address</span></a></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>OPNet</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div><script>
167
+ </div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/0218db40fec642fdc75d31f5fce3ea59c2ffd724/src/metadata/ContractBaseMetadata.ts#L13">src/metadata/ContractBaseMetadata.ts:13</a></li></ul></aside></li></ul></section></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><a href="#constructor" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a><a href="#address" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>address</span></a><a href="#network" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>network</span></a><a href="#getAddress" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Address</span></a><a href="#getAddress-2" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Address</span></a></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>OPNet</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div><script>
168
168
  try {
169
169
  const generateLinkElement = document.querySelector(".tsd-generator a");
170
170
  const link = document.createElement("a");
@@ -157,7 +157,7 @@
157
157
  --md-sys-color-surface-container-highest: #e9e1d9
158
158
  }
159
159
  </style><link rel="stylesheet" href="../assets/material-style.css"/></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">OPNet</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">OPNet</a></li><li><a href="DeploymentGenerator.html">DeploymentGenerator</a></li></ul><h1>Class DeploymentGenerator</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>Bitcoin Script Generator</p>
160
- </div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-hierarchy"><h4>Hierarchy (<a class="link" href="../hierarchy.html#DeploymentGenerator">view full</a>)</h4><ul class="tsd-hierarchy"><li><a href="Generator.html" class="tsd-signature-type tsd-kind-class">Generator</a><ul class="tsd-hierarchy"><li><span class="target">DeploymentGenerator</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/c640351fa3d0b647a1a13b584d73e1066b91ed5c/src/generators/builders/DeploymentGenerator.ts#L4">src/generators/builders/DeploymentGenerator.ts:4</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="DeploymentGenerator.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
160
+ </div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-hierarchy"><h4>Hierarchy (<a class="link" href="../hierarchy.html#DeploymentGenerator">view full</a>)</h4><ul class="tsd-hierarchy"><li><a href="Generator.html" class="tsd-signature-type tsd-kind-class">Generator</a><ul class="tsd-hierarchy"><li><span class="target">DeploymentGenerator</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/0218db40fec642fdc75d31f5fce3ea59c2ffd724/src/generators/builders/DeploymentGenerator.ts#L4">src/generators/builders/DeploymentGenerator.ts:4</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="DeploymentGenerator.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
161
161
  </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="DeploymentGenerator.html#contractSaltPubKey" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>contract<wbr/>Salt<wbr/>Pub<wbr/>Key</span></a>
162
162
  <a href="DeploymentGenerator.html#network" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>network</span></a>
163
163
  <a href="DeploymentGenerator.html#senderPubKey" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>sender<wbr/>Pub<wbr/>Key</span></a>
@@ -166,24 +166,24 @@
166
166
  </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="DeploymentGenerator.html#compile" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>compile</span></a>
167
167
  <a href="DeploymentGenerator.html#getAsm" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Asm</span></a>
168
168
  <a href="DeploymentGenerator.html#splitBufferIntoChunks" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>split<wbr/>Buffer<wbr/>Into<wbr/>Chunks</span></a>
169
- </div></section></div></details></section></section><section class="tsd-panel-group tsd-member-group"><h2>Constructors</h2><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="constructor.new_DeploymentGenerator" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new <wbr/>Deployment<wbr/>Generator</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">senderPubKey</span>, <span class="tsd-kind-parameter">contractSaltPubKey</span>, <span class="tsd-kind-parameter">network</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="DeploymentGenerator.html" class="tsd-signature-type tsd-kind-class">DeploymentGenerator</a><a href="#constructor.new_DeploymentGenerator" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">senderPubKey</span>: <span class="tsd-signature-type">Buffer</span></span></li><li><span><span class="tsd-kind-parameter">contractSaltPubKey</span>: <span class="tsd-signature-type">Buffer</span></span></li><li><span><span class="tsd-kind-parameter">network</span>: <span class="tsd-signature-type">Network</span><span class="tsd-signature-symbol"> = networks.bitcoin</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="DeploymentGenerator.html" class="tsd-signature-type tsd-kind-class">DeploymentGenerator</a></h4><aside class="tsd-sources"><p>Overrides <a href="Generator.html">Generator</a>.<a href="Generator.html#constructor">constructor</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/c640351fa3d0b647a1a13b584d73e1066b91ed5c/src/generators/builders/DeploymentGenerator.ts#L5">src/generators/builders/DeploymentGenerator.ts:5</a></li></ul></aside></li></ul></section></section><section class="tsd-panel-group tsd-member-group"><h2>Properties</h2><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="contractSaltPubKey" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>contract<wbr/>Salt<wbr/>Pub<wbr/>Key</span><a href="#contractSaltPubKey" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">contract<wbr/>Salt<wbr/>Pub<wbr/>Key</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Buffer</span></div><div class="tsd-comment tsd-typography"><p>The public key of the contract salt</p>
170
- </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="Generator.html">Generator</a>.<a href="Generator.html#contractSaltPubKey">contractSaltPubKey</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/c640351fa3d0b647a1a13b584d73e1066b91ed5c/src/generators/Generator.ts#L25">src/generators/Generator.ts:25</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="network" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>network</span><a href="#network" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">network</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Network</span><span class="tsd-signature-symbol"> = networks.bitcoin</span></div><div class="tsd-comment tsd-typography"><p>The network to use</p>
171
- </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="Generator.html">Generator</a>.<a href="Generator.html#network">network</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/c640351fa3d0b647a1a13b584d73e1066b91ed5c/src/generators/Generator.ts#L31">src/generators/Generator.ts:31</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="senderPubKey" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>sender<wbr/>Pub<wbr/>Key</span><a href="#senderPubKey" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">sender<wbr/>Pub<wbr/>Key</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Buffer</span></div><div class="tsd-comment tsd-typography"><p>The public key of the sender</p>
172
- </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="Generator.html">Generator</a>.<a href="Generator.html#senderPubKey">senderPubKey</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/c640351fa3d0b647a1a13b584d73e1066b91ed5c/src/generators/Generator.ts#L19">src/generators/Generator.ts:19</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="DATA_CHUNK_SIZE" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>DATA_<wbr/>CHUNK_<wbr/>SIZE</span><a href="#DATA_CHUNK_SIZE" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">DATA_<wbr/>CHUNK_<wbr/>SIZE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 512</span></div><div class="tsd-comment tsd-typography"><p>The maximum size of a data chunk</p>
173
- </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="Generator.html">Generator</a>.<a href="Generator.html#DATA_CHUNK_SIZE">DATA_CHUNK_SIZE</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/c640351fa3d0b647a1a13b584d73e1066b91ed5c/src/generators/Generator.ts#L8">src/generators/Generator.ts:8</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="MAGIC" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>MAGIC</span><a href="#MAGIC" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">MAGIC</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol"> = ...</span></div><div class="tsd-comment tsd-typography"><p>The magic number of OPNet</p>
174
- </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="Generator.html">Generator</a>.<a href="Generator.html#MAGIC">MAGIC</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/c640351fa3d0b647a1a13b584d73e1066b91ed5c/src/generators/Generator.ts#L13">src/generators/Generator.ts:13</a></li></ul></aside></section></section><section class="tsd-panel-group tsd-member-group"><h2>Methods</h2><section class="tsd-panel tsd-member"><a id="compile" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>compile</span><a href="#compile" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="compile.compile-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">compile</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">contractBytecode</span>, <span class="tsd-kind-parameter">contractSalt</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Buffer</span><a href="#compile.compile-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Compile a bitcoin script representing a contract deployment</p>
169
+ </div></section></div></details></section></section><section class="tsd-panel-group tsd-member-group"><h2>Constructors</h2><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="constructor.new_DeploymentGenerator" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new <wbr/>Deployment<wbr/>Generator</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">senderPubKey</span>, <span class="tsd-kind-parameter">contractSaltPubKey</span>, <span class="tsd-kind-parameter">network</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="DeploymentGenerator.html" class="tsd-signature-type tsd-kind-class">DeploymentGenerator</a><a href="#constructor.new_DeploymentGenerator" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">senderPubKey</span>: <span class="tsd-signature-type">Buffer</span></span></li><li><span><span class="tsd-kind-parameter">contractSaltPubKey</span>: <span class="tsd-signature-type">Buffer</span></span></li><li><span><span class="tsd-kind-parameter">network</span>: <span class="tsd-signature-type">Network</span><span class="tsd-signature-symbol"> = networks.bitcoin</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="DeploymentGenerator.html" class="tsd-signature-type tsd-kind-class">DeploymentGenerator</a></h4><aside class="tsd-sources"><p>Overrides <a href="Generator.html">Generator</a>.<a href="Generator.html#constructor">constructor</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/0218db40fec642fdc75d31f5fce3ea59c2ffd724/src/generators/builders/DeploymentGenerator.ts#L5">src/generators/builders/DeploymentGenerator.ts:5</a></li></ul></aside></li></ul></section></section><section class="tsd-panel-group tsd-member-group"><h2>Properties</h2><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="contractSaltPubKey" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>contract<wbr/>Salt<wbr/>Pub<wbr/>Key</span><a href="#contractSaltPubKey" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">contract<wbr/>Salt<wbr/>Pub<wbr/>Key</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Buffer</span></div><div class="tsd-comment tsd-typography"><p>The public key of the contract salt</p>
170
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="Generator.html">Generator</a>.<a href="Generator.html#contractSaltPubKey">contractSaltPubKey</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/0218db40fec642fdc75d31f5fce3ea59c2ffd724/src/generators/Generator.ts#L25">src/generators/Generator.ts:25</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="network" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>network</span><a href="#network" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">network</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Network</span><span class="tsd-signature-symbol"> = networks.bitcoin</span></div><div class="tsd-comment tsd-typography"><p>The network to use</p>
171
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="Generator.html">Generator</a>.<a href="Generator.html#network">network</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/0218db40fec642fdc75d31f5fce3ea59c2ffd724/src/generators/Generator.ts#L31">src/generators/Generator.ts:31</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="senderPubKey" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>sender<wbr/>Pub<wbr/>Key</span><a href="#senderPubKey" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">sender<wbr/>Pub<wbr/>Key</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Buffer</span></div><div class="tsd-comment tsd-typography"><p>The public key of the sender</p>
172
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="Generator.html">Generator</a>.<a href="Generator.html#senderPubKey">senderPubKey</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/0218db40fec642fdc75d31f5fce3ea59c2ffd724/src/generators/Generator.ts#L19">src/generators/Generator.ts:19</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="DATA_CHUNK_SIZE" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>DATA_<wbr/>CHUNK_<wbr/>SIZE</span><a href="#DATA_CHUNK_SIZE" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">DATA_<wbr/>CHUNK_<wbr/>SIZE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 512</span></div><div class="tsd-comment tsd-typography"><p>The maximum size of a data chunk</p>
173
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="Generator.html">Generator</a>.<a href="Generator.html#DATA_CHUNK_SIZE">DATA_CHUNK_SIZE</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/0218db40fec642fdc75d31f5fce3ea59c2ffd724/src/generators/Generator.ts#L8">src/generators/Generator.ts:8</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="MAGIC" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>MAGIC</span><a href="#MAGIC" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">MAGIC</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol"> = ...</span></div><div class="tsd-comment tsd-typography"><p>The magic number of OPNet</p>
174
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="Generator.html">Generator</a>.<a href="Generator.html#MAGIC">MAGIC</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/0218db40fec642fdc75d31f5fce3ea59c2ffd724/src/generators/Generator.ts#L13">src/generators/Generator.ts:13</a></li></ul></aside></section></section><section class="tsd-panel-group tsd-member-group"><h2>Methods</h2><section class="tsd-panel tsd-member"><a id="compile" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>compile</span><a href="#compile" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="compile.compile-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">compile</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">contractBytecode</span>, <span class="tsd-kind-parameter">contractSalt</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Buffer</span><a href="#compile.compile-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Compile a bitcoin script representing a contract deployment</p>
175
175
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">contractBytecode</span>: <span class="tsd-signature-type">Buffer</span></span><div class="tsd-comment tsd-typography"><p>The contract bytecode</p>
176
176
  </div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">contractSalt</span>: <span class="tsd-signature-type">Buffer</span></span><div class="tsd-comment tsd-typography"><p>The contract salt</p>
177
177
  </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Buffer</span></h4><ul>
178
178
  <li>The compiled script</li>
179
179
  </ul>
180
- <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Overrides <a href="Generator.html">Generator</a>.<a href="Generator.html#compile">compile</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/c640351fa3d0b647a1a13b584d73e1066b91ed5c/src/generators/builders/DeploymentGenerator.ts#L19">src/generators/builders/DeploymentGenerator.ts:19</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-private"><a id="getAsm" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>get<wbr/>Asm</span><a href="#getAsm" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-private"><li class="tsd-signature tsd-anchor-link"><a id="getAsm.getAsm-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Asm</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">contractBytecode</span>, <span class="tsd-kind-parameter">contractSalt</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span><a href="#getAsm.getAsm-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">contractBytecode</span>: <span class="tsd-signature-type">Buffer</span></span></li><li><span><span class="tsd-kind-parameter">contractSalt</span>: <span class="tsd-signature-type">Buffer</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/c640351fa3d0b647a1a13b584d73e1066b91ed5c/src/generators/builders/DeploymentGenerator.ts#L34">src/generators/builders/DeploymentGenerator.ts:34</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="splitBufferIntoChunks" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>split<wbr/>Buffer<wbr/>Into<wbr/>Chunks</span><a href="#splitBufferIntoChunks" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-protected tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="splitBufferIntoChunks.splitBufferIntoChunks-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">split<wbr/>Buffer<wbr/>Into<wbr/>Chunks</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">buffer</span>, <span class="tsd-kind-parameter">chunkSize</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><a href="#splitBufferIntoChunks.splitBufferIntoChunks-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><code class="tsd-tag ts-flagProtected">Protected</code> <div class="tsd-comment tsd-typography"><p>Split a buffer into chunks</p>
180
+ <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Overrides <a href="Generator.html">Generator</a>.<a href="Generator.html#compile">compile</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/0218db40fec642fdc75d31f5fce3ea59c2ffd724/src/generators/builders/DeploymentGenerator.ts#L19">src/generators/builders/DeploymentGenerator.ts:19</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-private"><a id="getAsm" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>get<wbr/>Asm</span><a href="#getAsm" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-private"><li class="tsd-signature tsd-anchor-link"><a id="getAsm.getAsm-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Asm</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">contractBytecode</span>, <span class="tsd-kind-parameter">contractSalt</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span><a href="#getAsm.getAsm-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">contractBytecode</span>: <span class="tsd-signature-type">Buffer</span></span></li><li><span><span class="tsd-kind-parameter">contractSalt</span>: <span class="tsd-signature-type">Buffer</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/0218db40fec642fdc75d31f5fce3ea59c2ffd724/src/generators/builders/DeploymentGenerator.ts#L34">src/generators/builders/DeploymentGenerator.ts:34</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="splitBufferIntoChunks" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>split<wbr/>Buffer<wbr/>Into<wbr/>Chunks</span><a href="#splitBufferIntoChunks" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-protected tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="splitBufferIntoChunks.splitBufferIntoChunks-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">split<wbr/>Buffer<wbr/>Into<wbr/>Chunks</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">buffer</span>, <span class="tsd-kind-parameter">chunkSize</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><a href="#splitBufferIntoChunks.splitBufferIntoChunks-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><code class="tsd-tag ts-flagProtected">Protected</code> <div class="tsd-comment tsd-typography"><p>Split a buffer into chunks</p>
181
181
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">buffer</span>: <span class="tsd-signature-type">Buffer</span></span><div class="tsd-comment tsd-typography"><p>The buffer to split</p>
182
182
  </div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">chunkSize</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = Generator.DATA_CHUNK_SIZE</span></span><div class="tsd-comment tsd-typography"><p>The size of each chunk</p>
183
183
  </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span></h4><ul>
184
184
  <li>The chunks</li>
185
185
  </ul>
186
- <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="Generator.html">Generator</a>.<a href="Generator.html#splitBufferIntoChunks">splitBufferIntoChunks</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/c640351fa3d0b647a1a13b584d73e1066b91ed5c/src/generators/Generator.ts#L57">src/generators/Generator.ts:57</a></li></ul></aside></li></ul></section></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a><a href="#contractSaltPubKey" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>contract<wbr/>Salt<wbr/>Pub<wbr/>Key</span></a><a href="#network" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>network</span></a><a href="#senderPubKey" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>sender<wbr/>Pub<wbr/>Key</span></a><a href="#DATA_CHUNK_SIZE" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>DATA_<wbr/>CHUNK_<wbr/>SIZE</span></a><a href="#MAGIC" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>MAGIC</span></a><a href="#compile" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>compile</span></a><a href="#getAsm" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Asm</span></a><a href="#splitBufferIntoChunks" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>split<wbr/>Buffer<wbr/>Into<wbr/>Chunks</span></a></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>OPNet</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div><script>
186
+ <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="Generator.html">Generator</a>.<a href="Generator.html#splitBufferIntoChunks">splitBufferIntoChunks</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/0218db40fec642fdc75d31f5fce3ea59c2ffd724/src/generators/Generator.ts#L57">src/generators/Generator.ts:57</a></li></ul></aside></li></ul></section></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a><a href="#contractSaltPubKey" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>contract<wbr/>Salt<wbr/>Pub<wbr/>Key</span></a><a href="#network" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>network</span></a><a href="#senderPubKey" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>sender<wbr/>Pub<wbr/>Key</span></a><a href="#DATA_CHUNK_SIZE" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>DATA_<wbr/>CHUNK_<wbr/>SIZE</span></a><a href="#MAGIC" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>MAGIC</span></a><a href="#compile" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>compile</span></a><a href="#getAsm" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Asm</span></a><a href="#splitBufferIntoChunks" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>split<wbr/>Buffer<wbr/>Into<wbr/>Chunks</span></a></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>OPNet</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div><script>
187
187
  try {
188
188
  const generateLinkElement = document.querySelector(".tsd-generator a");
189
189
  const link = document.createElement("a");