Skip to content
Merged
Show file tree
Hide file tree
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
7 changes: 7 additions & 0 deletions AElf.CrossChainServer.sln
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AElf.CrossChainServer.Aethe
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AElf.CrossChainServer.AuthServer", "src\AElf.CrossChainServer.AuthServer\AElf.CrossChainServer.AuthServer.csproj", "{81A49BEA-810A-4591-B0FF-FFB765685C75}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AElf.CrossChainServer.EvmIndexer", "src\AElf.CrossChainServer.EvmIndexer\AElf.CrossChainServer.EvmIndexer.csproj", "{CE0B99D2-DBC4-421A-8684-50463B7D2F3E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -127,6 +129,10 @@ Global
{81A49BEA-810A-4591-B0FF-FFB765685C75}.Debug|Any CPU.Build.0 = Debug|Any CPU
{81A49BEA-810A-4591-B0FF-FFB765685C75}.Release|Any CPU.ActiveCfg = Release|Any CPU
{81A49BEA-810A-4591-B0FF-FFB765685C75}.Release|Any CPU.Build.0 = Release|Any CPU
{CE0B99D2-DBC4-421A-8684-50463B7D2F3E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CE0B99D2-DBC4-421A-8684-50463B7D2F3E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CE0B99D2-DBC4-421A-8684-50463B7D2F3E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CE0B99D2-DBC4-421A-8684-50463B7D2F3E}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -151,6 +157,7 @@ Global
{07B948AC-AACC-4A84-9C59-E7CF0BD8DB29} = {CA9AC87F-097E-4F15-8393-4BC07735A5B0}
{9311BF41-D5E8-4BD4-8B18-BE3ED24848E9} = {CA9AC87F-097E-4F15-8393-4BC07735A5B0}
{81A49BEA-810A-4591-B0FF-FFB765685C75} = {CA9AC87F-097E-4F15-8393-4BC07735A5B0}
{CE0B99D2-DBC4-421A-8684-50463B7D2F3E} = {CA9AC87F-097E-4F15-8393-4BC07735A5B0}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {28315BFD-90E7-4E14-A2EA-F3D23AF4126F}
Expand Down
31 changes: 30 additions & 1 deletion CodeCoverage.runsettings
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,36 @@
<Configuration>
<Format>cobertura</Format>
<Exclude>[xunit.*]*,[*Tests]*</Exclude> <!-- [Assembly-Filter]Type-Filter -->
<ExcludeByFile>**/test/**/*.cs,**/src/AElf.CrossChainServer.IdentityServer/**/*.cs,**/src/AElf.CrossChainServer.DbMigrator/**/*.cs,**/src/AElf.CrossChainServer.EntityHandler/**/*.cs,**/src/AElf.CrossChainServer.ContractEventHandler/**/*.cs,**/src/AElf.CrossChainServer.HttpApi.Host/**/*.cs,**/src/AElf.CrossChainServer.HttpApi.Client/**/*.cs,**/src/AElf.CrossChainServer.Application.Contracts/Contracts/**/*.cs,**/src/AElf.CrossChainServer.Application.Contracts/Permissions/**/*.cs,**/src/AElf.CrossChainServer.EntityFrameworkCore/Migrations/*.cs,**/src/AElf.CrossChainServer.Application/Contracts/**/*.cs,**/src/AElf.CrossChainServer.Application/Chains/AElfClientProvider.cs,**/src/AElf.CrossChainServer.Application/Chains/EvmClientProvider.cs,**/src/AElf.CrossChainServer.Application/Indexer/**/*.cs,**/src/AElf.CrossChainServer.Domain/Data/**/*.cs,**/src/AElf.CrossChainServer.Domain/IdentityServer/**/*.cs,**/src/AElf.CrossChainServer.Domain/Chains/ChainDataSeedContributor.cs,**/src/AElf.CrossChainServer.EntityFrameworkCore/EntityFrameworkCore/CrossChainServerDbContextFactory.cs,**/src/AElf.CrossChainServer.EntityFrameworkCore/EntityFrameworkCore/EntityFrameworkCoreCrossChainServerDbSchemaMigrator.cs,**/src/AElf.CrossChainServer.Application/Contracts/CrossChain/ICheckTransferProvider.cs,**/src/AElf.CrossChainServer.Application/HttpClient/*.cs</ExcludeByFile>
<ExcludeByFile>
**/test/**/*.cs,
**/src/AElf.CrossChainServer.AuthServer/**/*.cs,
**/src/AElf.CrossChainServer.AetherlinkApi/**/*.cs,
**/src/AElf.CrossChainServer.EvmIndexer/**/*.cs,
**/src/AElf.CrossChainServer.Worker/**/*.cs,
**/src/AElf.CrossChainServer.DbMigrator/**/*.cs,
**/src/AElf.CrossChainServer.EntityHandler/**/*.cs,
**/src/AElf.CrossChainServer.HttpApi.Host/**/*.cs,
**/src/AElf.CrossChainServer.HttpApi.Client/**/*.cs,
**/src/AElf.CrossChainServer.Application.Contracts/**/*.cs,
**/src/AElf.CrossChainServer.EntityFrameworkCore/Migrations/*.cs,
**/src/AElf.CrossChainServer.Application/Contracts/**/*.cs,
**/src/AElf.CrossChainServer.Application/Chains/*.cs,
**/src/AElf.CrossChainServer.Application/Chains/Ton/*.cs,
**/src/AElf.CrossChainServer.Application/Indexer/**/*.cs,
**/src/AElf.CrossChainServer.Application/CrossChain/AetherlinkOptions.cs,
**/src/AElf.CrossChainServer.Application/CrossChain/CrossChainTransferAppService.ExceptionHandler.cs,
**/src/AElf.CrossChainServer.Application/CrossChain/IAetherLinkProvider.cs,
**/src/AElf.CrossChainServer.Application/CrossChain/ICheckTransferProvider.cs,
**/src/AElf.CrossChainServer.Application/TokenAccess/**/*.cs,
**/src/AElf.CrossChainServer.Application/TokenPool/ITokenLiquidityMonitorProvider.cs,
**/src/AElf.CrossChainServer.Domain/Notify/*.cs,
**/src/AElf.CrossChainServer.Domain/Data/**/*.cs,
**/src/AElf.CrossChainServer.Domain/OpenIddict/*.cs,
**/src/AElf.CrossChainServer.Domain/Chains/ChainDataSeedContributor.cs,
**/src/AElf.CrossChainServer.Domain.Shared/*.cs,
**/src/AElf.CrossChainServer.EntityFrameworkCore/EntityFrameworkCore/CrossChainServerDbContextFactory.cs,
**/src/AElf.CrossChainServer.EntityFrameworkCore/EntityFrameworkCore/EntityFrameworkCoreCrossChainServerDbSchemaMigrator.cs,
**/src/AElf.CrossChainServer.Application/HttpClient/*.cs</ExcludeByFile>
<ExcludeByAttribute>Obsolete,GeneratedCodeAttribute</ExcludeByAttribute>
<SingleHit>false</SingleHit>
</Configuration>
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,8 @@ namespace AElf.CrossChainServer.Contracts;

public interface IBridgeContractAppService
{
Task<List<ReceiptInfoDto>> GetTransferReceiptInfosAsync(string chainId, string targetChainId, Guid tokenId,
long fromIndex, long endIndex);
Task<List<ReceivedReceiptInfoDto>> GetReceivedReceiptInfosAsync(string chainId, string targetChainId, Guid tokenId,
long fromIndex, long endIndex);
Task<BridgeContractSyncInfoDto> GetSyncInfoAsync(string chainId, TransferType type, string targetChainId, Guid tokenId);
Task UpdateSyncInfoAsync(string chainId, TransferType type, string targetChainId, Guid tokenId, long syncIndex);
Task<List<ReceiptIndexDto>> GetTransferReceiptIndexAsync(string chainId, List<Guid> tokenIds, List<string> targetChainIds);
Task<List<ReceiptIndexDto>> GetReceiveReceiptIndexAsync(string chainId, List<Guid> tokenIds, List<string> targetChainIds);
Task<bool> CheckTransmitAsync(string chainId, string receiptHash);
Task<string> GetSwapIdByTokenAsync(string chainId, string fromChainId, string symbol);
Task<string> SwapTokenAsync(string chainId, string swapId, string receiptId, string originAmount,
string receiverAddress);

Task<DailyLimitDto> GetDailyLimitAsync(string chainId, Guid tokenId, string targetChainId);
Task<DailyLimitDto> GetSwapDailyLimitAsync(string chainId, string swapId);

Task<List<TokenBucketDto>> GetCurrentReceiptTokenBucketStatesAsync(string chainId, List<Guid> tokenIds, List<string> targetChainIds);
Task<List<TokenBucketDto>> GetCurrentSwapTokenBucketStatesAsync(string chainId, List<Guid> tokenIds, List<string> fromChainIds);
Expand Down

This file was deleted.

This file was deleted.

Loading
Loading