You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`sharedLocalAccountP` stores the local account that will hold the transferred assets temporarily before they
60
+
`sharedLocalAccountP` stores the local account that will hold the transferred assets temporarily before they
61
61
are sent to the destination address. Since this is initialized with a promise (`makeOnce` returns a promise, so
62
-
we add a `P` to the variable name), uses of `sharedLocalAccountP` will have to await it before making use of it.
62
+
we add a `P` to the variable name), uses of `sharedLocalAccountP` will have to await it before making use of it.
63
63
64
64
### Logging setup
65
65
@@ -81,7 +81,7 @@ these functions with the necessary context (such as the contract state, logging,
81
81
constorchFns=orchestrateAll(flows, {
82
82
log,
83
83
sharedLocalAccountP,
84
-
zoeTools,
84
+
zoeTools
85
85
});
86
86
```
87
87
@@ -137,8 +137,8 @@ Upon receiving an offer, the `sendIt` function:
137
137
- Validates the offer arguments using [endo's pattern-matching library](https://github.com/endojs/endo/tree/master/packages/patterns) to ensure the correct structure is submitted.
138
138
- Retrieves the `proposal` from the seat, extracting (from `give`) the asset (`brand` and `amount`) being transferred.
139
139
- The contract ensures that the asset brand is registered on the local chain by querying the chain’s asset registry
140
-
(`vbank`). If not the contract throws an error and exits the transaction. It also gets the `denom` for the
141
-
destination chain from the `vbank`.
140
+
(`vbank`). If not the contract throws an error and exits the transaction. It also gets the `denom` for the
0 commit comments