Skip to content

Commit f0b4cc5

Browse files
authored
update builder codes (#734)
1 parent 34a3723 commit f0b4cc5

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docs/base-chain/quickstart/builder-codes.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ Wallet providers need to support the `dataSuffix` capability to enable attributi
216216
Onchain Builder codes are currently still not live on mainnet.
217217
</Warning>
218218

219-
Builder codes work with the [Base-Solana bridge](/base-chain/quickstart/base-solana-bridge) via the `hookData` mechanism. Currently available for **Solana → Base** flows only.
219+
Builder codes work with the [Base-Solana bridge](/base-chain/quickstart/base-solana-bridge) via the [`hookData`](https://github.com/base/flywheel/blob/30266bba4649b0eb161e55bfa4755651049a5d1f/src/hooks/BridgeReferralFees.sol#L75) mechanism. Currently available for **Solana → Base** flows only.
220220

221221
<Steps>
222222
<Step title="Get your Builder Code">
@@ -229,7 +229,7 @@ Builder codes work with the [Base-Solana bridge](/base-chain/quickstart/base-sol
229229
```solidity
230230
bytes memory hookData = abi.encode(
231231
0xUSER, // destination address on Base (NOT the Twin)
232-
0xBUILDER_CODE, // your bytes32 code
232+
0xBUILDER_CODE, // your builder code in type string memory
233233
100 // feeBps (100 = 1%)
234234
);
235235
```
@@ -270,7 +270,7 @@ Builder codes work with the [Base-Solana bridge](/base-chain/quickstart/base-sol
270270
data: abi.encodeWithSelector(
271271
Flywheel.send.selector,
272272
<BRIDGE_CAMPAIGN_ADDRESS>,
273-
<wSOL_ADDRESS>, // 0x311935Cd80B76769bF2ecC9D8Ab7635b2139cf82 on Base Mainnet
273+
<SOL_ADDRESS>, // 0x311935Cd80B76769bF2ecC9D8Ab7635b2139cf82 on Base Mainnet
274274
hookData
275275
)
276276
});
@@ -301,7 +301,7 @@ Builder codes work with the [Base-Solana bridge](/base-chain/quickstart/base-sol
301301
## Give feedback!
302302

303303
<Note>
304-
We're constantly working to improve the Builder Codes experience. If you have any feedback, please let us know [here](https://t.co/zwvtmXXzGz).
304+
Base is constantly working to improve the Builder Codes experience. If you have any feedback, please let the team know [here](https://t.co/zwvtmXXzGz).
305305
</Note>
306306

307307

0 commit comments

Comments
 (0)