Skip to content

Commit

Permalink
fix: format code
Browse files Browse the repository at this point in the history
  • Loading branch information
Adegbite Ademola Kelvin authored and Adegbite Ademola Kelvin committed Jun 3, 2024
1 parent 9f03518 commit 80e85db
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/publication/publication.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
// [Len Publication Contract](https://github.com/lens-protocol/core/blob/master/contracts/libraries/PublicationLib.sol)
use starknet::{ContractAddress, get_caller_address};
use karst::base::types::{
PostParams, PublicationType, CommentParams, ReferencePubParams, Publication,MirrorParams, QuoteParams
PostParams, PublicationType, CommentParams, ReferencePubParams, Publication, MirrorParams,
QuoteParams
};
use karst::interfaces::IProfile::{IKarstProfileDispatcher, IKarstProfileDispatcherTrait};
use core::option::OptionTrait;
Expand Down Expand Up @@ -49,7 +50,8 @@ pub mod Publications {
// *************************************************************************
use starknet::{ContractAddress, get_contract_address, get_caller_address};
use karst::base::types::{
PostParams, Publication, PublicationType, ReferencePubParams, CommentParams,QuoteParams,MirrorParams
PostParams, Publication, PublicationType, ReferencePubParams, CommentParams, QuoteParams,
MirrorParams
};
use super::IKarstPublications;
use karst::interfaces::IProfile::{IKarstProfileDispatcher, IKarstProfileDispatcherTrait};
Expand Down Expand Up @@ -157,12 +159,12 @@ pub mod Publications {
// *
// * @return uint256 The created publication's pubId.
// */
fn mirror(ref self: ContractState, mirrorParams: MirrorParams) -> u256 {
fn mirror(ref self: ContractState, mirrorParams: MirrorParams) -> u256 {
// logic here
0
}

fn quote(ref self: ContractState, quoteParams: QuoteParams) -> u256 {
fn quote(ref self: ContractState, quoteParams: QuoteParams) -> u256 {
// logic here
0
}
Expand Down

0 comments on commit 80e85db

Please sign in to comment.