Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/build-on-base/issue-rwa/create-an-asset-token.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export async function createStockToken() {
```
</CodeGroup>

The factory assigns a deterministic address from `(variant, sender, salt)`. Address byte `[10]` is `0x00` for Asset tokens. Reusing the same `(variant, sender, salt)` triple reverts `TokenAlreadyExists`. Optional `initCalls`, such as the role grants above, run on the new token in the same transaction. The factory drops access after `createB20` returns.
The factory assigns a deterministic address from `(variant, sender, salt)`. Address byte `[10]` selects which selectors that address accepts — `0x00` for Asset tokens. Reusing the same `(variant, sender, salt)` triple reverts `TokenAlreadyExists`. Optional `initCalls`, such as the role grants above, run on the new token in the same transaction. The factory drops access after `createB20` returns.

See the [B20 token standard](/build-on-base/issue-rwa/create-an-asset-token) for the complete interface, roles, and policies.

Expand Down
Loading