-
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stl: move ContractState from consensus library to a dedicated lib
- Loading branch information
1 parent
f57448b
commit 304a191
Showing
12 changed files
with
432 additions
and
357 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,6 +52,21 @@ fn main() { | |
) | ||
.expect("unable to write to the file"); | ||
|
||
rgbcore::stl::rgb_state_stl() | ||
.serialize( | ||
format, | ||
dir.as_ref(), | ||
"0.1.0", | ||
Some( | ||
" | ||
Description: Consensus contract state for RGB smart contracts | ||
Author: Dr Maxim Orlovsky <[email protected]> | ||
Copyright (C) 2023-2024 LNP/BP Standards Association. All rights reserved. | ||
License: Apache-2.0", | ||
), | ||
) | ||
.expect("unable to write to the file"); | ||
|
||
let std = std_stl(); | ||
let tx = bp_tx_stl(); | ||
let bp = bp_core_stl(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.