Skip to content

Commit

Permalink
Restructure contracts, becuase upward import doesn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
d0rich committed Nov 12, 2023
1 parent 38ed79b commit 2feb74c
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion contracts/contracts/d_social_network_account.tact
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import "@stdlib/deploy";
import "./nft_lib/trait_collection.tact";
import "./lib/trait_nft_collection.tact";
import "./d_social_network_post.tact";

contract DSocialNetworkAccount with NftCollection {
Expand Down
2 changes: 1 addition & 1 deletion contracts/contracts/d_social_network_post.tact
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import "@stdlib/deploy";
import "@stdlib/ownable";
import "./nft_lib/trait_item.tact";
import "./lib/trait_nft_item.tact";

contract DSocialNetworkPost with NftItem {
collection_address: Address;
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import "@stdlib/deploy";
import "./messages.tact";
import "./messages_nft.tact";
import "./constants.tact";

trait NftCollection with Deployable {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import "@stdlib/deploy";
import "@stdlib/ownable";
import "./messages.tact";
import "./messages_nft.tact";
import "./constants.tact";

trait NftItem with Deployable, Ownable {
Expand Down

0 comments on commit 2feb74c

Please sign in to comment.