diff --git a/src/__tests__/acceptance/staking-contracts-service.acceptance.ts b/src/__tests__/acceptance/staking-contracts-service.acceptance.ts index 3978d0c..351a5cd 100644 --- a/src/__tests__/acceptance/staking-contracts-service.acceptance.ts +++ b/src/__tests__/acceptance/staking-contracts-service.acceptance.ts @@ -22,6 +22,22 @@ describe('Staking contracts service', async () => { c => angelBlockApiKey != null || c.contractName !== 'AngelBlock', ); + it('gets the total adapters count', () => { + debug( + 'Injected adapters: %O', + service.stakingContracts.map(c => { + return { + contractName: c.contractName, + contractAddress: c.contractAddress, + chainId: c.chainId, + supportedAssets: c.supportedAssets, + }; + }), + ); + debug('Total adapters count: %s', service.stakingContracts.length); + expect(service.stakingContracts.length).to.be.greaterThan(0); + }); + contracts.forEach(contract => { it('gets staked token ids for ' + contract.contractName, async () => { debug('Contract: %s', contract.contractName); diff --git a/src/adapters/W3ABPass.adapter.ts b/src/adapters/W3ABPass.adapter.ts index 15d9b74..699d92b 100644 --- a/src/adapters/W3ABPass.adapter.ts +++ b/src/adapters/W3ABPass.adapter.ts @@ -24,6 +24,7 @@ export class W3ABPassContractAdapter extends BaseStakingContractAdapter { */ supportedAssets: StakingAsset[] = [ { + name: 'W3AB Pass', asset: 'ERC721:0xb1E19FA955A5612B5D849e5c641F0B4cf9879d17', }, ];