Skip to content

Commit

Permalink
created all files req
Browse files Browse the repository at this point in the history
  • Loading branch information
ametel01 committed Aug 10, 2024
1 parent 5c9455a commit 8e3a87d
Show file tree
Hide file tree
Showing 21 changed files with 70 additions and 0 deletions.
1 change: 1 addition & 0 deletions cairo/src/contracts/token/extensions/fast_hyp_erc20.cairo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions cairo/src/contracts/token/extensions/hyp_fiat_token.cairo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions cairo/src/contracts/token/extensions/hyp_xerc20.cairo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

23 changes: 23 additions & 0 deletions cairo/src/contracts/token/hyp_erc20.cairo
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#[starknet::interface]
pub mod IHypErc20<TState> {
fn initialize(ref self: TState);
fn decimals() -> u8;
fn balance_of(ref self: TState) -> Uint256;
}

#[starknet::contract]
pub mod HypErc20 {

#[storage]
struct Storage {}

fn constructor() {}

impl HypErc20Impl of super::IHypErc20<ContractState> {
fn initialize() {}

fn decimals() -> u8 {0}

fn balance_of(ref self: ContractState) -> Uint256 {0}
}
}
1 change: 1 addition & 0 deletions cairo/src/contracts/token/hyp_erc20_collateral.cairo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions cairo/src/contracts/token/hyp_erc721.cairo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions cairo/src/contracts/token/hyp_erc721_collateral.cairo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions cairo/src/contracts/token/hyp_native.cairo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions cairo/src/contracts/token/interfaces/ifiat_token.cairo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions cairo/src/contracts/token/interfaces/ixerc20.cairo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions cairo/src/contracts/token/interfaces/ixerc20_lockbox.cairo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions cairo/src/contracts/token/libs/fast_token_router.cairo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions cairo/src/contracts/token/libs/token_message.cairo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions cairo/src/contracts/token/libs/token_router.cairo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

28 changes: 28 additions & 0 deletions cairo/src/lib.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,34 @@ mod contracts {
pub mod message_recipient;
pub mod mock_validator_announce;
}
pub mod token {
pub mod hyp_erc20;
pub mod hyp_erc20_collateral;
pub mod hyp_erc721;
pub mod hyp_erc721_collateral;
pub mod hyp_native;
pub mod extensions {
pub mod fast_hyp_erc20;
pub mod fast_hyp_erc20_collateral;
pub mod hyp_erc20_collateral_vault_deposit;
pub mod hyp_erc721_URI_collateral;
pub mod hyp_erc721_URI_storage;
pub mod hyp_fiat_token;
pub mod hyp_native_scaled;
pub mod hyp_xerc20;
pub mod hyp_xerc20_lockbox;
}
pub mod interfaces {
pub mod ifiat_token;
pub mod ixerc20;
pub mod ixerc20_lockbox;
}
pub mod libs {
pub mod fast_token_router;
pub mod token_message;
pub mod token_router;
}
}
pub mod isms {
pub mod noop_ism;
pub mod pausable_ism;
Expand Down

0 comments on commit 8e3a87d

Please sign in to comment.