From e98d3e5c8f3f2d76d13c9a02c4c73c3e5ae7829e Mon Sep 17 00:00:00 2001 From: Keefer Taylor Date: Wed, 31 Jul 2019 08:32:22 -0700 Subject: [PATCH] Update Michelson.md --- docs/Michelson.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Michelson.md b/docs/Michelson.md index 0746f4df..97871166 100644 --- a/docs/Michelson.md +++ b/docs/Michelson.md @@ -96,7 +96,7 @@ TezosKit can also introsepct contract storage and big maps. Since the set of ent ### Introspect Contract Storage Simply call the contract storage API on TezosNodeClient. The result will be a `[String: Any]` object which represents the JSON structure of the contract's storage. -``` +```swift let contractAddress = "KT1..." let tezosNodeClient = TezosNodeClient() tezosNodeClient.getContractStorage(address: contractAddress) { result in @@ -111,7 +111,7 @@ Big maps allow introspection of a single value at a time. The key value must hav For instance, to retrieve the value stored in a big map that is keyed by addresses: -``` +```swift let tezosNodeClient = TezosNodeClient() // Smart contract containing a big map