Skip to content
Open
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
29 changes: 29 additions & 0 deletions fees/niggaliquid/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import { FetchOptions, SimpleAdapter } from "../../adapters/types";
import { CHAIN } from "../../helpers/chains";
import { getBuilderExports } from "../../helpers/orderly";

const methodology = {
Fees: "Builder Fees collected from Orderly Network",
Revenue: "All the fees collected",
ProtocolRevenue: "All the revenue goes to the protocol",
};

const adapter = getBuilderExports({
broker_id: "niggaliquid",
start: "2025-09-29",
methodology,
}) as SimpleAdapter;

adapter.adapter = {
[CHAIN.ORDERLY]: {
start: "2025-09-29",
fetch: async function (_: any, _1: any, options: FetchOptions) {
return {
...(await (adapter.fetch as any)(_, _1, options)),
dailyHoldersRevenue: 0,
};
},
},
};

export default adapter;
Loading