Skip to content

Commit adcc953

Browse files
committed
adjust readme
1 parent 7fca23f commit adcc953

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

contracts/README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,13 @@ The `recipientAddress` must be a bytes32. To convert a bech32 Cosmos address:
118118
Example using cast:
119119

120120
```shell
121-
# If you have the raw 20-byte hex address
122-
cast to-bytes32 0x1234567890abcdef1234567890abcdef12345678
121+
# Left-pad a 20-byte address to 32 bytes
122+
cast pad --left --len 32 1234567890abcdef1234567890abcdef12345678
123+
# Output: 0x0000000000000000000000001234567890abcdef1234567890abcdef12345678
123124
```
124125

126+
Note: When calling `transferRemote()` via cast, you may need to omit the `0x` prefix depending on your invocation method.
127+
125128
## Admin Functions
126129

127130
All functions are owner-only:

0 commit comments

Comments
 (0)