Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
feat: Airswap integration for sAst v3 (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
piersss authored Apr 29, 2022
1 parent a765128 commit a5f7c26
Show file tree
Hide file tree
Showing 14 changed files with 1,809 additions and 23 deletions.
5 changes: 3 additions & 2 deletions src/apps/airswap/airswap.definition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Network } from '~types/network.interface';

export const AIRSWAP_DEFINITION: AppDefinitionObject = {
id: 'airswap',
name: 'Airswap',
name: 'AirSwap',
description:
'AirSwap is an open community of developers, designers, writers, and tinkerers building decentralized trading systems. Protocol fees are automatically distributed to contributors.',
url: 'https://airswap.io',
Expand All @@ -16,7 +16,8 @@ export const AIRSWAP_DEFINITION: AppDefinitionObject = {
medium: 'https://airswap.medium.com/',
},
groups: {
sAST: { id: 's-ast', type: GroupType.TOKEN },
sASTv2: { id: 's-ast-v2', type: GroupType.TOKEN },
sASTv3: { id: 's-ast-v3', type: GroupType.TOKEN },
},
tags: [ProtocolTag.EXCHANGE],
supportedNetworks: {
Expand Down
6 changes: 4 additions & 2 deletions src/apps/airswap/airswap.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,16 @@ import { AbstractApp } from '~app/app.dynamic-module';
import { AirswapAppDefinition } from './airswap.definition';
import { AirswapContractFactory } from './contracts';
import { EthereumAirswapBalanceFetcher } from './ethereum/airswap.balance-fetcher';
import { EthereumAirswapSAstTokenFetcher } from './ethereum/airswap.s-ast.token-fetcher';
import { EthereumAirswapSAstV2TokenFetcher } from './ethereum/airswap.s-ast-v2.token-fetcher';
import { EthereumAirswapSAstV3TokenFetcher } from './ethereum/airswap.s-ast-v3.token-fetcher';

@Module({
providers: [
AirswapAppDefinition,
AirswapContractFactory,
EthereumAirswapBalanceFetcher,
EthereumAirswapSAstTokenFetcher,
EthereumAirswapSAstV2TokenFetcher,
EthereumAirswapSAstV3TokenFetcher,
],
})
export class AirswapAppModule extends AbstractApp() {}
Loading

0 comments on commit a5f7c26

Please sign in to comment.