Skip to content
Merged
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
2 changes: 1 addition & 1 deletion docs/examples/contracts/counter_contract/src/main.nr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// docs:start:setup
use dep::aztec::macros::aztec;
use aztec::macros::aztec;

#[aztec]
pub contract Counter {
Expand Down
4 changes: 2 additions & 2 deletions docs/examples/contracts/nft/src/main.nr
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ pub mod nft;
#[aztec]
pub contract NFTPunk {
use crate::nft::NFTNote;
use dep::aztec::{
use aztec::{
macros::{functions::{external, initializer, only_self}, storage::storage},
protocol::address::AztecAddress,
state_vars::{DelayedPublicMutable, Map, Owned, PrivateSet, PublicImmutable},
};
use dep::aztec::messages::message_delivery::MessageDelivery;
use aztec::messages::message_delivery::MessageDelivery;
use aztec::note::{
note_getter_options::NoteGetterOptions, note_interface::NoteProperties,
note_viewer_options::NoteViewerOptions,
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/contracts/nft/src/nft.nr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// docs:start:nft_note_struct
use dep::aztec::{macros::notes::note, protocol::traits::Packable};
use aztec::{macros::notes::note, protocol::traits::Packable};

#[derive(Eq, Packable)]
#[note]
Expand Down
4 changes: 2 additions & 2 deletions docs/examples/contracts/nft_bridge/src/main.nr
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ use aztec::macros::aztec;

#[aztec]
pub contract NFTBridge {
use dep::aztec::{
use aztec::{
macros::{functions::{external, initializer}, storage::storage},
protocol::{address::{AztecAddress, EthAddress}, hash::sha256_to_field},
state_vars::PublicImmutable,
};
use dep::NFTPunk::NFTPunk;
use NFTPunk::NFTPunk;

#[storage]
struct Storage<Context> {
Expand Down
Loading