Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Milerius committed Dec 20, 2024
1 parent 175fdc2 commit 14cb6e8
Show file tree
Hide file tree
Showing 6 changed files with 88 additions and 3 deletions.
1 change: 1 addition & 0 deletions -wallet-core/package-list
Original file line number Diff line number Diff line change
Expand Up @@ -851,6 +851,7 @@ $dokka.location:wallet.core.jni/SolanaTransaction/getComputeUnitLimit/#java.lang
$dokka.location:wallet.core.jni/SolanaTransaction/getComputeUnitPrice/#java.lang.String/PointingToDeclaration/-wallet-core/wallet.core.jni/-solana-transaction/get-compute-unit-price.html
$dokka.location:wallet.core.jni/SolanaTransaction/setComputeUnitLimit/#java.lang.String#java.lang.String/PointingToDeclaration/-wallet-core/wallet.core.jni/-solana-transaction/set-compute-unit-limit.html
$dokka.location:wallet.core.jni/SolanaTransaction/setComputeUnitPrice/#java.lang.String#java.lang.String/PointingToDeclaration/-wallet-core/wallet.core.jni/-solana-transaction/set-compute-unit-price.html
$dokka.location:wallet.core.jni/SolanaTransaction/setFeePayer/#java.lang.String#java.lang.String/PointingToDeclaration/-wallet-core/wallet.core.jni/-solana-transaction/set-fee-payer.html
$dokka.location:wallet.core.jni/SolanaTransaction/updateBlockhashAndSign/#java.lang.String#java.lang.String#DataVector/PointingToDeclaration/-wallet-core/wallet.core.jni/-solana-transaction/update-blockhash-and-sign.html
$dokka.location:wallet.core.jni/StarkExMessageSigner///PointingToDeclaration/-wallet-core/wallet.core.jni/-stark-ex-message-signer/index.html
$dokka.location:wallet.core.jni/StarkExMessageSigner/signMessage/#PrivateKey#java.lang.String/PointingToDeclaration/-wallet-core/wallet.core.jni/-stark-ex-message-signer/sign-message.html
Expand Down
15 changes: 15 additions & 0 deletions -wallet-core/wallet.core.jni/-solana-transaction/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,21 @@ <h2 class="">Functions</h2>
</div>
</div>
</div>
<a data-name="-364862182%2FFunctions%2F274653044" anchor-label="setFeePayer" id="-364862182%2FFunctions%2F274653044" data-filterable-set="WalletCore/TrustWallet"></a>
<div class="table-row" data-filterable-current="WalletCore/TrustWallet" data-filterable-set="WalletCore/TrustWallet">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="set-fee-payer.html"><span>set</span><wbr></wbr><span>Fee</span><wbr></wbr><span><span>Payer</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-364862182%2FFunctions%2F274653044"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable="WalletCore/TrustWallet"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword"></span><span class="token keyword">fun </span><a href="set-fee-payer.html"><span class="token function">setFeePayer</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">encodedTx<span class="token operator">: </span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">feePayer<span class="token operator">: </span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html">String</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html">String</a></div><div class="brief ">Adds fee payer to the given transaction and returns the updated transaction.</div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-168235819%2FFunctions%2F274653044" anchor-label="updateBlockhashAndSign" id="-168235819%2FFunctions%2F274653044" data-filterable-set="WalletCore/TrustWallet"></a>
<div class="table-row" data-filterable-current="WalletCore/TrustWallet" data-filterable-set="WalletCore/TrustWallet">
<div class="main-subrow keyValue ">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<div class="cover ">
<h1 class="cover"><span>set</span><wbr></wbr><span>Compute</span><wbr></wbr><span>Unit</span><wbr></wbr><span><span>Limit</span></span></h1>
</div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable="WalletCore/TrustWallet"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword"></span><span class="token keyword">fun </span><a href="set-compute-unit-limit.html"><span class="token function">setComputeUnitLimit</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">encodedTx<span class="token operator">: </span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">limit<span class="token operator">: </span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html">String</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html">String</a></div><p class="paragraph">Adds or updates a `ComputeBudgetInstruction::SetComputeUnitLimit` instruction of the given transaction, and returns the updated transaction.</p><span class="kdoc-tag"><h4 class="">Return</h4><p class="paragraph">base64 encoded Solana transaction. Null if an error occurred.</p></span><h4 class="">Parameters</h4><div data-togglable="Parameters"><div class="table" data-togglable="Parameters"><div class="table-row" data-filterable-current="WalletCore/TrustWallet" data-filterable-set="WalletCore/TrustWallet"><div class="main-subrow keyValue WithExtraAttributes"><div class=""><span class="inline-flex"><div><u><span>encoded</span><wbr></wbr><span><span>Tx</span></span></u></div></span></div><div><div class="title"><div data-togglable="Parameters"><p class="paragraph">base64 encoded Solana transaction. \limit Unit Limit as a decimal string.</p></div></div></div></div></div></div></div></div></div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable="WalletCore/TrustWallet"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword"></span><span class="token keyword">fun </span><a href="set-compute-unit-limit.html"><span class="token function">setComputeUnitLimit</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">encodedTx<span class="token operator">: </span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">limit<span class="token operator">: </span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html">String</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html">String</a></div><p class="paragraph">Adds or updates a `ComputeBudgetInstruction::SetComputeUnitLimit` instruction of the given transaction, and returns the updated transaction.</p><span class="kdoc-tag"><h4 class="">Return</h4><p class="paragraph">base64 encoded Solana transaction. Null if an error occurred.</p></span><h4 class="">Parameters</h4><div data-togglable="Parameters"><div class="table" data-togglable="Parameters"><div class="table-row" data-filterable-current="WalletCore/TrustWallet" data-filterable-set="WalletCore/TrustWallet"><div class="main-subrow keyValue WithExtraAttributes"><div class=""><span class="inline-flex"><div><u><span>encoded</span><wbr></wbr><span><span>Tx</span></span></u></div></span></div><div><div class="title"><div data-togglable="Parameters"><p class="paragraph">base64 encoded Solana transaction.</p></div></div></div></div></div><div class="table-row" data-filterable-current="WalletCore/TrustWallet" data-filterable-set="WalletCore/TrustWallet"><div class="main-subrow keyValue WithExtraAttributes"><div class=""><span class="inline-flex"><div><u><span><span>limit</span></span></u></div></span></div><div><div class="title"><div data-togglable="Parameters"><p class="paragraph">Unit Limit as a decimal string.</p></div></div></div></div></div></div></div></div></div>
</div>
<div class="footer">
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2024 Copyright</span><span
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<div class="cover ">
<h1 class="cover"><span>set</span><wbr></wbr><span>Compute</span><wbr></wbr><span>Unit</span><wbr></wbr><span><span>Price</span></span></h1>
</div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable="WalletCore/TrustWallet"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword"></span><span class="token keyword">fun </span><a href="set-compute-unit-price.html"><span class="token function">setComputeUnitPrice</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">encodedTx<span class="token operator">: </span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">price<span class="token operator">: </span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html">String</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html">String</a></div><p class="paragraph">Adds or updates a `ComputeBudgetInstruction::SetComputeUnitPrice` instruction of the given transaction, and returns the updated transaction.</p><span class="kdoc-tag"><h4 class="">Return</h4><p class="paragraph">base64 encoded Solana transaction. Null if an error occurred.</p></span><h4 class="">Parameters</h4><div data-togglable="Parameters"><div class="table" data-togglable="Parameters"><div class="table-row" data-filterable-current="WalletCore/TrustWallet" data-filterable-set="WalletCore/TrustWallet"><div class="main-subrow keyValue WithExtraAttributes"><div class=""><span class="inline-flex"><div><u><span>encoded</span><wbr></wbr><span><span>Tx</span></span></u></div></span></div><div><div class="title"><div data-togglable="Parameters"><p class="paragraph">base64 encoded Solana transaction. \price Unit Price as a decimal string.</p></div></div></div></div></div></div></div></div></div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable="WalletCore/TrustWallet"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword"></span><span class="token keyword">fun </span><a href="set-compute-unit-price.html"><span class="token function">setComputeUnitPrice</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">encodedTx<span class="token operator">: </span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">price<span class="token operator">: </span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html">String</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html">String</a></div><p class="paragraph">Adds or updates a `ComputeBudgetInstruction::SetComputeUnitPrice` instruction of the given transaction, and returns the updated transaction.</p><span class="kdoc-tag"><h4 class="">Return</h4><p class="paragraph">base64 encoded Solana transaction. Null if an error occurred.</p></span><h4 class="">Parameters</h4><div data-togglable="Parameters"><div class="table" data-togglable="Parameters"><div class="table-row" data-filterable-current="WalletCore/TrustWallet" data-filterable-set="WalletCore/TrustWallet"><div class="main-subrow keyValue WithExtraAttributes"><div class=""><span class="inline-flex"><div><u><span>encoded</span><wbr></wbr><span><span>Tx</span></span></u></div></span></div><div><div class="title"><div data-togglable="Parameters"><p class="paragraph">base64 encoded Solana transaction.</p></div></div></div></div></div><div class="table-row" data-filterable-current="WalletCore/TrustWallet" data-filterable-set="WalletCore/TrustWallet"><div class="main-subrow keyValue WithExtraAttributes"><div class=""><span class="inline-flex"><div><u><span><span>price</span></span></u></div></span></div><div><div class="title"><div data-togglable="Parameters"><p class="paragraph">Unit Price as a decimal string.</p></div></div></div></div></div></div></div></div></div>
</div>
<div class="footer">
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2024 Copyright</span><span
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>setFeePayer</title>
<link href="../../../images/logo-icon.svg" rel="icon" type="image/svg">
<script>var pathToRoot = "../../../";</script>
<script>const storage = localStorage.getItem("dokka-dark-mode")
if (storage == null) {
const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
if (osDarkSchemePreferred === true) {
document.getElementsByTagName("html")[0].classList.add("theme-dark")
}
} else {
const savedDarkMode = JSON.parse(storage)
if(savedDarkMode === true) {
document.getElementsByTagName("html")[0].classList.add("theme-dark")
}
}
</script>
<script type="text/javascript" src="../../../scripts/sourceset_dependencies.js" async="async"></script>
<link href="../../../styles/style.css" rel="Stylesheet">
<link href="../../../styles/jetbrains-mono.css" rel="Stylesheet">
<link href="../../../styles/main.css" rel="Stylesheet">
<link href="../../../styles/prism.css" rel="Stylesheet">
<link href="../../../styles/logo-styles.css" rel="Stylesheet">
<script type="text/javascript" src="../../../scripts/clipboard.js" async="async"></script>
<script type="text/javascript" src="../../../scripts/navigation-loader.js" async="async"></script>
<script type="text/javascript" src="../../../scripts/platform-content-handler.js" async="async"></script>
<script type="text/javascript" src="../../../scripts/main.js" defer="defer"></script>
<script type="text/javascript" src="../../../scripts/prism.js" async="async"></script>
<script type="text/javascript" src="../../../scripts/symbol-parameters-wrapper_deferred.js" defer="defer"></script>
</head>
<body>
<div class="navigation-wrapper" id="navigation-wrapper">
<div id="leftToggler"><span class="icon-toggler"></span></div>
<div class="library-name">
<a href="../../../index.html">
<span>WalletCore</span>
</a>
</div>
<div>
</div>
<div class="pull-right d-flex">
<button id="theme-toggle-button"><span id="theme-toggle"></span></button>
<div id="searchBar"></div>
</div>
</div>
<div id="container">
<div id="leftColumn">
<div id="sideMenu"></div>
</div>
<div id="main">
<div class="main-content" id="content" pageIds="WalletCore::wallet.core.jni/SolanaTransaction/setFeePayer/#java.lang.String#java.lang.String/PointingToDeclaration//274653044">
<div class="breadcrumbs"><a href="../../../index.html">WalletCore</a><span class="delimiter">/</span><a href="../index.html">wallet.core.jni</a><span class="delimiter">/</span><a href="index.html">SolanaTransaction</a><span class="delimiter">/</span><span class="current">setFeePayer</span></div>
<div class="cover ">
<h1 class="cover"><span>set</span><wbr></wbr><span>Fee</span><wbr></wbr><span><span>Payer</span></span></h1>
</div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable="WalletCore/TrustWallet"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword"></span><span class="token keyword">fun </span><a href="set-fee-payer.html"><span class="token function">setFeePayer</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">encodedTx<span class="token operator">: </span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">feePayer<span class="token operator">: </span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html">String</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html">String</a></div><p class="paragraph">Adds fee payer to the given transaction and returns the updated transaction.</p><span class="kdoc-tag"><h4 class="">Return</h4><p class="paragraph">base64 encoded Solana transaction. Null if an error occurred.</p></span><h4 class="">Parameters</h4><div data-togglable="Parameters"><div class="table" data-togglable="Parameters"><div class="table-row" data-filterable-current="WalletCore/TrustWallet" data-filterable-set="WalletCore/TrustWallet"><div class="main-subrow keyValue WithExtraAttributes"><div class=""><span class="inline-flex"><div><u><span>encoded</span><wbr></wbr><span><span>Tx</span></span></u></div></span></div><div><div class="title"><div data-togglable="Parameters"><p class="paragraph">base64 encoded Solana transaction.</p></div></div></div></div></div><div class="table-row" data-filterable-current="WalletCore/TrustWallet" data-filterable-set="WalletCore/TrustWallet"><div class="main-subrow keyValue WithExtraAttributes"><div class=""><span class="inline-flex"><div><u><span>fee</span><wbr></wbr><span><span>Payer</span></span></u></div></span></div><div><div class="title"><div data-togglable="Parameters"><p class="paragraph">fee payer account address. Must be a base58 encoded public key. It must NOT be in the account list yet.</p></div></div></div></div></div></div></div></div></div>
</div>
<div class="footer">
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2024 Copyright</span><span
class="pull-right"><span>Generated by </span><a
href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span>
</div>
</div>
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion scripts/pages.json

Large diffs are not rendered by default.

0 comments on commit 14cb6e8

Please sign in to comment.