-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from radixdlt/feature/lp-nft-in-ociswap-adapter…
…-data Adding the global-id of the underlying NFT to ociswap adapter specific data.
- Loading branch information
Showing
14 changed files
with
590 additions
and
80 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#![allow(dead_code, clippy::enum_variant_names, clippy::wrong_self_convention)] | ||
|
||
mod default_configurations; | ||
mod publish; | ||
|
||
use clap::Parser; | ||
use publishing_tool::error::*; | ||
use radix_engine_common::prelude::*; | ||
use transaction::prelude::*; | ||
|
||
fn main() -> Result<(), Error> { | ||
env_logger::init(); | ||
let mut out = std::io::stdout(); | ||
let cli = <Cli as clap::Parser>::parse(); | ||
cli.run(&mut out) | ||
} | ||
|
||
#[derive(Parser, Debug)] | ||
pub enum Cli { | ||
Publish(publish::Publish), | ||
} | ||
|
||
impl Cli { | ||
pub fn run<O: std::io::Write>(self, out: &mut O) -> Result<(), Error> { | ||
match self { | ||
Self::Publish(cmd) => cmd.run(out), | ||
} | ||
} | ||
} |
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.