Skip to content

Commit

Permalink
Merge pull request #522 from gelisam/guide-broken-links
Browse files Browse the repository at this point in the history
fix broken GUIDE.md links
  • Loading branch information
L-as authored Jul 19, 2022
2 parents 21c5e53 + 782961f commit e7907e3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/DEVGUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Parts of the [Pluto guide](https://github.com/Plutonomicon/pluto/blob/main/GUIDE

## Plutus Core constants (UNSAFE)

> **NOTE**: The following information is almost never necessary with the existence of `pconstant`. Refer to [constant building](./GUIDE.md#constants) and [`PConstant`/`PLift`](./GUIDE.md#pconstant--plift) section of the Plutarch user guide.
> **NOTE**: The following information is almost never necessary with the existence of `pconstant`. Refer to [constant building](./Introduction/Plutarch%20Terms/Plutarch%20Constants.md) and [`PConstant` and `PLift`](./Typeclasses/PConstant%20and%20PLift.md) section of the Plutarch user guide.
Often, you will need to build a Plutus core constant. You can do this using `Some` and `ValueOf`. Here's how `pcon PTrue` creates a Plutarch term that actually evaluates to a Plutus core constant representing a boolean:

Expand Down Expand Up @@ -238,7 +238,7 @@ mockCtx =
Right (Program () (Version () 1 0 0) (Constant () (Some (ValueOf data (Constr 0 [List [Constr 0 [Constr 0 [Constr 0 [B ""],I 1],Constr 0 [Constr 0 [Constr 0 [B "\SOH#"],Constr 1 []],Map [],Constr 1 []]]],List [],Map [],Map [],List [],List [],Constr 0 [Constr 0 [Constr 1 [I 1],Constr 1 []],Constr 0 [Constr 1 [I 2],Constr 1 []]],List [],List [],Constr 0 [B ""]])))))
```

> Aside: You can find the definition of `evalWithArgsT` above - [Compiling and Running](./GUIDE.md#compiling-and-running).
> Aside: You can find the definition of `evalWithArgsT` above - [Compiling and Running](./README.md#compiling-and-running).
But we're not done yet! We want `txInfoInputs`. You may have noticed where exactly it is located on the above output. See that `List …`? Inside the outermost `Constr`'s fields? That's our `txInfoInputs`!

Expand Down
2 changes: 1 addition & 1 deletion docs/Typeclasses/PIsDataRepr and PDataFields.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ mockCtx =
Right (Program () (Version () 1 0 0) (Constant () (Some (ValueOf string "It's minting!"))))
```

> Aside: You can find the definition of `evalWithArgsT` at [Compiling and Running](../GUIDE.md#compiling-and-running).
> Aside: You can find the definition of `evalWithArgsT` at [Compiling and Running](../README.md#compiling-and-running).
## All about extracting fields

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/BASIC.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Basic examples demonstrating Plutarch usage.

> Note: If you spot any mistakes/have any related questions that this guide lacks the answer to, please don't hesitate to raise an issue. The goal is to have high quality documentation for Plutarch users!
> Aside: Be sure to check out [Compiling and Running](./../GUIDE.md#compiling-and-running) first!
> Aside: Be sure to check out [Compiling and Running](./../README.md#compiling-and-running) first!
# Fibonacci number at given index

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/VALIDATOR.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Examples of validators and minting policies written in Plutarch.
- [Validator that checks whether a value is present within signatories](#validator-that-checks-whether-a-value-is-present-within-signatories)
- [Using custom datum/redeemer in your Validator](#using-custom-datumredeemer-in-your-validator)

> Aside: Be sure to check out [Compiling and Running](./../GUIDE.md#compiling-and-running) first!
> Aside: Be sure to check out [Compiling and Running](./../README.md#compiling-and-running) first!
# Validator that always succeeds

Expand Down

0 comments on commit e7907e3

Please sign in to comment.