File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ const chainv2mapping: any = {
1818 [ CHAIN . ETHEREUM ] : "ETHEREUM" ,
1919 [ CHAIN . POLYGON ] : "POLYGON" ,
2020 [ CHAIN . BASE ] : "BASE" ,
21- [ CHAIN . BSC ] : "BNB" ,
21+ // [CHAIN.BSC]: "BNB",
2222 [ CHAIN . OPTIMISM ] : "OPTIMISM" ,
2323 [ CHAIN . UNICHAIN ] : "UNI" ,
2424}
@@ -62,12 +62,12 @@ const adapter: SimpleAdapter = {
6262 version : 1 ,
6363 methodology,
6464 adapter : {
65- // [CHAIN.UNICHAIN ]: {
66- // fetch: async (_t:any, _tb: any , options: FetchOptions) => {
67- // const fetchFunction = getUniV2LogAdapter({ factory: '0x1f98400000000000000000000000000000000002 ', ...getLogAdapterConfig})
68- // return await fetchFunction(options);
69- // },
70- // },
65+ [ CHAIN . BSC ] : {
66+ fetch : async ( _t :any , _tb : any , options : FetchOptions ) => {
67+ const fetchFunction = getUniV2LogAdapter ( { factory : '0x8909Dc15e40173Ff4699343b6eB8132c65e18eC6 ' , ...getLogAdapterConfig } )
68+ return await fetchFunction ( options ) ;
69+ } ,
70+ } ,
7171 ...Object . keys ( chainv2mapping ) . reduce ( ( acc : any , chain ) => {
7272 acc [ chain ] = {
7373 fetch : fetchV2Volume ,
You can’t perform that action at this time.
0 commit comments