UNPKG

@truffle/codec

Version:

Library for encoding and decoding smart contract data

777 lines 119 kB
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ContractInstanceDecoder | Truffle Decoding and Encoding</title><meta name="description" content="Documentation for Truffle Decoding and Encoding"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</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"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></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">Truffle Decoding and Encoding</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"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></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="../index.html">Truffle Decoding and Encoding</a></li>
<li><a href="../modules/decoder_lib.html">decoder/lib</a></li>
<li><a href="decoder_lib.ContractInstanceDecoder.html">ContractInstanceDecoder</a></li></ul>
<h1>Class ContractInstanceDecoder</h1></div>
<section class="tsd-panel tsd-comment">
<div class="tsd-comment tsd-typography"><p>The ContractInstanceDecoder class.  Decodes storage for a specified
instance.  Also, decodes transactions, logs, and return values.  See below
for a method listing.</p>
<p>Note that when using this class to decode transactions, logs, and return
values, it does have one advantage over using the ProjectDecoder or
ContractDecoder.  If the artifact for the class does not have a
deployedBytecode field, the ProjectDecoder (and therefore also the
ContractDecoder) will not be able to tell that this instance is of that
class, and so will fail to decode transactions sent to it or logs
originating from it, and will fall back to ABI mode when decoding return
values received from it.  However, the ContractInstanceDecoder has that
information and will make use of it, making it possible for it to decode
transactions sent to this instance, or logs originating from it, or decode
return values received from it in full mode, even if the deployedBytecode
field is missing.</p>
</div>
<div class="tsd-comment tsd-typography"></div></section>
<section class="tsd-panel tsd-hierarchy">
<h4>Hierarchy</h4>
<ul class="tsd-hierarchy">
<li><span class="target">ContractInstanceDecoder</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L1846">decoder/lib/decoders.ts:1846</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"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></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="decoder_lib.ContractInstanceDecoder.html#constructor" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-512"><rect fill="var(--color-icon-background)" stroke="#4D7FFF" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)"></path></g></svg><span>constructor</span></a>
</div></section>
<section class="tsd-index-section">
<h3 class="tsd-index-heading">Properties</h3>
<div class="tsd-index-list"><a href="decoder_lib.ContractInstanceDecoder.html#additionalContexts" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-1024"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g></svg><span>additional<wbr/>Contexts</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#allocations" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>allocations</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#compilation" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>compilation</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#compiler" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>compiler</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#contextHash" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>context<wbr/>Hash</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#contexts" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>contexts</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#contract" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>contract</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#contractAddress" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>contract<wbr/>Address</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#contractCode" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>contract<wbr/>Code</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#contractDecoder" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>contract<wbr/>Decoder</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#contractNetwork" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>contract<wbr/>Network</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#contractNode" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>contract<wbr/>Node</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#encoder" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>encoder</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#internalFunctionsTable" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>internal<wbr/>Functions<wbr/>Table</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#internalFunctionsTableKind" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>internal<wbr/>Functions<wbr/>Table<wbr/>Kind</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#mappingKeys" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>mapping<wbr/>Keys</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#projectDecoder" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>project<wbr/>Decoder</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#providerAdapter" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>provider<wbr/>Adapter</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#referenceDeclarations" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>reference<wbr/>Declarations</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#stateVariableReferences" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>state<wbr/>Variable<wbr/>References</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#storageCache" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>storage<wbr/>Cache</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#userDefinedTypes" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>user<wbr/>Defined<wbr/>Types</span></a>
</div></section>
<section class="tsd-index-section">
<h3 class="tsd-index-heading">Accessors</h3>
<div class="tsd-index-list"><a href="decoder_lib.ContractInstanceDecoder.html#context" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-262144"><rect fill="var(--color-icon-background)" stroke="#FF4D4D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M8.85 16L11.13 7.24H12.582L14.85 16H13.758L13.182 13.672H10.53L9.954 16H8.85ZM10.746 12.76H12.954L12.282 10.06C12.154 9.548 12.054 9.12 11.982 8.776C11.91 8.432 11.866 8.208 11.85 8.104C11.834 8.208 11.79 8.432 11.718 8.776C11.646 9.12 11.546 9.544 11.418 10.048L10.746 12.76Z" fill="var(--color-text)"></path></g></svg><span>context</span></a>
</div></section>
<section class="tsd-index-section">
<h3 class="tsd-index-heading">Methods</h3>
<div class="tsd-index-list"><a href="decoder_lib.ContractInstanceDecoder.html#abifyCalldataDecoding" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-2048"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)"></path></g></svg><span>abify<wbr/>Calldata<wbr/>Decoding</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#abifyLogDecoding" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>abify<wbr/>Log<wbr/>Decoding</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#abifyReturndataDecoding" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>abify<wbr/>Returndata<wbr/>Decoding</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#checkAllocationSuccess" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>check<wbr/>Allocation<wbr/>Success</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#constructSlot" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>construct<wbr/>Slot</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#decodeLog" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>decode<wbr/>Log</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#decodeReturnValue" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>decode<wbr/>Return<wbr/>Value</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#decodeTransaction" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>decode<wbr/>Transaction</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#decodeVariable" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>decode<wbr/>Variable</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#events" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>events</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#findVariableByNameOrId" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>find<wbr/>Variable<wbr/>By<wbr/>Name<wbr/>Or<wbr/>Id</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#getCode" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>get<wbr/>Code</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#getStorage" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>get<wbr/>Storage</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#init" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>init</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#regularizeBlock" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>regularize<wbr/>Block</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#reverseEnsResolve" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>reverse<wbr/>Ens<wbr/>Resolve</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#state" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>state</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#unwatchMappingKey" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>unwatch<wbr/>Mapping<wbr/>Key</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#variable" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>variable</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#variables" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>variables</span></a>
<a href="decoder_lib.ContractInstanceDecoder.html#watchMappingKey" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>watch<wbr/>Mapping<wbr/>Key</span></a>
</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"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
<li class="tsd-signature tsd-anchor-link" id="constructor.new_ContractInstanceDecoder"><span class="tsd-kind-constructor-signature">new <wbr/>Contract<wbr/>Instance<wbr/>Decoder</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">contractDecoder</span>, <span class="tsd-kind-parameter">address</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="decoder_lib.ContractInstanceDecoder.html" class="tsd-signature-type tsd-kind-class">ContractInstanceDecoder</a><a href="#constructor.new_ContractInstanceDecoder" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description"><code class="tsd-tag ts-flagProtected">Protected</code> 
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5><span class="tsd-kind-parameter">contractDecoder</span>: <a href="decoder_lib.ContractDecoder.html" class="tsd-signature-type tsd-kind-class">ContractDecoder</a></h5></li>
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">address</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="decoder_lib.ContractInstanceDecoder.html" class="tsd-signature-type tsd-kind-class">ContractInstanceDecoder</a></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L1880">decoder/lib/decoders.ts:1880</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-private"><a id="additionalContexts" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>additional<wbr/>Contexts</span><a href="#additionalContexts" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">additional<wbr/>Contexts</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/_truffle_codec.Contexts.Contexts.html" class="tsd-signature-type tsd-kind-interface">Contexts</a><span class="tsd-signature-symbol"> = {}</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L1859">decoder/lib/decoders.ts:1859</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="allocations" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>allocations</span><a href="#allocations" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">allocations</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/_truffle_codec.Evm.AllocationInfo.html" class="tsd-signature-type tsd-kind-interface">AllocationInfo</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L1863">decoder/lib/decoders.ts:1863</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="compilation" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>compilation</span><a href="#compilation" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">compilation</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/_truffle_codec.Compilations.Compilation.html" class="tsd-signature-type tsd-kind-interface">Compilation</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L1849">decoder/lib/decoders.ts:1849</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="compiler" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>compiler</span><a href="#compiler" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">compiler</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/_truffle_codec.Compiler.CompilerVersion.html" class="tsd-signature-type tsd-kind-interface">CompilerVersion</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L1856">decoder/lib/decoders.ts:1856</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="contextHash" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>context<wbr/>Hash</span><a href="#contextHash" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">context<wbr/>Hash</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/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L1855">decoder/lib/decoders.ts:1855</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="contexts" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>contexts</span><a href="#contexts" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">contexts</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/_truffle_codec.Contexts.Contexts.html" class="tsd-signature-type tsd-kind-interface">Contexts</a><span class="tsd-signature-symbol"> = {}</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L1858">decoder/lib/decoders.ts:1858</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="contract" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>contract</span><a href="#contract" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">contract</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/_truffle_codec.Compilations.Contract.html" class="tsd-signature-type tsd-kind-interface">Contract</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L1850">decoder/lib/decoders.ts:1850</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="contractAddress" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>contract<wbr/>Address</span><a href="#contractAddress" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">contract<wbr/>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/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L1853">decoder/lib/decoders.ts:1853</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="contractCode" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>contract<wbr/>Code</span><a href="#contractCode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">contract<wbr/>Code</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/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L1854">decoder/lib/decoders.ts:1854</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="contractDecoder" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>contract<wbr/>Decoder</span><a href="#contractDecoder" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">contract<wbr/>Decoder</span><span class="tsd-signature-symbol">:</span> <a href="decoder_lib.ContractDecoder.html" class="tsd-signature-type tsd-kind-class">ContractDecoder</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L1873">decoder/lib/decoders.ts:1873</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="contractNetwork" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>contract<wbr/>Network</span><a href="#contractNetwork" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">contract<wbr/>Network</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L1852">decoder/lib/decoders.ts:1852</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="contractNode" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>contract<wbr/>Node</span><a href="#contractNode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">contract<wbr/>Node</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/_truffle_codec.Ast.AstNode.html" class="tsd-signature-type tsd-kind-interface">AstNode</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L1851">decoder/lib/decoders.ts:1851</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="encoder" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>encoder</span><a href="#encoder" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">encoder</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">ProjectEncoder</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L1875">decoder/lib/decoders.ts:1875</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="internalFunctionsTable" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>internal<wbr/>Functions<wbr/>Table</span><a href="#internalFunctionsTable" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">internal<wbr/>Functions<wbr/>Table</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/_truffle_codec.Evm.InternalFunctions.html" class="tsd-signature-type tsd-kind-interface">InternalFunctions</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L1866">decoder/lib/decoders.ts:1866</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="internalFunctionsTableKind" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>internal<wbr/>Functions<wbr/>Table<wbr/>Kind</span><a href="#internalFunctionsTableKind" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">internal<wbr/>Functions<wbr/>Table<wbr/>Kind</span><span class="tsd-signature-symbol">:</span> <a href="../types/_truffle_codec.Evm.InternalFunctionsTableKind.html" class="tsd-signature-type tsd-kind-type-alias">InternalFunctionsTableKind</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L1867">decoder/lib/decoders.ts:1867</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="mappingKeys" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>mapping<wbr/>Keys</span><a href="#mappingKeys" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">mapping<wbr/>Keys</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/_truffle_codec.Storage.Slot.html" class="tsd-signature-type tsd-kind-interface">Slot</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L1869">decoder/lib/decoders.ts:1869</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="projectDecoder" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>project<wbr/>Decoder</span><a href="#projectDecoder" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">project<wbr/>Decoder</span><span class="tsd-signature-symbol">:</span> <a href="decoder_lib.ProjectDecoder.html" class="tsd-signature-type tsd-kind-class">ProjectDecoder</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L1874">decoder/lib/decoders.ts:1874</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="providerAdapter" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>provider<wbr/>Adapter</span><a href="#providerAdapter" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">provider<wbr/>Adapter</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">ProviderAdapter</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L1847">decoder/lib/decoders.ts:1847</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="referenceDeclarations" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>reference<wbr/>Declarations</span><a href="#referenceDeclarations" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">reference<wbr/>Declarations</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span>    </span>[<span class="tsd-kind-index-signature">compilationId</span>: <span class="tsd-signature-type">string</span>]<span class="tsd-signature-symbol">: </span><a href="../interfaces/_truffle_codec.Ast.AstNodes.html" class="tsd-signature-type tsd-kind-interface">AstNodes</a><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></div>
<div class="tsd-type-declaration">
<h4>Type declaration</h4>
<ul class="tsd-parameters">
<li class="tsd-parameter-index-signature">
<h5><span class="tsd-signature-symbol">[</span><span class="tsd-kind-parameter">compilationId</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><a href="../interfaces/_truffle_codec.Ast.AstNodes.html" class="tsd-signature-type tsd-kind-interface">AstNodes</a></h5></li></ul></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L1861">decoder/lib/decoders.ts:1861</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="stateVariableReferences" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>state<wbr/>Variable<wbr/>References</span><a href="#stateVariableReferences" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">state<wbr/>Variable<wbr/>References</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/_truffle_codec.Storage.Allocate.StateVariableAllocation.html" class="tsd-signature-type tsd-kind-interface">StateVariableAllocation</a><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L1865">decoder/lib/decoders.ts:1865</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="storageCache" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>storage<wbr/>Cache</span><a href="#storageCache" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">storage<wbr/>Cache</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">StorageCache</span><span class="tsd-signature-symbol"> = {}</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L1871">decoder/lib/decoders.ts:1871</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="userDefinedTypes" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>user<wbr/>Defined<wbr/>Types</span><a href="#userDefinedTypes" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">user<wbr/>Defined<wbr/>Types</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/_truffle_codec.Format.Types.TypesById.html" class="tsd-signature-type tsd-kind-interface">TypesById</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L1862">decoder/lib/decoders.ts:1862</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member tsd-is-private"><a id="context" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>context</span><a href="#context" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private">
<li class="tsd-signature" id="context.context-1"><span class="tsd-signature-symbol">get</span> context<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_truffle_codec.Contexts.Context.html" class="tsd-signature-type tsd-kind-interface">Context</a></li>
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <a href="../interfaces/_truffle_codec.Contexts.Context.html" class="tsd-signature-type tsd-kind-interface">Context</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L2097">decoder/lib/decoders.ts:2097</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member"><a id="abifyCalldataDecoding" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>abify<wbr/>Calldata<wbr/>Decoding</span><a href="#abifyCalldataDecoding" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
<li class="tsd-signature tsd-anchor-link" id="abifyCalldataDecoding.abifyCalldataDecoding-1"><span class="tsd-kind-call-signature">abify<wbr/>Calldata<wbr/>Decoding</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">decoding</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../types/_truffle_codec.CalldataDecoding.html" class="tsd-signature-type tsd-kind-type-alias">CalldataDecoding</a><a href="#abifyCalldataDecoding.abifyCalldataDecoding-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>See [[ProjectDecoder.abifyCalldataDecoding]].</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5><span class="tsd-kind-parameter">decoding</span>: <a href="../types/_truffle_codec.CalldataDecoding.html" class="tsd-signature-type tsd-kind-type-alias">CalldataDecoding</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../types/_truffle_codec.CalldataDecoding.html" class="tsd-signature-type tsd-kind-type-alias">CalldataDecoding</a></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L2537">decoder/lib/decoders.ts:2537</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="abifyLogDecoding" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>abify<wbr/>Log<wbr/>Decoding</span><a href="#abifyLogDecoding" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
<li class="tsd-signature tsd-anchor-link" id="abifyLogDecoding.abifyLogDecoding-1"><span class="tsd-kind-call-signature">abify<wbr/>Log<wbr/>Decoding</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">decoding</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../types/_truffle_codec.LogDecoding.html" class="tsd-signature-type tsd-kind-type-alias">LogDecoding</a><a href="#abifyLogDecoding.abifyLogDecoding-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>See [[ProjectDecoder.abifyLogDecoding]].</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5><span class="tsd-kind-parameter">decoding</span>: <a href="../types/_truffle_codec.LogDecoding.html" class="tsd-signature-type tsd-kind-type-alias">LogDecoding</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../types/_truffle_codec.LogDecoding.html" class="tsd-signature-type tsd-kind-type-alias">LogDecoding</a></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L2544">decoder/lib/decoders.ts:2544</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="abifyReturndataDecoding" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>abify<wbr/>Returndata<wbr/>Decoding</span><a href="#abifyReturndataDecoding" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
<li class="tsd-signature tsd-anchor-link" id="abifyReturndataDecoding.abifyReturndataDecoding-1"><span class="tsd-kind-call-signature">abify<wbr/>Returndata<wbr/>Decoding</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">decoding</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../types/_truffle_codec.ReturndataDecoding.html" class="tsd-signature-type tsd-kind-type-alias">ReturndataDecoding</a><a href="#abifyReturndataDecoding.abifyReturndataDecoding-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>See [[ProjectDecoder.abifyReturndataDecoding]].</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5><span class="tsd-kind-parameter">decoding</span>: <a href="../types/_truffle_codec.ReturndataDecoding.html" class="tsd-signature-type tsd-kind-type-alias">ReturndataDecoding</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../types/_truffle_codec.ReturndataDecoding.html" class="tsd-signature-type tsd-kind-type-alias">ReturndataDecoding</a></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L2551">decoder/lib/decoders.ts:2551</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="checkAllocationSuccess" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>check<wbr/>Allocation<wbr/>Success</span><a href="#checkAllocationSuccess" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private">
<li class="tsd-signature tsd-anchor-link" id="checkAllocationSuccess.checkAllocationSuccess-1"><span class="tsd-kind-call-signature">check<wbr/>Allocation<wbr/>Success</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#checkAllocationSuccess.checkAllocationSuccess-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L2101">decoder/lib/decoders.ts:2101</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="constructSlot" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>construct<wbr/>Slot</span><a href="#constructSlot" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private">
<li class="tsd-signature tsd-anchor-link" id="constructSlot.constructSlot-1"><span class="tsd-kind-call-signature">construct<wbr/>Slot</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">variable</span>, <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">indices</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{ </span><br/><span>    </span><span class="tsd-kind-property">slot</span><span class="tsd-signature-symbol">?: </span><a href="../interfaces/_truffle_codec.Storage.Slot.html" class="tsd-signature-type tsd-kind-interface">Slot</a><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">type</span><span class="tsd-signature-symbol">?: </span><a href="../types/_truffle_codec.Format.Types.Type.html" class="tsd-signature-type tsd-kind-type-alias">Type</a><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">&gt;</span><a href="#constructSlot.constructSlot-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#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>
<h5><span class="tsd-kind-parameter">variable</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h5></li>
<li>
<h5><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">indices</span>: <span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{ </span><br/><span>    </span><span class="tsd-kind-property">slot</span><span class="tsd-signature-symbol">?: </span><a href="../interfaces/_truffle_codec.Storage.Slot.html" class="tsd-signature-type tsd-kind-interface">Slot</a><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">type</span><span class="tsd-signature-symbol">?: </span><a href="../types/_truffle_codec.Format.Types.Type.html" class="tsd-signature-type tsd-kind-type-alias">Type</a><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L2585">decoder/lib/decoders.ts:2585</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="decodeLog" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>decode<wbr/>Log</span><a href="#decodeLog" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
<li class="tsd-signature tsd-anchor-link" id="decodeLog.decodeLog-1"><span class="tsd-kind-call-signature">decode<wbr/>Log</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">log</span>, <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_truffle_codec.LogDecoding.html" class="tsd-signature-type tsd-kind-type-alias">LogDecoding</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#decodeLog.decodeLog-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p><strong>This method is asynchronous.</strong></p>
<p>See [[ProjectDecoder.decodeLog]].</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5><span class="tsd-kind-parameter">log</span>: <a href="../interfaces/decoder_lib.Log.html" class="tsd-signature-type tsd-kind-interface">Log</a></h5></li>
<li>
<h5><span class="tsd-kind-parameter">options</span>: <a href="../interfaces/decoder_lib.DecodeLogOptions.html" class="tsd-signature-type tsd-kind-interface">DecodeLogOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_truffle_codec.LogDecoding.html" class="tsd-signature-type tsd-kind-type-alias">LogDecoding</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L2501">decoder/lib/decoders.ts:2501</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="decodeReturnValue" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>decode<wbr/>Return<wbr/>Value</span><a href="#decodeReturnValue" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
<li class="tsd-signature tsd-anchor-link" id="decodeReturnValue.decodeReturnValue-1"><span class="tsd-kind-call-signature">decode<wbr/>Return<wbr/>Value</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">abi</span>, <span class="tsd-kind-parameter">data</span>, <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_truffle_codec.ReturndataDecoding.html" class="tsd-signature-type tsd-kind-type-alias">ReturndataDecoding</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#decodeReturnValue.decodeReturnValue-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p><strong>This method is asynchronous.</strong></p>
<p>See [[ContractDecoder.decodeReturnValue]].</p>
<p>If the contract artifact is missing its bytecode, using this method,
rather than the one in [[ContractDecoder]], can sometimes provide
additional decoding information.</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5><span class="tsd-kind-parameter">abi</span>: <span class="tsd-signature-type ">FunctionEntry</span></h5></li>
<li>
<h5><span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type">string</span></h5></li>
<li>
<h5><span class="tsd-kind-parameter">options</span>: <a href="../interfaces/decoder_lib.ReturnOptions.html" class="tsd-signature-type tsd-kind-interface">ReturnOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_truffle_codec.ReturndataDecoding.html" class="tsd-signature-type tsd-kind-type-alias">ReturndataDecoding</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L2521">decoder/lib/decoders.ts:2521</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="decodeTransaction" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>decode<wbr/>Transaction</span><a href="#decodeTransaction" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
<li class="tsd-signature tsd-anchor-link" id="decodeTransaction.decodeTransaction-1"><span class="tsd-kind-call-signature">decode<wbr/>Transaction</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">transaction</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_truffle_codec.CalldataDecoding.html" class="tsd-signature-type tsd-kind-type-alias">CalldataDecoding</a><span class="tsd-signature-symbol">&gt;</span><a href="#decodeTransaction.decodeTransaction-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p><strong>This method is asynchronous.</strong></p>
<p>Behaves mostly as [[ProjectDecoder.decodeTransaction]].  However, it is
capable of more robustly decoding transactions that were sent to this
particular instance.</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5><span class="tsd-kind-parameter">transaction</span>: <a href="../interfaces/decoder_lib.Transaction.html" class="tsd-signature-type tsd-kind-interface">Transaction</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_truffle_codec.CalldataDecoding.html" class="tsd-signature-type tsd-kind-type-alias">CalldataDecoding</a><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L2486">decoder/lib/decoders.ts:2486</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="decodeVariable" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>decode<wbr/>Variable</span><a href="#decodeVariable" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private">
<li class="tsd-signature tsd-anchor-link" id="decodeVariable.decodeVariable-1"><span class="tsd-kind-call-signature">decode<wbr/>Variable</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">variable</span>, <span class="tsd-kind-parameter">block</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_truffle_codec.StateVariable.html" class="tsd-signature-type tsd-kind-interface">StateVariable</a><span class="tsd-signature-symbol">&gt;</span><a href="#decodeVariable.decodeVariable-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#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>
<h5><span class="tsd-kind-parameter">variable</span>: <a href="../interfaces/_truffle_codec.Storage.Allocate.StateVariableAllocation.html" class="tsd-signature-type tsd-kind-interface">StateVariableAllocation</a></h5></li>
<li>
<h5><span class="tsd-kind-parameter">block</span>: <span class="tsd-signature-type ">RegularizedBlockSpecifier</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_truffle_codec.StateVariable.html" class="tsd-signature-type tsd-kind-interface">StateVariable</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L2117">decoder/lib/decoders.ts:2117</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="events" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>events</span><a href="#events" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
<li class="tsd-signature tsd-anchor-link" id="events.events-1"><span class="tsd-kind-call-signature">events</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/decoder_lib.DecodedLog.html" class="tsd-signature-type tsd-kind-interface">DecodedLog</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#events.events-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p><strong>This method is asynchronous.</strong></p>
<p>This mostly behaves as [[ProjectDecoder.events]].
However, unlike other variants of this function, this one, by default, restricts to events originating from this instance&#39;s address.
If you don&#39;t want to restrict like that, you can explicitly use <code>address: undefined</code> in the options to disable this.
(You can also of course set a different address to restrict to that.)</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5><span class="tsd-kind-parameter">options</span>: <a href="../interfaces/decoder_lib.EventOptions.html" class="tsd-signature-type tsd-kind-interface">EventOptions</a><span class="tsd-signature-symbol"> = {}</span></h5>
<div class="tsd-comment tsd-typography"><p>Used to determine what events to fetch; see the documentation on the [[EventOptions]] type for more.</p>
</div>
<div class="tsd-comment tsd-typography"></div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/decoder_lib.DecodedLog.html" class="tsd-signature-type tsd-kind-interface">DecodedLog</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L2566">decoder/lib/decoders.ts:2566</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="findVariableByNameOrId" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>find<wbr/>Variable<wbr/>By<wbr/>Name<wbr/>Or<wbr/>Id</span><a href="#findVariableByNameOrId" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private">
<li class="tsd-signature tsd-anchor-link" id="findVariableByNameOrId.findVariableByNameOrId-1"><span class="tsd-kind-call-signature">find<wbr/>Variable<wbr/>By<wbr/>Name<wbr/>Or<wbr/>Id</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">nameOrId</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_truffle_codec.Storage.Allocate.StateVariableAllocation.html" class="tsd-signature-type tsd-kind-interface">StateVariableAllocation</a><a href="#findVariableByNameOrId.findVariableByNameOrId-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#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>
<h5><span class="tsd-kind-parameter">nameOrId</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../interfaces/_truffle_codec.Storage.Allocate.StateVariableAllocation.html" class="tsd-signature-type tsd-kind-interface">StateVariableAllocation</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L2289">decoder/lib/decoders.ts:2289</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="getCode" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>get<wbr/>Code</span><a href="#getCode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private">
<li class="tsd-signature tsd-anchor-link" id="getCode.getCode-1"><span class="tsd-kind-call-signature">get<wbr/>Code</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">address</span>, <span class="tsd-kind-parameter">block</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type ">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span><a href="#getCode.getCode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#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>
<h5><span class="tsd-kind-parameter">address</span>: <span class="tsd-signature-type">string</span></h5></li>
<li>
<h5><span class="tsd-kind-parameter">block</span>: <span class="tsd-signature-type ">RegularizedBlockSpecifier</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type ">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L2355">decoder/lib/decoders.ts:2355</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="getStorage" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>get<wbr/>Storage</span><a href="#getStorage" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private">
<li class="tsd-signature tsd-anchor-link" id="getStorage.getStorage-1"><span class="tsd-kind-call-signature">get<wbr/>Storage</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">address</span>, <span class="tsd-kind-parameter">slot</span>, <span class="tsd-kind-parameter">block</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type ">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span><a href="#getStorage.getStorage-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#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>
<h5><span class="tsd-kind-parameter">address</span>: <span class="tsd-signature-type">string</span></h5></li>
<li>
<h5><span class="tsd-kind-parameter">slot</span>: <span class="tsd-signature-type ">BN</span></h5></li>
<li>
<h5><span class="tsd-kind-parameter">block</span>: <span class="tsd-signature-type ">RegularizedBlockSpecifier</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type ">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L2322">decoder/lib/decoders.ts:2322</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="init" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>init</span><a href="#init" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
<li class="tsd-signature tsd-anchor-link" id="init.init-1"><span class="tsd-kind-call-signature">init</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#init.init-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description"><code class="tsd-tag ts-flagProtected">Protected</code> 
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L1920">decoder/lib/decoders.ts:1920</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="regularizeBlock" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>regularize<wbr/>Block</span><a href="#regularizeBlock" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private">
<li class="tsd-signature tsd-anchor-link" id="regularizeBlock.regularizeBlock-1"><span class="tsd-kind-call-signature">regularize<wbr/>Block</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">block</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type ">RegularizedBlockSpecifier</span><span class="tsd-signature-symbol">&gt;</span><a href="#regularizeBlock.regularizeBlock-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#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>
<h5><span class="tsd-kind-parameter">block</span>: <a href="../types/_truffle_codec.BlockSpecifier.html" class="tsd-signature-type tsd-kind-type-alias">BlockSpecifier</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type ">RegularizedBlockSpecifier</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L2366">decoder/lib/decoders.ts:2366</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="reverseEnsResolve" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>reverse<wbr/>Ens<wbr/>Resolve</span><a href="#reverseEnsResolve" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private">
<li class="tsd-signature tsd-anchor-link" id="reverseEnsResolve.reverseEnsResolve-1"><span class="tsd-kind-call-signature">reverse<wbr/>Ens<wbr/>Resolve</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">address</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type ">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span><a href="#reverseEnsResolve.reverseEnsResolve-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#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>
<h5><span class="tsd-kind-parameter">address</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type ">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L2362">decoder/lib/decoders.ts:2362</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="state" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>state</span><a href="#state" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
<li class="tsd-signature tsd-anchor-link" id="state.state-1"><span class="tsd-kind-call-signature">state</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">block</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/decoder_lib.ContractState.html" class="tsd-signature-type tsd-kind-interface">ContractState</a><span class="tsd-signature-symbol">&gt;</span><a href="#state.state-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p><strong>This method is asynchronous.</strong></p>
<p>Returns information about the state of the contract, but does not include
information about the storage or decoded variables.  See the documentation
for the [[ContractState]] type for more.</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5><span class="tsd-kind-parameter">block</span>: <a href="../types/_truffle_codec.BlockSpecifier.html" class="tsd-signature-type tsd-kind-type-alias">BlockSpecifier</a><span class="tsd-signature-symbol"> = &quot;latest&quot;</span></h5>
<div class="tsd-comment tsd-typography"><p>The block to inspect the contract&#39;s state at.  Defaults to latest.
  See [[BlockSpecifier]] for legal values.</p>
</div>
<div class="tsd-comment tsd-typography"></div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/decoder_lib.ContractState.html" class="tsd-signature-type tsd-kind-interface">ContractState</a><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L2191">decoder/lib/decoders.ts:2191</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="unwatchMappingKey" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>unwatch<wbr/>Mapping<wbr/>Key</span><a href="#unwatchMappingKey" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
<li class="tsd-signature tsd-anchor-link" id="unwatchMappingKey.unwatchMappingKey-1"><span class="tsd-kind-call-signature">unwatch<wbr/>Mapping<wbr/>Key</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">variable</span>, <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">indices</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#unwatchMappingKey.unwatchMappingKey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p><strong>This method is asynchronous.</strong></p>
<p>Opposite of [[watchMappingKey]]; unwatches the specified mapping key.  See
watchMappingKey for more on how watching mapping keys works, and on how
the parameters work.</p>
<p>Note that unwatching a mapping key will also unwatch all its descendants.
E.g., if <code>m</code> is of type <code>mapping(uint =&gt; mapping(uint =&gt; uint))</code>, then
unwatching <code>m[0]</code> will also unwatch <code>m[0][0]</code>, <code>m[0][1]</code>, etc, if these
are currently watched.</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5><span class="tsd-kind-parameter">variable</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h5></li>
<li>
<h5><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">indices</span>: <span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L2455">decoder/lib/decoders.ts:2455</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="variable" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>variable</span><a href="#variable" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
<li class="tsd-signature tsd-anchor-link" id="variable.variable-1"><span class="tsd-kind-call-signature">variable</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">nameOrId</span>, <span class="tsd-kind-parameter">block</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_truffle_codec.Format.Values.Result.html" class="tsd-signature-type tsd-kind-type-alias">Result</a><span class="tsd-signature-symbol">&gt;</span><a href="#variable.variable-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p><strong>This method is asynchronous.</strong></p>
<p>Decodes an individual contract variable; returns its value as a
[[Format.Values.Result|Result]].  See the documentation for
[[variables|variables()]] for various caveats that also apply here.</p>
<p>If the variable can&#39;t be located, throws an exception.</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5><span class="tsd-kind-parameter">nameOrId</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h5>
<div class="tsd-comment tsd-typography"><p>The name (or numeric ID, if you know that) of the
  variable.  Can be given as a qualified name, allowing one to get at
  shadowed variables from base contracts.  If given by ID, can be given as a
  number or numeric string.</p>
</div>
<div class="tsd-comment tsd-typography"></div></li>
<li>
<h5><span class="tsd-kind-parameter">block</span>: <a href="../types/_truffle_codec.BlockSpecifier.html" class="tsd-signature-type tsd-kind-type-alias">BlockSpecifier</a><span class="tsd-signature-symbol"> = &quot;latest&quot;</span></h5>
<div class="tsd-comment tsd-typography"><p>The block to inspect the contract&#39;s state at.  Defaults to latest.
  See [[BlockSpecifier]] for legal values.</p>
</div>
<div class="tsd-comment tsd-typography"></div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_truffle_codec.Format.Values.Result.html" class="tsd-signature-type tsd-kind-type-alias">Result</a><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography">
<h4>Example</h4><pre><code class="language-ts"><span class="hl-4">Consider</span><span class="hl-2"> </span><span class="hl-4">a</span><span class="hl-2"> </span><span class="hl-4">contract</span><span class="hl-2"> </span><span class="hl-5">`Derived`</span><span class="hl-2"> </span><span class="hl-4">inheriting</span><span class="hl-2"> </span><span class="hl-4">from</span><span class="hl-2"> </span><span class="hl-4">a</span><span class="hl-2"> </span><span class="hl-4">contract</span><span class="hl-2"> </span><span class="hl-5">`Base`</span><span class="hl-2">.</span><br/><span class="hl-2">  </span><span class="hl-4">Suppose</span><span class="hl-2"> </span><span class="hl-5">`Derived`</span><span class="hl-2"> </span><span class="hl-4">has</span><span class="hl-2"> </span><span class="hl-4">a</span><span class="hl-2"> </span><span class="hl-4">variable</span><span class="hl-2"> </span><span class="hl-5">`x`</span><span class="hl-2"> </span><span class="hl-4">and</span><span class="hl-2"> </span><span class="hl-5">`Base`</span><span class="hl-2"> </span><span class="hl-4">has</span><span class="hl-2"> </span><span class="hl-4">variables</span><span class="hl-2"> </span><span class="hl-5">`x`</span><span class="hl-2"> </span><span class="hl-4">and</span><br/><span class="hl-2">  </span><span class="hl-5">`y`</span><span class="hl-2">.  </span><span class="hl-4">One</span><span class="hl-2"> </span><span class="hl-4">can</span><span class="hl-2"> </span><span class="hl-4">access</span><span class="hl-2"> </span><span class="hl-5">`Derived.x`</span><span class="hl-2"> </span><span class="hl-1">as</span><span class="hl-2"> </span><span class="hl-5">`variable(&quot;x&quot;)`</span><span class="hl-2"> </span><span class="hl-9">or</span><br/><span class="hl-2">  </span><span class="hl-5">`variable(&quot;Derived.x&quot;)`</span><span class="hl-2">, </span><span class="hl-4">can</span><span class="hl-2"> </span><span class="hl-4">access</span><span class="hl-2"> </span><span class="hl-5">`Base.x`</span><span class="hl-2"> </span><span class="hl-1">as</span><span class="hl-2"> </span><span class="hl-5">`variable(&quot;Base.x&quot;)`</span><span class="hl-2">,</span><br/><span class="hl-2">  </span><span class="hl-4">and</span><span class="hl-2"> </span><span class="hl-4">can</span><span class="hl-2"> </span><span class="hl-4">access</span><span class="hl-2"> </span><span class="hl-5">`Base.y`</span><span class="hl-2"> </span><span class="hl-1">as</span><span class="hl-2"> </span><span class="hl-5">`variable(&quot;y&quot;)`</span><span class="hl-2"> </span><span class="hl-9">or</span><span class="hl-2"> </span><span class="hl-5">`variable(&quot;Base.y&quot;)`</span><span class="hl-2">.</span>
</code><button>Copy</button></pre>
</div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L2271">decoder/lib/decoders.ts:2271</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="variables" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>variables</span><a href="#variables" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
<li class="tsd-signature tsd-anchor-link" id="variables.variables-1"><span class="tsd-kind-call-signature">variables</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">block</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_truffle_codec.StateVariable.html" class="tsd-signature-type tsd-kind-interface">StateVariable</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#variables.variables-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p><strong>This method is asynchronous.</strong></p>
<p>Decodes the contract&#39;s variables; returns an array of these decoded variables.
See the documentation of the [[DecodedVariable]] type for more.</p>
<p>Note that variable decoding can only operate in full mode; if the decoder wasn&#39;t able to
start up in full mode, this method will throw a [[ContractAllocationFailedError]].</p>
<p>Note that decoding mappings requires first watching mapping keys in order to get any results;
see the documentation for [[watchMappingKey]].
Additional methods to make mapping decoding a less manual affair are planned for the future.</p>
<p>Also, due to a technical limitation, it is not currently possible to
usefully decode internal function pointers.  See the
[[Format.Values.FunctionInternalValue|FunctionInternalValue]]
documentation and the README for more on how these are handled.</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5><span class="tsd-kind-parameter">block</span>: <a href="../types/_truffle_codec.BlockSpecifier.html" class="tsd-signature-type tsd-kind-type-alias">BlockSpecifier</a><span class="tsd-signature-symbol"> = &quot;latest&quot;</span></h5>
<div class="tsd-comment tsd-typography"><p>The block to inspect the contract&#39;s state at.  Defaults to latest.
  See [[BlockSpecifier]] for legal values.</p>
</div>
<div class="tsd-comment tsd-typography"></div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_truffle_codec.StateVariable.html" class="tsd-signature-type tsd-kind-interface">StateVariable</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L2231">decoder/lib/decoders.ts:2231</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="watchMappingKey" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>watch<wbr/>Mapping<wbr/>Key</span><a href="#watchMappingKey" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
<li class="tsd-signature tsd-anchor-link" id="watchMappingKey.watchMappingKey-1"><span class="tsd-kind-call-signature">watch<wbr/>Mapping<wbr/>Key</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">variable</span>, <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">indices</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#watchMappingKey.watchMappingKey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p><strong>This method is asynchronous.</strong></p>
<p>Watches a mapping key; adds it to the decoder&#39;s list of watched mapping
keys.  This affects the results of both [[variables|variables()]] and
[[variable|variable()]].  When a mapping is decoded, only the values at
its watched keys will be included in its value.</p>
<p>Note that it is possible
to watch mappings that are inside structs, arrays, other mappings, etc;
see below for more on how to do this.</p>
<p>Note that watching mapping keys is
only possible in full mode; if the decoder wasn&#39;t able to start up in full
mode, this method will throw an exception.</p>
<p>(A bad variable name will cause an exception though; that input is checked.)</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5><span class="tsd-kind-parameter">variable</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h5>
<div class="tsd-comment tsd-typography"><p>The variable that the mapping lives under; this works like
  the nameOrId argument to [[variable|variable()]].  If the mapping is a
  top-level state variable, put the mapping itself here.  Otherwise, put the
  top-level state variable it lives under.</p>
</div>
<div class="tsd-comment tsd-typography"></div></li>
<li>
<h5><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">indices</span>: <span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">[]</span></h5>
<div class="tsd-comment tsd-typography"><p>Further arguments to watchMappingKey, if given, will be
  interpreted as indices into or members of the variable identified by the
  variable argument; see the example.  Array indices and mapping
  keys are specified by value; struct members are specified by name.</p>
<p>  Values (for array indices and mapping keys) may be given in any format
  understood by Truffle Encoder; see the documentation for
  [[Encoder.ProjectEncoder.wrap|ProjectEncoder.wrap]] for details.</p>
<p>  Note that if the path to a given mapping key
  includes mapping keys above it, any ancestors will also be watched
  automatically.</p>
</div>
<div class="tsd-comment tsd-typography"></div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography">
<h4>Example</h4><pre><code class="language-ts"><span class="hl-4">First</span><span class="hl-2">, </span><span class="hl-4">a</span><span class="hl-2"> </span><span class="hl-4">simple</span><span class="hl-2"> </span><span class="hl-4">example</span><span class="hl-2">.  </span><span class="hl-4">Say</span><span class="hl-2"> </span><span class="hl-4">we</span><span class="hl-2"> </span><span class="hl-4">have</span><span class="hl-2"> </span><span class="hl-4">a</span><span class="hl-2"> </span><span class="hl-4">mapping</span><span class="hl-2"> </span><span class="hl-5">`m`</span><span class="hl-2"> </span><span class="hl-3">of</span><span class="hl-2"> </span><span class="hl-4">type</span><br/><span class="hl-2">  </span><span class="hl-5">`mapping(uint =&gt; uint)`</span><span class="hl-2">.  </span><span class="hl-4">You</span><span class="hl-2"> </span><span class="hl-4">could</span><span class="hl-2"> </span><span class="hl-4">call</span><span class="hl-2"> </span><span class="hl-5">`watchMappingKey(&quot;m&quot;, 0)`</span><span class="hl-2"> </span><span class="hl-4">to</span><br/><span class="hl-2">  </span><span class="hl-4">watch</span><span class="hl-2"> </span><span class="hl-5">`m[0]`</span><span class="hl-2">.</span>
</code><button>Copy</button></pre>

<h4>Example</h4><pre><code class="language-ts"><span class="hl-4">Now</span><span class="hl-2"> </span><span class="hl-4">for</span><span class="hl-2"> </span><span class="hl-4">a</span><span class="hl-2"> </span><span class="hl-4">slightly</span><span class="hl-2"> </span><span class="hl-4">more</span><span class="hl-2"> </span><span class="hl-4">complicated</span><span class="hl-2"> </span><span class="hl-4">example</span><span class="hl-2">.  </span><span class="hl-4">Say</span><span class="hl-2"> </span><span class="hl-5">`m`</span><span class="hl-2"> </span><span class="hl-4">is</span><span class="hl-2"> </span><span class="hl-3">of</span><span class="hl-2"> </span><span class="hl-4">type</span><br/><span class="hl-2">  </span><span class="hl-5">`mapping(uint =&gt; mapping(uint =&gt; uint))`</span><span class="hl-2">, </span><span class="hl-4">then</span><span class="hl-2"> </span><span class="hl-4">to</span><span class="hl-2"> </span><span class="hl-4">watch</span><span class="hl-2"> </span><span class="hl-5">`m[3][5]`</span><span class="hl-2">, </span><span class="hl-4">you</span><br/><span class="hl-2">  </span><span class="hl-4">can</span><span class="hl-2"> </span><span class="hl-4">call</span><span class="hl-2"> </span><span class="hl-5">`watchMappingKey(&quot;m&quot;, 3, 5)`</span><span class="hl-2">.  </span><span class="hl-4">This</span><span class="hl-2"> </span><span class="hl-4">will</span><span class="hl-2"> </span><span class="hl-4">also</span><span class="hl-2"> </span><span class="hl-4">automatically</span><br/><span class="hl-2">  </span><span class="hl-4">watch</span><span class="hl-2"> </span><span class="hl-5">`m[3]`</span><span class="hl-2">; </span><span class="hl-4">otherwise</span><span class="hl-2">, </span><span class="hl-4">watching</span><span class="hl-2"> </span><span class="hl-5">`m[3][5]`</span><span class="hl-2"> </span><span class="hl-4">wouldn</span><span class="hl-5">&#39;t do much o</span><span class="hl-11">f</span><br/><span class="hl-2">  </span><span class="hl-4">anything</span><span class="hl-2">.</span>
</code><button>Copy</button></pre>

<h4>Example</h4><pre><code class="language-ts"><span class="hl-4">Now</span><span class="hl-2"> </span><span class="hl-4">for</span><span class="hl-2"> </span><span class="hl-4">a</span><span class="hl-2"> </span><span class="hl-4">well</span><span class="hl-2"> </span><span class="hl-4">more</span><span class="hl-2"> </span><span class="hl-4">complicated</span><span class="hl-2"> </span><span class="hl-4">example</span><span class="hl-2">.  </span><span class="hl-4">Say</span><span class="hl-2"> </span><span class="hl-4">we</span><span class="hl-2"> </span><span class="hl-4">have</span><span class="hl-2"> </span><span class="hl-4">a</span><span class="hl-2"> </span><span class="hl-4">struct</span><br/><span class="hl-2">  </span><span class="hl-4">type</span><span class="hl-2"> </span><span class="hl-5">`MapStruct`</span><span class="hl-2"> </span><span class="hl-1">with</span><span class="hl-2"> </span><span class="hl-4">a</span><span class="hl-2"> </span><span class="hl-4">member</span><span class="hl-2"> </span><span class="hl-4">called</span><span class="hl-2"> </span><span class="hl-5">`map`</span><span class="hl-2"> </span><span class="hl-4">which</span><span class="hl-2"> </span><span class="hl-4">is</span><span class="hl-2"> </span><span class="hl-4">a</span><span class="hl-2"> </span><span class="hl-5">`mapping(string =&gt; string)`</span><span class="hl-2">,</span><br/><span class="hl-2">  </span><span class="hl-4">and</span><span class="hl-2"> </span><span class="hl-4">say</span><span class="hl-2"> </span><span class="hl-4">we</span><span class="hl-2"> </span><span class="hl-4">have</span><span class="hl-2"> </span><span class="hl-4">a</span><span class="hl-2"> </span><span class="hl-4">variable</span><span class="hl-2"> </span><span class="hl-5">`arr`</span><span class="hl-2"> </span><span class="hl-3">of</span><span class="hl-2"> </span><span class="hl-4">type</span><span class="hl-2"> </span><span class="hl-5">`MapStruct[]`</span><span class="hl-2">, </span><span class="hl-4">then</span><span class="hl-2"> </span><span class="hl-4">one</span><span class="hl-2"> </span><span class="hl-4">could</span><br/><span class="hl-2">  </span><span class="hl-4">watch</span><span class="hl-2"> </span><span class="hl-5">`arr[3].map[&quot;hello&quot;]`</span><span class="hl-2"> </span><span class="hl-4">by</span><span class="hl-2"> </span><span class="hl-4">calling</span><span class="hl-2"> </span><span class="hl-5">`watchMappingKey(&quot;arr&quot;, 3, &quot;map&quot;, &quot;hello&quot;)`</span><span class="hl-2">.</span>
</code><button>Copy</button></pre>
</div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/trufflesuite/truffle/blob/8c81e30a6/packages/decoder/lib/decoders.ts#L2418">decoder/lib/decoders.ts:2418</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"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></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></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="#icon-chevronDown"></use></svg>On This Page</h3></summary>
<div class="tsd-accordion-details">
<ul>
<li><a href="#constructor" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-512"></use></svg><span>constructor</span></a></li>
<li><a href="#additionalContexts" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>additional<wbr/>Contexts</span></a></li>
<li><a href="#allocations" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>allocations</span></a></li>
<li><a href="#compilation" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>compilation</span></a></li>
<li><a href="#compiler" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>compiler</span></a></li>
<li><a href="#contextHash" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>context<wbr/>Hash</span></a></li>
<li><a href="#contexts" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>contexts</span></a></li>
<li><a href="#contract" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>contract</span></a></li>
<li><a href="#contractAddress" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>contract<wbr/>Address</span></a></li>
<li><a href="#contractCode" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>contract<wbr/>Code</span></a></li>
<li><a href="#contractDecoder" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>contract<wbr/>Decoder</span></a></li>
<li><a href="#contractNetwork" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>contract<wbr/>Network</span></a></li>
<li><a href="#contractNode" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>contract<wbr/>Node</span></a></li>
<li><a href="#encoder" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>encoder</span></a></li>
<li><a href="#internalFunctionsTable" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>internal<wbr/>Functions<wbr/>Table</span></a></li>
<li><a href="#internalFunctionsTableKind" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>internal<wbr/>Functions<wbr/>Table<wbr/>Kind</span></a></li>
<li><a href="#mappingKeys" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>mapping<wbr/>Keys</span></a></li>
<li><a href="#projectDecoder" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>project<wbr/>Decoder</span></a></li>
<li><a href="#providerAdapter" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>provider<wbr/>Adapter</span></a></li>
<li><a href="#referenceDeclarations" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>reference<wbr/>Declarations</span></a></li>
<li><a href="#stateVariableReferences" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>state<wbr/>Variable<wbr/>References</span></a></li>
<li><a href="#storageCache" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>storage<wbr/>Cache</span></a></li>
<li><a href="#userDefinedTypes" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>user<wbr/>Defined<wbr/>Types</span></a></li>
<li><a href="#context" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-262144"></use></svg><span>context</span></a></li>
<li><a href="#abifyCalldataDecoding" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>abify<wbr/>Calldata<wbr/>Decoding</span></a></li>
<li><a href="#abifyLogDecoding" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>abify<wbr/>Log<wbr/>Decoding</span></a></li>
<li><a href="#abifyReturndataDecoding" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>abify<wbr/>Returndata<wbr/>Decoding</span></a></li>
<li><a href="#checkAllocationSuccess" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>check<wbr/>Allocation<wbr/>Success</span></a></li>
<li><a href="#constructSlot" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>construct<wbr/>Slot</span></a></li>
<li><a href="#decodeLog" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>decode<wbr/>Log</span></a></li>
<li><a href="#decodeReturnValue" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>decode<wbr/>Return<wbr/>Value</span></a></li>
<li><a href="#decodeTransaction" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>decode<wbr/>Transaction</span></a></li>
<li><a href="#decodeVariable" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>decode<wbr/>Variable</span></a></li>
<li><a href="#events" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>events</span></a></li>
<li><a href="#findVariableByNameOrId" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>find<wbr/>Variable<wbr/>By<wbr/>Name<wbr/>Or<wbr/>Id</span></a></li>
<li><a href="#getCode" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>get<wbr/>Code</span></a></li>
<li><a href="#getStorage" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>get<wbr/>Storage</span></a></li>
<li><a href="#init" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>init</span></a></li>
<li><a href="#regularizeBlock" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>regularize<wbr/>Block</span></a></li>
<li><a href="#reverseEnsResolve" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>reverse<wbr/>Ens<wbr/>Resolve</span></a></li>
<li><a href="#state" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>state</span></a></li>
<li><a href="#unwatchMappingKey" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>unwatch<wbr/>Mapping<wbr/>Key</span></a></li>
<li><a href="#variable" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>variable</span></a></li>
<li><a href="#variables" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>variables</span></a></li>
<li><a href="#watchMappingKey" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>watch<wbr/>Mapping<wbr/>Key</span></a></li></ul></div></details></div>
<div class="site-menu">
<nav class="tsd-navigation"><a href="../index.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>Truffle <wbr/>Decoding and <wbr/>Encoding</span></a>
<ul class="tsd-small-nested-navigation">
<li><a href="../modules/_truffle_codec.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>@truffle/codec</span></a></li>
<li><a href="../modules/_truffle_encoder.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>@truffle/encoder</span></a></li>
<li>
<details class="tsd-index-accordion" open data-key="decoder/lib"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg><a href="../modules/decoder_lib.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>decoder/lib</span></a></summary>
<div class="tsd-accordion-details">
<ul class="tsd-nested-navigation">
<li><a href="../modules/decoder_lib.html#ExtrasAllowed"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-8388608"><rect fill="var(--color-icon-background)" stroke="#FF4D82" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M10.354 17V8.24H13.066C13.586 8.24 14.042 8.348 14.434 8.564C14.826 8.772 15.13 9.064 15.346 9.44C15.562 9.816 15.67 10.256 15.67 10.76C15.67 11.352 15.514 11.86 15.202 12.284C14.898 12.708 14.482 13 13.954 13.16L15.79 17H14.518L12.838 13.28H11.434V17H10.354ZM11.434 12.308H13.066C13.514 12.308 13.874 12.168 14.146 11.888C14.418 11.6 14.554 11.224 14.554 10.76C14.554 10.288 14.418 9.912 14.146 9.632C13.874 9.352 13.514 9.212 13.066 9.212H11.434V12.308Z" fill="var(--color-text)"></path></g></svg><span>Extras<wbr/>Allowed</span></a></li>
<li><a href="../modules/decoder_lib.html#StateVariable"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8388608"></use></svg><span>State<wbr/>Variable</span></a></li>
<li><a href="decoder_lib.ContractAllocationFailedError.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-128"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)"></path></g></svg><span>Contract<wbr/>Allocation<wbr/>Failed<wbr/>Error</span></a></li>
<li><a href="decoder_lib.ContractBeingDecodedHasNoNodeError.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Contract<wbr/>Being<wbr/>Decoded<wbr/>Has<wbr/>No<wbr/>Node<wbr/>Error</span></a></li>
<li><a href="decoder_lib.ContractDecoder.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Contract<wbr/>Decoder</span></a></li>
<li><a href="decoder_lib.ContractInstanceDecoder.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Contract<wbr/>Instance<wbr/>Decoder</span></a></li>
<li><a href="decoder_lib.ContractNotFoundError.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Contract<wbr/>Not<wbr/>Found<wbr/>Error</span></a></li>
<li><a href="decoder_lib.InvalidAddressError.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Invalid<wbr/>Address<wbr/>Error</span></a></li>
<li><a href="decoder_lib.NoProviderError.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>No<wbr/>Provider<wbr/>Error</span></a></li>
<li><a href="decoder_lib.ProjectDecoder.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Project<wbr/>Decoder</span></a></li>
<li><a href="decoder_lib.VariableNotFoundError.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Variable<wbr/>Not<wbr/>Found<wbr/>Error</span></a></li>
<li><a href="../interfaces/decoder_lib.ContractState.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Contract<wbr/>State</span></a></li>
<li><a href="../interfaces/decoder_lib.DecodeLogOptions.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Decode<wbr/>Log<wbr/>Options</span></a></li>
<li><a href="../interfaces/decoder_lib.DecodedLog.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Decoded<wbr/>Log</span></a></li>
<li><a href="../interfaces/decoder_lib.DecoderSettings.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Decoder<wbr/>Settings</span></a></li>
<li><a href="../interfaces/decoder_lib.EnsSettings.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Ens<wbr/>Settings</span></a></li>
<li><a href="../interfaces/decoder_lib.EventOptions.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Event<wbr/>Options</span></a></li>
<li><a href="../interfaces/decoder_lib.Log.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Log</span></a></li>
<li><a href="../interfaces/decoder_lib.ReturnOptions.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Return<wbr/>Options</span></a></li>
<li><a href="../interfaces/decoder_lib.Transaction.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Transaction</span></a></li>
<li><a href="../types/decoder_lib.ProjectInfo.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>Project<wbr/>Info</span></a></li>
<li><a href="../functions/decoder_lib.forAddress.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>for<wbr/>Address</span></a></li>
<li><a href="../functions/decoder_lib.forArtifact.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>for<wbr/>Artifact</span></a></li>
<li><a href="../functions/decoder_lib.forArtifactAt.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>for<wbr/>Artifact<wbr/>At</span></a></li>
<li><a href="../functions/decoder_lib.forContract.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>for<wbr/>Contract</span></a></li>
<li><a href="../functions/decoder_lib.forContractAt.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>for<wbr/>Contract<wbr/>At</span></a></li>
<li><a href="../functions/decoder_lib.forContractInstance.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>for<wbr/>Contract<wbr/>Instance</span></a></li>
<li><a href="../functions/decoder_lib.forDeployedArtifact.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>for<wbr/>Deployed<wbr/>Artifact</span></a></li>
<li><a href="../functions/decoder_lib.forDeployedContract.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>for<wbr/>Deployed<wbr/>Contract</span></a></li>
<li><a href="../functions/decoder_lib.forProject.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>for<wbr/>Project</span></a></li></ul></div></details></li></ul></nav></div></div></div>
<div class="tsd-generator">
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
<div class="overlay"></div></body></html>