Skip to content

Commit 1810120

Browse files
authored
fix typos README.md
"usecases" -> "use cases" "contract calls, that involve token movement." -> "contract calls that involve token movement." "cryptogaphically" -> "cryptographically" "Weather" -> "Whether"
1 parent a0c1dbd commit 1810120

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

app/ibc-hooks/README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
## Wasm Hooks
44

55
The wasm hook is an IBC middleware which is used to allow ICS-20 token transfers to initiate contract calls.
6-
This allows cross-chain contract calls, that involve token movement.
7-
This is useful for a variety of usecases.
6+
This allows cross-chain contract calls that involve token movement.
7+
This is useful for a variety of use cases.
88
One of primary importance is cross-chain swaps, which is an extremely powerful primitive.
99

1010
The mechanism enabling this is a `memo` field on every ICS20 or ICS721 transfer packet as of [IBC v3.4.0](https://medium.com/the-interchain-foundation/moving-beyond-simple-token-transfers-d42b2b1dc29b).
@@ -105,17 +105,17 @@ If an ICS20 packet is directed towards wasmhooks, and is formatted incorrectly,
105105

106106
### Execution flow
107107

108-
Pre wasm hooks:
108+
Pre Wasm hooks:
109109

110-
* Ensure the incoming IBC packet is cryptogaphically valid
110+
* Ensure the incoming IBC packet is cryptographically valid
111111
* Ensure the incoming IBC packet is not timed out.
112112

113113
In Wasm hooks, pre packet execution:
114114

115115
* Ensure the packet is correctly formatted (as defined above)
116116
* Edit the receiver to be the hardcoded IBC module account
117117

118-
In wasm hooks, post packet execution:
118+
In Wasm hooks, post packet execution:
119119

120120
* Construct wasm message as defined before
121121
* Execute wasm message
@@ -172,7 +172,7 @@ pub enum IBCLifecycleComplete {
172172
sequence: u64,
173173
/// String encoded version of the ack as seen by OnAcknowledgementPacket(..)
174174
ack: String,
175-
/// Weather an ack is a success of failure according to the transfer spec
175+
/// Whether an ack is a success of failure according to the transfer spec
176176
success: bool,
177177
},
178178
#[serde(rename = "ibc_timeout")]

0 commit comments

Comments
 (0)