Skip to content

Commit

Permalink
pretty
Browse files Browse the repository at this point in the history
  • Loading branch information
Da-Colon committed Aug 28, 2024
1 parent 2ad95de commit 4c90938
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/hooks/streams/useCreateSablierStream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export default function useCreateSablierStream() {
const assembledStreams: ReturnType<typeof prepareLinearStream>[] = [];
const streams = groupedStreams[assetAddress];
let totalStreamsAmount = 0n;
console.log("πŸš€ ~ assetAddress:", assetAddress)
console.log('πŸš€ ~ assetAddress:', assetAddress);
const tokenAddress = getAddress(assetAddress);
streams.forEach(streamData => {
totalStreamsAmount += streamData.totalAmount;
Expand Down
16 changes: 8 additions & 8 deletions src/hooks/utils/useCreateRoles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ const identifyAndPrepareEditedPaymentStreams = (
recipient: currentHat.smartAddress,
startDateTs: Math.floor(payment.startDate.getTime() / 1000),
endDateTs: Math.ceil(payment.endDate.getTime() / 1000),
cliffDateTs: Math.floor((payment.cliffDate?.getTime() ?? 0) / 1000),
cliffDateTs: Math.floor((payment.cliffDate?.getTime() ?? 0) / 1000),
totalAmount: payment.amount.bigintValue,
assetAddress: payment.asset.address,
roleHatId: BigInt(currentHat.id),
Expand Down Expand Up @@ -265,7 +265,7 @@ const identifyAndPrepareAddedPaymentStreams = async (
recipient: recipientAddress,
startDateTs: Math.floor(payment.startDate.getTime() / 1000),
endDateTs: Math.ceil(payment.endDate.getTime() / 1000),
cliffDateTs: Math.floor((payment.cliffDate?.getTime() ?? 0) / 1000),
cliffDateTs: Math.floor((payment.cliffDate?.getTime() ?? 0) / 1000),
totalAmount: payment.amount.bigintValue,
assetAddress: payment.asset.address,
};
Expand Down Expand Up @@ -732,12 +732,12 @@ export default function useCreateRoles() {
}

console.log('πŸš€ ~ createAndMintHatsTxs:', createAndMintHatsTxs);
console.log("πŸš€ ~ transferHatTxs:", transferHatTxs)
console.log("πŸš€ ~ hatDetailsChangedTxs:", hatDetailsChangedTxs)
console.log("πŸš€ ~ hatPaymentAddedTxs:", hatPaymentAddedTxs)
console.log("πŸš€ ~ hatPaymentEditedTxs:", hatPaymentEditedTxs)
console.log("πŸš€ ~ smartAccountTxs:", smartAccountTxs)
console.log("πŸš€ ~ removeHatTxs:", removeHatTxs)
console.log('πŸš€ ~ transferHatTxs:', transferHatTxs);
console.log('πŸš€ ~ hatDetailsChangedTxs:', hatDetailsChangedTxs);
console.log('πŸš€ ~ hatPaymentAddedTxs:', hatPaymentAddedTxs);
console.log('πŸš€ ~ hatPaymentEditedTxs:', hatPaymentEditedTxs);
console.log('πŸš€ ~ smartAccountTxs:', smartAccountTxs);
console.log('πŸš€ ~ removeHatTxs:', removeHatTxs);
const proposalTransactions = {
targets: [
...createAndMintHatsTxs.map(() => hatsProtocol),
Expand Down

0 comments on commit 4c90938

Please sign in to comment.