Skip to content

Commit

Permalink
new ink in examples and uniswap example
Browse files Browse the repository at this point in the history
  • Loading branch information
coreggon11 committed Apr 11, 2023
1 parent 49cd9b2 commit 145bd7f
Show file tree
Hide file tree
Showing 138 changed files with 448 additions and 660 deletions.
2 changes: 1 addition & 1 deletion docs/docs/capabilities.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ sidebar_position: 2
title: Capabilities
---

Sol2Ink can parse Solidity files into ink! project while leveraging the power of [OpenBrush](https://github.com/727-Ventures/openbrush-contracts). You can either parse a single file by providing the path to the file, or a whole folder by providing the path to teh folder. In the latter case, Sol2Ink will parse all Solidity files in the selected folder file tree and add them to one big ink! project. The output of Sol2Ink is a folder called `generated` with the following file structure:
Sol2Ink can parse Solidity files into ink! project while leveraging the power of [OpenBrush](https://github.com/Brushfam/openbrush-contracts). You can either parse a single file by providing the path to the file, or a whole folder by providing the path to teh folder. In the latter case, Sol2Ink will parse all Solidity files in the selected folder file tree and add them to one big ink! project. The output of Sol2Ink is a folder called `generated` with the following file structure:

```shell
├── contracts
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/issues.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ Here is a list of known issues which you may face using Sol2Ink:
- Overloading functions is supported in Solidity but not in Rust
- Functions as parameters

Sol2Ink still needs to walk some path. Every time you use Sol2Ink to transpile your contracts from Solidity to ink!, run the generated code by a human brain to get the best results! If you find any issue, let us know in our [Element chat](https://matrix.to/#/!utTuYglskDvqRRMQta:matrix.org?via=matrix.org&via=t2bot.io&via=web3.foundation), [Discord](https://discord.gg/6TXE7n7Ptc) or simply open an issue in our [GitHub repo](https://github.com/727-Ventures/sol2ink)
Sol2Ink still needs to walk some path. Every time you use Sol2Ink to transpile your contracts from Solidity to ink!, run the generated code by a human brain to get the best results! If you find any issue, let us know in our [Element chat](https://matrix.to/#/!utTuYglskDvqRRMQta:matrix.org?via=matrix.org&via=t2bot.io&via=web3.foundation), [Discord](https://discord.gg/6TXE7n7Ptc) or simply open an issue in our [GitHub repo](https://github.com/Brushfam/sol2ink)
8 changes: 4 additions & 4 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
const config = {
title: 'Sol2Ink',
tagline: 'Sol2Ink documentation',
url: 'https://727-ventures.github.io/sol2ink/',
url: 'https://Brushfam.github.io/sol2ink/',
baseUrl: '/sol2ink/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.ico',
organizationName: '727-Ventures',
organizationName: 'Brushfam',
projectName: 'sol2ink',
deploymentBranch: 'gh-pages',

Expand All @@ -34,7 +34,7 @@ const config = {
position: 'right'
},
{
href: 'https://github.com/727-Ventures/sol2ink',
href: 'https://github.com/Brushfam/sol2ink',
className: 'header-github-link',
position: 'right'
}
Expand All @@ -57,7 +57,7 @@ const config = {
docs: {
routeBasePath: '/',
sidebarPath: require.resolve('./sidebars.js'),
editUrl: 'https://github.com/727-Ventures/sol2ink/tree/main/docs'
editUrl: 'https://github.com/Brushfam/sol2ink/tree/main/docs'
},
theme: {
customCss: [require.resolve('./src/css/custom.scss')]
Expand Down
2 changes: 1 addition & 1 deletion src/assembler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,7 @@ fn assemble_function_headers(function_headers: &[FunctionHeader]) -> TokenStream
fn signature() -> TokenStream {
const VERSION: &str = env!("CARGO_PKG_VERSION");
let version = &format!("Generated with Sol2Ink v{VERSION}\n");
let link = "https://github.com/727-Ventures/sol2ink\n";
let link = "https://github.com/Brushfam/sol2ink\n";
quote! {
_comment_!(#version);
_comment_!(#link);
Expand Down
2 changes: 1 addition & 1 deletion src/toml_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pub fn generate_cargo_toml(package_name: &str, mod_name: Option<String>) -> Stri
));
out.push_str("scale = { package = \"parity-scale-codec\", version = \"3\", default-features = false, features = [\"derive\"] }\n");
out.push_str("scale-info = { version = \"2.3\", default-features = false, features = [\"derive\"], optional = true }\n");
out.push_str(&format!("openbrush = {{ git = \"https://github.com/727-Ventures/openbrush-contracts\", tag = \"{}\", default-features = false, features = [] }}\n", OPENBRUSH_VERSION));
out.push_str(&format!("openbrush = {{ git = \"https://github.com/Brushfam/openbrush-contracts\", tag = \"{}\", default-features = false, features = [] }}\n", OPENBRUSH_VERSION));
out.push('\n');

if let Some(mod_name) = mod_name.clone() {
Expand Down
2 changes: 1 addition & 1 deletion tests/generated/contracts/access_control/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors = ["Sol2Ink"]
ink = { version = "~4.1.0", default-features = false }
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
scale-info = { version = "2.3", default-features = false, features = ["derive"], optional = true }
openbrush = { git = "https://github.com/727-Ventures/openbrush-contracts", tag = "3.1.0", default-features = false, features = [] }
openbrush = { git = "https://github.com/Brushfam/openbrush-contracts", tag = "3.1.0", default-features = false, features = [] }

generated = { path = "../../src", default-features = false }

Expand Down
2 changes: 1 addition & 1 deletion tests/generated/contracts/access_control/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#![feature(min_specialization)]

// Generated with Sol2Ink v2.1.0
// https://github.com/727-Ventures/sol2ink
// https://github.com/Brushfam/sol2ink

/// SPDX-License-Identifier: MIT
/// OpenZeppelin Contracts (last updated v4.8.0) (access/AccessControl.sol)
Expand Down
2 changes: 1 addition & 1 deletion tests/generated/contracts/array_contract/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors = ["Sol2Ink"]
ink = { version = "~4.1.0", default-features = false }
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
scale-info = { version = "2.3", default-features = false, features = ["derive"], optional = true }
openbrush = { git = "https://github.com/727-Ventures/openbrush-contracts", tag = "3.1.0", default-features = false, features = [] }
openbrush = { git = "https://github.com/Brushfam/openbrush-contracts", tag = "3.1.0", default-features = false, features = [] }

generated = { path = "../../src", default-features = false }

Expand Down
2 changes: 1 addition & 1 deletion tests/generated/contracts/array_contract/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#![feature(min_specialization)]

// Generated with Sol2Ink v2.1.0
// https://github.com/727-Ventures/sol2ink
// https://github.com/Brushfam/sol2ink

/// SPDX-License-Identifier: MIT
/// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/ERC1155.sol)
Expand Down
2 changes: 1 addition & 1 deletion tests/generated/contracts/comment_contract/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors = ["Sol2Ink"]
ink = { version = "~4.1.0", default-features = false }
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
scale-info = { version = "2.3", default-features = false, features = ["derive"], optional = true }
openbrush = { git = "https://github.com/727-Ventures/openbrush-contracts", tag = "3.1.0", default-features = false, features = [] }
openbrush = { git = "https://github.com/Brushfam/openbrush-contracts", tag = "3.1.0", default-features = false, features = [] }

generated = { path = "../../src", default-features = false }

Expand Down
2 changes: 1 addition & 1 deletion tests/generated/contracts/comment_contract/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#![feature(min_specialization)]

// Generated with Sol2Ink v2.1.0
// https://github.com/727-Ventures/sol2ink
// https://github.com/Brushfam/sol2ink

#[openbrush::contract]
pub mod comment_contract {
Expand Down
2 changes: 1 addition & 1 deletion tests/generated/contracts/erc_1155/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors = ["Sol2Ink"]
ink = { version = "~4.1.0", default-features = false }
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
scale-info = { version = "2.3", default-features = false, features = ["derive"], optional = true }
openbrush = { git = "https://github.com/727-Ventures/openbrush-contracts", tag = "3.1.0", default-features = false, features = [] }
openbrush = { git = "https://github.com/Brushfam/openbrush-contracts", tag = "3.1.0", default-features = false, features = [] }

generated = { path = "../../src", default-features = false }

Expand Down
2 changes: 1 addition & 1 deletion tests/generated/contracts/erc_1155/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#![feature(min_specialization)]

// Generated with Sol2Ink v2.1.0
// https://github.com/727-Ventures/sol2ink
// https://github.com/Brushfam/sol2ink

/// SPDX-License-Identifier: MIT
/// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC1155/ERC1155.sol)
Expand Down
2 changes: 1 addition & 1 deletion tests/generated/contracts/erc_20/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors = ["Sol2Ink"]
ink = { version = "~4.1.0", default-features = false }
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
scale-info = { version = "2.3", default-features = false, features = ["derive"], optional = true }
openbrush = { git = "https://github.com/727-Ventures/openbrush-contracts", tag = "3.1.0", default-features = false, features = [] }
openbrush = { git = "https://github.com/Brushfam/openbrush-contracts", tag = "3.1.0", default-features = false, features = [] }

generated = { path = "../../src", default-features = false }

Expand Down
2 changes: 1 addition & 1 deletion tests/generated/contracts/erc_20/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#![feature(min_specialization)]

// Generated with Sol2Ink v2.1.0
// https://github.com/727-Ventures/sol2ink
// https://github.com/Brushfam/sol2ink

/// SPDX-License-Identifier: MIT
/// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)
Expand Down
2 changes: 1 addition & 1 deletion tests/generated/contracts/erc_721/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors = ["Sol2Ink"]
ink = { version = "~4.1.0", default-features = false }
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
scale-info = { version = "2.3", default-features = false, features = ["derive"], optional = true }
openbrush = { git = "https://github.com/727-Ventures/openbrush-contracts", tag = "3.1.0", default-features = false, features = [] }
openbrush = { git = "https://github.com/Brushfam/openbrush-contracts", tag = "3.1.0", default-features = false, features = [] }

generated = { path = "../../src", default-features = false }

Expand Down
2 changes: 1 addition & 1 deletion tests/generated/contracts/erc_721/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#![feature(min_specialization)]

// Generated with Sol2Ink v2.1.0
// https://github.com/727-Ventures/sol2ink
// https://github.com/Brushfam/sol2ink

/// SPDX-License-Identifier: MIT
/// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/ERC721.sol)
Expand Down
2 changes: 1 addition & 1 deletion tests/generated/contracts/example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors = ["Sol2Ink"]
ink = { version = "~4.1.0", default-features = false }
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
scale-info = { version = "2.3", default-features = false, features = ["derive"], optional = true }
openbrush = { git = "https://github.com/727-Ventures/openbrush-contracts", tag = "3.1.0", default-features = false, features = [] }
openbrush = { git = "https://github.com/Brushfam/openbrush-contracts", tag = "3.1.0", default-features = false, features = [] }

generated = { path = "../../src", default-features = false }

Expand Down
2 changes: 1 addition & 1 deletion tests/generated/contracts/example/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#![feature(min_specialization)]

// Generated with Sol2Ink v2.1.0
// https://github.com/727-Ventures/sol2ink
// https://github.com/Brushfam/sol2ink

/// example.sol
#[openbrush::contract]
Expand Down
2 changes: 1 addition & 1 deletion tests/generated/contracts/flipper/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors = ["Sol2Ink"]
ink = { version = "~4.1.0", default-features = false }
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
scale-info = { version = "2.3", default-features = false, features = ["derive"], optional = true }
openbrush = { git = "https://github.com/727-Ventures/openbrush-contracts", tag = "3.1.0", default-features = false, features = [] }
openbrush = { git = "https://github.com/Brushfam/openbrush-contracts", tag = "3.1.0", default-features = false, features = [] }

generated = { path = "../../src", default-features = false }

Expand Down
2 changes: 1 addition & 1 deletion tests/generated/contracts/flipper/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#![feature(min_specialization)]

// Generated with Sol2Ink v2.1.0
// https://github.com/727-Ventures/sol2ink
// https://github.com/Brushfam/sol2ink

#[openbrush::contract]
pub mod flipper {
Expand Down
2 changes: 1 addition & 1 deletion tests/generated/contracts/function_contract/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors = ["Sol2Ink"]
ink = { version = "~4.1.0", default-features = false }
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
scale-info = { version = "2.3", default-features = false, features = ["derive"], optional = true }
openbrush = { git = "https://github.com/727-Ventures/openbrush-contracts", tag = "3.1.0", default-features = false, features = [] }
openbrush = { git = "https://github.com/Brushfam/openbrush-contracts", tag = "3.1.0", default-features = false, features = [] }

generated = { path = "../../src", default-features = false }

Expand Down
2 changes: 1 addition & 1 deletion tests/generated/contracts/function_contract/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#![feature(min_specialization)]

// Generated with Sol2Ink v2.1.0
// https://github.com/727-Ventures/sol2ink
// https://github.com/Brushfam/sol2ink

#[openbrush::contract]
pub mod function_contract {
Expand Down
2 changes: 1 addition & 1 deletion tests/generated/contracts/primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors = ["Sol2Ink"]
ink = { version = "~4.1.0", default-features = false }
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
scale-info = { version = "2.3", default-features = false, features = ["derive"], optional = true }
openbrush = { git = "https://github.com/727-Ventures/openbrush-contracts", tag = "3.1.0", default-features = false, features = [] }
openbrush = { git = "https://github.com/Brushfam/openbrush-contracts", tag = "3.1.0", default-features = false, features = [] }

generated = { path = "../../src", default-features = false }

Expand Down
2 changes: 1 addition & 1 deletion tests/generated/contracts/primitives/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#![feature(min_specialization)]

// Generated with Sol2Ink v2.1.0
// https://github.com/727-Ventures/sol2ink
// https://github.com/Brushfam/sol2ink

#[openbrush::contract]
pub mod primitives {
Expand Down
2 changes: 1 addition & 1 deletion tests/generated/contracts/stable_swap/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors = ["Sol2Ink"]
ink = { version = "~4.1.0", default-features = false }
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
scale-info = { version = "2.3", default-features = false, features = ["derive"], optional = true }
openbrush = { git = "https://github.com/727-Ventures/openbrush-contracts", tag = "3.1.0", default-features = false, features = [] }
openbrush = { git = "https://github.com/Brushfam/openbrush-contracts", tag = "3.1.0", default-features = false, features = [] }

generated = { path = "../../src", default-features = false }

Expand Down
2 changes: 1 addition & 1 deletion tests/generated/contracts/stable_swap/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#![feature(min_specialization)]

// Generated with Sol2Ink v2.1.0
// https://github.com/727-Ventures/sol2ink
// https://github.com/Brushfam/sol2ink

#[openbrush::contract]
pub mod stable_swap {
Expand Down
2 changes: 1 addition & 1 deletion tests/generated/contracts/struct_contract/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors = ["Sol2Ink"]
ink = { version = "~4.1.0", default-features = false }
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
scale-info = { version = "2.3", default-features = false, features = ["derive"], optional = true }
openbrush = { git = "https://github.com/727-Ventures/openbrush-contracts", tag = "3.1.0", default-features = false, features = [] }
openbrush = { git = "https://github.com/Brushfam/openbrush-contracts", tag = "3.1.0", default-features = false, features = [] }

generated = { path = "../../src", default-features = false }

Expand Down
2 changes: 1 addition & 1 deletion tests/generated/contracts/struct_contract/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#![feature(min_specialization)]

// Generated with Sol2Ink v2.1.0
// https://github.com/727-Ventures/sol2ink
// https://github.com/Brushfam/sol2ink

#[openbrush::contract]
pub mod struct_contract {
Expand Down
2 changes: 1 addition & 1 deletion tests/generated/src/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors = ["Sol2Ink"]
ink = { version = "~4.1.0", default-features = false }
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
scale-info = { version = "2.3", default-features = false, features = ["derive"], optional = true }
openbrush = { git = "https://github.com/727-Ventures/openbrush-contracts", tag = "3.1.0", default-features = false, features = [] }
openbrush = { git = "https://github.com/Brushfam/openbrush-contracts", tag = "3.1.0", default-features = false, features = [] }


[lib]
Expand Down
2 changes: 1 addition & 1 deletion tests/generated/src/impls/access_control.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Generated with Sol2Ink v2.1.0
// https://github.com/727-Ventures/sol2ink
// https://github.com/Brushfam/sol2ink

pub use crate::{
impls,
Expand Down
2 changes: 1 addition & 1 deletion tests/generated/src/impls/array_contract.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Generated with Sol2Ink v2.1.0
// https://github.com/727-Ventures/sol2ink
// https://github.com/Brushfam/sol2ink

pub use crate::{
impls,
Expand Down
2 changes: 1 addition & 1 deletion tests/generated/src/impls/comment_contract.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Generated with Sol2Ink v2.1.0
// https://github.com/727-Ventures/sol2ink
// https://github.com/Brushfam/sol2ink

pub use crate::{
impls,
Expand Down
2 changes: 1 addition & 1 deletion tests/generated/src/impls/erc_1155.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Generated with Sol2Ink v2.1.0
// https://github.com/727-Ventures/sol2ink
// https://github.com/Brushfam/sol2ink

pub use crate::{
impls,
Expand Down
2 changes: 1 addition & 1 deletion tests/generated/src/impls/erc_20.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Generated with Sol2Ink v2.1.0
// https://github.com/727-Ventures/sol2ink
// https://github.com/Brushfam/sol2ink

pub use crate::{
impls,
Expand Down
2 changes: 1 addition & 1 deletion tests/generated/src/impls/erc_721.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Generated with Sol2Ink v2.1.0
// https://github.com/727-Ventures/sol2ink
// https://github.com/Brushfam/sol2ink

pub use crate::{
impls,
Expand Down
2 changes: 1 addition & 1 deletion tests/generated/src/impls/example.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Generated with Sol2Ink v2.1.0
// https://github.com/727-Ventures/sol2ink
// https://github.com/Brushfam/sol2ink

pub use crate::{
impls,
Expand Down
2 changes: 1 addition & 1 deletion tests/generated/src/impls/flipper.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Generated with Sol2Ink v2.1.0
// https://github.com/727-Ventures/sol2ink
// https://github.com/Brushfam/sol2ink

pub use crate::{
impls,
Expand Down
2 changes: 1 addition & 1 deletion tests/generated/src/impls/function_contract.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Generated with Sol2Ink v2.1.0
// https://github.com/727-Ventures/sol2ink
// https://github.com/Brushfam/sol2ink

pub use crate::{
impls,
Expand Down
2 changes: 1 addition & 1 deletion tests/generated/src/impls/primitives.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Generated with Sol2Ink v2.1.0
// https://github.com/727-Ventures/sol2ink
// https://github.com/Brushfam/sol2ink

pub use crate::{
impls,
Expand Down
2 changes: 1 addition & 1 deletion tests/generated/src/impls/stable_swap.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Generated with Sol2Ink v2.1.0
// https://github.com/727-Ventures/sol2ink
// https://github.com/Brushfam/sol2ink

pub use crate::{
impls,
Expand Down
2 changes: 1 addition & 1 deletion tests/generated/src/impls/struct_contract.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Generated with Sol2Ink v2.1.0
// https://github.com/727-Ventures/sol2ink
// https://github.com/Brushfam/sol2ink

pub use crate::{
impls,
Expand Down
2 changes: 1 addition & 1 deletion tests/generated/src/libs/math.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


// Generated with Sol2Ink v2.1.0
// https://github.com/727-Ventures/sol2ink
// https://github.com/Brushfam/sol2ink

/// SPDX-License-Identifier: MIT
/// Simplified version of Curve's stable swap AMM
Expand Down
2 changes: 1 addition & 1 deletion tests/generated/src/libs/safe_math.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
pub use openbrush::traits::String;

// Generated with Sol2Ink v2.1.0
// https://github.com/727-Ventures/sol2ink
// https://github.com/Brushfam/sol2ink

/// SPDX-License-Identifier: MIT
/// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)
Expand Down
2 changes: 1 addition & 1 deletion tests/generated/src/traits/access_control.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Generated with Sol2Ink v2.1.0
// https://github.com/727-Ventures/sol2ink
// https://github.com/Brushfam/sol2ink

pub use openbrush::{
storage::Mapping,
Expand Down
Loading

0 comments on commit 145bd7f

Please sign in to comment.