Skip to content

Commit 5ad7204

Browse files
authored
Merge pull request #167 from LNP-BP/id-update
RGB*: update with new Baid58 v0.4 ids
2 parents f98e8f3 + 8aa190e commit 5ad7204

File tree

8 files changed

+361
-593
lines changed

8 files changed

+361
-593
lines changed

lnpbp-0020.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Comments-URI: <https://github.com/LNP-BP/LNPBPs/discussions/140>
1616
Status: Proposal
1717
Type: Standards Track
1818
Created: 2019-09-23
19-
Updated: 2023-05-10
19+
Updated: 2023-07-24
2020
Finalized: ~
2121
Copyright: (0) public domain
2222
License: CC0-1.0
@@ -69,7 +69,7 @@ Interface specification is the following Contractum code:
6969

7070
```haskell
7171
-- Defined by LNPBP-31 standard in `RGBContract.sty` file
72-
import scoop_ocean_contour_DizxAzKBUaXCUkEZDGQegfJXQeK5Nk4pK142eEkC1EBM as RGBContract
72+
import urn:ubideco:stl:6vbr9ZrtsD9aBjo5qRQ36QEZPVucqvRRjKCPqE8yPeJr#choice-little-boxer as RGBContract
7373

7474
interface RGB20
7575
-- Asset specification containing ticker, name, precision etc.

lnpbp-0021.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Comments-URI: <https://github.com/LNP-BP/LNPBPs/issues/70>
1414
Status: Proposal
1515
Type: Standards Track
1616
Created: 2020-09-10
17-
Updated: 2023-05-10
17+
Updated: 2023-07-24
1818
License: CC0-1.0
1919
```
2020

@@ -57,7 +57,7 @@ Interface specification is the following Contractum code:
5757

5858
```haskell
5959
-- Defined by LNPBP-31 standard in `RGBContract.sty` file
60-
import scoop_ocean_contour_DizxAzKBUaXCUkEZDGQegfJXQeK5Nk4pK142eEkC1EBM as RGBContract
60+
import urn:ubideco:stl:6vbr9ZrtsD9aBjo5qRQ36QEZPVucqvRRjKCPqE8yPeJr#choice-little-boxer as RGBContract
6161

6262
-- # Defining main data structures
6363

lnpbp-0022.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Comments-URI: <https://github.com/LNP-BP/LNPBPs/discussions>
99
Status: Draft
1010
Type: Standards Track
1111
Created: 2020-09-10
12-
Updated: 2023-05-10
12+
Updated: 2023-07-24
1313
Finalized: ~
1414
Copyright: (0) public domain
1515
License: CC0-1.0
@@ -54,7 +54,7 @@ Interface specification is the following Contractum code:
5454

5555
```haskell
5656
-- Defined by LNPBP-31 standard in `RGBContract.sty` file
57-
import scoop_ocean_contour_DizxAzKBUaXCUkEZDGQegfJXQeK5Nk4pK142eEkC1EBM as RGBContract
57+
import urn:ubideco:stl:6vbr9ZrtsD9aBjo5qRQ36QEZPVucqvRRjKCPqE8yPeJr#choice-little-boxer as RGBContract
5858

5959
data XonlyPubkey :: [Byte ^ 32]
6060
data SchnorrSig :: [Byte ^ 64]

lnpbp-0023.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Comments-URI: <https://github.com/LNP-BP/LNPBPs/discussions>
88
Status: Proposal
99
Type: Standards Track
1010
Created: 2020-09-10
11-
Updated: 2023-05-10
11+
Updated: 2023-07-24
1212
Finalized: ~
1313
Copyright: (0) public domain
1414
License: CC0-1.0
@@ -45,7 +45,7 @@ Interface specification is the following Contractum code:
4545

4646
```haskell
4747
-- Defined by LNPBP-31 standard in `RGBContract.sty` file
48-
import scoop_ocean_contour_DizxAzKBUaXCUkEZDGQegfJXQeK5Nk4pK142eEkC1EBM as RGBContract
48+
import urn:ubideco:stl:6vbr9ZrtsD9aBjo5qRQ36QEZPVucqvRRjKCPqE8yPeJr#choice-little-boxer as RGBContract
4949

5050
import RGB21
5151

lnpbp-0024.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Comments-URI: <https://github.com/LNP-BP/LNPBPs/discussions>
88
Status: Draft
99
Type: Standards Track
1010
Created: 2020-09-10
11-
Updated: 2023-05-10
11+
Updated: 2023-07-24
1212
Finalized: ~
1313
License: GPL-3.0
1414
```
@@ -44,13 +44,13 @@ Interface specification is the following Contractum code:
4444

4545
```haskell
4646
-- Defined by LNPBP-31 standard in `RGBContract.sty` file
47-
import scoop_ocean_contour_DizxAzKBUaXCUkEZDGQegfJXQeK5Nk4pK142eEkC1EBM as RGBContract
47+
import urn:ubideco:stl:6vbr9ZrtsD9aBjo5qRQ36QEZPVucqvRRjKCPqE8yPeJr#choice-little-boxer as RGBContract
4848

49-
import camel_product_float_9Y12p3rVHBiJh3TZUgup8kMtKggwNX5zPzWH9TgGRiwD as StdLib
49+
import urn:ubideco:stl:9KALDYR8Nyjq4FdMW6kYoL7vdkWnqPqNuFnmE9qHpNjZ#justice-rocket-type as Std
5050

5151
interface RGB24
52-
global root :: ContractId?
53-
global name :: Ident
52+
global root :: RGBContract.ContractId?
53+
global name :: Std.Ident
5454
global {registry} :: Record
5555

5656
global created :: RGBContract.Timestamp
@@ -62,11 +62,11 @@ interface RGB24
6262
invalidRoot |
6363
incompleteRegistry
6464

65-
data Hostname :: [StdLib.AlphaNumDash ^ 1..63]
65+
data Hostname :: [Std.AlphaNumDash ^ 1..63]
6666
data DomainName :: [Hostname ^ 1..0xFF]
6767

6868
data Record :: host Hostname, entry Entry
69-
data Entry :: a IPv4 | aaaa IPv6 | cname DomainName | sub RGB24.ContractId
69+
data Entry :: a IPv4 | aaaa IPv6 | cname DomainName | sub RGBContract.ContractId
7070
```
7171

7272
## Compatibility

lnpbp-0025.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Comments-URI: <https://github.com/LNP-BP/LNPBPs/discussions>
1111
Status: Proposal
1212
Type: Standards Track
1313
Created: 2023-06-28
14-
Updated: 2023-06-28
14+
Updated: 2023-07-24
1515
Finalized: ~
1616
Copyright: (0) public domain
1717
License: CC0-1.0
@@ -48,7 +48,7 @@ Interface specification is the following Contractum code:
4848

4949
```haskell
5050
-- Defined by LNPBP-31 standard in `RGBContract.sty` file
51-
import scoop_ocean_contour_DizxAzKBUaXCUkEZDGQegfJXQeK5Nk4pK142eEkC1EBM as RGBContract
51+
import urn:ubideco:stl:6vbr9ZrtsD9aBjo5qRQ36QEZPVucqvRRjKCPqE8yPeJr#choice-little-boxer as RGBContract
5252

5353
interface RGB25
5454
global name :: RGBContract.Name

lnpbp-0030.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Comments-URI: <https://github.com/LNP-BP/LNPBPs/discussions/140>
88
Status: Proposal
99
Type: Standards Track
1010
Created: 2021-06-23
11-
Updated: 2023-05-10
11+
Updated: 2023-07-24
1212
Finalized: ~
1313
Copyright: (0) public domain
1414
License: CC0-1.0
@@ -46,15 +46,13 @@ Interface specification is the following Contractum code:
4646

4747
```haskell
4848
-- Defined by LNPBP-31 standard in `RGBContract.sty` file
49-
import scoop_ocean_contour_DizxAzKBUaXCUkEZDGQegfJXQeK5Nk4pK142eEkC1EBM as RGBContract
49+
import urn:ubideco:stl:6vbr9ZrtsD9aBjo5qRQ36QEZPVucqvRRjKCPqE8yPeJr#choice-little-boxer as RGBContract
5050

5151
interface RGB30
5252
-- Asset specification containing ticker, name, precision etc.
5353
global spec :: RGBContract.DivisibleAssetSpec
5454

55-
-- Contract text and creation date is separated from the spec since it must
56-
-- not be changeable by the issuer.
57-
global terms :: RGBContract.RicardianContract
55+
global data :: RGBContract.ContractData
5856
global created :: RGBContract.Timestamp
5957

6058
-- Ownership right over assets

0 commit comments

Comments
 (0)