Skip to content

Commit

Permalink
add minimum transfer value
Browse files Browse the repository at this point in the history
  • Loading branch information
ElessarST committed Feb 22, 2024
1 parent 75cdc67 commit 1debac7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions indexer/src/types/marketplace.events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export type Initialized = {
feePerUploadedFile: bigint | null;
royaltyToMarketplaceForTrade: number | null;
royaltyToMarketplaceForMint: number | null;
minimumTransferValue: bigint | null;
};

export type NewCollectionAdded = {
Expand Down Expand Up @@ -177,6 +178,7 @@ export interface NftMarketplaceEventPlain extends Enum {
initialized: {
timeBetweenCreateCollections: u64;
feePerUploadedFile: u128;
minimumTransferValue: u128;
royaltyToMarketplaceForTrade: u16;
royaltyToMarketplaceForMint: u16;
};
Expand Down Expand Up @@ -451,6 +453,9 @@ export function getMarketplaceEvent(
feePerUploadedFile: safeUnwrapToBigInt(
event.initialized.feePerUploadedFile,
),
minimumTransferValue: safeUnwrapToBigInt(
event.initialized.minimumTransferValue,
),
royaltyToMarketplaceForTrade: safeUnwrapToNumber(
event.initialized.royaltyToMarketplaceForTrade,
),
Expand Down

0 comments on commit 1debac7

Please sign in to comment.