Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 70 additions & 0 deletions Scarb.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,59 @@ name = "cubit"
version = "1.3.0"
source = "git+https://github.com/bal7hazar/cubit?branch=cairo-2.8.4#6bce623d5c735c097be47a4045c0e0432bad38e7"

[[package]]
name = "openzeppelin_access"
version = "0.17.0"
source = "registry+https://scarbs.xyz/"
checksum = "sha256:541bb8fdf1ad17fe0d275b00acb9f0d7f56ea5534741e21535ac3fda2c600281"
dependencies = [
"openzeppelin_introspection",
"openzeppelin_utils",
]

[[package]]
name = "openzeppelin_account"
version = "0.17.0"
source = "registry+https://scarbs.xyz/"
checksum = "sha256:c4e11609fdd1f4c3d3004cd1468711bd2ea664739c9e59a4b270567fe4c23ee3"
dependencies = [
"openzeppelin_introspection",
"openzeppelin_utils",
]

[[package]]
name = "openzeppelin_governance"
version = "0.17.0"
source = "registry+https://scarbs.xyz/"
checksum = "sha256:b7e0142d88d69a8c367aea8c9dc7f659f27372551efc23f39a0cf71a189c1302"
dependencies = [
"openzeppelin_access",
"openzeppelin_introspection",
]

[[package]]
name = "openzeppelin_introspection"
version = "0.17.0"
source = "registry+https://scarbs.xyz/"
checksum = "sha256:892433a4a1ea0fc9cf7cdb01e06ddc2782182abcc188e4ea5dd480906d006cf8"

[[package]]
name = "openzeppelin_token"
version = "0.17.0"
source = "registry+https://scarbs.xyz/"
checksum = "sha256:77997a7e217b69674c34b402dc0c7b2210540db66a56087572679c31896eaabb"
dependencies = [
"openzeppelin_account",
"openzeppelin_governance",
"openzeppelin_introspection",
]

[[package]]
name = "openzeppelin_utils"
version = "0.17.0"
source = "registry+https://scarbs.xyz/"
checksum = "sha256:36d93e353f42fd6b824abcd8b4b51c3f5d02c893c5f886ae81403b0368aa5fde"

[[package]]
name = "origami_algebra"
version = "1.0.0-rc.2"
Expand Down Expand Up @@ -35,3 +88,20 @@ version = "1.0.0-rc.2"
[[package]]
name = "origami_security"
version = "1.0.0-rc.2"

[[package]]
name = "origami_token_bound_accounts"
version = "1.0.0-rc.2"
dependencies = [
"token_bound_accounts",
]

[[package]]
name = "token_bound_accounts"
version = "0.3.1"
source = "registry+https://scarbs.xyz/"
checksum = "sha256:75e6ce74837d9d3199a1ce22cefcf464995ebeb3c86595eb9147b00a0c20e890"
dependencies = [
"openzeppelin_introspection",
"openzeppelin_token",
]
1 change: 1 addition & 0 deletions Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ members = [
"crates/random",
"crates/rating",
"crates/security",
"crates/tba",
]

[workspace.package]
Expand Down
17 changes: 17 additions & 0 deletions crates/tba/Scarb.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[package]
name = "origami_token_bound_accounts"
version.workspace = true
description = "A port of ERC6551 to Starknet (SNIP-14)"
homepage = "https//www.tbaexplorer.com/"
edition = "2024_07"

[dependencies]
token_bound_accounts = "0.3.1"



# name = "token_bound_accounts"
# version.workspace = true
# description = "A port of ERC6551 to Starknet (SNIP-14)"
# homepage = "https://www.tbaexplorer.com/"
# edition = "2024_07"
1 change: 1 addition & 0 deletions crates/tba/src/lib.cairo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pub use token_bound_accounts::{registry, interfaces, accountV3, test_helper, components, utils};
1 change: 1 addition & 0 deletions scripts/build-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ scarb --manifest-path crates/map/Scarb.toml build
scarb --manifest-path crates/random/Scarb.toml build
scarb --manifest-path crates/rating/Scarb.toml build
scarb --manifest-path crates/security/Scarb.toml build
scarb --manifest-path crates/tba/Scarb.toml build

# Sozo dependent crates.
sozo build --package "origami_token"
Expand Down