Skip to content

Commit

Permalink
chore: update rent config
Browse files Browse the repository at this point in the history
  • Loading branch information
bigint committed May 7, 2024
1 parent 292df37 commit 1c61b6a
Showing 1 changed file with 14 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@ import { useModuleMetadataQuery } from '@hey/lens';
import { ErrorMessage } from '@hey/ui';
import { createTrackedSelector } from 'react-tracked';
import { useOpenActionStore } from 'src/store/non-persisted/publication/useOpenActionStore';
import { encodeAbiParameters, isAddress, toBytes, toHex } from 'viem';
import {
encodeAbiParameters,
isAddress,
parseEther,
toBytes,
toHex
} from 'viem';
import { create } from 'zustand';

import SaveOrCancel from '../../SaveOrCancel';
Expand Down Expand Up @@ -78,13 +84,13 @@ const RentableBillboardConfig: FC = () => {
data: encodeAbiParameters(
JSON.parse(data?.moduleMetadata?.metadata.initializeCalldataABI),
[
currency.token as Address,
false,
'1000',
'0',
'500',
'0',
toHex(toBytes('', { size: 32 }))
currency.token as Address, // currency
true, // allowOpenAction
parseEther('1').toString(), // costPerSecond
0, // expiresAt
250, // clientFeePerActBps
0, // referralFeePerActBps
toHex(toBytes('', { size: 32 })) // interestMerkleRoot
]
)
});
Expand Down

1 comment on commit 1c61b6a

@vercel
Copy link

@vercel vercel bot commented on 1c61b6a May 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

web – ./apps/web

hey.xyz
web-git-main-heyxyz.vercel.app
web-heyxyz.vercel.app
heyxyz.vercel.app

Please sign in to comment.