rgb_schemata/
lib.rs

1// RGB schemata by LNP/BP Standards Association
2//
3// SPDX-License-Identifier: Apache-2.0
4//
5// Written in 2023 by
6//     Dr Maxim Orlovsky <orlovsky@lnp-bp.org>
7//
8// Copyright (C) 2023 LNP/BP Standards Association. All rights reserved.
9//
10// Licensed under the Apache License, Version 2.0 (the "License");
11// you may not use this file except in compliance with the License.
12// You may obtain a copy of the License at
13//
14//     http://www.apache.org/licenses/LICENSE-2.0
15//
16// Unless required by applicable law or agreed to in writing, software
17// distributed under the License is distributed on an "AS IS" BASIS,
18// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19// See the License for the specific language governing permissions and
20// limitations under the License.
21
22#[macro_use]
23extern crate amplify;
24#[macro_use]
25extern crate strict_types;
26
27mod cfa;
28mod nia;
29mod uda;
30
31const GS_NOMINAL: u16 = 2000;
32const GS_DATA: u16 = 2001;
33const GS_ISSUED_SUPPLY: u16 = 2002;
34const GS_TIMESTAMP: u16 = 2003;
35const OS_ASSET: u16 = 4000;
36const TS_TRANSFER: u16 = 10000;
37
38pub use cfa::{cfa_rgb25, cfa_schema};
39pub use nia::{nia_rgb20, nia_schema};
40pub use uda::{uda_rgb21, uda_schema};