Skip to content

Commit b205a42

Browse files
update supply flow
1 parent d8814bb commit b205a42

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

skills/metamask-agent-wallet/references/signing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ mm wallet sign-typed-data --chain-id <id> --payload '<JSON>' [--wait] [--passwor
5353

5454
```bash
5555
mm wallet sign-typed-data --chain-id 1 --payload '{"types":...,"primaryType":...,"domain":...,"message":...}'
56-
mm wallet sign-typed-data --chain-id 137 --payload '{"types":...}' --wait --intent "Approve USDC spending"
56+
mm wallet sign-typed-data --chain-id 137 --payload '{"types":...}' --wait --intent "Approve 10 USDC"
5757
```
5858

5959
## EIP-712 Typed Data

skills/metamask-agent-wallet/references/transaction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ mm wallet send-transaction --chain-id <id> --payload '<JSON>' [--wait] [--passwo
2525
### Example
2626

2727
```bash
28-
mm wallet send-transaction --chain-id 1 --payload '{"to":"0x742d...","value":"0xde0b6b3a7640000","data":"0x"}' --intent "Send 1 ETH to alice.eth"
28+
mm wallet send-transaction --chain-id 1 --payload '{"to":"0x742d...","value":"0xde0b6b3a7640000","data":"0x"}' --intent "Send 1 ETH to 0x742d...f2bD18"
2929
mm wallet send-transaction --chain-id 1 --payload '{"to":"0x...","value":"0x0","data":"0xabcdef"}' --wait
3030
mm wallet send-transaction --chain-id 1 --payload '...' --toon
3131
```

skills/metamask-agent-wallet/workflows/aave-supply.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ Aave V3 doesn't accept native ETH on most markets. If the reserve accepts native
3131
Check that the user has sufficient funds:
3232

3333
```bash
34-
mm wallet balance --chain-id <CHAIN_ID> --token <ASSET_SYMBOL_OR_ADDRESS>
34+
mm wallet balance --chain <CHAIN_ID>
3535
```
3636

37-
If the balance is insufficient, tell the user and stop.
37+
If the user doesn't have enough of the supply token or native gas token, check balances on other chains. If the user has assets on the same chain, prompt them to swap. If the user has assets on another chain, prompt them to bridge to the target chain before proceeding.
3838

3939
## Query supply transaction
4040

skills/metamask-agent-workflows/workflows/aave-supply.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ Aave V3 doesn't accept native ETH on most markets. If the reserve accepts native
3131
Check that the user has sufficient funds:
3232

3333
```bash
34-
mm wallet balance --chain-id <CHAIN_ID> --token <ASSET_SYMBOL_OR_ADDRESS>
34+
mm wallet balance --chain <CHAIN_ID>
3535
```
3636

37-
If the balance is insufficient, tell the user and stop.
37+
If the user doesn't have enough of the supply token or native gas token, check balances on other chains. If the user has assets on the same chain, prompt them to swap. If the user has assets on another chain, prompt them to bridge to the target chain before proceeding.
3838

3939
## Query supply transaction
4040

0 commit comments

Comments
 (0)