Skip to content

Commit

Permalink
Update 20230330-interaction-templates-1.1.0.md (#228)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
JeffreyDoyle and bthaile authored Jan 8, 2024
1 parent f6ea6a0 commit a5d7f79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/20230330-interaction-templates-1.1.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a5d7f79

Please sign in to comment.