Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Fixed example in README
  • Loading branch information
dhedey authored Jan 15, 2025
1 parent 852a6ad commit 41a66a8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,20 +87,20 @@ import {

const manifest = new ManifestBuilder()
.callMethod(
"account_sim1q3cztnp4h232hsfmu0j63f7f7mz5wxhd0n0hqax6smjqznhzrp",
"account_sim1c9yeaya6pehau0fn7vgavuggeev64gahsh05dauae2uu25njk224xz",
"withdraw",
[
address(
"resource_sim1qf7mtmy9a6eczv9km4j4ul38cfvap0zy6juuj8m8xnxqlla6pd"
"resource_sim1thzv5rnmlla89ff2w8pn3mn9rvdlmvht3qest28s5hqpwy0y0exq4r"
),
decimal(10),
]
)
.takeAllFromWorktop(
"resource_sim1qf7mtmy9a6eczv9km4j4ul38cfvap0zy6juuj8m8xnxqlla6pd",
"resource_sim1thzv5rnmlla89ff2w8pn3mn9rvdlmvht3qest28s5hqpwy0y0exq4r",
(builder, bucketId) =>
builder.callMethod(
"account_sim1qs5mg6tcehg95mugc9d3lpl90clnl787zmhc92cf04wqvqvztr",
"account_sim1cxt6fpmrh02xayu96pxwp9ctr0vy0qsxxjwdmsudgulesfqwfpm3sj",
"try_deposit_or_abort",
[bucket(bucketId)]
)
Expand Down

0 comments on commit 41a66a8

Please sign in to comment.