Skip to content

Commit e00b6ba

Browse files
committedDec 3, 2024
Address comments
1 parent e96853e commit e00b6ba

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed
 

‎book/build-your-staking-dapp/ton/nominator/overview.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ const { signedTx } = await staker.sign({
115115
})
116116
```
117117

118-
For more information please refer to the [Signing with Fireblocks](../../signers-explained/fireblocks.md)
118+
For more information please refer to the [Signing with Fireblocks](../../../signers-explained/fireblocks.md)
119119
{% endtab %}
120120
{% endtabs %}
121121

‎book/build-your-staking-dapp/ton/single-nominator/overview.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ const signedTx = await yourWallet.signTransaction(tx)
8585

8686
Additionally, you can use the Chorus One SDK to sign transactions using Fireblocks, mnemonic or other methods.
8787

88-
- For detailed information on setting up and configuring these options, please refer to the [What is a Signer?](../../signers-explained/what-is-a-signer.md) section.
88+
- For detailed information on setting up and configuring these options, please refer to the [What is a Signer?](../../../signers-explained/what-is-a-signer.md) section.
8989

9090
{% tabs %}
9191
{% tab title="Using Fireblocks for Signing" %}

‎book/build-your-staking-dapp/ton/ton-pool/overview.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ const { signedTx } = await staker.sign({
140140
})
141141
```
142142

143-
For more information please refer to the [Signing with Fireblocks](../../signers-explained/fireblocks.md)
143+
For more information please refer to the [Signing with Fireblocks](../../../signers-explained/fireblocks.md)
144144
{% endtab %}
145145
{% endtabs %}
146146

‎packages/ton/src/TonPoolStaker.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ export class TonPoolStaker extends TonBaseStaker {
3434
)
3535
}
3636

37+
// https://github.com/tonwhales/ton-nominators/blob/0553e1b6ddfc5c0b60505957505ce58d01bec3e7/compiled/nominators.fc#L18
3738
const payload = beginCell()
38-
.storeUint(2077040623, 32)
39+
.storeUint(2077040623, 32) // stake_deposit method const
3940
.storeUint(getRandomQueryId(), 64) // Query ID
4041
.storeCoins(getDefaultGas()) // Gas
4142
.endCell()
@@ -84,8 +85,9 @@ export class TonPoolStaker extends TonBaseStaker {
8485

8586
const data = await this.getPoolParamsUnformatted({ validatorAddress })
8687

88+
// https://github.com/tonwhales/ton-nominators/blob/0553e1b6ddfc5c0b60505957505ce58d01bec3e7/compiled/nominators.fc#L20
8789
const payload = beginCell()
88-
.storeUint(3665837821, 32)
90+
.storeUint(3665837821, 32) // stake_withdraw method const
8991
.storeUint(getRandomQueryId(), 64) // Query ID
9092
.storeCoins(getDefaultGas()) // Gas
9193
.storeCoins(toNano(amount)) // Amount

0 commit comments

Comments
 (0)
Please sign in to comment.