From a5d7f7933642c38704148cbe8b86c0b88dd5f573 Mon Sep 17 00:00:00 2001 From: Jeff Doyle Date: Mon, 8 Jan 2024 13:09:24 -0800 Subject: [PATCH] Update 20230330-interaction-templates-1.1.0.md (#228) * Update 20230330-interaction-templates-1.1.0.md https://flix.flow.com/v1/templates/290b6b6222b2a77b16db896a80ddf29ebd1fa3038c9e6625a933fa213fce51fa * Update 20230330-interaction-templates-1.1.0.md fix typo * Update 20230330-interaction-templates-1.1.0.md --------- Co-authored-by: Tom Haile --- application/20230330-interaction-templates-1.1.0.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/20230330-interaction-templates-1.1.0.md b/application/20230330-interaction-templates-1.1.0.md index 7ae02254..569b5820 100644 --- a/application/20230330-interaction-templates-1.1.0.md +++ b/application/20230330-interaction-templates-1.1.0.md @@ -620,7 +620,7 @@ pub fun main(address: Address): UFix64 { #### `data.dependencies` -For each dependency of the interaction (each contract that is imported in the cadence of the interaction), there must be network keyed (mainnet || testnet) dependency information. The information for each network should contain the address of the account where the contract is deployed, the fully qualified identifier for the contract, dependency tree pin and block height the pin was preformed at. The dependency tree pin is performed by the following pseudocode: +For each dependency of the interaction (each contract that is imported in the cadence of the interaction), there must be network keyed (mainnet || testnet) dependency information. The information for each network should contain the address of the account where the contract is deployed, dependency pin of the contract, the pin of the contract itself (SHA3-256 hash of itself) and block height the pin was preformed at. The dependency tree pin is performed by the following pseudocode: ```javascript // Example contracts map @@ -858,7 +858,7 @@ template-message-key = Key for a template message (eg: "title", "descr template-message = [ sha3_256(template-message-key), [ ...template-message-translation ] ] template-dependency-contract-pin-block-height = Network block height the pin was generated against. -template-dependency-contract-pin = Pin of contract and it's dependency tree +template-dependency-contract-pin = Pin of contract and its dependency tree template-dependency-contract-pin-self = Pin of the contract itself template-dependency-network-address = Address of an account template-dependency-network = "mainnet" | "testnet" | "emulator" | Custom Network Tag