diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index c1509569..9a23db2a 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -1,30 +1,32 @@ name: LPS E2E test on: + push: + branches: [ QA-Test, Stable-Test, master ] pull_request: - branches: - - '*' + branches: [ QA-Test, Stable-Test, master ] jobs: e2e-test: - runs-on: ubuntu-18.04 + name: Server initialization and health check + runs-on: ubuntu-latest steps: - - name: Set up Go 1.18 - uses: actions/setup-go@v3 + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v5 with: - go-version: 1.18 + go-version-file: 'go.mod' - - name: Check out repository code - uses: actions/checkout@v2 + - name: Update env file + run: cd docker-compose/local/ && ./gh-action-env.sh ${{ secrets.GITHUB_TOKEN }} - name: Building LPS environment... - run: cd docker-compose/local/ && LPS_STAGE=regtest sh lps-env.sh build - - - name: Setting LPS environment up... - run: cd docker-compose/local/ && LPS_STAGE=regtest sh lps-env.sh up && sleep 300 + run: cd docker-compose/local/ && LPS_STAGE=regtest sh lps-env.sh up - name: Checking LPS health... - run: docker ps && curl -X GET http://localhost:8080/health + run: curl -X GET http://localhost:8080/health - name: Shutting LPS environment down... run: cd docker-compose/local/ && LPS_STAGE=regtest sh lps-env.sh down diff --git a/.gitignore b/.gitignore index 945e5292..d2898f2f 100644 --- a/.gitignore +++ b/.gitignore @@ -22,6 +22,7 @@ keystore/ build/ /**/.env.regtest /**/gh_token.txt +/**/local/cookie_jar.txt !sample-config.env /**/*.env /**/.env* diff --git a/.mockery.yaml b/.mockery.yaml index db86cb50..a15fd591 100644 --- a/.mockery.yaml +++ b/.mockery.yaml @@ -46,4 +46,13 @@ packages: RootstockRpcServer: github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/utils: interfaces: - HttpClient: \ No newline at end of file + HttpClient: + github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher: + interfaces: + Ticker: + github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/rest/registry: + interfaces: + UseCaseRegistry: + github.com/gorilla/sessions: + interfaces: + Store: \ No newline at end of file diff --git a/OpenApi.yml b/OpenApi.yml index 04d51ad5..a7f16d19 100644 --- a/OpenApi.yml +++ b/OpenApi.yml @@ -196,25 +196,25 @@ components: - status - providerType type: object - PeginConfiguration: + PeginConfigurationDTO: properties: callFee: - $ref: '#/components/schemas/Wei' + type: string callTime: type: integer maxValue: - $ref: '#/components/schemas/Wei' + type: string minValue: - $ref: '#/components/schemas/Wei' + type: string penaltyFee: - $ref: '#/components/schemas/Wei' + type: string timeForDeposit: type: integer type: object PeginConfigurationRequest: properties: configuration: - $ref: '#/components/schemas/PeginConfiguration' + $ref: '#/components/schemas/PeginConfigurationDTO' type: object type: object PeginQuoteDTO: @@ -309,11 +309,6 @@ components: type: object PeginQuoteRequest: properties: - bitcoinRefundAddress: - description: 'User Bitcoin refund address. Note: Must be a legacy address, - segwit addresses are not accepted' - example: "0x0" - type: string callContractArguments: description: Contract data example: "0x0" @@ -335,7 +330,6 @@ components: - callContractArguments - valueToTransfer - rskRefundAddress - - bitcoinRefundAddress type: object PeginQuoteStatusDTO: properties: @@ -351,29 +345,29 @@ components: - detail - status type: object - PegoutConfiguration: + PegoutConfigurationDTO: properties: bridgeTransactionMin: - $ref: '#/components/schemas/Wei' + type: string callFee: - $ref: '#/components/schemas/Wei' - callTime: - type: integer + type: string expireBlocks: type: integer + expireTime: + type: integer maxValue: - $ref: '#/components/schemas/Wei' + type: string minValue: - $ref: '#/components/schemas/Wei' + type: string penaltyFee: - $ref: '#/components/schemas/Wei' + type: string timeForDeposit: type: integer type: object PegoutConfigurationRequest: properties: configuration: - $ref: '#/components/schemas/PegoutConfiguration' + $ref: '#/components/schemas/PegoutConfigurationDTO' type: object type: object PegoutQuoteDTO: @@ -443,10 +437,6 @@ components: type: object PegoutQuoteRequest: properties: - bitcoinRefundAddress: - description: BitcoinRefundAddress - example: "0x0" - type: string rskRefundAddress: description: RskRefundAddress example: "0x0" @@ -462,7 +452,6 @@ components: - to - valueToTransfer - rskRefundAddress - - bitcoinRefundAddress type: object PegoutQuoteStatusDTO: properties: @@ -624,8 +613,6 @@ components: rsk: type: string type: object - Wei: {} - entities.Wei: {} pkg.AcceptQuoteRequest: properties: quoteHash: diff --git a/ci/tasks/deploy-mainnet.yml b/ci/tasks/deploy-mainnet.yml index b1115d27..1a2c118d 100644 --- a/ci/tasks/deploy-mainnet.yml +++ b/ci/tasks/deploy-mainnet.yml @@ -39,7 +39,7 @@ run: touch ~/.ssh/known_hosts ssh-keyscan flyover-01.aws-us-east-1.mainnet.flyover.rifcomputing.net >> ~/.ssh/known_hosts ssh -o "StrictHostKeyChecking=no" -A ubuntu@flyover-01.aws-us-east-1.mainnet.flyover.rifcomputing.net sh -s << EOF - cd /home/ubuntu/liquidity-provider-server/docker-compose && git pull origin master && docker system prune -f && docker-compose -f docker-compose.yml -f loki-mainnet.yml --env-file .env.mainnet build --no-cache && docker-compose -f docker-compose.yml -f loki-mainnet.yml --env-file .env.mainnet up --force-recreate -d + cd /home/ubuntu/liquidity-provider-server/docker-compose && git pull origin master && docker system prune -f && docker-compose -f docker-compose.yml -f loki-mainnet.yml --env-file .env.mainnet build --build-arg COMMIT_HASH="$(git rev-parse HEAD)" --no-cache && docker-compose -f docker-compose.yml -f loki-mainnet.yml --env-file .env.mainnet up --force-recreate -d EOF diff --git a/ci/tasks/deploy.yml b/ci/tasks/deploy.yml index 122c10af..34cc3fe5 100644 --- a/ci/tasks/deploy.yml +++ b/ci/tasks/deploy.yml @@ -39,7 +39,7 @@ run: touch ~/.ssh/known_hosts ssh-keyscan flyover-01-testnet.aws-us-east-1.testnet.flyover.rif.technology >> ~/.ssh/known_hosts ssh -o "StrictHostKeyChecking=no" -A ubuntu@flyover-01-testnet.aws-us-east-1.testnet.flyover.rif.technology sh -s << EOF - cd /home/ubuntu/flyover-deploy/docker-compose && git pull origin Stable-Test && docker system prune -f && docker-compose -f docker-compose.yml -f loki-testnet.yml --env-file .env.testnet build --no-cache && docker-compose -f docker-compose.yml -f loki-testnet.yml --env-file .env.testnet up --force-recreate -d + cd /home/ubuntu/flyover-deploy/docker-compose && git pull origin Stable-Test && docker system prune -f && docker-compose -f docker-compose.yml -f loki-testnet.yml --env-file .env.testnet build --build-arg COMMIT_HASH="$(git rev-parse HEAD)" --no-cache && docker-compose -f docker-compose.yml -f loki-testnet.yml --env-file .env.testnet up --force-recreate -d EOF diff --git a/cmd/application/lps/application.go b/cmd/application/lps/application.go index 4058fe8f..7c0148f2 100644 --- a/cmd/application/lps/application.go +++ b/cmd/application/lps/application.go @@ -84,7 +84,7 @@ func NewApplication(initCtx context.Context, env environment.Environment) *Appli mutexes := environment.NewApplicationMutexes() useCaseRegistry := registry.NewUseCaseRegistry(env, rootstockRegistry, btcRegistry, dbRegistry, liquidityProvider, messagingRegistry, mutexes) - watcherRegistry := registry.NewWatcherRegistry(env, useCaseRegistry, rootstockRegistry, btcRegistry, liquidityProvider, messagingRegistry) + watcherRegistry := registry.NewWatcherRegistry(env, useCaseRegistry, rootstockRegistry, btcRegistry, liquidityProvider, messagingRegistry, watcher.NewApplicationTickers()) return &Application{ env: env, diff --git a/coverage/cover.out b/coverage/cover.out index 2c27ae10..2c7408eb 100644 --- a/coverage/cover.out +++ b/coverage/cover.out @@ -58,14 +58,14 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/event.go:24.33,2 github.com/rsksmart/liquidity-provider-server/internal/entities/event.go:28.50,30.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:20.27,24.2 3 9 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:26.29,30.2 3 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:32.33,36.2 3 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:32.33,36.2 3 2 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:38.34,43.2 4 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:45.27,47.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:49.31,51.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:53.36,55.2 1 27 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:53.36,55.2 1 31 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:57.31,59.2 1 15 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:61.35,63.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:65.38,67.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:65.38,67.2 1 1 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:69.31,71.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:73.45,74.14 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:74.14,76.3 1 0 @@ -87,27 +87,27 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:115.2,116 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:119.35,122.2 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:124.35,127.2 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:129.35,132.2 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:52.77,54.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:56.78,58.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:60.58,61.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.50,63.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:63.8,65.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:68.58,71.38 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:71.38,72.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.23,74.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:76.2,76.17 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:79.82,81.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:81.33,83.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:84.2,85.56 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.56,88.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.2,89.17 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.17,91.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:91.8,93.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:53.77,55.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:57.78,59.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.58,62.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:62.50,64.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:64.8,66.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:69.58,72.38 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.38,73.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:73.23,75.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:77.2,77.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:80.82,82.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:82.33,84.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.2,86.56 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:86.56,89.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.2,90.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.17,92.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:92.8,94.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:25.64,33.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:35.64,43.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:45.53,54.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:56.55,67.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,74.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,75.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:23.38,24.11 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:25.51,26.14 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:27.10,28.15 1 0 @@ -116,16 +116,16 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provid github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:40.57,42.28 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:42.28,44.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:44.8,46.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:60.49,62.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:64.43,66.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:68.48,69.24 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:69.24,71.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:72.2,72.26 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:72.26,74.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:75.2,75.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:75.25,77.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:78.2,83.14 6 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:102.102,104.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:61.49,63.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:65.43,67.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:69.48,70.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:70.24,72.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:73.2,73.26 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:73.26,75.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:76.2,76.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:76.25,78.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:79.2,84.14 6 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:103.102,105.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:68.50,70.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:72.44,74.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:76.108,78.2 1 0 @@ -164,6 +164,7 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:21 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.2,24.37 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.37,26.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:27.2,27.19 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:30.61,33.2 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:20.78,21.29 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:21.29,22.40 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:22.40,24.4 1 0 @@ -194,9 +195,13 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords. github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:9.36,11.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:11.16,13.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:14.2,14.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:17.58,21.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:21.16,23.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:24.2,24.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:18.31,20.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:20.16,21.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:23.2,23.15 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:26.58,30.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:30.16,32.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:33.2,33.20 1 0 +github.com/rsksmart/liquidity-provider-server/pkg/liquidity_provider.go:64.98,70.2 2 1 github.com/rsksmart/liquidity-provider-server/pkg/pegin.go:65.61,88.2 1 1 github.com/rsksmart/liquidity-provider-server/pkg/pegin.go:90.85,101.2 1 1 github.com/rsksmart/liquidity-provider-server/pkg/pegout.go:55.64,77.2 1 1 @@ -298,98 +303,98 @@ github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bi github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:39.64,41.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:41.16,43.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:44.2,44.19 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:31.37,32.41 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:32.41,34.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:35.2,35.51 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:35.51,37.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:38.2,40.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:40.16,42.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:43.2,43.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:46.52,53.107 6 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:53.107,54.52 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:54.52,56.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:58.2,59.8 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:59.8,61.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:63.2,63.66 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:63.66,65.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:67.2,67.98 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:67.98,69.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:69.8,69.62 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:69.62,71.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:73.2,73.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:76.86,77.79 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:77.79,79.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:80.2,89.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:89.16,91.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:92.2,92.43 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:95.57,98.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:98.16,100.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:101.2,102.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:102.16,104.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:105.2,106.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:106.16,108.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:109.2,109.141 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:112.110,115.87 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:115.87,117.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:119.2,126.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:126.16,128.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:129.2,130.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:130.16,132.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:134.2,142.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:142.16,144.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:145.2,146.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:146.16,148.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:149.2,150.55 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:153.69,158.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:158.16,160.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:162.2,167.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:167.16,169.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:171.2,171.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:171.29,172.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.63,174.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:175.3,175.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:175.29,177.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:179.2,179.21 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:182.147,184.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:184.16,186.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:188.2,191.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:191.16,193.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:195.2,196.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:196.16,198.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:199.2,202.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:202.16,204.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:205.2,206.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:206.16,208.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:210.2,212.72 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:212.72,214.17 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:214.17,216.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:216.9,216.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:216.23,218.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:219.3,219.13 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:221.2,221.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:221.16,223.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:225.2,227.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:227.16,229.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:230.2,230.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:233.69,235.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:237.117,239.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:241.50,243.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:243.16,246.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:247.2,247.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:250.48,252.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:254.69,260.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:260.16,262.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:262.8,262.46 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:262.46,264.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:266.2,266.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:266.63,268.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.2,269.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:272.103,274.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:274.16,276.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:277.2,278.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:278.16,280.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:281.2,288.8 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:291.68,293.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:32.37,33.41 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:33.41,35.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:36.2,36.51 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:36.51,38.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:39.2,41.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:41.16,43.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:44.2,44.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:47.52,54.107 6 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:54.107,55.52 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:55.52,57.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:59.2,60.8 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:60.8,62.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:64.2,64.66 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:64.66,66.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:68.2,68.98 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:68.98,70.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:70.8,70.62 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:70.62,72.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:74.2,74.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:77.86,78.79 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:78.79,80.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:81.2,90.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:90.16,92.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:93.2,93.43 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:96.57,99.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:99.16,101.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:102.2,103.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:103.16,105.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:106.2,107.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:107.16,109.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:110.2,110.141 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:113.110,116.87 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:116.87,118.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:120.2,127.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:127.16,129.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:130.2,131.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:131.16,133.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:135.2,143.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:143.16,145.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:146.2,147.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:147.16,149.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:150.2,151.55 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:154.69,159.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:159.16,161.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:163.2,168.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:168.16,170.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.2,172.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.29,173.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:173.63,175.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:176.3,176.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:176.29,178.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:180.2,180.21 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:183.147,185.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:185.16,187.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:189.2,192.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:192.16,194.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:196.2,197.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:197.16,199.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:200.2,203.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:203.16,205.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:206.2,207.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:207.16,209.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:211.2,213.72 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:213.72,215.17 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:215.17,217.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:217.9,217.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:217.23,219.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:220.3,220.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:222.2,222.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:222.16,224.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:226.2,228.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:228.16,230.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:231.2,231.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:234.69,236.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:238.117,240.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:242.50,244.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:244.16,247.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:248.2,248.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:251.48,253.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:255.69,263.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:263.16,265.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:265.8,265.46 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:265.46,267.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.2,269.123 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.123,271.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:272.2,272.103 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:275.103,277.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:277.16,279.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:280.2,281.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:281.16,283.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:284.2,291.8 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:294.68,296.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:22.65,24.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:26.63,27.53 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:27.53,29.3 1 0 @@ -793,170 +798,173 @@ github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/ro github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:194.2,194.16 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:194.16,196.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:197.2,197.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:200.100,204.61 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:204.61,206.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:207.2,208.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:208.28,210.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.2,211.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.16,213.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.2,214.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:217.87,221.28 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:221.28,223.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.2,224.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.16,226.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:227.2,227.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:230.83,238.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:238.33,239.82 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:239.82,241.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:200.96,204.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:204.16,206.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:206.8,206.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:206.38,208.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:209.2,211.24 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.24,213.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.2,214.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.16,216.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:217.2,217.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:220.100,224.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.61,226.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:227.2,228.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:228.28,230.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:231.2,231.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:231.16,233.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:234.2,234.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:237.87,241.28 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:241.28,243.4 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:244.2,244.16 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:244.16,246.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:246.8,246.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:246.50,248.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:249.2,249.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:252.89,260.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:260.33,261.88 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:261.88,263.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.2,266.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.16,268.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:268.8,268.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:268.50,270.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:271.2,271.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:274.68,281.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:281.33,282.87 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:282.87,284.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:287.2,287.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:287.16,289.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:289.8,289.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:289.50,291.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:292.2,292.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:295.74,302.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:302.33,303.93 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:303.93,305.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:308.2,308.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:308.16,310.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:310.8,310.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:310.50,312.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:313.2,313.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:316.91,320.61 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:320.61,322.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:323.2,324.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:324.28,326.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:327.2,327.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:327.16,329.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:330.2,330.41 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:333.137,335.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:335.16,337.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:339.2,347.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:347.33,348.80 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:348.80,350.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:353.2,353.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:353.16,355.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:355.8,355.27 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:355.27,357.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:357.8,357.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:357.32,360.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:361.2,361.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:364.110,368.66 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:368.66,370.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:371.2,381.59 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:381.59,385.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:385.8,385.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:385.23,387.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:389.2,395.89 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:395.89,398.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:400.2,400.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:400.16,402.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:402.8,402.27 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:402.27,404.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:404.8,404.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:404.32,407.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:408.2,408.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:411.147,419.88 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:419.88,422.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:424.2,424.59 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:247.2,247.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:250.83,258.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:258.33,259.82 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:259.82,261.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:264.2,264.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:264.16,266.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.8,266.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.50,268.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:269.2,269.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:272.89,280.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:280.33,281.88 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:281.88,283.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:286.2,286.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:286.16,288.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:288.8,288.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:288.50,290.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:291.2,291.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:294.68,301.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:301.33,302.87 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:302.87,304.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:307.2,307.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:307.16,309.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:309.8,309.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:309.50,311.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:312.2,312.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:315.91,319.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:319.61,321.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:322.2,323.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:323.28,325.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:326.2,326.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:326.16,328.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:329.2,329.41 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:332.137,334.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:334.16,336.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:338.2,346.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:346.33,347.80 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:347.80,349.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:352.2,352.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:352.16,354.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:354.8,354.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:354.27,356.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:356.8,356.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:356.32,359.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:360.2,360.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:363.110,367.66 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:367.66,369.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:370.2,380.59 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:380.59,384.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:384.8,384.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:384.23,386.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:388.2,394.89 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:394.89,397.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:399.2,399.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:399.16,401.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:401.8,401.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:401.27,403.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:403.8,403.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:403.32,406.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:407.2,407.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:410.147,424.59 6 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:424.59,427.3 2 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:427.8,427.23 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:427.23,429.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:429.8,429.27 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:429.27,431.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.8,431.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.32,434.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:435.2,435.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:438.90,443.61 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:443.61,445.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:447.2,448.24 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:448.24,450.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:453.91,458.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.2,437.88 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:437.88,440.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:442.2,442.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:442.16,444.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:444.8,444.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:444.27,446.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:446.8,446.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:446.32,449.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:450.2,450.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:453.90,458.61 4 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:458.61,460.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:462.2,463.24 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:463.24,465.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:468.145,479.15 5 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:479.15,480.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:480.25,481.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:481.63,483.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:486.2,486.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:486.38,488.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:490.2,490.22 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:490.22,500.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.2,501.40 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.40,503.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.2,505.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:508.168,518.15 5 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:518.15,519.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:519.25,520.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:520.63,522.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:525.2,525.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:525.38,527.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:529.2,529.22 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:529.22,536.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:537.2,537.40 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:537.40,539.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.2,540.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:543.158,552.33 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.33,553.77 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:553.77,555.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.2,558.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.16,560.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:560.8,560.76 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:560.76,562.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:564.2,565.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:565.16,567.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:568.2,568.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:572.86,577.59 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:577.59,579.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:581.2,581.110 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:581.110,583.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:583.8,585.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:586.2,586.126 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:586.126,588.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:589.2,589.133 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:589.133,591.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:593.2,593.84 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:593.84,595.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.2,596.103 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.103,598.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:599.2,599.96 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:599.96,601.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:602.2,602.94 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:602.94,604.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:606.2,606.92 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:606.92,608.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:610.2,623.25 14 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:627.90,631.60 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:631.60,633.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:635.2,635.85 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:635.85,637.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:638.2,638.89 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:638.89,640.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:641.2,641.97 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:641.97,643.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:645.2,645.127 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:645.127,647.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:648.2,648.119 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:648.119,650.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:651.2,651.124 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:651.124,653.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:655.2,670.25 16 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:468.91,473.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:473.61,475.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:477.2,478.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:478.24,480.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:483.145,494.15 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:494.15,495.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:495.25,496.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:496.63,498.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.2,501.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.38,503.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.2,505.22 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.22,515.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:516.2,516.40 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:516.40,518.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:520.2,520.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:523.168,533.15 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:533.15,534.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:534.25,535.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:535.63,537.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.2,540.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.38,542.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:544.2,544.22 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:544.22,551.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.2,552.40 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.40,554.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:555.2,555.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.158,567.33 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:567.33,568.77 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:568.77,570.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:573.2,573.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:573.16,575.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:575.8,575.76 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:575.76,577.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:579.2,580.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:580.16,582.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:583.2,583.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:587.86,592.59 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:592.59,594.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.2,596.110 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.110,598.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:598.8,600.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:601.2,601.126 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:601.126,603.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:604.2,604.133 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:604.133,606.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:608.2,608.84 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:608.84,610.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:611.2,611.103 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:611.103,613.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:614.2,614.96 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:614.96,616.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:617.2,617.94 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:617.94,619.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:621.2,621.92 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:621.92,623.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:625.2,638.25 14 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:642.90,646.60 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:646.60,648.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:650.2,650.85 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:650.85,652.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:653.2,653.89 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:653.89,655.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:656.2,656.97 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:656.97,658.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:660.2,660.127 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:660.127,662.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:663.2,663.119 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:663.119,665.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:666.2,666.124 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:666.124,668.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:670.2,685.25 16 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:25.97,27.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:29.98,33.59 3 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:33.59,35.3 1 0 @@ -1250,27 +1258,27 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/roots github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:61.107,63.19 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:63.19,65.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:66.2,66.75 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:52.77,54.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:56.78,58.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:60.58,61.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.50,63.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:63.8,65.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:68.58,71.38 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:71.38,72.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.23,74.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:76.2,76.17 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:79.82,81.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:81.33,83.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:84.2,85.56 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.56,88.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.2,89.17 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.17,91.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:91.8,93.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:53.77,55.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:57.78,59.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.58,62.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:62.50,64.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:64.8,66.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:69.58,72.38 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.38,73.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:73.23,75.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:77.2,77.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:80.82,82.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:82.33,84.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.2,86.56 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:86.56,89.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.2,90.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.17,92.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:92.8,94.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:25.64,33.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:35.64,43.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:45.53,54.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:56.55,67.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,74.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,75.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:23.38,24.11 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:25.51,26.14 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:27.10,28.15 1 0 @@ -1279,16 +1287,16 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provid github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:40.57,42.28 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:42.28,44.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:44.8,46.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:60.49,62.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:64.43,66.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:68.48,69.24 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:69.24,71.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:72.2,72.26 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:72.26,74.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:75.2,75.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:75.25,77.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:78.2,83.14 6 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:102.102,104.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:61.49,63.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:65.43,67.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:69.48,70.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:70.24,72.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:73.2,73.26 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:73.26,75.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:76.2,76.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:76.25,78.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:79.2,84.14 6 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:103.102,105.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:68.50,70.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:72.44,74.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:76.108,78.2 1 0 @@ -1327,6 +1335,7 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:21 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.2,24.37 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.37,26.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:27.2,27.19 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:30.61,33.2 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:20.78,21.29 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:21.29,22.40 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:22.40,24.4 1 0 @@ -1357,33 +1366,36 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords. github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:9.36,11.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:11.16,13.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:14.2,14.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:17.58,21.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:21.16,23.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:24.2,24.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:79.31,81.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:83.44,85.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:87.39,88.55 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:88.55,90.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:90.8,92.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:95.59,97.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:99.79,100.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:100.20,102.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:102.8,104.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:112.176,116.27 4 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:116.27,121.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:123.2,126.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:126.16,128.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:129.2,132.8 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:135.108,140.70 4 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:140.70,142.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.2,143.35 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.35,147.3 3 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:148.2,148.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:156.31,158.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:158.16,160.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:161.2,163.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:163.16,165.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:166.2,171.26 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:18.31,20.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:20.16,21.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:23.2,23.15 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:26.58,30.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:30.16,32.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:33.2,33.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:82.31,84.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:86.44,88.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:90.39,91.55 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:91.55,93.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:93.8,95.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:98.59,100.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:102.79,103.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:103.20,105.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:105.8,107.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:115.176,119.27 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:119.27,124.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:126.2,129.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:129.16,131.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:132.2,135.8 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:138.108,143.70 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.70,145.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:146.2,146.35 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:146.35,150.3 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:151.2,151.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:159.31,161.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:161.16,163.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:164.2,166.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:166.16,168.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:169.2,174.26 2 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:20.103,22.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:35.69,41.38 5 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:41.38,44.3 2 0 @@ -1485,98 +1497,98 @@ github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bi github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:39.64,41.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:41.16,43.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:44.2,44.19 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:31.37,32.41 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:32.41,34.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:35.2,35.51 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:35.51,37.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:38.2,40.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:40.16,42.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:43.2,43.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:46.52,53.107 6 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:53.107,54.52 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:54.52,56.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:58.2,59.8 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:59.8,61.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:63.2,63.66 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:63.66,65.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:67.2,67.98 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:67.98,69.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:69.8,69.62 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:69.62,71.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:73.2,73.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:76.86,77.79 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:77.79,79.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:80.2,89.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:89.16,91.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:92.2,92.43 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:95.57,98.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:98.16,100.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:101.2,102.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:102.16,104.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:105.2,106.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:106.16,108.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:109.2,109.141 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:112.110,115.87 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:115.87,117.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:119.2,126.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:126.16,128.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:129.2,130.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:130.16,132.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:134.2,142.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:142.16,144.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:145.2,146.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:146.16,148.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:149.2,150.55 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:153.69,158.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:158.16,160.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:162.2,167.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:167.16,169.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:171.2,171.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:171.29,172.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.63,174.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:175.3,175.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:175.29,177.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:179.2,179.21 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:182.147,184.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:184.16,186.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:188.2,191.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:191.16,193.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:195.2,196.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:196.16,198.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:199.2,202.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:202.16,204.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:205.2,206.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:206.16,208.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:210.2,212.72 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:212.72,214.17 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:214.17,216.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:216.9,216.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:216.23,218.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:219.3,219.13 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:221.2,221.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:221.16,223.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:225.2,227.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:227.16,229.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:230.2,230.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:233.69,235.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:237.117,239.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:241.50,243.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:243.16,246.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:247.2,247.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:250.48,252.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:254.69,260.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:260.16,262.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:262.8,262.46 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:262.46,264.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:266.2,266.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:266.63,268.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.2,269.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:272.103,274.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:274.16,276.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:277.2,278.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:278.16,280.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:281.2,288.8 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:291.68,293.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:32.37,33.41 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:33.41,35.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:36.2,36.51 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:36.51,38.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:39.2,41.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:41.16,43.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:44.2,44.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:47.52,54.107 6 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:54.107,55.52 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:55.52,57.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:59.2,60.8 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:60.8,62.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:64.2,64.66 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:64.66,66.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:68.2,68.98 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:68.98,70.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:70.8,70.62 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:70.62,72.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:74.2,74.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:77.86,78.79 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:78.79,80.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:81.2,90.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:90.16,92.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:93.2,93.43 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:96.57,99.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:99.16,101.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:102.2,103.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:103.16,105.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:106.2,107.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:107.16,109.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:110.2,110.141 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:113.110,116.87 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:116.87,118.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:120.2,127.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:127.16,129.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:130.2,131.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:131.16,133.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:135.2,143.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:143.16,145.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:146.2,147.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:147.16,149.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:150.2,151.55 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:154.69,159.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:159.16,161.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:163.2,168.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:168.16,170.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.2,172.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.29,173.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:173.63,175.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:176.3,176.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:176.29,178.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:180.2,180.21 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:183.147,185.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:185.16,187.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:189.2,192.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:192.16,194.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:196.2,197.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:197.16,199.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:200.2,203.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:203.16,205.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:206.2,207.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:207.16,209.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:211.2,213.72 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:213.72,215.17 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:215.17,217.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:217.9,217.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:217.23,219.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:220.3,220.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:222.2,222.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:222.16,224.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:226.2,228.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:228.16,230.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:231.2,231.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:234.69,236.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:238.117,240.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:242.50,244.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:244.16,247.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:248.2,248.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:251.48,253.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:255.69,263.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:263.16,265.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:265.8,265.46 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:265.46,267.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.2,269.123 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.123,271.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:272.2,272.103 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:275.103,277.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:277.16,279.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:280.2,281.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:281.16,283.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:284.2,291.8 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:294.68,296.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:22.65,24.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:26.63,27.53 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:27.53,29.3 1 0 @@ -1980,170 +1992,173 @@ github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/ro github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:194.2,194.16 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:194.16,196.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:197.2,197.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:200.100,204.61 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:204.61,206.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:207.2,208.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:208.28,210.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.2,211.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.16,213.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.2,214.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:217.87,221.28 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:221.28,223.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.2,224.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.16,226.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:227.2,227.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:230.83,238.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:238.33,239.82 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:239.82,241.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:200.96,204.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:204.16,206.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:206.8,206.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:206.38,208.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:209.2,211.24 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.24,213.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.2,214.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.16,216.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:217.2,217.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:220.100,224.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.61,226.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:227.2,228.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:228.28,230.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:231.2,231.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:231.16,233.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:234.2,234.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:237.87,241.28 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:241.28,243.4 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:244.2,244.16 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:244.16,246.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:246.8,246.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:246.50,248.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:249.2,249.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:252.89,260.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:260.33,261.88 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:261.88,263.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.2,266.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.16,268.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:268.8,268.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:268.50,270.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:271.2,271.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:274.68,281.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:281.33,282.87 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:282.87,284.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:287.2,287.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:287.16,289.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:289.8,289.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:289.50,291.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:292.2,292.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:295.74,302.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:302.33,303.93 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:303.93,305.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:308.2,308.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:308.16,310.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:310.8,310.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:310.50,312.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:313.2,313.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:316.91,320.61 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:320.61,322.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:323.2,324.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:324.28,326.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:327.2,327.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:327.16,329.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:330.2,330.41 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:333.137,335.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:335.16,337.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:339.2,347.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:347.33,348.80 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:348.80,350.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:353.2,353.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:353.16,355.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:355.8,355.27 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:355.27,357.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:357.8,357.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:357.32,360.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:361.2,361.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:364.110,368.66 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:368.66,370.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:371.2,381.59 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:381.59,385.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:385.8,385.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:385.23,387.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:389.2,395.89 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:395.89,398.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:400.2,400.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:400.16,402.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:402.8,402.27 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:402.27,404.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:404.8,404.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:404.32,407.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:408.2,408.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:411.147,419.88 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:419.88,422.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:424.2,424.59 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:247.2,247.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:250.83,258.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:258.33,259.82 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:259.82,261.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:264.2,264.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:264.16,266.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.8,266.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.50,268.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:269.2,269.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:272.89,280.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:280.33,281.88 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:281.88,283.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:286.2,286.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:286.16,288.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:288.8,288.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:288.50,290.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:291.2,291.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:294.68,301.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:301.33,302.87 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:302.87,304.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:307.2,307.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:307.16,309.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:309.8,309.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:309.50,311.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:312.2,312.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:315.91,319.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:319.61,321.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:322.2,323.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:323.28,325.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:326.2,326.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:326.16,328.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:329.2,329.41 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:332.137,334.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:334.16,336.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:338.2,346.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:346.33,347.80 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:347.80,349.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:352.2,352.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:352.16,354.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:354.8,354.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:354.27,356.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:356.8,356.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:356.32,359.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:360.2,360.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:363.110,367.66 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:367.66,369.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:370.2,380.59 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:380.59,384.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:384.8,384.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:384.23,386.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:388.2,394.89 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:394.89,397.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:399.2,399.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:399.16,401.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:401.8,401.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:401.27,403.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:403.8,403.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:403.32,406.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:407.2,407.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:410.147,424.59 6 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:424.59,427.3 2 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:427.8,427.23 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:427.23,429.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:429.8,429.27 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:429.27,431.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.8,431.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.32,434.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:435.2,435.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:438.90,443.61 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:443.61,445.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:447.2,448.24 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:448.24,450.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:453.91,458.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.2,437.88 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:437.88,440.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:442.2,442.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:442.16,444.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:444.8,444.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:444.27,446.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:446.8,446.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:446.32,449.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:450.2,450.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:453.90,458.61 4 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:458.61,460.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:462.2,463.24 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:463.24,465.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:468.145,479.15 5 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:479.15,480.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:480.25,481.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:481.63,483.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:486.2,486.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:486.38,488.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:490.2,490.22 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:490.22,500.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.2,501.40 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.40,503.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.2,505.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:508.168,518.15 5 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:518.15,519.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:519.25,520.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:520.63,522.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:525.2,525.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:525.38,527.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:529.2,529.22 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:529.22,536.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:537.2,537.40 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:537.40,539.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.2,540.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:543.158,552.33 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.33,553.77 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:553.77,555.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.2,558.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.16,560.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:560.8,560.76 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:560.76,562.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:564.2,565.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:565.16,567.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:568.2,568.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:572.86,577.59 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:577.59,579.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:581.2,581.110 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:581.110,583.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:583.8,585.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:586.2,586.126 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:586.126,588.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:589.2,589.133 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:589.133,591.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:593.2,593.84 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:593.84,595.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.2,596.103 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.103,598.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:599.2,599.96 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:599.96,601.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:602.2,602.94 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:602.94,604.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:606.2,606.92 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:606.92,608.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:610.2,623.25 14 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:627.90,631.60 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:631.60,633.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:635.2,635.85 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:635.85,637.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:638.2,638.89 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:638.89,640.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:641.2,641.97 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:641.97,643.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:645.2,645.127 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:645.127,647.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:648.2,648.119 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:648.119,650.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:651.2,651.124 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:651.124,653.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:655.2,670.25 16 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:468.91,473.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:473.61,475.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:477.2,478.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:478.24,480.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:483.145,494.15 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:494.15,495.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:495.25,496.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:496.63,498.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.2,501.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.38,503.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.2,505.22 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.22,515.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:516.2,516.40 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:516.40,518.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:520.2,520.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:523.168,533.15 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:533.15,534.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:534.25,535.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:535.63,537.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.2,540.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.38,542.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:544.2,544.22 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:544.22,551.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.2,552.40 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.40,554.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:555.2,555.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.158,567.33 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:567.33,568.77 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:568.77,570.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:573.2,573.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:573.16,575.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:575.8,575.76 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:575.76,577.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:579.2,580.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:580.16,582.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:583.2,583.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:587.86,592.59 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:592.59,594.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.2,596.110 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.110,598.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:598.8,600.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:601.2,601.126 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:601.126,603.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:604.2,604.133 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:604.133,606.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:608.2,608.84 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:608.84,610.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:611.2,611.103 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:611.103,613.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:614.2,614.96 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:614.96,616.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:617.2,617.94 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:617.94,619.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:621.2,621.92 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:621.92,623.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:625.2,638.25 14 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:642.90,646.60 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:646.60,648.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:650.2,650.85 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:650.85,652.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:653.2,653.89 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:653.89,655.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:656.2,656.97 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:656.97,658.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:660.2,660.127 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:660.127,662.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:663.2,663.119 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:663.119,665.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:666.2,666.124 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:666.124,668.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:670.2,685.25 16 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:25.97,27.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:29.98,33.59 3 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:33.59,35.3 1 0 @@ -2437,27 +2452,27 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/roots github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:61.107,63.19 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:63.19,65.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:66.2,66.75 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:52.77,54.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:56.78,58.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:60.58,61.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.50,63.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:63.8,65.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:68.58,71.38 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:71.38,72.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.23,74.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:76.2,76.17 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:79.82,81.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:81.33,83.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:84.2,85.56 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.56,88.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.2,89.17 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.17,91.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:91.8,93.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:53.77,55.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:57.78,59.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.58,62.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:62.50,64.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:64.8,66.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:69.58,72.38 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.38,73.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:73.23,75.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:77.2,77.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:80.82,82.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:82.33,84.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.2,86.56 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:86.56,89.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.2,90.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.17,92.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:92.8,94.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:25.64,33.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:35.64,43.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:45.53,54.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:56.55,67.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,74.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,75.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:23.38,24.11 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:25.51,26.14 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:27.10,28.15 1 0 @@ -2466,16 +2481,16 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provid github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:40.57,42.28 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:42.28,44.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:44.8,46.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:60.49,62.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:64.43,66.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:68.48,69.24 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:69.24,71.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:72.2,72.26 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:72.26,74.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:75.2,75.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:75.25,77.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:78.2,83.14 6 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:102.102,104.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:61.49,63.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:65.43,67.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:69.48,70.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:70.24,72.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:73.2,73.26 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:73.26,75.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:76.2,76.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:76.25,78.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:79.2,84.14 6 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:103.102,105.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:68.50,70.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:72.44,74.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:76.108,78.2 1 0 @@ -2514,6 +2529,7 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:21 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.2,24.37 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.37,26.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:27.2,27.19 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:30.61,33.2 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:20.78,21.29 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:21.29,22.40 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:22.40,24.4 1 0 @@ -2544,33 +2560,36 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords. github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:9.36,11.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:11.16,13.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:14.2,14.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:17.58,21.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:21.16,23.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:24.2,24.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:79.31,81.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:83.44,85.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:87.39,88.55 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:88.55,90.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:90.8,92.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:95.59,97.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:99.79,100.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:100.20,102.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:102.8,104.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:112.176,116.27 4 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:116.27,121.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:123.2,126.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:126.16,128.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:129.2,132.8 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:135.108,140.70 4 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:140.70,142.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.2,143.35 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.35,147.3 3 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:148.2,148.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:156.31,158.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:158.16,160.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:161.2,163.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:163.16,165.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:166.2,171.26 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:18.31,20.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:20.16,21.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:23.2,23.15 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:26.58,30.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:30.16,32.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:33.2,33.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:82.31,84.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:86.44,88.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:90.39,91.55 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:91.55,93.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:93.8,95.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:98.59,100.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:102.79,103.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:103.20,105.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:105.8,107.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:115.176,119.27 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:119.27,124.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:126.2,129.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:129.16,131.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:132.2,135.8 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:138.108,143.70 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.70,145.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:146.2,146.35 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:146.35,150.3 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:151.2,151.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:159.31,161.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:161.16,163.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:164.2,166.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:166.16,168.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:169.2,174.26 2 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:20.103,22.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:35.69,41.38 5 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:41.38,44.3 2 0 @@ -2672,98 +2691,98 @@ github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bi github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:39.64,41.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:41.16,43.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:44.2,44.19 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:31.37,32.41 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:32.41,34.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:35.2,35.51 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:35.51,37.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:38.2,40.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:40.16,42.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:43.2,43.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:46.52,53.107 6 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:53.107,54.52 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:54.52,56.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:58.2,59.8 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:59.8,61.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:63.2,63.66 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:63.66,65.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:67.2,67.98 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:67.98,69.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:69.8,69.62 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:69.62,71.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:73.2,73.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:76.86,77.79 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:77.79,79.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:80.2,89.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:89.16,91.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:92.2,92.43 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:95.57,98.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:98.16,100.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:101.2,102.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:102.16,104.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:105.2,106.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:106.16,108.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:109.2,109.141 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:112.110,115.87 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:115.87,117.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:119.2,126.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:126.16,128.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:129.2,130.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:130.16,132.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:134.2,142.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:142.16,144.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:145.2,146.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:146.16,148.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:149.2,150.55 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:153.69,158.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:158.16,160.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:162.2,167.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:167.16,169.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:171.2,171.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:171.29,172.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.63,174.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:175.3,175.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:175.29,177.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:179.2,179.21 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:182.147,184.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:184.16,186.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:188.2,191.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:191.16,193.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:195.2,196.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:196.16,198.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:199.2,202.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:202.16,204.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:205.2,206.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:206.16,208.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:210.2,212.72 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:212.72,214.17 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:214.17,216.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:216.9,216.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:216.23,218.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:219.3,219.13 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:221.2,221.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:221.16,223.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:225.2,227.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:227.16,229.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:230.2,230.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:233.69,235.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:237.117,239.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:241.50,243.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:243.16,246.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:247.2,247.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:250.48,252.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:254.69,260.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:260.16,262.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:262.8,262.46 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:262.46,264.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:266.2,266.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:266.63,268.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.2,269.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:272.103,274.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:274.16,276.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:277.2,278.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:278.16,280.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:281.2,288.8 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:291.68,293.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:32.37,33.41 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:33.41,35.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:36.2,36.51 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:36.51,38.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:39.2,41.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:41.16,43.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:44.2,44.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:47.52,54.107 6 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:54.107,55.52 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:55.52,57.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:59.2,60.8 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:60.8,62.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:64.2,64.66 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:64.66,66.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:68.2,68.98 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:68.98,70.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:70.8,70.62 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:70.62,72.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:74.2,74.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:77.86,78.79 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:78.79,80.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:81.2,90.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:90.16,92.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:93.2,93.43 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:96.57,99.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:99.16,101.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:102.2,103.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:103.16,105.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:106.2,107.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:107.16,109.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:110.2,110.141 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:113.110,116.87 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:116.87,118.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:120.2,127.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:127.16,129.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:130.2,131.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:131.16,133.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:135.2,143.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:143.16,145.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:146.2,147.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:147.16,149.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:150.2,151.55 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:154.69,159.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:159.16,161.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:163.2,168.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:168.16,170.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.2,172.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.29,173.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:173.63,175.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:176.3,176.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:176.29,178.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:180.2,180.21 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:183.147,185.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:185.16,187.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:189.2,192.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:192.16,194.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:196.2,197.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:197.16,199.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:200.2,203.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:203.16,205.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:206.2,207.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:207.16,209.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:211.2,213.72 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:213.72,215.17 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:215.17,217.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:217.9,217.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:217.23,219.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:220.3,220.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:222.2,222.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:222.16,224.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:226.2,228.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:228.16,230.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:231.2,231.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:234.69,236.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:238.117,240.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:242.50,244.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:244.16,247.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:248.2,248.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:251.48,253.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:255.69,263.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:263.16,265.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:265.8,265.46 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:265.46,267.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.2,269.123 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.123,271.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:272.2,272.103 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:275.103,277.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:277.16,279.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:280.2,281.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:281.16,283.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:284.2,291.8 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:294.68,296.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:22.65,24.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:26.63,27.53 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:27.53,29.3 1 0 @@ -3167,170 +3186,173 @@ github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/ro github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:194.2,194.16 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:194.16,196.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:197.2,197.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:200.100,204.61 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:204.61,206.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:207.2,208.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:208.28,210.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.2,211.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.16,213.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.2,214.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:217.87,221.28 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:221.28,223.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.2,224.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.16,226.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:227.2,227.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:230.83,238.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:238.33,239.82 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:239.82,241.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:200.96,204.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:204.16,206.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:206.8,206.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:206.38,208.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:209.2,211.24 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.24,213.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.2,214.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.16,216.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:217.2,217.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:220.100,224.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.61,226.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:227.2,228.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:228.28,230.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:231.2,231.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:231.16,233.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:234.2,234.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:237.87,241.28 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:241.28,243.4 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:244.2,244.16 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:244.16,246.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:246.8,246.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:246.50,248.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:249.2,249.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:252.89,260.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:260.33,261.88 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:261.88,263.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.2,266.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.16,268.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:268.8,268.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:268.50,270.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:271.2,271.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:274.68,281.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:281.33,282.87 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:282.87,284.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:287.2,287.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:287.16,289.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:289.8,289.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:289.50,291.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:292.2,292.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:295.74,302.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:302.33,303.93 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:303.93,305.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:308.2,308.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:308.16,310.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:310.8,310.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:310.50,312.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:313.2,313.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:316.91,320.61 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:320.61,322.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:323.2,324.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:324.28,326.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:327.2,327.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:327.16,329.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:330.2,330.41 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:333.137,335.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:335.16,337.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:339.2,347.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:347.33,348.80 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:348.80,350.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:353.2,353.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:353.16,355.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:355.8,355.27 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:355.27,357.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:357.8,357.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:357.32,360.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:361.2,361.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:364.110,368.66 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:368.66,370.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:371.2,381.59 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:381.59,385.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:385.8,385.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:385.23,387.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:389.2,395.89 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:395.89,398.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:400.2,400.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:400.16,402.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:402.8,402.27 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:402.27,404.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:404.8,404.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:404.32,407.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:408.2,408.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:411.147,419.88 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:419.88,422.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:424.2,424.59 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:247.2,247.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:250.83,258.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:258.33,259.82 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:259.82,261.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:264.2,264.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:264.16,266.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.8,266.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.50,268.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:269.2,269.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:272.89,280.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:280.33,281.88 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:281.88,283.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:286.2,286.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:286.16,288.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:288.8,288.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:288.50,290.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:291.2,291.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:294.68,301.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:301.33,302.87 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:302.87,304.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:307.2,307.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:307.16,309.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:309.8,309.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:309.50,311.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:312.2,312.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:315.91,319.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:319.61,321.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:322.2,323.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:323.28,325.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:326.2,326.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:326.16,328.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:329.2,329.41 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:332.137,334.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:334.16,336.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:338.2,346.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:346.33,347.80 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:347.80,349.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:352.2,352.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:352.16,354.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:354.8,354.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:354.27,356.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:356.8,356.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:356.32,359.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:360.2,360.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:363.110,367.66 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:367.66,369.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:370.2,380.59 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:380.59,384.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:384.8,384.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:384.23,386.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:388.2,394.89 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:394.89,397.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:399.2,399.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:399.16,401.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:401.8,401.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:401.27,403.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:403.8,403.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:403.32,406.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:407.2,407.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:410.147,424.59 6 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:424.59,427.3 2 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:427.8,427.23 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:427.23,429.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:429.8,429.27 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:429.27,431.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.8,431.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.32,434.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:435.2,435.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:438.90,443.61 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:443.61,445.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:447.2,448.24 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:448.24,450.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:453.91,458.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.2,437.88 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:437.88,440.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:442.2,442.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:442.16,444.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:444.8,444.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:444.27,446.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:446.8,446.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:446.32,449.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:450.2,450.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:453.90,458.61 4 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:458.61,460.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:462.2,463.24 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:463.24,465.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:468.145,479.15 5 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:479.15,480.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:480.25,481.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:481.63,483.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:486.2,486.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:486.38,488.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:490.2,490.22 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:490.22,500.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.2,501.40 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.40,503.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.2,505.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:508.168,518.15 5 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:518.15,519.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:519.25,520.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:520.63,522.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:525.2,525.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:525.38,527.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:529.2,529.22 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:529.22,536.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:537.2,537.40 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:537.40,539.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.2,540.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:543.158,552.33 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.33,553.77 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:553.77,555.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.2,558.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.16,560.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:560.8,560.76 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:560.76,562.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:564.2,565.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:565.16,567.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:568.2,568.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:572.86,577.59 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:577.59,579.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:581.2,581.110 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:581.110,583.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:583.8,585.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:586.2,586.126 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:586.126,588.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:589.2,589.133 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:589.133,591.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:593.2,593.84 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:593.84,595.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.2,596.103 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.103,598.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:599.2,599.96 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:599.96,601.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:602.2,602.94 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:602.94,604.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:606.2,606.92 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:606.92,608.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:610.2,623.25 14 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:627.90,631.60 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:631.60,633.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:635.2,635.85 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:635.85,637.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:638.2,638.89 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:638.89,640.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:641.2,641.97 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:641.97,643.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:645.2,645.127 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:645.127,647.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:648.2,648.119 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:648.119,650.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:651.2,651.124 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:651.124,653.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:655.2,670.25 16 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:468.91,473.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:473.61,475.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:477.2,478.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:478.24,480.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:483.145,494.15 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:494.15,495.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:495.25,496.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:496.63,498.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.2,501.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.38,503.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.2,505.22 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.22,515.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:516.2,516.40 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:516.40,518.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:520.2,520.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:523.168,533.15 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:533.15,534.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:534.25,535.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:535.63,537.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.2,540.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.38,542.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:544.2,544.22 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:544.22,551.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.2,552.40 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.40,554.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:555.2,555.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.158,567.33 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:567.33,568.77 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:568.77,570.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:573.2,573.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:573.16,575.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:575.8,575.76 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:575.76,577.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:579.2,580.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:580.16,582.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:583.2,583.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:587.86,592.59 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:592.59,594.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.2,596.110 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.110,598.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:598.8,600.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:601.2,601.126 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:601.126,603.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:604.2,604.133 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:604.133,606.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:608.2,608.84 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:608.84,610.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:611.2,611.103 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:611.103,613.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:614.2,614.96 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:614.96,616.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:617.2,617.94 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:617.94,619.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:621.2,621.92 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:621.92,623.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:625.2,638.25 14 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:642.90,646.60 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:646.60,648.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:650.2,650.85 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:650.85,652.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:653.2,653.89 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:653.89,655.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:656.2,656.97 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:656.97,658.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:660.2,660.127 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:660.127,662.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:663.2,663.119 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:663.119,665.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:666.2,666.124 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:666.124,668.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:670.2,685.25 16 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:25.97,27.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:29.98,33.59 3 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:33.59,35.3 1 0 @@ -3624,27 +3646,27 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/roots github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:61.107,63.19 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:63.19,65.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:66.2,66.75 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:52.77,54.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:56.78,58.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:60.58,61.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.50,63.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:63.8,65.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:68.58,71.38 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:71.38,72.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.23,74.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:76.2,76.17 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:79.82,81.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:81.33,83.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:84.2,85.56 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.56,88.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.2,89.17 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.17,91.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:91.8,93.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:53.77,55.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:57.78,59.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.58,62.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:62.50,64.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:64.8,66.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:69.58,72.38 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.38,73.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:73.23,75.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:77.2,77.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:80.82,82.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:82.33,84.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.2,86.56 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:86.56,89.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.2,90.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.17,92.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:92.8,94.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:25.64,33.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:35.64,43.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:45.53,54.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:56.55,67.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,74.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,75.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:23.38,24.11 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:25.51,26.14 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:27.10,28.15 1 0 @@ -3653,16 +3675,16 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provid github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:40.57,42.28 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:42.28,44.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:44.8,46.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:60.49,62.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:64.43,66.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:68.48,69.24 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:69.24,71.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:72.2,72.26 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:72.26,74.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:75.2,75.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:75.25,77.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:78.2,83.14 6 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:102.102,104.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:61.49,63.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:65.43,67.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:69.48,70.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:70.24,72.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:73.2,73.26 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:73.26,75.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:76.2,76.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:76.25,78.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:79.2,84.14 6 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:103.102,105.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:68.50,70.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:72.44,74.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:76.108,78.2 1 0 @@ -3701,6 +3723,7 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:21 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.2,24.37 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.37,26.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:27.2,27.19 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:30.61,33.2 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:20.78,21.29 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:21.29,22.40 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:22.40,24.4 1 0 @@ -3731,33 +3754,36 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords. github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:9.36,11.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:11.16,13.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:14.2,14.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:17.58,21.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:21.16,23.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:24.2,24.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:79.31,81.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:83.44,85.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:87.39,88.55 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:88.55,90.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:90.8,92.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:95.59,97.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:99.79,100.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:100.20,102.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:102.8,104.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:112.176,116.27 4 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:116.27,121.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:123.2,126.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:126.16,128.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:129.2,132.8 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:135.108,140.70 4 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:140.70,142.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.2,143.35 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.35,147.3 3 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:148.2,148.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:156.31,158.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:158.16,160.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:161.2,163.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:163.16,165.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:166.2,171.26 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:18.31,20.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:20.16,21.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:23.2,23.15 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:26.58,30.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:30.16,32.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:33.2,33.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:82.31,84.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:86.44,88.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:90.39,91.55 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:91.55,93.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:93.8,95.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:98.59,100.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:102.79,103.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:103.20,105.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:105.8,107.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:115.176,119.27 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:119.27,124.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:126.2,129.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:129.16,131.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:132.2,135.8 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:138.108,143.70 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.70,145.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:146.2,146.35 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:146.35,150.3 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:151.2,151.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:159.31,161.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:161.16,163.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:164.2,166.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:166.16,168.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:169.2,174.26 2 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:20.103,22.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:35.69,41.38 5 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:41.38,44.3 2 0 @@ -3859,98 +3885,98 @@ github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bi github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:39.64,41.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:41.16,43.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:44.2,44.19 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:31.37,32.41 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:32.41,34.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:35.2,35.51 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:35.51,37.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:38.2,40.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:40.16,42.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:43.2,43.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:46.52,53.107 6 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:53.107,54.52 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:54.52,56.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:58.2,59.8 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:59.8,61.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:63.2,63.66 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:63.66,65.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:67.2,67.98 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:67.98,69.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:69.8,69.62 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:69.62,71.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:73.2,73.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:76.86,77.79 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:77.79,79.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:80.2,89.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:89.16,91.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:92.2,92.43 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:95.57,98.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:98.16,100.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:101.2,102.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:102.16,104.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:105.2,106.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:106.16,108.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:109.2,109.141 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:112.110,115.87 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:115.87,117.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:119.2,126.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:126.16,128.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:129.2,130.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:130.16,132.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:134.2,142.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:142.16,144.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:145.2,146.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:146.16,148.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:149.2,150.55 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:153.69,158.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:158.16,160.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:162.2,167.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:167.16,169.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:171.2,171.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:171.29,172.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.63,174.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:175.3,175.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:175.29,177.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:179.2,179.21 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:182.147,184.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:184.16,186.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:188.2,191.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:191.16,193.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:195.2,196.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:196.16,198.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:199.2,202.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:202.16,204.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:205.2,206.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:206.16,208.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:210.2,212.72 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:212.72,214.17 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:214.17,216.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:216.9,216.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:216.23,218.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:219.3,219.13 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:221.2,221.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:221.16,223.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:225.2,227.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:227.16,229.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:230.2,230.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:233.69,235.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:237.117,239.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:241.50,243.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:243.16,246.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:247.2,247.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:250.48,252.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:254.69,260.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:260.16,262.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:262.8,262.46 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:262.46,264.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:266.2,266.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:266.63,268.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.2,269.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:272.103,274.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:274.16,276.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:277.2,278.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:278.16,280.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:281.2,288.8 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:291.68,293.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:32.37,33.41 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:33.41,35.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:36.2,36.51 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:36.51,38.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:39.2,41.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:41.16,43.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:44.2,44.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:47.52,54.107 6 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:54.107,55.52 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:55.52,57.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:59.2,60.8 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:60.8,62.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:64.2,64.66 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:64.66,66.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:68.2,68.98 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:68.98,70.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:70.8,70.62 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:70.62,72.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:74.2,74.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:77.86,78.79 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:78.79,80.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:81.2,90.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:90.16,92.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:93.2,93.43 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:96.57,99.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:99.16,101.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:102.2,103.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:103.16,105.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:106.2,107.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:107.16,109.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:110.2,110.141 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:113.110,116.87 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:116.87,118.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:120.2,127.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:127.16,129.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:130.2,131.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:131.16,133.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:135.2,143.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:143.16,145.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:146.2,147.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:147.16,149.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:150.2,151.55 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:154.69,159.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:159.16,161.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:163.2,168.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:168.16,170.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.2,172.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.29,173.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:173.63,175.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:176.3,176.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:176.29,178.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:180.2,180.21 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:183.147,185.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:185.16,187.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:189.2,192.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:192.16,194.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:196.2,197.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:197.16,199.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:200.2,203.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:203.16,205.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:206.2,207.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:207.16,209.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:211.2,213.72 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:213.72,215.17 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:215.17,217.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:217.9,217.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:217.23,219.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:220.3,220.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:222.2,222.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:222.16,224.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:226.2,228.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:228.16,230.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:231.2,231.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:234.69,236.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:238.117,240.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:242.50,244.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:244.16,247.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:248.2,248.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:251.48,253.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:255.69,263.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:263.16,265.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:265.8,265.46 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:265.46,267.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.2,269.123 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.123,271.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:272.2,272.103 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:275.103,277.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:277.16,279.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:280.2,281.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:281.16,283.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:284.2,291.8 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:294.68,296.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:22.65,24.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:26.63,27.53 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:27.53,29.3 1 0 @@ -4354,170 +4380,173 @@ github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/ro github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:194.2,194.16 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:194.16,196.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:197.2,197.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:200.100,204.61 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:204.61,206.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:207.2,208.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:208.28,210.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.2,211.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.16,213.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.2,214.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:217.87,221.28 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:221.28,223.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.2,224.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.16,226.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:227.2,227.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:230.83,238.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:238.33,239.82 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:239.82,241.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:200.96,204.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:204.16,206.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:206.8,206.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:206.38,208.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:209.2,211.24 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.24,213.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.2,214.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.16,216.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:217.2,217.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:220.100,224.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.61,226.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:227.2,228.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:228.28,230.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:231.2,231.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:231.16,233.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:234.2,234.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:237.87,241.28 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:241.28,243.4 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:244.2,244.16 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:244.16,246.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:246.8,246.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:246.50,248.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:249.2,249.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:252.89,260.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:260.33,261.88 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:261.88,263.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.2,266.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.16,268.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:268.8,268.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:268.50,270.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:271.2,271.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:274.68,281.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:281.33,282.87 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:282.87,284.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:287.2,287.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:287.16,289.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:289.8,289.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:289.50,291.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:292.2,292.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:295.74,302.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:302.33,303.93 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:303.93,305.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:308.2,308.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:308.16,310.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:310.8,310.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:310.50,312.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:313.2,313.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:316.91,320.61 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:320.61,322.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:323.2,324.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:324.28,326.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:327.2,327.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:327.16,329.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:330.2,330.41 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:333.137,335.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:335.16,337.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:339.2,347.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:347.33,348.80 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:348.80,350.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:353.2,353.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:353.16,355.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:355.8,355.27 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:355.27,357.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:357.8,357.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:357.32,360.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:361.2,361.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:364.110,368.66 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:368.66,370.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:371.2,381.59 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:381.59,385.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:385.8,385.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:385.23,387.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:389.2,395.89 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:395.89,398.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:400.2,400.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:400.16,402.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:402.8,402.27 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:402.27,404.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:404.8,404.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:404.32,407.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:408.2,408.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:411.147,419.88 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:419.88,422.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:424.2,424.59 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:247.2,247.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:250.83,258.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:258.33,259.82 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:259.82,261.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:264.2,264.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:264.16,266.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.8,266.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.50,268.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:269.2,269.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:272.89,280.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:280.33,281.88 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:281.88,283.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:286.2,286.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:286.16,288.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:288.8,288.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:288.50,290.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:291.2,291.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:294.68,301.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:301.33,302.87 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:302.87,304.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:307.2,307.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:307.16,309.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:309.8,309.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:309.50,311.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:312.2,312.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:315.91,319.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:319.61,321.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:322.2,323.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:323.28,325.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:326.2,326.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:326.16,328.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:329.2,329.41 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:332.137,334.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:334.16,336.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:338.2,346.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:346.33,347.80 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:347.80,349.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:352.2,352.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:352.16,354.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:354.8,354.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:354.27,356.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:356.8,356.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:356.32,359.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:360.2,360.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:363.110,367.66 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:367.66,369.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:370.2,380.59 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:380.59,384.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:384.8,384.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:384.23,386.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:388.2,394.89 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:394.89,397.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:399.2,399.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:399.16,401.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:401.8,401.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:401.27,403.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:403.8,403.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:403.32,406.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:407.2,407.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:410.147,424.59 6 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:424.59,427.3 2 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:427.8,427.23 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:427.23,429.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:429.8,429.27 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:429.27,431.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.8,431.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.32,434.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:435.2,435.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:438.90,443.61 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:443.61,445.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:447.2,448.24 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:448.24,450.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:453.91,458.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.2,437.88 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:437.88,440.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:442.2,442.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:442.16,444.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:444.8,444.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:444.27,446.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:446.8,446.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:446.32,449.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:450.2,450.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:453.90,458.61 4 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:458.61,460.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:462.2,463.24 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:463.24,465.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:468.145,479.15 5 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:479.15,480.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:480.25,481.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:481.63,483.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:486.2,486.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:486.38,488.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:490.2,490.22 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:490.22,500.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.2,501.40 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.40,503.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.2,505.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:508.168,518.15 5 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:518.15,519.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:519.25,520.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:520.63,522.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:525.2,525.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:525.38,527.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:529.2,529.22 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:529.22,536.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:537.2,537.40 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:537.40,539.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.2,540.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:543.158,552.33 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.33,553.77 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:553.77,555.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.2,558.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.16,560.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:560.8,560.76 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:560.76,562.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:564.2,565.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:565.16,567.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:568.2,568.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:572.86,577.59 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:577.59,579.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:581.2,581.110 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:581.110,583.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:583.8,585.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:586.2,586.126 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:586.126,588.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:589.2,589.133 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:589.133,591.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:593.2,593.84 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:593.84,595.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.2,596.103 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.103,598.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:599.2,599.96 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:599.96,601.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:602.2,602.94 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:602.94,604.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:606.2,606.92 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:606.92,608.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:610.2,623.25 14 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:627.90,631.60 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:631.60,633.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:635.2,635.85 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:635.85,637.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:638.2,638.89 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:638.89,640.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:641.2,641.97 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:641.97,643.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:645.2,645.127 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:645.127,647.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:648.2,648.119 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:648.119,650.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:651.2,651.124 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:651.124,653.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:655.2,670.25 16 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:468.91,473.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:473.61,475.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:477.2,478.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:478.24,480.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:483.145,494.15 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:494.15,495.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:495.25,496.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:496.63,498.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.2,501.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.38,503.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.2,505.22 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.22,515.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:516.2,516.40 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:516.40,518.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:520.2,520.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:523.168,533.15 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:533.15,534.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:534.25,535.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:535.63,537.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.2,540.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.38,542.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:544.2,544.22 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:544.22,551.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.2,552.40 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.40,554.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:555.2,555.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.158,567.33 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:567.33,568.77 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:568.77,570.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:573.2,573.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:573.16,575.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:575.8,575.76 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:575.76,577.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:579.2,580.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:580.16,582.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:583.2,583.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:587.86,592.59 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:592.59,594.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.2,596.110 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.110,598.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:598.8,600.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:601.2,601.126 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:601.126,603.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:604.2,604.133 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:604.133,606.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:608.2,608.84 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:608.84,610.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:611.2,611.103 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:611.103,613.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:614.2,614.96 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:614.96,616.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:617.2,617.94 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:617.94,619.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:621.2,621.92 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:621.92,623.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:625.2,638.25 14 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:642.90,646.60 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:646.60,648.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:650.2,650.85 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:650.85,652.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:653.2,653.89 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:653.89,655.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:656.2,656.97 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:656.97,658.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:660.2,660.127 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:660.127,662.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:663.2,663.119 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:663.119,665.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:666.2,666.124 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:666.124,668.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:670.2,685.25 16 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:25.97,27.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:29.98,33.59 3 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:33.59,35.3 1 0 @@ -4811,27 +4840,27 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/roots github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:61.107,63.19 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:63.19,65.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:66.2,66.75 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:52.77,54.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:56.78,58.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:60.58,61.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.50,63.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:63.8,65.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:68.58,71.38 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:71.38,72.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.23,74.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:76.2,76.17 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:79.82,81.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:81.33,83.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:84.2,85.56 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.56,88.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.2,89.17 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.17,91.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:91.8,93.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:53.77,55.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:57.78,59.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.58,62.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:62.50,64.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:64.8,66.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:69.58,72.38 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.38,73.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:73.23,75.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:77.2,77.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:80.82,82.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:82.33,84.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.2,86.56 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:86.56,89.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.2,90.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.17,92.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:92.8,94.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:25.64,33.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:35.64,43.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:45.53,54.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:56.55,67.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,74.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,75.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:23.38,24.11 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:25.51,26.14 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:27.10,28.15 1 0 @@ -4840,16 +4869,16 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provid github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:40.57,42.28 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:42.28,44.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:44.8,46.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:60.49,62.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:64.43,66.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:68.48,69.24 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:69.24,71.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:72.2,72.26 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:72.26,74.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:75.2,75.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:75.25,77.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:78.2,83.14 6 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:102.102,104.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:61.49,63.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:65.43,67.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:69.48,70.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:70.24,72.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:73.2,73.26 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:73.26,75.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:76.2,76.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:76.25,78.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:79.2,84.14 6 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:103.102,105.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:68.50,70.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:72.44,74.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:76.108,78.2 1 0 @@ -4888,6 +4917,7 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:21 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.2,24.37 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.37,26.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:27.2,27.19 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:30.61,33.2 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:20.78,21.29 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:21.29,22.40 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:22.40,24.4 1 0 @@ -4918,33 +4948,36 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords. github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:9.36,11.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:11.16,13.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:14.2,14.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:17.58,21.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:21.16,23.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:24.2,24.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:79.31,81.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:83.44,85.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:87.39,88.55 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:88.55,90.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:90.8,92.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:95.59,97.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:99.79,100.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:100.20,102.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:102.8,104.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:112.176,116.27 4 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:116.27,121.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:123.2,126.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:126.16,128.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:129.2,132.8 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:135.108,140.70 4 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:140.70,142.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.2,143.35 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.35,147.3 3 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:148.2,148.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:156.31,158.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:158.16,160.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:161.2,163.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:163.16,165.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:166.2,171.26 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:18.31,20.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:20.16,21.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:23.2,23.15 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:26.58,30.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:30.16,32.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:33.2,33.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:82.31,84.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:86.44,88.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:90.39,91.55 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:91.55,93.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:93.8,95.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:98.59,100.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:102.79,103.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:103.20,105.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:105.8,107.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:115.176,119.27 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:119.27,124.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:126.2,129.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:129.16,131.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:132.2,135.8 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:138.108,143.70 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.70,145.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:146.2,146.35 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:146.35,150.3 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:151.2,151.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:159.31,161.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:161.16,163.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:164.2,166.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:166.16,168.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:169.2,174.26 2 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:20.103,22.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:35.69,41.38 5 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:41.38,44.3 2 0 @@ -5004,6 +5037,236 @@ github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/ut github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/utils/utils.go:18.2,18.41 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/utils/utils.go:18.41,20.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/utils/utils.go:23.80,27.2 3 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:43.60,44.55 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:44.55,46.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:48.2,49.113 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:49.113,51.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:51.8,56.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:60.88,62.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:62.16,64.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:66.2,67.15 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:67.15,68.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:68.17,70.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:72.2,72.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:72.16,74.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:76.2,77.15 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:77.15,77.36 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:78.2,79.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:79.16,81.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:83.2,90.21 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:93.56,94.53 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:94.53,96.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:97.2,98.45 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:101.66,102.54 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:102.54,104.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:105.2,105.33 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:108.91,109.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:109.24,111.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:112.2,113.39 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:113.39,114.15 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:114.15,116.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:118.2,118.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:118.16,120.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:122.2,124.15 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:124.15,126.17 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:126.17,128.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:130.2,130.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:130.16,132.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:133.2,133.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:136.102,138.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:138.16,140.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:142.2,143.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:143.16,145.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:146.2,146.22 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:149.128,150.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:150.29,154.3 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:154.8,155.39 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:155.39,157.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:158.3,160.19 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/rest/common.go:33.105,35.2 1 9 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/rest/common.go:37.72,39.2 1 7 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/rest/common.go:41.47,45.2 3 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/rest/common.go:47.58,49.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/rest/common.go:51.82,53.2 1 6 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/rest/common.go:55.82,59.17 4 10 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/rest/common.go:59.17,61.3 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/rest/common.go:61.8,61.62 1 8 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/rest/common.go:61.62,63.65 2 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/rest/common.go:63.65,65.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/rest/common.go:69.59,73.2 3 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/rest/common.go:75.61,79.2 3 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/rest/common.go:81.84,85.40 4 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/rest/common.go:85.40,88.3 2 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/rest/common.go:89.2,89.12 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/rest/common.go:92.67,95.16 3 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/rest/common.go:95.16,97.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/rest/common.go:97.8,97.47 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/rest/common.go:97.47,100.3 2 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/rest/common.go:101.2,102.41 2 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/rest/common.go:102.41,104.3 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/rest/common.go:105.2,107.12 3 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/rest/common.go:110.44,112.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:19.34,21.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:44.78,46.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:46.16,48.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:49.2,51.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:51.16,53.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:54.2,54.36 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:54.36,56.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:57.2,57.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/event.go:20.41,22.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/event.go:24.33,26.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/event.go:28.50,30.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:20.27,24.2 3 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:26.29,30.2 3 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:32.33,36.2 3 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:38.34,43.2 4 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:45.27,47.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:49.31,51.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:53.36,55.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:57.31,59.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:61.35,63.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:65.38,67.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:69.31,71.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:73.45,74.14 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:74.14,76.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:77.2,77.35 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:80.43,81.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:82.14,84.10 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:84.10,86.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:87.3,87.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:88.11,89.47 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:90.10,91.57 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:95.45,97.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:99.49,101.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:103.65,105.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:107.78,108.64 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:108.64,110.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:111.2,112.69 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:112.69,114.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:115.2,116.12 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:119.35,122.2 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:124.35,127.2 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:129.35,132.2 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:53.77,55.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:57.78,59.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.58,62.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:62.50,64.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:64.8,66.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:69.58,72.38 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.38,73.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:73.23,75.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:77.2,77.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:80.82,82.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:82.33,84.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.2,86.56 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:86.56,89.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.2,90.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.17,92.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:92.8,94.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:25.64,33.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:35.64,43.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:45.53,54.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:56.55,67.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,75.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:23.38,24.11 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:25.51,26.14 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:27.10,28.15 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:32.43,34.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:36.44,38.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:40.57,42.28 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:42.28,44.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:44.8,46.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:61.49,63.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:65.43,67.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:69.48,70.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:70.24,72.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:73.2,73.26 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:73.26,75.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:76.2,76.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:76.25,78.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:79.2,84.14 6 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:103.102,105.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:68.50,70.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:72.44,74.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:76.108,78.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:80.49,81.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:81.24,83.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:84.2,84.26 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:84.26,86.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:87.2,87.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:87.25,89.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:90.2,95.14 6 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:115.107,117.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:134.71,139.2 4 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/encoding.go:8.63,11.52 3 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/encoding.go:11.52,13.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/encoding.go:14.2,14.33 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/encoding.go:14.33,16.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/encoding.go:17.2,17.19 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:19.92,20.42 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:20.42,22.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:23.2,24.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:24.16,26.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:27.2,29.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:29.16,31.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:32.2,32.51 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:35.53,37.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:37.16,39.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:39.8,39.57 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:39.57,41.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:42.2,43.18 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:10.34,11.11 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:11.11,13.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:14.2,14.14 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:17.43,19.11 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:19.11,21.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:21.8,23.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.2,24.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.37,26.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:27.2,27.19 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:30.61,33.2 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:20.78,21.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:21.29,22.40 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:22.40,24.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:26.2,26.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:29.58,41.2 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:43.54,44.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:44.37,45.26 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:45.26,47.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:48.3,48.26 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:48.26,50.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:51.3,51.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:55.45,56.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:56.37,57.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:57.44,59.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:60.3,60.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:64.45,65.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:65.37,66.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:66.44,68.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:69.3,69.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:73.41,74.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:74.37,75.40 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:75.40,77.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:78.3,78.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:82.47,83.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:83.37,84.51 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:84.51,86.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:87.3,87.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:9.36,11.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:11.16,13.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:14.2,14.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:18.31,20.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:20.16,21.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:23.2,23.15 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:26.58,30.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:30.16,32.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:33.2,33.20 1 0 +github.com/rsksmart/liquidity-provider-server/pkg/liquidity_provider.go:64.98,70.2 2 0 +github.com/rsksmart/liquidity-provider-server/pkg/pegin.go:65.61,88.2 1 0 +github.com/rsksmart/liquidity-provider-server/pkg/pegin.go:90.85,101.2 1 0 +github.com/rsksmart/liquidity-provider-server/pkg/pegout.go:55.64,77.2 1 0 +github.com/rsksmart/liquidity-provider-server/pkg/pegout.go:79.88,91.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/aws.go:10.77,11.31 1 0 github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/aws.go:11.31,13.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/aws.go:15.2,16.123 2 0 @@ -5133,27 +5396,27 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:115.2,116 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:119.35,122.2 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:124.35,127.2 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:129.35,132.2 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:52.77,54.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:56.78,58.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:60.58,61.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.50,63.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:63.8,65.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:68.58,71.38 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:71.38,72.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.23,74.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:76.2,76.17 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:79.82,81.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:81.33,83.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:84.2,85.56 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.56,88.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.2,89.17 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.17,91.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:91.8,93.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:53.77,55.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:57.78,59.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.58,62.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:62.50,64.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:64.8,66.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:69.58,72.38 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.38,73.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:73.23,75.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:77.2,77.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:80.82,82.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:82.33,84.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.2,86.56 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:86.56,89.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.2,90.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.17,92.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:92.8,94.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:25.64,33.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:35.64,43.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:45.53,54.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:56.55,67.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,74.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,75.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:23.38,24.11 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:25.51,26.14 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:27.10,28.15 1 0 @@ -5318,27 +5581,27 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:115.2,116 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:119.35,122.2 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:124.35,127.2 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:129.35,132.2 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:52.77,54.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:56.78,58.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:60.58,61.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.50,63.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:63.8,65.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:68.58,71.38 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:71.38,72.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.23,74.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:76.2,76.17 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:79.82,81.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:81.33,83.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:84.2,85.56 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.56,88.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.2,89.17 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.17,91.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:91.8,93.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:53.77,55.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:57.78,59.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.58,62.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:62.50,64.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:64.8,66.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:69.58,72.38 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.38,73.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:73.23,75.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:77.2,77.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:80.82,82.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:82.33,84.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.2,86.56 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:86.56,89.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.2,90.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.17,92.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:92.8,94.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:25.64,33.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:35.64,43.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:45.53,54.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:56.55,67.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,74.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,75.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:23.38,24.11 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:25.51,26.14 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:27.10,28.15 1 0 @@ -5347,115 +5610,1408 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provid github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:40.57,42.28 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:42.28,44.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:44.8,46.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:43.60,44.55 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:44.55,46.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:48.2,49.113 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:49.113,51.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:51.8,56.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:60.88,62.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:62.16,64.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:66.2,67.15 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:67.15,68.17 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:68.17,70.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:72.2,72.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:72.16,74.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:76.2,77.15 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:77.15,77.36 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:78.2,79.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:79.16,81.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:83.2,90.21 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:93.56,94.53 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:94.53,96.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:97.2,98.45 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:101.66,102.54 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:102.54,104.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:105.2,105.33 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:108.91,109.24 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:109.24,111.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:112.2,113.39 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:113.39,114.15 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:114.15,116.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:118.2,118.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:118.16,120.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:122.2,124.15 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:124.15,126.17 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:126.17,128.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:130.2,130.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:130.16,132.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:133.2,133.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:136.102,138.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:138.16,140.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:142.2,143.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:143.16,145.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:146.2,146.22 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:149.128,150.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:150.29,154.3 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:154.8,155.39 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:155.39,157.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:158.3,160.19 3 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:19.34,21.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:44.78,46.16 2 9 -github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:46.16,48.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:49.2,51.16 3 8 -github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:51.16,53.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:54.2,54.36 1 7 -github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:54.36,56.3 1 3 -github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:57.2,57.12 1 4 -github.com/rsksmart/liquidity-provider-server/internal/entities/event.go:20.41,22.2 1 1 -github.com/rsksmart/liquidity-provider-server/internal/entities/event.go:24.33,26.2 1 1 -github.com/rsksmart/liquidity-provider-server/internal/entities/event.go:28.50,30.2 1 1 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:20.27,24.2 3 30 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:26.29,30.2 3 8 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:32.33,36.2 3 2 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:38.34,43.2 4 3 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:45.27,47.2 1 1 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:49.31,51.2 1 3 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:53.36,55.2 1 93 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:57.31,59.2 1 1 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:61.35,63.2 1 2 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:65.38,67.2 1 2 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:69.31,71.2 1 1 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:73.45,74.14 1 2 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:74.14,76.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:77.2,77.35 1 1 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:80.43,81.27 1 5 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:82.14,84.10 2 3 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:84.10,86.4 1 1 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:87.3,87.13 1 2 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:88.11,89.47 1 1 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:90.10,91.57 1 1 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:95.45,97.2 1 19 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:99.49,101.2 1 1 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:103.65,105.2 1 6 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:107.78,108.64 1 6 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:108.64,110.3 1 5 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:111.2,112.69 2 1 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:112.69,114.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:115.2,116.12 2 1 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:119.35,122.2 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:38.28,46.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:48.108,50.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:50.16,52.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:54.2,68.16 7 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:68.16,70.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:71.2,72.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:72.16,74.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:75.2,76.55 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:79.67,83.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:83.16,85.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:87.2,87.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:87.29,88.21 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:88.21,89.64 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:89.64,91.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:92.4,92.93 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:95.2,95.21 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:98.125,100.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:100.16,102.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:104.2,109.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:109.16,111.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:113.2,114.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:114.16,116.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:117.2,126.24 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:126.24,127.40 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:127.40,129.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:132.2,134.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:134.16,136.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:137.2,138.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:138.16,140.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:141.2,142.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:142.16,144.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:145.2,145.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:148.46,150.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:150.16,152.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:153.2,153.91 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:153.91,156.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:157.2,157.82 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:160.67,162.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:162.16,164.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:165.2,165.67 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:168.115,170.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:172.46,174.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:176.48,178.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:180.66,182.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:25.76,28.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:28.16,30.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:30.8,30.36 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:30.36,32.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:33.2,33.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:33.17,35.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:36.2,37.26 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:40.86,41.48 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:41.48,43.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:44.2,44.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:47.54,49.44 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:49.44,51.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:52.2,52.15 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:55.110,62.75 6 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:62.75,64.31 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:64.31,67.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:67.9,71.4 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:72.3,76.14 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:79.2,82.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:85.95,91.22 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:91.22,93.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:95.2,101.16 6 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:101.16,103.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:105.2,105.31 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:105.31,107.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:108.2,109.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:109.16,111.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:113.2,114.25 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:117.152,123.16 6 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:123.16,125.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:126.2,127.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:127.16,129.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:131.2,132.29 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:132.29,134.10 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:134.10,141.4 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:142.3,142.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:142.44,144.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:145.3,146.17 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:146.17,148.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:149.3,149.134 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:152.2,152.30 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:152.30,155.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/common.go:156.2,156.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:22.119,24.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:29.96,31.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:33.55,37.2 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:39.64,41.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:41.16,43.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:44.2,44.19 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:32.37,33.41 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:33.41,35.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:36.2,36.51 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:36.51,38.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:39.2,41.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:41.16,43.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:44.2,44.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:47.52,54.107 6 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:54.107,55.52 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:55.52,57.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:59.2,60.8 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:60.8,62.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:64.2,64.66 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:64.66,66.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:68.2,68.98 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:68.98,70.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:70.8,70.62 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:70.62,72.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:74.2,74.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:77.86,78.79 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:78.79,80.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:81.2,90.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:90.16,92.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:93.2,93.43 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:96.57,99.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:99.16,101.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:102.2,103.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:103.16,105.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:106.2,107.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:107.16,109.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:110.2,110.141 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:113.110,116.87 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:116.87,118.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:120.2,127.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:127.16,129.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:130.2,131.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:131.16,133.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:135.2,143.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:143.16,145.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:146.2,147.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:147.16,149.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:150.2,151.55 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:154.69,159.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:159.16,161.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:163.2,168.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:168.16,170.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.2,172.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.29,173.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:173.63,175.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:176.3,176.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:176.29,178.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:180.2,180.21 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:183.147,185.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:185.16,187.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:189.2,192.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:192.16,194.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:196.2,197.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:197.16,199.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:200.2,203.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:203.16,205.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:206.2,207.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:207.16,209.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:211.2,213.72 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:213.72,215.17 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:215.17,217.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:217.9,217.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:217.23,219.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:220.3,220.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:222.2,222.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:222.16,224.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:226.2,228.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:228.16,230.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:231.2,231.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:234.69,236.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:238.117,240.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:242.50,244.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:244.16,247.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:248.2,248.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:251.48,253.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:255.69,263.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:263.16,265.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:265.8,265.46 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:265.46,267.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.2,269.123 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.123,271.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:272.2,272.103 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:275.103,277.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:277.16,279.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:280.2,281.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:281.16,283.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:284.2,291.8 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:294.68,296.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:22.65,24.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:26.63,27.53 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:27.53,29.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:30.2,30.48 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:30.48,32.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:33.2,33.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:36.63,37.36 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:38.20,39.47 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:39.47,41.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:42.3,42.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:43.35,44.47 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:44.47,46.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:47.3,47.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:48.10,49.75 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:53.89,55.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:57.107,65.16 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:65.16,67.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:69.2,70.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:70.16,72.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:74.2,75.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:75.33,77.10 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:77.10,79.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:80.3,80.67 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:80.67,82.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:83.3,84.49 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:86.2,90.8 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:93.72,95.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:95.16,97.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:99.2,100.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:100.16,102.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:104.2,105.62 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:105.62,107.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:108.2,108.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:111.75,113.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:113.16,115.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:117.2,118.56 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:121.55,123.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:123.16,125.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:126.2,126.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:129.91,131.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:131.16,133.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:135.2,137.50 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:137.50,139.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:141.2,144.29 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:144.29,145.18 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:145.18,147.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:150.2,150.69 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:150.69,152.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:153.2,153.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:153.17,155.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:157.2,158.20 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:161.117,163.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:163.16,165.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:166.2,167.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:167.16,169.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:171.2,172.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:172.16,174.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:176.2,177.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:177.16,179.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:181.2,186.8 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:189.92,191.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:191.16,193.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:194.2,195.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:195.16,197.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:198.2,199.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:199.16,201.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:202.2,203.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/watchonly_wallet.go:22.89,27.64 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/watchonly_wallet.go:27.64,28.52 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/watchonly_wallet.go:28.52,30.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/watchonly_wallet.go:32.2,32.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/watchonly_wallet.go:32.29,34.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/watchonly_wallet.go:35.2,35.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/watchonly_wallet.go:38.85,40.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/watchonly_wallet.go:40.16,42.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/watchonly_wallet.go:43.2,50.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/watchonly_wallet.go:50.16,52.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/watchonly_wallet.go:53.2,53.43 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/watchonly_wallet.go:56.109,58.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/watchonly_wallet.go:60.68,62.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/watchonly_wallet.go:64.126,66.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/watchonly_wallet.go:68.68,70.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/watchonly_wallet.go:70.16,72.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/watchonly_wallet.go:73.2,73.67 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/watchonly_wallet.go:76.116,78.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/watchonly_wallet.go:80.49,83.2 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/watchonly_wallet.go:85.47,87.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/watchonly_wallet.go:89.67,91.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/btcclient/adapter.go:24.101,26.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/btcclient/adapter.go:29.72,31.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/btcclient/adapter.go:33.144,35.15 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/btcclient/adapter.go:35.15,37.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/btcclient/adapter.go:39.2,40.42 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/btcclient/adapter.go:40.42,41.51 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/btcclient/adapter.go:41.51,46.4 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/btcclient/adapter.go:48.2,49.23 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/btcclient/adapter.go:52.128,54.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/btcclient/adapter.go:56.94,68.16 6 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/btcclient/adapter.go:68.16,70.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/btcclient/adapter.go:72.2,75.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/btcclient/adapter.go:75.16,77.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/btcclient/adapter.go:78.2,80.25 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/btcclient/adapter.go:80.25,82.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/btcclient/adapter.go:86.2,87.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/btcclient/adapter.go:87.16,89.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/btcclient/adapter.go:91.2,93.35 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/btcclient/adapter.go:93.35,95.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/btcclient/adapter.go:97.2,98.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/btcclient/adapter.go:98.16,100.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/btcclient/adapter.go:100.8,100.34 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/btcclient/adapter.go:100.34,102.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/btcclient/adapter.go:103.2,103.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/btcclient/adapter.go:106.49,107.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/btcclient/adapter.go:107.25,109.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/btcclient/adapter.go:109.8,111.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/btcclient/binding.go:11.13,13.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/btcclient/sign_with_key.go:24.85,26.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/btcclient/sign_with_key.go:26.16,28.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/btcclient/sign_with_key.go:32.2,34.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/btcclient/sign_with_key.go:34.16,36.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/btcclient/sign_with_key.go:38.2,39.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/btcclient/sign_with_key.go:39.16,41.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/btcclient/sign_with_key.go:43.2,44.87 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/btcclient/sign_with_key.go:44.87,45.95 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/btcclient/sign_with_key.go:45.95,47.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/btcclient/sign_with_key.go:50.2,50.56 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/bindings.go:30.61,32.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/bindings.go:34.91,35.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/bindings.go:35.17,37.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/bindings.go:38.2,38.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/bindings.go:41.95,43.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/bindings.go:53.55,55.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/bindings.go:57.105,59.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/common.go:24.61,25.21 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/common.go:26.30,27.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/common.go:28.12,29.64 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/common.go:30.14,31.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/common.go:32.10,33.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/common.go:42.56,45.2 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/common.go:47.40,49.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/common.go:51.70,53.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/common.go:55.57,62.16 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/common.go:62.16,64.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/common.go:64.8,66.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/common.go:69.64,71.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/common.go:71.16,73.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/common.go:74.2,74.19 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/liquidity_provider.go:34.102,36.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/liquidity_provider.go:38.140,42.2 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/liquidity_provider.go:44.142,48.2 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/liquidity_provider.go:50.144,54.2 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/liquidity_provider.go:56.153,64.2 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/liquidity_provider.go:66.155,74.2 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/liquidity_provider.go:76.157,84.2 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/liquidity_provider.go:86.132,90.2 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/liquidity_provider.go:92.144,100.2 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/liquidity_provider.go:106.9,108.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/liquidity_provider.go:114.32,116.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/liquidity_provider.go:123.9,128.16 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/liquidity_provider.go:128.16,130.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/liquidity_provider.go:131.2,131.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/liquidity_provider.go:131.20,133.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/liquidity_provider.go:134.2,134.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/liquidity_provider.go:142.32,148.42 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/liquidity_provider.go:148.42,150.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/liquidity_provider.go:150.8,150.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/liquidity_provider.go:150.23,152.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/liquidity_provider.go:153.2,153.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/liquidity_provider.go:153.20,155.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/liquidity_provider.go:156.2,156.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/mongo.go:15.102,29.65 7 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/mongo.go:29.65,31.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/mongo.go:32.2,33.46 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/mongo.go:33.46,35.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/mongo.go:35.8,37.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/mongo.go:40.67,49.2 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegin.go:23.75,25.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegin.go:32.116,41.16 6 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegin.go:41.16,43.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegin.go:43.8,46.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegin.go:49.105,58.42 7 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegin.go:58.42,60.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegin.go:60.8,60.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegin.go:60.23,62.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegin.go:63.2,64.32 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegin.go:67.121,76.42 7 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegin.go:76.42,78.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegin.go:78.8,78.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegin.go:78.23,80.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegin.go:81.2,82.21 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegin.go:85.122,90.16 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegin.go:90.16,92.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegin.go:92.8,95.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegin.go:98.122,107.16 7 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegin.go:107.16,109.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegin.go:109.8,109.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegin.go:109.38,111.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegin.go:111.8,111.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegin.go:111.37,113.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegin.go:114.2,115.12 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegin.go:118.144,126.16 7 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegin.go:126.16,128.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegin.go:129.2,129.46 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegin.go:129.46,131.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegin.go:132.2,133.20 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegin.go:136.100,143.16 6 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegin.go:143.16,145.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegin.go:146.2,147.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegin.go:147.16,149.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegin.go:150.2,152.61 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegin.go:152.61,154.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegin.go:155.2,155.74 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:30.77,32.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:34.119,43.16 6 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:43.16,45.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:45.8,48.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:51.107,60.42 7 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:60.42,62.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:62.8,62.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:62.23,64.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:65.2,66.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:69.123,78.42 7 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:78.42,80.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:80.8,80.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:80.23,82.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:83.2,84.21 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:87.124,92.16 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:92.16,94.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:94.8,97.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:100.132,107.16 6 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:107.16,109.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:111.2,112.51 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:112.51,114.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:115.2,116.23 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:119.124,128.16 7 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:128.16,130.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:130.8,130.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:130.38,132.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:132.8,132.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:132.37,134.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:135.2,136.12 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:139.128,144.15 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:144.15,145.21 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:145.21,147.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:149.2,149.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:149.16,151.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:152.2,153.103 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:153.103,155.48 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:155.48,159.24 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:159.24,161.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:162.4,162.33 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:164.3,164.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:166.2,166.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:166.16,168.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:168.8,168.57 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:168.57,170.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:171.2,172.12 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:175.147,183.16 7 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:183.16,185.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:186.2,186.46 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:186.46,188.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:189.2,190.20 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:193.101,200.16 6 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:200.16,202.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:203.2,204.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:204.16,206.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:207.2,209.62 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:209.62,211.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:212.2,212.75 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:215.112,225.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:225.16,227.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:227.8,227.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:227.37,229.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:230.2,231.12 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:234.116,238.24 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:238.24,240.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:242.2,243.35 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:243.35,251.3 6 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:253.2,257.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:257.16,259.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo/pegout.go:260.2,260.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:38.30,49.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:51.50,53.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:55.62,58.26 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:58.26,60.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:63.77,66.28 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:66.28,68.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:69.2,69.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:69.16,71.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:73.2,73.52 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:76.135,82.26 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:82.26,84.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:85.2,85.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:85.16,87.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:89.2,89.120 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:92.66,94.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:96.87,104.28 6 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:104.28,106.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:107.2,107.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:107.16,109.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:110.2,112.37 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:112.37,114.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:114.27,116.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:117.3,117.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:117.17,119.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:120.3,120.56 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:123.2,124.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:124.28,126.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:127.2,127.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:127.16,129.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:131.2,132.26 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:132.26,134.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:135.2,135.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:135.16,137.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:139.2,140.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:140.28,142.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:143.2,143.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:143.16,145.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:147.2,155.8 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:35.55,37.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:39.44,41.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:43.54,47.2 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:49.63,51.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:51.16,53.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:54.2,54.19 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:68.70,69.39 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:69.39,71.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:72.2,73.12 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:76.97,81.18 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:81.18,83.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:85.2,85.30 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:85.30,87.17 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:87.17,89.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:90.3,90.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:92.2,92.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:95.124,97.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:99.152,105.16 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:105.16,107.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:108.2,109.15 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:109.15,111.20 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:111.20,113.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:113.9,115.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:117.2,117.40 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/fee_collector.go:14.96,16.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/fee_collector.go:18.64,21.28 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/fee_collector.go:21.28,23.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/fee_collector.go:24.2,24.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/fee_collector.go:24.16,26.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/fee_collector.go:27.2,27.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:40.38,48.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:50.61,52.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:54.101,59.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:59.16,61.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:63.2,64.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:64.28,66.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:67.2,67.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:67.16,69.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:70.2,70.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:73.104,78.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:78.16,80.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:82.2,83.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:83.28,85.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:86.2,86.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:86.16,88.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:89.2,89.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:92.114,100.28 6 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:100.28,102.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:103.2,103.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:103.16,105.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:107.2,110.37 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:110.37,112.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:114.2,115.71 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:115.71,117.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:118.2,118.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:118.16,120.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:121.2,122.36 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:122.36,125.30 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:125.30,127.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:128.3,135.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:137.2,137.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:140.64,146.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:146.33,147.75 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:147.75,149.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:152.2,152.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:152.16,154.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:154.8,154.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:154.50,156.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:157.2,157.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:160.92,169.33 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:169.33,170.86 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:170.86,172.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:175.2,175.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:175.16,177.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:177.8,177.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:177.50,179.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:180.2,180.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:183.94,187.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:187.61,189.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:190.2,191.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:191.28,193.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:194.2,194.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:194.16,196.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:197.2,197.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:200.96,204.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:204.16,206.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:206.8,206.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:206.38,208.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:209.2,211.24 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.24,213.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.2,214.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.16,216.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:217.2,217.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:220.100,224.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.61,226.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:227.2,228.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:228.28,230.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:231.2,231.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:231.16,233.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:234.2,234.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:237.87,241.28 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:241.28,243.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:244.2,244.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:244.16,246.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:247.2,247.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:250.83,258.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:258.33,259.82 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:259.82,261.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:264.2,264.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:264.16,266.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.8,266.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.50,268.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:269.2,269.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:272.89,280.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:280.33,281.88 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:281.88,283.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:286.2,286.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:286.16,288.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:288.8,288.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:288.50,290.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:291.2,291.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:294.68,301.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:301.33,302.87 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:302.87,304.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:307.2,307.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:307.16,309.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:309.8,309.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:309.50,311.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:312.2,312.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:315.91,319.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:319.61,321.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:322.2,323.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:323.28,325.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:326.2,326.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:326.16,328.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:329.2,329.41 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:332.137,334.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:334.16,336.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:338.2,346.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:346.33,347.80 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:347.80,349.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:352.2,352.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:352.16,354.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:354.8,354.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:354.27,356.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:356.8,356.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:356.32,359.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:360.2,360.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:363.110,367.66 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:367.66,369.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:370.2,380.59 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:380.59,384.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:384.8,384.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:384.23,386.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:388.2,394.89 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:394.89,397.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:399.2,399.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:399.16,401.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:401.8,401.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:401.27,403.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:403.8,403.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:403.32,406.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:407.2,407.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:410.147,424.59 6 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:424.59,427.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:427.8,427.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:427.23,429.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.2,437.88 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:437.88,440.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:442.2,442.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:442.16,444.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:444.8,444.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:444.27,446.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:446.8,446.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:446.32,449.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:450.2,450.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:453.90,458.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:458.61,460.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:462.2,463.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:463.24,465.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:468.91,473.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:473.61,475.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:477.2,478.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:478.24,480.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:483.145,494.15 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:494.15,495.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:495.25,496.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:496.63,498.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.2,501.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.38,503.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.2,505.22 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.22,515.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:516.2,516.40 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:516.40,518.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:520.2,520.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:523.168,533.15 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:533.15,534.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:534.25,535.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:535.63,537.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.2,540.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.38,542.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:544.2,544.22 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:544.22,551.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.2,552.40 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.40,554.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:555.2,555.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.158,567.33 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:567.33,568.77 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:568.77,570.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:573.2,573.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:573.16,575.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:575.8,575.76 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:575.76,577.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:579.2,580.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:580.16,582.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:583.2,583.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:587.86,592.59 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:592.59,594.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.2,596.110 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.110,598.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:598.8,600.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:601.2,601.126 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:601.126,603.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:604.2,604.133 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:604.133,606.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:608.2,608.84 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:608.84,610.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:611.2,611.103 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:611.103,613.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:614.2,614.96 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:614.96,616.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:617.2,617.94 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:617.94,619.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:621.2,621.92 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:621.92,623.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:625.2,638.25 14 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:642.90,646.60 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:646.60,648.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:650.2,650.85 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:650.85,652.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:653.2,653.89 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:653.89,655.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:656.2,656.97 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:656.97,658.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:660.2,660.127 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:660.127,662.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:663.2,663.119 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:663.119,665.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:666.2,666.124 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:666.124,668.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:670.2,685.25 16 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:25.97,27.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:29.98,33.59 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:33.59,35.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:37.2,38.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:38.28,40.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:42.2,42.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:42.16,44.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:44.8,46.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:49.133,55.59 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:55.59,57.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:59.2,59.70 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:59.70,61.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:61.8,61.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:61.23,63.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:65.2,71.26 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:71.26,73.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:74.2,74.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:74.16,76.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:76.8,78.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:81.80,83.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:83.28,85.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:86.2,86.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:86.16,88.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:88.8,90.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:93.74,95.26 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:95.26,97.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:100.122,104.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:104.16,106.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:108.2,109.34 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:109.34,111.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:112.2,112.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:112.16,114.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:116.2,117.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:117.38,120.4 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:121.2,121.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:121.16,123.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:125.2,130.16 6 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:130.16,131.72 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:131.72,133.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:135.2,144.8 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:147.99,155.26 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:155.26,157.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:158.2,158.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:158.16,160.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:162.2,163.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:163.28,165.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:166.2,166.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:166.16,168.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:170.2,171.26 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:171.26,173.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:174.2,174.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:174.16,176.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:178.2,178.75 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:181.106,182.76 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:182.76,184.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:185.2,186.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:186.32,188.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:189.2,189.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:189.16,191.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:193.2,198.8 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/wallet.go:25.102,27.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/wallet.go:29.55,31.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/wallet.go:33.117,35.65 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/wallet.go:35.65,37.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/wallet.go:38.2,39.87 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/wallet.go:42.68,44.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/wallet.go:46.68,48.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/wallet.go:48.16,51.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/wallet.go:52.2,53.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/wallet.go:53.16,56.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/wallet.go:57.2,58.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/wallet.go:58.16,61.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/wallet.go:62.2,63.77 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/wallet.go:66.131,72.52 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/wallet.go:72.52,74.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/wallet.go:76.2,79.77 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/wallet.go:79.77,81.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/wallet.go:83.2,83.85 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/wallet.go:83.85,85.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/wallet.go:87.2,95.67 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/wallet.go:95.67,97.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/wallet.go:99.2,100.102 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/wallet.go:100.102,102.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/wallet.go:104.2,105.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/wallet.go:105.16,107.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/wallet.go:107.8,107.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/wallet.go:107.50,109.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/wallet.go:110.2,110.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/wallet.go:113.85,115.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/wallet.go:115.16,117.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/wallet.go:118.2,118.41 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:43.60,44.55 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:44.55,46.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:48.2,49.113 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:49.113,51.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:51.8,56.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:60.88,62.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:62.16,64.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:66.2,67.15 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:67.15,68.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:68.17,70.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:72.2,72.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:72.16,74.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:76.2,77.15 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:77.15,77.36 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:78.2,79.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:79.16,81.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:83.2,90.21 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:93.56,94.53 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:94.53,96.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:97.2,98.45 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:101.66,102.54 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:102.54,104.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:105.2,105.33 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:108.91,109.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:109.24,111.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:112.2,113.39 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:113.39,114.15 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:114.15,116.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:118.2,118.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:118.16,120.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:122.2,124.15 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:124.15,126.17 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:126.17,128.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:130.2,130.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:130.16,132.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:133.2,133.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:136.102,138.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:138.16,140.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:142.2,143.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:143.16,145.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:146.2,146.22 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:149.128,150.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:150.29,154.3 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:154.8,155.39 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:155.39,157.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:158.3,160.19 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:17.103,22.65 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:22.65,24.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:24.8,26.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:28.2,28.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:28.16,30.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:31.2,31.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:34.129,36.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:36.16,38.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:40.2,41.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:41.16,43.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:44.2,44.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:47.130,49.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:49.16,51.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:53.2,54.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:54.16,56.17 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:56.17,58.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:60.3,61.17 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:61.17,63.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:65.2,65.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:68.101,72.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:72.16,74.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:75.2,75.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:75.17,77.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:79.2,80.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:80.16,82.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:84.2,85.18 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:88.101,91.41 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:91.41,93.17 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:93.17,95.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:96.3,96.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:99.2,100.12 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:103.110,105.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:105.16,107.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:109.2,110.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:110.16,112.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:113.2,113.68 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:113.68,115.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:117.2,117.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:120.113,122.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:122.16,124.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:126.2,127.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:127.16,129.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:130.2,134.16 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:134.16,136.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:137.2,143.16 6 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:143.16,145.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:146.2,153.36 7 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:156.87,160.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:160.16,162.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:164.2,164.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:164.17,166.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:168.2,169.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:169.16,171.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:173.2,174.18 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:177.101,182.41 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:182.41,184.17 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:184.17,186.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:187.3,187.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:190.2,191.12 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:194.54,200.2 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:202.84,207.2 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:210.37,211.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:212.9,213.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:214.9,215.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:216.9,217.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:218.9,219.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:220.9,221.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:222.9,223.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:224.9,225.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:226.9,227.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:228.9,229.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:230.10,231.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:232.10,233.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:234.10,235.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:236.10,237.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:238.10,239.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:240.10,241.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:242.10,243.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:247.63,248.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:249.35,250.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:251.36,252.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:253.10,254.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:258.75,268.2 7 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:270.181,274.31 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:274.31,275.80 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:275.80,277.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:278.8,279.82 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:279.82,281.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:284.2,285.98 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:285.98,287.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/federation/federation.go:289.2,292.8 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/utils/utils.go:14.44,15.35 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/utils/utils.go:15.35,17.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/utils/utils.go:18.2,18.41 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/utils/utils.go:18.41,20.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/utils/utils.go:23.80,27.2 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/liquidity_check.go:18.26,25.2 2 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/liquidity_check.go:27.74,31.2 3 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/liquidity_check.go:33.74,33.88 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/liquidity_check.go:35.47,40.6 3 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/liquidity_check.go:40.6,41.10 1 5 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/liquidity_check.go:42.29,44.65 2 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/liquidity_check.go:44.65,46.5 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/liquidity_check.go:47.4,47.12 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/liquidity_check.go:48.37,51.21 3 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:41.23,56.2 3 5 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:58.71,63.16 5 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:63.16,65.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:66.2,68.45 3 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:68.45,70.3 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:71.2,71.12 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:74.44,77.6 2 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:77.6,78.10 1 18 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:79.29,82.102 3 9 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:82.102,85.5 2 7 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:85.10,85.25 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:85.25,87.5 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:88.4,89.32 2 9 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:90.32,91.20 1 6 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:91.20,93.5 1 6 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:94.37,97.21 3 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:102.71,106.2 3 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:108.85,111.9 3 6 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:111.9,114.3 2 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:115.2,117.72 3 5 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:117.72,120.3 2 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:121.2,121.77 1 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:121.77,123.3 1 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:126.50,129.46 3 7 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:129.46,130.105 1 5 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:130.105,133.4 2 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:134.3,134.46 1 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:134.46,136.4 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:140.88,143.140 3 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:143.140,146.3 2 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:146.8,146.23 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:146.23,148.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:148.8,150.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:153.138,156.2 1 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:158.102,163.2 4 11 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:165.63,169.2 3 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:171.60,173.2 1 8 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:46.39,53.2 1 5 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:63.31,80.2 3 5 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:82.79,93.16 10 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:93.16,95.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:96.2,96.45 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:96.45,98.72 2 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:98.72,100.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:101.3,101.70 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:103.2,103.12 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:106.52,109.6 2 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:109.6,110.10 1 25 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:111.29,113.102 2 15 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:113.102,116.5 2 13 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:116.10,116.25 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:116.25,118.5 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:119.4,119.38 1 15 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:120.32,121.20 1 7 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:121.20,123.5 1 7 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:124.37,127.21 3 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:132.79,136.2 3 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:138.91,141.9 3 7 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:141.9,144.3 2 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:146.2,148.72 3 6 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:148.72,151.3 2 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:153.2,154.16 2 5 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:154.16,157.3 2 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:158.2,158.102 1 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:161.77,162.46 1 13 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:162.46,164.3 1 11 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:167.115,174.114 5 11 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:174.114,175.84 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:175.84,177.4 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:177.9,179.4 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:180.3,180.9 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:183.2,183.75 1 9 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:183.75,184.75 1 5 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:184.75,186.4 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:187.3,187.9 1 5 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:190.2,190.88 1 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:190.88,191.72 1 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:191.72,193.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:194.3,194.9 1 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:198.133,205.78 6 5 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:205.78,207.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:209.2,209.25 1 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:209.25,210.80 1 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:210.80,212.4 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:213.3,215.103 3 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:215.103,216.107 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:216.107,218.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:218.10,221.5 2 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:224.2,224.12 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:227.130,229.16 2 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:229.16,231.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:232.2,232.71 1 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:232.71,234.3 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:235.2,235.12 1 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:238.115,241.121 3 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:241.121,244.3 2 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:244.8,244.23 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:244.23,246.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:246.8,248.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:251.110,256.2 4 14 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:258.71,262.2 3 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:264.64,266.2 1 11 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_bridge_watcher.go:24.164,31.2 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_bridge_watcher.go:33.72,33.86 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_bridge_watcher.go:35.45,37.6 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_bridge_watcher.go:37.6,38.10 1 5 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_bridge_watcher.go:39.29,40.25 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_bridge_watcher.go:41.37,44.21 3 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_bridge_watcher.go:49.72,53.2 3 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_bridge_watcher.go:55.51,58.16 3 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_bridge_watcher.go:58.16,61.3 2 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_bridge_watcher.go:62.2,63.65 2 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_bridge_watcher.go:63.65,66.3 2 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_bridge_watcher.go:69.61,71.2 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:37.29,53.2 4 5 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:55.77,59.2 3 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:61.77,66.16 5 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:66.16,68.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:69.2,71.45 3 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:71.45,73.3 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:74.2,74.12 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:77.50,80.6 2 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:80.6,81.10 1 18 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:82.29,85.102 3 9 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:85.102,88.5 2 7 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:88.10,88.25 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:88.25,90.5 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:91.4,92.38 2 9 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:93.32,94.20 1 6 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:94.20,96.5 1 6 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:97.37,100.21 3 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:105.56,108.46 3 7 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:108.46,109.103 1 5 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:109.103,112.4 2 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:113.3,113.46 1 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:113.46,115.4 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:119.94,122.139 3 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:122.139,125.3 2 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:125.8,125.23 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:125.23,127.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:127.8,129.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:132.93,135.9 3 6 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:135.9,138.3 2 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:140.2,142.72 3 5 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:142.72,145.3 2 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:146.2,146.124 1 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:146.124,149.3 2 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:150.2,150.109 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:153.109,158.2 4 14 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:160.69,164.2 3 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:166.145,169.2 1 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:171.61,173.2 1 10 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:52.36,60.2 1 5 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:70.28,92.2 4 6 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:94.76,98.34 3 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:98.34,99.90 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:99.90,101.4 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:104.2,105.16 2 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:105.16,107.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:108.2,113.45 6 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:113.45,115.77 2 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:115.77,117.4 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:118.3,118.70 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:121.2,122.12 2 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:125.49,131.6 4 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:131.6,132.10 1 21 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:133.29,137.107 4 9 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:137.107,141.5 3 9 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:141.10,141.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:141.25,143.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:144.4,146.32 3 9 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:147.32,148.20 1 8 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:148.20,150.5 1 8 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:151.37,154.21 3 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:159.76,163.2 3 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:165.89,170.9 5 8 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:170.9,173.3 2 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:175.2,175.72 1 7 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:175.72,178.3 2 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:179.2,179.103 1 5 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:182.103,187.16 4 9 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:187.16,190.3 2 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:191.2,191.35 1 8 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:191.35,193.3 1 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:196.104,200.135 4 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:200.135,201.108 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:201.108,203.4 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:203.9,205.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:209.89,210.46 1 9 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:210.46,212.3 1 8 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:215.127,218.116 3 8 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:218.116,219.84 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:219.84,222.4 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:222.9,224.4 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:227.2,227.89 1 8 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:227.89,228.118 1 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:228.118,231.4 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:232.3,232.66 1 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:232.66,234.4 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:238.112,241.120 3 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:241.120,244.3 2 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:244.8,244.23 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:244.23,246.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:246.8,248.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:251.108,256.2 4 15 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:258.66,262.2 3 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:264.133,268.2 1 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:270.61,272.2 1 9 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:20.166,23.2 2 5 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:25.77,30.62 5 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:30.62,32.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:33.2,34.12 2 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:37.50,43.6 5 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:43.6,44.10 1 5 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:45.29,48.64 3 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:48.64,50.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:50.10,51.98 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:51.98,53.6 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:55.4,56.38 2 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:57.37,60.21 3 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:65.67,69.2 3 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:71.77,75.2 3 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/quote_cleaner.go:18.24,25.2 2 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/quote_cleaner.go:27.72,29.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/quote_cleaner.go:31.45,33.6 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/quote_cleaner.go:33.6,34.10 1 5 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/quote_cleaner.go:35.29,36.19 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/quote_cleaner.go:37.37,40.21 3 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/quote_cleaner.go:45.72,49.2 3 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/quote_cleaner.go:51.45,53.16 2 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/quote_cleaner.go:53.16,55.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/quote_cleaner.go:56.2,57.27 2 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/quote_cleaner.go:57.27,59.3 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/ticker.go:15.55,19.2 1 8 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/ticker.go:21.32,23.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/ticker.go:25.46,27.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/ticker.go:40.50,51.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/aws.go:10.77,11.31 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/aws.go:11.31,13.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/aws.go:15.2,16.123 2 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/aws.go:16.123,22.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/aws.go:23.2,23.94 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment.go:60.64,61.21 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment.go:62.17,63.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment.go:64.17,65.39 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment.go:66.17,67.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment.go:68.10,69.66 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment.go:104.29,107.34 3 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment.go:107.34,109.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment.go:109.8,109.51 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment.go:109.51,111.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment.go:113.2,113.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:13.35,15.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:17.42,18.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:18.50,20.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:22.2,22.33 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:22.33,24.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:26.2,29.40 3 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:29.40,30.56 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:30.56,32.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:34.2,34.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:37.85,40.53 3 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:40.53,42.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:44.2,44.64 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:44.64,45.60 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:45.60,47.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:48.8,48.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:48.29,49.86 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:49.86,51.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:53.2,53.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:56.60,57.22 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:58.22,59.26 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:60.83,61.34 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:62.78,63.33 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:64.40,65.35 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:66.20,67.34 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:68.21,69.35 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:70.19,71.33 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:72.10,73.46 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:75.2,75.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:78.58,79.18 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:79.18,81.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:81.8,81.78 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:81.78,83.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:83.8,85.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:86.2,86.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:89.57,90.18 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:90.18,92.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:92.8,92.76 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:92.76,94.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:94.8,96.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:97.2,97.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:100.59,101.18 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:101.18,103.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:103.8,103.76 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:103.76,105.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:105.8,107.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:108.2,108.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:111.58,112.61 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:112.61,114.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:114.8,116.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:117.2,117.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:120.59,121.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:121.50,123.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:124.2,124.51 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:124.51,128.3 3 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:129.2,129.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:132.57,135.68 3 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:135.68,137.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:137.8,139.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:140.2,140.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:143.70,145.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:145.33,147.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:147.8,149.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:151.2,151.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:151.50,153.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:155.2,156.9 2 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:156.9,158.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/environment_reader.go:159.2,159.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/mutex.go:15.58,26.2 5 5 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/mutex.go:28.63,30.2 1 4 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/mutex.go:32.68,34.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/mutex.go:36.69,38.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/environment/mutex.go:40.63,42.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:19.34,21.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:44.78,46.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:46.16,48.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:49.2,51.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:51.16,53.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:54.2,54.36 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:54.36,56.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:57.2,57.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/event.go:20.41,22.2 1 31 +github.com/rsksmart/liquidity-provider-server/internal/entities/event.go:24.33,26.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/event.go:28.50,30.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:20.27,24.2 3 70 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:26.29,30.2 3 14 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:32.33,36.2 3 3 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:38.34,43.2 4 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:45.27,47.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:49.31,51.2 1 19 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:53.36,55.2 1 385 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:57.31,59.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:61.35,63.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:65.38,67.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:69.31,71.2 1 62 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:73.45,74.14 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:74.14,76.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:77.2,77.35 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:80.43,81.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:82.14,84.10 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:84.10,86.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:87.3,87.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:88.11,89.47 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:90.10,91.57 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:95.45,97.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:99.49,101.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:103.65,105.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:107.78,108.64 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:108.64,110.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:111.2,112.69 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:112.69,114.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:115.2,116.12 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:119.35,122.2 2 66 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:124.35,127.2 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:129.35,132.2 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:52.77,54.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:56.78,58.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:60.58,61.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.50,63.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:63.8,65.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:68.58,71.38 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:71.38,72.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.23,74.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:76.2,76.17 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:79.82,81.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:81.33,83.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:84.2,85.56 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.56,88.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.2,89.17 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.17,91.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:91.8,93.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:34.49,36.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:38.35,40.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:42.34,44.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:46.47,51.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:53.47,58.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:88.88,91.9 3 5 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:91.9,93.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:94.2,94.29 1 5 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:94.29,96.3 1 5 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:97.2,97.14 1 5 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/lbc.go:25.51,35.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/lbc.go:45.50,55.2 1 2 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/lbc.go:69.30,76.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:30.63,32.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:33.40,35.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:61.107,63.19 2 3 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:63.19,65.3 1 3 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:66.2,66.75 1 3 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:53.77,55.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:57.78,59.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.58,62.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:62.50,64.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:64.8,66.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:69.58,72.38 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.38,73.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:73.23,75.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:77.2,77.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:80.82,82.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:82.33,84.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.2,86.56 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:86.56,89.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.2,90.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.17,92.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:92.8,94.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:25.64,33.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:35.64,43.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:45.53,54.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:56.55,67.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,74.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:56.55,67.2 1 3 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,75.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:23.38,24.11 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:25.51,26.14 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:27.10,28.15 1 0 @@ -5464,6 +7020,833 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provid github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:40.57,42.28 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:42.28,44.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:44.8,46.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:61.49,63.2 1 12 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:65.43,67.2 1 7 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:69.48,70.24 1 5 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:70.24,72.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:73.2,73.26 1 5 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:73.26,75.3 1 4 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:76.2,76.25 1 5 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:76.25,78.3 1 4 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:79.2,84.14 6 5 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:103.102,105.2 1 14 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:68.50,70.2 1 10 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:72.44,74.2 1 4 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:76.108,78.2 1 3 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:80.49,81.24 1 9 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:81.24,83.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:84.2,84.26 1 9 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:84.26,86.3 1 9 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:87.2,87.25 1 9 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:87.25,89.3 1 9 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:90.2,95.14 6 9 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:115.107,117.2 1 16 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:134.71,139.2 4 5 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/encoding.go:8.63,11.52 3 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/encoding.go:11.52,13.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/encoding.go:14.2,14.33 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/encoding.go:14.33,16.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/encoding.go:17.2,17.19 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:19.92,20.42 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:20.42,22.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:23.2,24.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:24.16,26.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:27.2,29.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:29.16,31.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:32.2,32.51 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:35.53,37.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:37.16,39.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:39.8,39.57 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:39.57,41.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:42.2,43.18 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:10.34,11.11 1 3 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:11.11,13.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:14.2,14.14 1 3 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:17.43,19.11 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:19.11,21.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:21.8,23.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.2,24.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.37,26.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:27.2,27.19 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:30.61,33.2 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:20.78,21.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:21.29,22.40 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:22.40,24.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:26.2,26.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:29.58,41.2 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:43.54,44.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:44.37,45.26 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:45.26,47.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:48.3,48.26 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:48.26,50.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:51.3,51.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:55.45,56.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:56.37,57.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:57.44,59.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:60.3,60.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:64.45,65.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:65.37,66.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:66.44,68.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:69.3,69.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:73.41,74.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:74.37,75.40 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:75.40,77.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:78.3,78.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:82.47,83.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:83.37,84.51 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:84.51,86.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:87.3,87.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:9.36,11.16 2 6 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:11.16,13.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:14.2,14.28 1 6 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:18.31,20.16 2 6 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:20.16,21.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:23.2,23.15 1 6 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:26.58,30.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:30.16,32.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:33.2,33.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:82.31,84.2 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:86.44,88.2 1 6 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:90.39,91.55 1 8 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:91.55,93.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:93.8,95.3 1 8 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:98.59,100.2 1 13 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:102.79,103.20 1 21 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:103.20,105.3 1 13 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:105.8,107.3 1 8 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:115.176,119.27 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:119.27,124.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:126.2,129.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:129.16,131.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:132.2,135.8 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:138.108,143.70 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.70,145.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:146.2,146.35 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:146.35,150.3 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:151.2,151.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:159.31,161.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:161.16,163.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:164.2,166.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:166.16,168.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:169.2,174.26 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:20.103,22.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:35.69,41.38 5 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:41.38,44.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:45.2,45.39 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:45.39,48.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:49.2,49.39 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:49.39,52.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:54.2,65.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/available_liquidity.go:19.33,25.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/available_liquidity.go:27.118,29.41 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/available_liquidity.go:29.41,31.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/available_liquidity.go:32.2,33.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/available_liquidity.go:33.16,35.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/available_liquidity.go:36.2,37.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/available_liquidity.go:37.16,39.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/available_liquidity.go:40.2,43.8 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/change_status.go:14.132,16.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/change_status.go:18.63,23.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/change_status.go:23.16,25.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/change_status.go:27.2,27.78 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/change_status.go:27.78,29.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/change_status.go:30.2,30.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/check_liquidity.go:37.26,45.2 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/check_liquidity.go:47.70,49.16 2 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/check_liquidity.go:49.16,51.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/check_liquidity.go:53.2,54.47 2 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/check_liquidity.go:54.47,60.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/check_liquidity.go:60.17,62.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/check_liquidity.go:63.8,63.23 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/check_liquidity.go:63.23,65.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/check_liquidity.go:67.2,68.47 2 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/check_liquidity.go:68.47,74.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/check_liquidity.go:74.17,76.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/check_liquidity.go:77.8,77.23 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/check_liquidity.go:77.23,79.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/check_liquidity.go:81.2,81.12 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:31.19,35.53 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:35.53,37.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:39.2,42.65 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:42.65,44.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:46.2,46.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:46.12,48.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:49.2,49.33 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:65.9,70.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:70.16,72.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:73.2,73.30 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:73.30,74.78 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:74.78,76.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:77.8,79.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:81.2,82.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:82.16,84.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:85.2,86.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:86.16,88.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:89.2,90.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:90.16,92.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:93.2,93.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:96.111,97.41 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:97.41,99.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:100.2,100.9 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:101.57,103.10 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:103.10,105.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:106.3,107.44 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:108.10,109.88 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:116.9,118.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:118.16,120.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:121.2,122.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:122.16,124.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:125.2,127.36 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:127.36,129.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:129.8,131.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/generate_default_credentials.go:27.38,29.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/generate_default_credentials.go:31.100,33.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/generate_default_credentials.go:33.16,35.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/generate_default_credentials.go:36.2,36.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/generate_default_credentials.go:36.24,38.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/generate_default_credentials.go:39.2,40.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/generate_default_credentials.go:40.16,42.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/generate_default_credentials.go:43.2,46.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/generate_default_credentials.go:46.16,48.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/generate_default_credentials.go:50.2,51.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/generate_default_credentials.go:51.16,53.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/generate_default_credentials.go:54.2,55.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/generate_default_credentials.go:55.16,57.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/generate_default_credentials.go:59.2,70.12 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/get_configuration.go:18.21,20.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/get_configuration.go:28.77,38.2 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/get_providers.go:13.85,15.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/get_providers.go:17.101,20.71 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/get_providers.go:20.71,22.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/get_providers.go:23.2,23.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/login.go:19.17,22.2 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/login.go:24.105,25.71 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/login.go:25.71,27.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/login.go:28.2,28.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/login.go:31.107,33.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/login.go:35.83,37.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/login.go:39.103,41.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/login.go:43.89,45.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/management_ui.go:31.31,39.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/management_ui.go:52.113,53.15 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/management_ui.go:53.15,55.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/management_ui.go:56.2,56.52 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/management_ui.go:59.115,61.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/management_ui.go:61.16,63.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/management_ui.go:65.2,71.8 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/management_ui.go:74.111,91.2 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/penalization_alert.go:18.142,20.2 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/penalization_alert.go:22.100,25.16 3 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/penalization_alert.go:25.16,27.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/penalization_alert.go:28.2,28.31 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/penalization_alert.go:28.31,30.109 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/penalization_alert.go:30.109,32.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/penalization_alert.go:34.2,34.12 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/provider_detail.go:25.21,33.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/provider_detail.go:42.90,64.54 6 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/provider_detail.go:64.54,66.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/provider_detail.go:66.8,66.68 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/provider_detail.go:66.68,68.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/provider_detail.go:68.8,68.69 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/provider_detail.go:68.69,70.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/provider_detail.go:72.2,72.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:16.132,18.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:36.102,43.54 6 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:43.54,45.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:47.2,47.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:47.63,49.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:50.2,50.65 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:50.65,52.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:54.2,54.61 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:54.61,56.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:58.2,60.54 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:60.54,62.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:62.8,62.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:62.23,64.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:66.2,68.54 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:68.54,70.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:70.8,70.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:70.23,72.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:74.2,75.53 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:78.149,82.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:84.81,88.87 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:88.87,90.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:91.2,91.107 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:91.107,93.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:94.2,94.114 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:94.114,96.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:97.2,101.8 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:104.83,107.116 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:107.116,109.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:111.2,111.118 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:111.118,113.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:115.2,118.8 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:121.139,125.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:127.142,130.85 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:130.85,132.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:132.8,134.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:137.104,139.55 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:139.55,141.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:141.8,141.35 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:141.35,143.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:144.2,144.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:151.17,153.130 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:153.130,155.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:156.2,158.138 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:158.138,160.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:160.8,162.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:169.17,171.133 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:171.133,173.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:174.2,176.145 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:176.145,178.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:178.8,180.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/resign.go:14.120,16.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/resign.go:18.43,22.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/resign.go:22.16,24.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/resign.go:26.2,26.62 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/resign.go:26.62,28.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/resign.go:29.2,29.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_credentials.go:25.26,33.2 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_credentials.go:35.133,36.74 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_credentials.go:36.74,38.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_credentials.go:40.2,41.89 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_credentials.go:41.89,43.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_credentials.go:45.2,46.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_credentials.go:46.16,48.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_credentials.go:49.2,50.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_credentials.go:50.16,52.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_credentials.go:54.2,61.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_credentials.go:61.16,63.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_credentials.go:64.2,64.86 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_credentials.go:64.86,66.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_credentials.go:67.2,67.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_credentials.go:70.116,72.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_credentials.go:74.92,76.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_credentials.go:78.112,80.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_credentials.go:82.98,84.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_general_config.go:20.28,22.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_general_config.go:24.120,26.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_general_config.go:26.16,28.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_general_config.go:29.2,30.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_general_config.go:30.16,32.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_general_config.go:33.2,33.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegin_config.go:20.26,22.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegin_config.go:24.116,26.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegin_config.go:26.16,28.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegin_config.go:29.2,30.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegin_config.go:30.16,32.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegin_config.go:33.2,33.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegout_config.go:23.27,25.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegout_config.go:27.118,29.136 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegout_config.go:29.136,31.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegout_config.go:33.2,34.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegout_config.go:34.16,36.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegout_config.go:37.2,38.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegout_config.go:38.16,40.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegout_config.go:41.2,41.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/withdraw_collateral.go:13.97,15.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/withdraw_collateral.go:17.55,19.104 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/withdraw_collateral.go:19.104,21.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/withdraw_collateral.go:21.8,21.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/withdraw_collateral.go:21.23,23.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/withdraw_collateral.go:24.2,24.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:32.23,42.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:44.108,50.84 5 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:50.84,52.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:52.8,52.30 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:52.30,55.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:57.2,57.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:57.28,60.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:62.2,65.95 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:65.95,67.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:67.8,67.33 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:67.33,72.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:74.2,74.93 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:74.93,76.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:78.2,78.62 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:78.62,80.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:81.2,81.88 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:81.88,83.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:85.2,94.8 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:97.153,103.104 5 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:103.104,106.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:106.8,106.105 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:106.105,109.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:109.8,109.99 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:109.99,112.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:114.2,114.79 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:114.79,116.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:117.2,123.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:126.136,135.63 5 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:135.63,137.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:138.2,141.81 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:141.81,144.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:145.2,145.31 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:148.159,155.67 6 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:155.67,157.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:158.2,158.99 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:158.99,160.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:161.2,161.95 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:161.95,163.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:164.2,164.71 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:164.71,166.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:168.2,174.8 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/add_collateral.go:15.128,17.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/add_collateral.go:19.87,22.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/add_collateral.go:22.16,24.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/add_collateral.go:25.2,26.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/add_collateral.go:26.16,28.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/add_collateral.go:29.2,31.35 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/add_collateral.go:31.35,33.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/add_collateral.go:34.2,35.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/add_collateral.go:35.16,37.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/add_collateral.go:38.2,38.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:32.23,41.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:43.107,48.75 4 3 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:48.75,50.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:52.2,52.98 1 3 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:52.98,54.3 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:54.8,54.30 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:54.30,56.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:58.2,58.81 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:58.81,60.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:62.2,65.98 3 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:65.98,67.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:69.2,71.104 2 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:71.104,73.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:74.2,74.16 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:74.16,77.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:78.2,78.12 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:87.9,89.18 2 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:89.18,92.88 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:92.88,94.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:95.3,100.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:103.2,103.21 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:110.26,114.109 3 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:114.109,116.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:118.2,119.47 2 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:119.47,121.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:121.8,123.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:125.2,125.107 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:125.107,127.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:127.8,127.48 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:127.48,129.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:130.2,130.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:137.37,143.93 5 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:143.93,145.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:145.8,147.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:149.2,157.27 4 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:164.9,170.95 5 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:170.95,172.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:173.2,174.74 2 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:174.74,176.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:178.2,178.101 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:178.101,180.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:180.8,180.57 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:180.57,182.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:184.2,185.44 2 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:185.44,193.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:194.2,194.12 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/expire_quote.go:13.104,15.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/expire_quote.go:17.110,20.16 3 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/expire_quote.go:20.16,22.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/expire_quote.go:23.2,23.12 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_collateral.go:15.139,17.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_collateral.go:19.67,21.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_collateral.go:21.16,23.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_collateral.go:24.2,24.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:31.20,40.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:56.16,64.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:71.109,80.87 8 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:80.87,82.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:84.2,85.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:85.16,87.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:89.2,89.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:89.63,91.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:93.2,93.75 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:93.75,95.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:97.2,97.76 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:97.76,99.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:101.2,109.138 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:109.138,111.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:113.2,113.125 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:113.125,115.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:117.2,117.78 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:117.78,119.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:120.2,120.87 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:120.87,122.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:123.2,123.69 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:126.152,129.85 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:129.85,132.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:133.2,133.56 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:133.56,136.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:137.2,137.64 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:137.64,140.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:141.2,141.77 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:141.77,143.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:144.2,144.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:154.29,158.51 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:158.51,160.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:162.2,185.59 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:185.59,187.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:188.2,188.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:191.121,196.91 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:196.91,198.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:199.2,199.160 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:199.160,201.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/get_pegin_quote.go:202.2,202.26 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/pegin_status.go:13.82,15.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/pegin_status.go:17.107,19.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/pegin_status.go:19.16,21.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/pegin_status.go:21.8,21.30 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/pegin_status.go:21.30,23.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/pegin_status.go:24.2,25.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/pegin_status.go:25.16,27.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/pegin_status.go:27.8,27.33 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/pegin_status.go:27.33,29.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/pegin_status.go:31.2,34.8 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:28.25,36.2 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:38.109,45.65 6 3 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:45.65,47.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:49.2,49.98 1 3 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:49.98,51.3 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:51.8,51.30 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:51.30,53.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:55.2,55.71 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:55.71,57.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:59.2,59.92 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:59.92,61.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:63.2,65.126 3 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:65.126,67.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:67.8,67.23 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:67.23,69.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:69.8,71.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:73.2,81.104 4 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:81.104,83.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:84.2,84.16 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:84.16,87.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:88.2,88.12 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:91.152,96.18 5 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:96.18,98.88 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:98.88,100.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:101.3,105.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:107.2,107.21 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:110.172,115.81 4 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:115.81,117.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:119.2,119.96 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:119.96,121.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:123.2,123.94 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:123.94,125.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:127.2,127.99 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:127.99,129.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:131.2,137.8 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:140.125,143.95 3 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:143.95,145.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:145.8,145.89 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:145.89,147.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:148.2,148.12 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/accept_pegout_quote.go:29.23,38.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/accept_pegout_quote.go:40.108,48.85 7 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/accept_pegout_quote.go:48.85,50.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/accept_pegout_quote.go:50.8,50.31 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/accept_pegout_quote.go:50.31,53.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/accept_pegout_quote.go:55.2,55.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/accept_pegout_quote.go:55.29,58.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/accept_pegout_quote.go:60.2,63.95 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/accept_pegout_quote.go:63.95,65.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/accept_pegout_quote.go:65.8,65.33 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/accept_pegout_quote.go:65.33,70.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/accept_pegout_quote.go:72.2,72.96 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/accept_pegout_quote.go:72.96,74.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/accept_pegout_quote.go:76.2,76.71 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/accept_pegout_quote.go:76.71,78.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/accept_pegout_quote.go:80.2,88.77 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/accept_pegout_quote.go:88.77,90.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/accept_pegout_quote.go:92.2,95.8 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/accept_pegout_quote.go:98.138,104.83 5 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/accept_pegout_quote.go:104.83,107.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/accept_pegout_quote.go:108.2,108.31 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/accept_pegout_quote.go:115.9,117.62 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/accept_pegout_quote.go:117.62,119.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/accept_pegout_quote.go:120.2,120.88 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/accept_pegout_quote.go:120.88,122.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/accept_pegout_quote.go:124.2,129.12 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/add_collateral.go:15.128,17.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/add_collateral.go:19.87,22.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/add_collateral.go:22.16,24.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/add_collateral.go:25.2,26.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/add_collateral.go:26.16,28.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/add_collateral.go:29.2,31.35 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/add_collateral.go:31.35,33.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/add_collateral.go:34.2,35.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/add_collateral.go:35.16,37.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/add_collateral.go:38.2,38.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:36.24,44.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:46.111,51.16 4 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:51.16,53.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:55.2,56.59 2 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:56.59,63.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:65.2,69.66 4 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:69.66,71.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:71.8,71.45 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:71.45,73.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:75.2,77.18 3 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:77.18,79.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:81.2,82.16 2 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:82.16,84.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:85.2,85.12 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:93.9,97.45 4 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:97.45,99.19 2 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:99.19,101.4 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:101.9,103.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:104.3,104.70 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:106.2,106.102 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:106.102,108.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:109.2,109.12 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:112.125,114.45 2 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:114.45,115.81 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:115.81,117.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:118.3,118.44 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:118.44,120.4 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:121.3,121.46 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:121.46,123.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:124.3,124.45 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:124.45,126.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:128.2,128.24 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/expire_quote.go:13.108,15.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/expire_quote.go:17.113,20.16 3 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/expire_quote.go:20.16,22.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/expire_quote.go:23.2,23.12 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_collateral.go:15.140,17.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_collateral.go:19.67,21.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_collateral.go:21.16,23.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_collateral.go:24.2,24.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:33.20,43.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:57.16,64.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:71.110,81.82 9 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:81.82,83.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:85.2,86.72 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:86.72,88.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:88.8,88.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:88.23,90.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:92.2,92.75 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:92.75,94.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:96.2,96.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:96.63,98.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:100.2,107.96 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:107.96,109.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:111.2,111.68 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:111.68,113.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:115.2,115.72 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:118.153,121.67 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:121.67,124.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:125.2,125.85 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:125.85,128.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:129.2,129.56 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:129.56,132.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:133.2,133.77 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:133.77,135.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:136.2,136.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:144.30,149.51 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:149.51,151.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:153.2,153.67 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:153.67,155.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:157.2,183.60 6 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:183.60,185.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:186.2,186.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:189.121,193.91 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:193.91,195.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:196.2,196.160 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:196.160,198.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:199.2,199.26 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:202.114,205.80 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:205.80,207.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:209.2,209.89 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:209.89,211.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:212.2,212.18 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_user_deposits.go:13.101,15.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_user_deposits.go:17.112,20.99 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_user_deposits.go:20.99,22.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_user_deposits.go:23.2,23.22 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/init_deposit_cache.go:16.171,18.2 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/init_deposit_cache.go:20.102,24.62 4 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/init_deposit_cache.go:24.62,26.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/init_deposit_cache.go:28.2,28.103 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/init_deposit_cache.go:28.103,30.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/init_deposit_cache.go:32.2,32.84 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/init_deposit_cache.go:32.84,34.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/init_deposit_cache.go:35.2,35.12 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/pegout_status.go:13.83,15.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/pegout_status.go:17.108,19.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/pegout_status.go:19.16,21.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/pegout_status.go:21.8,21.31 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/pegout_status.go:21.31,23.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/pegout_status.go:24.2,25.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/pegout_status.go:25.16,27.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/pegout_status.go:27.8,27.33 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/pegout_status.go:27.33,29.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/pegout_status.go:31.2,34.8 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:30.24,37.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:39.109,44.65 4 3 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:44.65,46.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:48.2,48.99 1 3 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:48.99,50.3 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:50.8,50.31 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:50.31,52.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:54.2,54.88 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:54.88,56.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:58.2,58.83 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:58.83,60.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:61.2,63.104 2 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:63.104,65.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:66.2,66.12 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:69.152,71.18 2 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:71.18,73.88 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:73.88,75.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:76.3,80.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:82.2,82.21 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:85.162,92.98 6 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:92.98,94.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:96.2,96.97 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:96.97,98.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:100.2,100.91 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:100.91,102.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:104.2,104.81 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:104.81,106.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:107.2,115.8 2 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:123.38,128.134 4 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:128.134,130.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:130.8,130.23 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:130.23,132.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:132.8,134.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:136.2,144.103 4 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:144.103,146.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:147.2,147.16 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:147.16,150.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:151.2,151.27 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:158.9,161.93 3 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:161.93,163.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:163.8,163.77 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:163.77,165.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:166.2,166.12 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:31.22,40.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:42.107,47.73 4 3 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:47.73,49.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:51.2,51.99 1 3 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:51.99,53.3 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:53.8,53.31 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:53.31,55.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:57.2,57.87 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:57.87,59.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:61.2,64.80 3 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:64.80,66.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:68.2,71.76 2 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:71.76,73.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:75.2,75.104 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:75.104,77.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:78.2,78.16 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:78.16,80.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:81.2,81.12 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:90.9,92.18 2 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:92.18,95.88 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:95.88,97.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:98.3,103.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:105.2,105.21 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:112.42,119.67 6 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:119.67,121.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:123.2,123.104 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:123.104,125.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:125.8,125.87 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:125.87,127.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:127.8,127.55 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:127.55,130.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:130.8,130.92 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:130.92,132.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:132.8,132.61 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:132.61,134.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:136.2,136.104 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:136.104,138.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:138.8,138.22 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:138.22,140.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:141.2,141.21 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:149.38,155.16 5 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:155.16,158.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:160.2,160.129 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:160.129,162.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:162.8,164.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:166.2,174.27 4 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:181.9,186.63 4 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:186.63,188.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:189.2,191.38 3 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:191.38,193.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:194.2,194.12 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:197.125,198.76 1 3 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:198.76,200.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:200.8,200.46 1 3 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:200.46,202.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:203.2,203.12 1 3 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/clean_expired.go:13.152,15.2 1 4 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/clean_expired.go:17.86,25.128 6 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/clean_expired.go:25.128,27.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/clean_expired.go:28.2,28.41 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/clean_expired.go:28.41,30.3 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/clean_expired.go:32.2,32.131 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/clean_expired.go:32.131,34.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/clean_expired.go:35.2,35.43 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/clean_expired.go:35.43,37.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/clean_expired.go:39.2,39.81 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/clean_expired.go:39.81,41.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/clean_expired.go:42.2,42.83 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/clean_expired.go:42.83,44.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/clean_expired.go:46.2,47.25 2 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:14.110,16.2 1 7 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:18.133,20.31 2 6 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:20.31,21.16 1 8 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:25.51,26.78 1 8 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:26.78,28.5 1 6 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:28.10,30.5 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:31.11,32.82 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:35.2,35.20 1 4 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:38.142,43.99 5 8 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:43.99,45.3 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:47.2,47.47 1 6 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:47.47,48.99 1 6 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:48.99,50.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:51.3,54.4 1 6 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:56.2,56.27 1 6 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegout_quote.go:14.114,16.2 1 4 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegout_quote.go:18.136,20.31 2 6 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegout_quote.go:20.31,21.16 1 7 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegout_quote.go:26.43,27.78 1 7 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegout_quote.go:27.78,29.5 1 5 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegout_quote.go:29.10,31.5 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegout_quote.go:32.11,33.114 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegout_quote.go:36.2,36.20 1 4 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegout_quote.go:39.145,44.100 5 7 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegout_quote.go:44.100,46.3 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegout_quote.go:48.2,48.47 1 5 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegout_quote.go:48.47,49.101 1 8 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegout_quote.go:49.101,51.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegout_quote.go:52.3,55.4 1 8 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegout_quote.go:57.2,57.26 1 5 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegin_deposit.go:15.106,17.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegin_deposit.go:24.36,29.40 4 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegin_deposit.go:29.40,31.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegin_deposit.go:31.8,31.82 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegin_deposit.go:31.82,33.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegin_deposit.go:35.2,38.101 3 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegin_deposit.go:38.101,40.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegin_deposit.go:41.2,41.26 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegout_deposit.go:14.120,16.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegout_deposit.go:18.176,20.56 2 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegout_deposit.go:20.56,22.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegout_deposit.go:22.8,22.83 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegout_deposit.go:22.83,24.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegout_deposit.go:25.2,27.101 3 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegout_deposit.go:27.101,29.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegout_deposit.go:30.2,30.82 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegout_deposit.go:30.82,32.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegout_deposit.go:33.2,33.26 1 1 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:43.60,44.55 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:44.55,46.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:48.2,49.113 2 0 @@ -5511,86 +7894,68 @@ github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/ro github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:155.39,157.4 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:158.3,160.19 3 0 github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:19.34,21.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:44.78,46.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:46.16,48.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:49.2,51.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:51.16,53.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:54.2,54.36 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:54.36,56.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:57.2,57.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/event.go:20.41,22.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/event.go:24.33,26.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/event.go:28.50,30.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:20.27,24.2 3 28 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:26.29,30.2 3 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:32.33,36.2 3 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:38.34,43.2 4 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:45.27,47.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:49.31,51.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:53.36,55.2 1 50 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:57.31,59.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:61.35,63.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:65.38,67.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:69.31,71.2 1 4 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:73.45,74.14 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:74.14,76.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:77.2,77.35 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:80.43,81.27 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:82.14,84.10 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:84.10,86.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:87.3,87.13 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:88.11,89.47 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:90.10,91.57 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:95.45,97.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:99.49,101.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:103.65,105.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:107.78,108.64 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:108.64,110.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:111.2,112.69 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:44.78,46.16 2 9 +github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:46.16,48.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:49.2,51.16 3 8 +github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:51.16,53.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:54.2,54.36 1 7 +github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:54.36,56.3 1 3 +github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:57.2,57.12 1 4 +github.com/rsksmart/liquidity-provider-server/internal/entities/event.go:20.41,22.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/entities/event.go:24.33,26.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/entities/event.go:28.50,30.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:20.27,24.2 3 30 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:26.29,30.2 3 8 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:32.33,36.2 3 2 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:38.34,43.2 4 3 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:45.27,47.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:49.31,51.2 1 3 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:53.36,55.2 1 93 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:57.31,59.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:61.35,63.2 1 2 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:65.38,67.2 1 2 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:69.31,71.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:73.45,74.14 1 2 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:74.14,76.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:77.2,77.35 1 1 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:80.43,81.27 1 5 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:82.14,84.10 2 3 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:84.10,86.4 1 1 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:87.3,87.13 1 2 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:88.11,89.47 1 1 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:90.10,91.57 1 1 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:95.45,97.2 1 19 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:99.49,101.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:103.65,105.2 1 6 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:107.78,108.64 1 6 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:108.64,110.3 1 5 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:111.2,112.69 2 1 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:112.69,114.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:115.2,116.12 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:119.35,122.2 2 6 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:115.2,116.12 2 1 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:119.35,122.2 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:124.35,127.2 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:129.35,132.2 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:34.49,36.2 1 216 -github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:38.35,40.2 1 216 -github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:42.34,44.2 1 126 -github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:46.47,51.2 1 216 -github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:53.47,58.2 1 216 -github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:88.88,91.9 3 6 -github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:91.9,93.3 1 2 -github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:94.2,94.29 1 4 -github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:94.29,96.3 1 6 -github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:97.2,97.14 1 4 -github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/lbc.go:25.51,35.2 1 1 -github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/lbc.go:45.50,55.2 1 1 -github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/lbc.go:69.30,76.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:30.63,32.2 1 13 -github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:33.40,35.2 1 16 -github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:61.107,63.19 2 1 -github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:63.19,65.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:66.2,66.75 1 1 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:52.77,54.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:56.78,58.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:60.58,61.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.50,63.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:63.8,65.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:68.58,71.38 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:71.38,72.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.23,74.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:76.2,76.17 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:79.82,81.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:81.33,83.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:84.2,85.56 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.56,88.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.2,89.17 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.17,91.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:91.8,93.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:53.77,55.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:57.78,59.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.58,62.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:62.50,64.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:64.8,66.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:69.58,72.38 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.38,73.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:73.23,75.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:77.2,77.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:80.82,82.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:82.33,84.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.2,86.56 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:86.56,89.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.2,90.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.17,92.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:92.8,94.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:25.64,33.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:35.64,43.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:45.53,54.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:56.55,67.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,74.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,75.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:23.38,24.11 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:25.51,26.14 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:27.10,28.15 1 0 @@ -5599,87 +7964,6 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provid github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:40.57,42.28 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:42.28,44.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:44.8,46.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:60.49,62.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:64.43,66.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:68.48,69.24 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:69.24,71.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:72.2,72.26 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:72.26,74.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:75.2,75.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:75.25,77.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:78.2,83.14 6 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:102.102,104.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:68.50,70.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:72.44,74.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:76.108,78.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:80.49,81.24 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:81.24,83.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:84.2,84.26 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:84.26,86.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:87.2,87.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:87.25,89.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:90.2,95.14 6 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:115.107,117.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:134.71,139.2 4 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/encoding.go:8.63,11.52 3 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/encoding.go:11.52,13.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/encoding.go:14.2,14.33 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/encoding.go:14.33,16.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/encoding.go:17.2,17.19 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:19.92,20.42 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:20.42,22.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:23.2,24.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:24.16,26.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:27.2,29.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:29.16,31.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:32.2,32.51 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:35.53,37.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:37.16,39.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:39.8,39.57 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:39.57,41.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:42.2,43.18 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:10.34,11.11 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:11.11,13.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:14.2,14.14 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:17.43,19.11 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:19.11,21.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:21.8,23.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.2,24.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.37,26.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:27.2,27.19 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:20.78,21.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:21.29,22.40 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:22.40,24.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:26.2,26.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:29.58,41.2 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:43.54,44.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:44.37,45.26 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:45.26,47.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:48.3,48.26 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:48.26,50.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:51.3,51.13 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:55.45,56.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:56.37,57.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:57.44,59.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:60.3,60.13 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:64.45,65.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:65.37,66.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:66.44,68.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:69.3,69.13 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:73.41,74.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:74.37,75.40 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:75.40,77.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:78.3,78.13 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:82.47,83.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:83.37,84.51 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:84.51,86.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:87.3,87.13 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:9.36,11.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:11.16,13.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:14.2,14.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:17.58,21.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:21.16,23.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:24.2,24.20 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/alerting/ses.go:20.79,22.2 1 5 github.com/rsksmart/liquidity-provider-server/internal/adapters/alerting/ses.go:24.110,38.16 3 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/alerting/ses.go:38.16,40.3 1 0 @@ -5714,54 +7998,60 @@ github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/li github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:66.2,69.16 4 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:69.16,71.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:72.2,73.48 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:76.114,80.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:80.16,82.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:83.2,87.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:87.16,89.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:90.2,90.39 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:90.39,92.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:93.2,95.52 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:95.52,97.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:97.8,102.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:105.113,110.16 5 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:110.16,112.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:113.2,114.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:114.16,116.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:117.2,120.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:120.16,122.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:123.2,123.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:123.44,125.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:126.2,127.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:127.16,129.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:130.2,130.45 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:130.45,132.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:133.2,135.52 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:135.52,137.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:137.8,143.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:146.117,147.135 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:147.135,149.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:150.2,150.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:150.16,152.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:153.2,153.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:156.115,157.133 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:157.133,159.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:160.2,160.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:160.16,162.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:163.2,163.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:166.113,167.131 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:167.131,169.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:170.2,170.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:170.16,172.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:173.2,173.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:180.32,182.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:182.16,185.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:186.2,186.26 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:186.26,189.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:190.2,190.70 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:190.70,193.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:194.2,194.70 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:194.70,197.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:198.2,198.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:76.114,79.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:79.16,81.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:82.2,82.52 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:82.52,84.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:84.8,89.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:92.104,95.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:95.16,97.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:98.2,102.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:102.16,104.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:105.2,105.39 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:105.39,107.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:108.2,110.32 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:113.113,116.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:116.16,118.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:119.2,119.52 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:119.52,121.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:121.8,127.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:130.103,134.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:134.16,136.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:137.2,138.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:138.16,140.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:141.2,144.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:144.16,146.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:147.2,147.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:147.44,149.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:151.2,152.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:152.16,154.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:155.2,155.45 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:155.45,157.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:158.2,159.63 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:162.117,163.135 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:163.135,165.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:166.2,166.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:166.16,168.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:169.2,169.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:172.115,173.133 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:173.133,175.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:176.2,176.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:176.16,178.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:179.2,179.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:182.113,183.131 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:183.131,185.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:186.2,186.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:186.16,188.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:189.2,189.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:196.32,198.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:198.16,201.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:202.2,202.26 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:202.26,205.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:206.2,206.70 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:206.70,209.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:210.2,210.70 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:210.70,213.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:214.2,214.27 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:38.28,46.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:48.108,50.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:50.16,52.3 1 0 @@ -5855,98 +8145,98 @@ github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bi github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:39.64,41.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:41.16,43.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:44.2,44.19 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:31.37,32.41 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:32.41,34.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:35.2,35.51 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:35.51,37.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:38.2,40.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:40.16,42.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:43.2,43.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:46.52,53.107 6 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:53.107,54.52 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:54.52,56.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:58.2,59.8 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:59.8,61.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:63.2,63.66 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:63.66,65.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:67.2,67.98 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:67.98,69.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:69.8,69.62 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:69.62,71.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:73.2,73.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:76.86,77.79 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:77.79,79.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:80.2,89.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:89.16,91.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:92.2,92.43 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:95.57,98.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:98.16,100.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:101.2,102.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:102.16,104.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:105.2,106.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:106.16,108.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:109.2,109.141 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:112.110,115.87 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:115.87,117.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:119.2,126.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:126.16,128.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:129.2,130.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:130.16,132.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:134.2,142.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:142.16,144.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:145.2,146.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:146.16,148.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:149.2,150.55 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:153.69,158.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:158.16,160.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:162.2,167.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:167.16,169.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:171.2,171.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:171.29,172.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.63,174.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:175.3,175.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:175.29,177.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:179.2,179.21 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:182.147,184.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:184.16,186.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:188.2,191.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:191.16,193.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:195.2,196.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:196.16,198.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:199.2,202.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:202.16,204.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:205.2,206.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:206.16,208.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:210.2,212.72 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:212.72,214.17 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:214.17,216.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:216.9,216.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:216.23,218.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:219.3,219.13 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:221.2,221.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:221.16,223.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:225.2,227.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:227.16,229.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:230.2,230.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:233.69,235.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:237.117,239.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:241.50,243.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:243.16,246.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:247.2,247.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:250.48,252.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:254.69,260.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:260.16,262.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:262.8,262.46 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:262.46,264.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:266.2,266.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:266.63,268.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.2,269.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:272.103,274.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:274.16,276.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:277.2,278.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:278.16,280.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:281.2,288.8 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:291.68,293.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:32.37,33.41 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:33.41,35.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:36.2,36.51 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:36.51,38.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:39.2,41.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:41.16,43.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:44.2,44.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:47.52,54.107 6 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:54.107,55.52 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:55.52,57.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:59.2,60.8 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:60.8,62.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:64.2,64.66 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:64.66,66.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:68.2,68.98 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:68.98,70.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:70.8,70.62 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:70.62,72.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:74.2,74.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:77.86,78.79 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:78.79,80.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:81.2,90.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:90.16,92.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:93.2,93.43 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:96.57,99.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:99.16,101.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:102.2,103.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:103.16,105.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:106.2,107.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:107.16,109.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:110.2,110.141 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:113.110,116.87 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:116.87,118.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:120.2,127.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:127.16,129.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:130.2,131.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:131.16,133.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:135.2,143.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:143.16,145.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:146.2,147.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:147.16,149.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:150.2,151.55 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:154.69,159.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:159.16,161.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:163.2,168.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:168.16,170.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.2,172.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.29,173.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:173.63,175.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:176.3,176.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:176.29,178.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:180.2,180.21 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:183.147,185.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:185.16,187.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:189.2,192.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:192.16,194.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:196.2,197.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:197.16,199.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:200.2,203.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:203.16,205.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:206.2,207.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:207.16,209.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:211.2,213.72 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:213.72,215.17 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:215.17,217.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:217.9,217.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:217.23,219.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:220.3,220.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:222.2,222.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:222.16,224.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:226.2,228.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:228.16,230.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:231.2,231.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:234.69,236.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:238.117,240.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:242.50,244.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:244.16,247.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:248.2,248.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:251.48,253.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:255.69,263.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:263.16,265.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:265.8,265.46 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:265.46,267.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.2,269.123 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.123,271.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:272.2,272.103 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:275.103,277.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:277.16,279.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:280.2,281.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:281.16,283.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:284.2,291.8 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:294.68,296.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:22.65,24.2 1 4 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:26.63,27.53 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:27.53,29.3 1 0 @@ -6350,170 +8640,173 @@ github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/ro github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:194.2,194.16 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:194.16,196.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:197.2,197.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:200.100,204.61 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:204.61,206.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:207.2,208.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:208.28,210.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.2,211.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.16,213.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.2,214.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:217.87,221.28 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:221.28,223.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.2,224.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.16,226.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:227.2,227.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:230.83,238.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:238.33,239.82 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:239.82,241.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:200.96,204.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:204.16,206.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:206.8,206.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:206.38,208.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:209.2,211.24 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.24,213.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.2,214.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.16,216.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:217.2,217.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:220.100,224.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.61,226.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:227.2,228.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:228.28,230.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:231.2,231.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:231.16,233.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:234.2,234.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:237.87,241.28 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:241.28,243.4 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:244.2,244.16 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:244.16,246.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:246.8,246.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:246.50,248.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:249.2,249.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:252.89,260.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:260.33,261.88 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:261.88,263.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.2,266.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.16,268.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:268.8,268.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:268.50,270.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:271.2,271.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:274.68,281.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:281.33,282.87 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:282.87,284.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:287.2,287.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:287.16,289.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:289.8,289.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:289.50,291.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:292.2,292.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:295.74,302.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:302.33,303.93 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:303.93,305.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:308.2,308.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:308.16,310.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:310.8,310.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:310.50,312.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:313.2,313.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:316.91,320.61 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:320.61,322.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:323.2,324.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:324.28,326.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:327.2,327.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:327.16,329.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:330.2,330.41 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:333.137,335.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:335.16,337.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:339.2,347.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:347.33,348.80 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:348.80,350.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:353.2,353.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:353.16,355.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:355.8,355.27 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:355.27,357.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:357.8,357.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:357.32,360.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:361.2,361.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:364.110,368.66 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:368.66,370.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:371.2,381.59 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:381.59,385.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:385.8,385.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:385.23,387.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:389.2,395.89 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:395.89,398.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:400.2,400.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:400.16,402.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:402.8,402.27 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:402.27,404.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:404.8,404.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:404.32,407.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:408.2,408.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:411.147,419.88 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:419.88,422.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:424.2,424.59 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:247.2,247.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:250.83,258.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:258.33,259.82 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:259.82,261.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:264.2,264.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:264.16,266.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.8,266.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.50,268.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:269.2,269.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:272.89,280.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:280.33,281.88 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:281.88,283.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:286.2,286.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:286.16,288.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:288.8,288.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:288.50,290.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:291.2,291.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:294.68,301.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:301.33,302.87 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:302.87,304.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:307.2,307.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:307.16,309.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:309.8,309.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:309.50,311.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:312.2,312.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:315.91,319.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:319.61,321.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:322.2,323.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:323.28,325.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:326.2,326.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:326.16,328.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:329.2,329.41 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:332.137,334.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:334.16,336.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:338.2,346.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:346.33,347.80 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:347.80,349.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:352.2,352.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:352.16,354.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:354.8,354.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:354.27,356.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:356.8,356.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:356.32,359.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:360.2,360.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:363.110,367.66 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:367.66,369.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:370.2,380.59 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:380.59,384.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:384.8,384.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:384.23,386.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:388.2,394.89 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:394.89,397.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:399.2,399.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:399.16,401.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:401.8,401.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:401.27,403.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:403.8,403.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:403.32,406.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:407.2,407.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:410.147,424.59 6 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:424.59,427.3 2 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:427.8,427.23 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:427.23,429.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:429.8,429.27 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:429.27,431.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.8,431.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.32,434.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:435.2,435.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:438.90,443.61 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:443.61,445.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:447.2,448.24 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:448.24,450.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:453.91,458.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.2,437.88 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:437.88,440.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:442.2,442.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:442.16,444.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:444.8,444.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:444.27,446.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:446.8,446.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:446.32,449.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:450.2,450.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:453.90,458.61 4 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:458.61,460.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:462.2,463.24 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:463.24,465.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:468.145,479.15 5 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:479.15,480.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:480.25,481.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:481.63,483.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:486.2,486.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:486.38,488.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:490.2,490.22 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:490.22,500.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.2,501.40 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.40,503.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.2,505.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:508.168,518.15 5 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:518.15,519.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:519.25,520.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:520.63,522.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:525.2,525.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:525.38,527.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:529.2,529.22 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:529.22,536.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:537.2,537.40 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:537.40,539.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.2,540.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:543.158,552.33 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.33,553.77 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:553.77,555.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.2,558.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.16,560.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:560.8,560.76 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:560.76,562.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:564.2,565.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:565.16,567.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:568.2,568.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:572.86,577.59 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:577.59,579.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:581.2,581.110 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:581.110,583.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:583.8,585.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:586.2,586.126 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:586.126,588.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:589.2,589.133 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:589.133,591.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:593.2,593.84 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:593.84,595.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.2,596.103 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.103,598.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:599.2,599.96 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:599.96,601.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:602.2,602.94 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:602.94,604.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:606.2,606.92 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:606.92,608.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:610.2,623.25 14 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:627.90,631.60 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:631.60,633.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:635.2,635.85 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:635.85,637.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:638.2,638.89 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:638.89,640.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:641.2,641.97 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:641.97,643.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:645.2,645.127 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:645.127,647.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:648.2,648.119 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:648.119,650.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:651.2,651.124 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:651.124,653.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:655.2,670.25 16 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:468.91,473.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:473.61,475.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:477.2,478.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:478.24,480.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:483.145,494.15 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:494.15,495.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:495.25,496.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:496.63,498.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.2,501.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.38,503.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.2,505.22 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.22,515.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:516.2,516.40 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:516.40,518.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:520.2,520.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:523.168,533.15 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:533.15,534.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:534.25,535.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:535.63,537.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.2,540.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.38,542.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:544.2,544.22 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:544.22,551.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.2,552.40 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.40,554.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:555.2,555.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.158,567.33 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:567.33,568.77 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:568.77,570.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:573.2,573.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:573.16,575.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:575.8,575.76 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:575.76,577.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:579.2,580.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:580.16,582.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:583.2,583.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:587.86,592.59 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:592.59,594.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.2,596.110 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.110,598.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:598.8,600.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:601.2,601.126 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:601.126,603.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:604.2,604.133 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:604.133,606.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:608.2,608.84 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:608.84,610.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:611.2,611.103 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:611.103,613.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:614.2,614.96 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:614.96,616.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:617.2,617.94 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:617.94,619.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:621.2,621.92 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:621.92,623.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:625.2,638.25 14 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:642.90,646.60 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:646.60,648.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:650.2,650.85 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:650.85,652.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:653.2,653.89 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:653.89,655.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:656.2,656.97 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:656.97,658.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:660.2,660.127 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:660.127,662.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:663.2,663.119 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:663.119,665.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:666.2,666.124 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:666.124,668.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:670.2,685.25 16 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:25.97,27.2 1 4 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:29.98,33.59 3 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:33.59,35.3 1 0 @@ -6747,217 +9040,252 @@ github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/ut github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/utils/utils.go:18.2,18.41 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/utils/utils.go:18.41,20.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/utils/utils.go:23.80,27.2 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/liquidity_check.go:16.119,19.2 2 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/liquidity_check.go:21.74,25.2 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/liquidity_check.go:27.74,27.88 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/liquidity_check.go:29.47,35.6 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/liquidity_check.go:35.6,36.10 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/liquidity_check.go:37.27,39.65 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/liquidity_check.go:39.65,41.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/liquidity_check.go:42.4,42.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/liquidity_check.go:43.37,46.21 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:38.23,50.2 3 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:52.71,55.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:55.16,57.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:58.2,58.45 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:58.45,60.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:61.2,61.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:64.44,68.6 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:68.6,69.10 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:70.27,71.102 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:71.102,74.5 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:74.10,74.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:74.25,76.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:77.32,78.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:78.20,80.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:81.37,84.21 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:89.71,93.2 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:95.85,98.9 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:98.9,101.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:103.2,103.72 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:103.72,106.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:107.2,107.77 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:107.77,109.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:112.50,115.46 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:115.46,116.105 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:116.105,119.4 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:120.3,120.46 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:120.46,122.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:126.88,129.140 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:129.140,132.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:132.8,132.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:132.23,134.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:134.8,136.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:139.138,142.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:144.60,146.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:40.31,53.2 3 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:55.79,61.16 6 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:61.16,63.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:64.2,64.45 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:64.45,66.72 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:66.72,68.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:69.3,69.70 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:71.2,71.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:74.52,78.6 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:78.6,79.10 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:80.27,81.102 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:81.102,84.5 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:84.10,84.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:84.25,86.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:87.32,88.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:88.20,90.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:91.37,94.21 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:99.79,103.2 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:105.91,108.9 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:108.9,111.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:113.2,113.72 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:113.72,116.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:118.2,119.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:119.16,122.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:123.2,123.102 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:126.58,127.46 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:127.46,129.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:132.94,136.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:136.16,139.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:140.2,140.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:140.25,141.43 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:141.43,144.4 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:146.2,146.114 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:146.114,147.101 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:147.101,149.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:149.9,151.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:155.139,158.147 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:158.147,161.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:161.8,161.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:161.23,163.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:163.8,165.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:168.113,172.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:174.64,176.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_bridge_watcher.go:25.149,31.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/liquidity_check.go:18.26,25.2 2 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/liquidity_check.go:27.74,31.2 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/liquidity_check.go:33.74,33.88 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/liquidity_check.go:35.47,40.6 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/liquidity_check.go:40.6,41.10 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/liquidity_check.go:42.29,44.65 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/liquidity_check.go:44.65,46.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/liquidity_check.go:47.4,47.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/liquidity_check.go:48.37,51.21 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:41.23,56.2 3 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:58.71,63.16 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:63.16,65.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:66.2,68.45 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:68.45,70.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:71.2,71.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:74.44,77.6 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:77.6,78.10 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:79.29,82.102 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:82.102,85.5 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:85.10,85.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:85.25,87.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:88.4,89.32 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:90.32,91.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:91.20,93.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:94.37,97.21 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:102.71,106.2 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:108.85,111.9 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:111.9,114.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:115.2,117.72 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:117.72,120.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:121.2,121.77 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:121.77,123.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:126.50,129.46 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:129.46,130.105 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:130.105,133.4 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:134.3,134.46 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:134.46,136.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:140.88,143.140 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:143.140,146.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:146.8,146.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:146.23,148.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:148.8,150.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:153.138,156.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:158.102,163.2 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:165.63,169.2 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go:171.60,173.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:46.39,53.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:63.31,80.2 3 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:82.79,93.16 10 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:93.16,95.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:96.2,96.45 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:96.45,98.72 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:98.72,100.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:101.3,101.70 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:103.2,103.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:106.52,109.6 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:109.6,110.10 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:111.29,113.102 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:113.102,116.5 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:116.10,116.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:116.25,118.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:119.4,119.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:120.32,121.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:121.20,123.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:124.37,127.21 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:132.79,136.2 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:138.91,141.9 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:141.9,144.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:146.2,148.72 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:148.72,151.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:153.2,154.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:154.16,157.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:158.2,158.102 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:161.77,162.46 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:162.46,164.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:167.115,174.114 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:174.114,175.84 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:175.84,177.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:177.9,179.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:180.3,180.9 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:183.2,183.75 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:183.75,184.75 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:184.75,186.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:187.3,187.9 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:190.2,190.88 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:190.88,191.72 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:191.72,193.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:194.3,194.9 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:198.133,205.78 6 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:205.78,207.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:209.2,209.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:209.25,210.80 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:210.80,212.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:213.3,215.103 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:215.103,216.107 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:216.107,218.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:218.10,221.5 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:224.2,224.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:227.130,229.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:229.16,231.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:232.2,232.71 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:232.71,234.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:235.2,235.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:238.115,241.121 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:241.121,244.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:244.8,244.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:244.23,246.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:246.8,248.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:251.110,256.2 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:258.71,262.2 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go:264.64,266.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_bridge_watcher.go:24.164,31.2 1 1 github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_bridge_watcher.go:33.72,33.86 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_bridge_watcher.go:35.45,38.6 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_bridge_watcher.go:38.6,39.10 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_bridge_watcher.go:40.27,41.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_bridge_watcher.go:42.37,45.21 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_bridge_watcher.go:50.72,54.2 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_bridge_watcher.go:56.51,59.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_bridge_watcher.go:59.16,62.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_bridge_watcher.go:63.2,64.65 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_bridge_watcher.go:64.65,67.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_bridge_watcher.go:70.61,72.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:34.29,47.2 4 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:49.77,53.2 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:55.77,57.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:57.16,59.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:60.2,60.45 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:60.45,62.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:63.2,63.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:66.50,70.6 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:70.6,71.10 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:72.27,73.102 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:73.102,76.5 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:76.10,76.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:76.25,78.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:79.32,80.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:80.20,82.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:83.37,86.21 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:91.56,94.46 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:94.46,95.103 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:95.103,98.4 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:99.3,99.46 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:99.46,101.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:105.94,108.139 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:108.139,111.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:111.8,111.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:111.23,113.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:113.8,115.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:118.93,121.9 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:121.9,124.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:126.2,126.72 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:126.72,129.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:130.2,130.124 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:130.124,133.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:134.2,134.109 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:137.145,140.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:142.61,144.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:49.36,57.2 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:66.28,85.2 4 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:87.76,91.34 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:91.34,92.90 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:92.90,94.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:97.2,98.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:98.16,100.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:101.2,102.45 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:102.45,104.77 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:104.77,106.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:107.3,107.70 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:110.2,111.12 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:114.49,121.6 5 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:121.6,122.10 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:123.27,125.107 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:125.107,129.5 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:129.10,129.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:129.25,131.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:132.4,132.17 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:133.32,134.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:134.20,136.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:137.37,140.21 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:145.76,149.2 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:151.89,154.9 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:154.9,157.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:159.2,159.72 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:159.72,162.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:163.2,163.103 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:166.103,171.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:171.16,174.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:175.2,175.35 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:175.35,177.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:180.104,184.135 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:184.135,185.108 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:185.108,187.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:187.9,189.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:193.89,194.46 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:194.46,196.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:199.127,202.116 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:202.116,203.84 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:203.84,206.4 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:206.9,208.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:211.2,211.89 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:211.89,212.118 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:212.118,215.4 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:216.3,216.66 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:216.66,218.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:222.112,225.120 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:225.120,228.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:228.8,228.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:228.23,230.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:230.8,232.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:235.133,239.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:241.61,243.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:19.151,22.2 2 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:24.77,27.62 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:27.62,29.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:30.2,31.12 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:34.50,41.6 6 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:41.6,42.10 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:43.27,45.64 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:45.64,47.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:47.10,48.98 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:48.98,50.6 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:52.4,52.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:53.37,56.21 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:61.77,65.2 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/quote_cleaner.go:18.24,24.2 2 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/quote_cleaner.go:26.72,28.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/quote_cleaner.go:30.45,33.6 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_bridge_watcher.go:35.45,37.6 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_bridge_watcher.go:37.6,38.10 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_bridge_watcher.go:39.29,40.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_bridge_watcher.go:41.37,44.21 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_bridge_watcher.go:49.72,53.2 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_bridge_watcher.go:55.51,58.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_bridge_watcher.go:58.16,61.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_bridge_watcher.go:62.2,63.65 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_bridge_watcher.go:63.65,66.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_bridge_watcher.go:69.61,71.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:37.29,53.2 4 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:55.77,59.2 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:61.77,66.16 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:66.16,68.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:69.2,71.45 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:71.45,73.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:74.2,74.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:77.50,80.6 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:80.6,81.10 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:82.29,85.102 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:85.102,88.5 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:88.10,88.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:88.25,90.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:91.4,92.38 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:93.32,94.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:94.20,96.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:97.37,100.21 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:105.56,108.46 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:108.46,109.103 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:109.103,112.4 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:113.3,113.46 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:113.46,115.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:119.94,122.139 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:122.139,125.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:125.8,125.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:125.23,127.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:127.8,129.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:132.93,135.9 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:135.9,138.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:140.2,142.72 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:142.72,145.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:146.2,146.124 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:146.124,149.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:150.2,150.109 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:153.109,158.2 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:160.69,164.2 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:166.145,169.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go:171.61,173.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:52.36,60.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:70.28,92.2 4 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:94.76,98.34 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:98.34,99.90 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:99.90,101.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:104.2,105.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:105.16,107.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:108.2,113.45 6 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:113.45,115.77 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:115.77,117.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:118.3,118.70 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:121.2,122.12 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:125.49,131.6 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:131.6,132.10 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:133.29,137.107 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:137.107,141.5 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:141.10,141.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:141.25,143.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:144.4,146.32 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:147.32,148.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:148.20,150.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:151.37,154.21 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:159.76,163.2 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:165.89,170.9 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:170.9,173.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:175.2,175.72 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:175.72,178.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:179.2,179.103 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:182.103,187.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:187.16,190.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:191.2,191.35 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:191.35,193.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:196.104,200.135 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:200.135,201.108 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:201.108,203.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:203.9,205.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:209.89,210.46 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:210.46,212.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:215.127,218.116 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:218.116,219.84 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:219.84,222.4 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:222.9,224.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:227.2,227.89 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:227.89,228.118 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:228.118,231.4 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:232.3,232.66 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:232.66,234.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:238.112,241.120 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:241.120,244.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:244.8,244.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:244.23,246.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:246.8,248.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:251.108,256.2 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:258.66,262.2 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:264.133,268.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go:270.61,272.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:20.166,23.2 2 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:25.77,30.62 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:30.62,32.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:33.2,34.12 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:37.50,43.6 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:43.6,44.10 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:45.29,48.64 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:48.64,50.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:50.10,51.98 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:51.98,53.6 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:55.4,56.38 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:57.37,60.21 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:65.67,69.2 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/penalization_alert.go:71.77,75.2 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/quote_cleaner.go:18.24,25.2 2 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/quote_cleaner.go:27.72,29.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/quote_cleaner.go:31.45,33.6 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/quote_cleaner.go:33.6,34.10 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/quote_cleaner.go:35.27,36.19 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/quote_cleaner.go:35.29,36.19 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/quote_cleaner.go:37.37,40.21 3 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/quote_cleaner.go:45.72,49.2 3 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/quote_cleaner.go:51.45,53.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/quote_cleaner.go:53.16,55.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/quote_cleaner.go:56.2,57.27 2 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/quote_cleaner.go:57.27,59.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/ticker.go:15.55,19.2 1 8 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/ticker.go:21.32,23.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/ticker.go:25.46,27.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher/ticker.go:40.50,51.2 1 1 github.com/rsksmart/liquidity-provider-server/internal/configuration/bootstrap/bitcoin.go:25.90,26.20 1 0 github.com/rsksmart/liquidity-provider-server/internal/configuration/bootstrap/bitcoin.go:26.20,28.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/configuration/bootstrap/bitcoin.go:29.2,31.16 3 0 @@ -7164,19 +9492,18 @@ github.com/rsksmart/liquidity-provider-server/internal/configuration/registry/ro github.com/rsksmart/liquidity-provider-server/internal/configuration/registry/rootstock.go:42.2,43.16 2 5 github.com/rsksmart/liquidity-provider-server/internal/configuration/registry/rootstock.go:43.16,45.3 1 1 github.com/rsksmart/liquidity-provider-server/internal/configuration/registry/rootstock.go:47.2,72.8 1 4 -github.com/rsksmart/liquidity-provider-server/internal/configuration/registry/usecase.go:71.20,229.2 1 2 -github.com/rsksmart/liquidity-provider-server/internal/configuration/registry/usecase.go:231.80,233.2 1 1 -github.com/rsksmart/liquidity-provider-server/internal/configuration/registry/usecase.go:235.99,237.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/configuration/registry/usecase.go:239.89,241.2 1 1 -github.com/rsksmart/liquidity-provider-server/internal/configuration/registry/usecase.go:243.98,245.2 1 1 -github.com/rsksmart/liquidity-provider-server/internal/configuration/registry/usecase.go:247.82,249.2 1 1 -github.com/rsksmart/liquidity-provider-server/internal/configuration/registry/usecase.go:251.91,253.2 1 1 -github.com/rsksmart/liquidity-provider-server/internal/configuration/registry/usecase.go:255.90,257.2 1 1 -github.com/rsksmart/liquidity-provider-server/internal/configuration/registry/usecase.go:259.96,261.2 1 1 -github.com/rsksmart/liquidity-provider-server/internal/configuration/registry/usecase.go:263.90,265.2 1 1 -github.com/rsksmart/liquidity-provider-server/internal/configuration/registry/usecase.go:267.92,269.2 1 1 -github.com/rsksmart/liquidity-provider-server/internal/configuration/registry/usecase.go:271.100,273.2 1 1 -github.com/rsksmart/liquidity-provider-server/internal/configuration/registry/usecase.go:275.102,277.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/configuration/registry/usecase.go:72.20,233.2 1 2 +github.com/rsksmart/liquidity-provider-server/internal/configuration/registry/usecase.go:235.80,237.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/configuration/registry/usecase.go:239.99,241.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/configuration/registry/usecase.go:243.89,245.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/configuration/registry/usecase.go:247.98,249.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/configuration/registry/usecase.go:251.82,253.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/configuration/registry/usecase.go:255.91,257.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/configuration/registry/usecase.go:259.90,261.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/configuration/registry/usecase.go:263.96,265.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/configuration/registry/usecase.go:267.90,269.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/configuration/registry/usecase.go:271.92,273.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/configuration/registry/usecase.go:275.108,277.2 1 1 github.com/rsksmart/liquidity-provider-server/internal/configuration/registry/usecase.go:279.74,281.2 1 1 github.com/rsksmart/liquidity-provider-server/internal/configuration/registry/usecase.go:283.89,285.2 1 1 github.com/rsksmart/liquidity-provider-server/internal/configuration/registry/usecase.go:287.96,289.2 1 1 @@ -7192,7 +9519,8 @@ github.com/rsksmart/liquidity-provider-server/internal/configuration/registry/us github.com/rsksmart/liquidity-provider-server/internal/configuration/registry/usecase.go:327.110,329.2 1 1 github.com/rsksmart/liquidity-provider-server/internal/configuration/registry/usecase.go:331.79,333.2 1 1 github.com/rsksmart/liquidity-provider-server/internal/configuration/registry/usecase.go:335.81,337.2 1 1 -github.com/rsksmart/liquidity-provider-server/internal/configuration/registry/watcher.go:27.20,77.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/configuration/registry/usecase.go:339.114,341.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/configuration/registry/watcher.go:29.20,89.2 1 1 github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:19.34,21.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:44.78,46.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:46.16,48.3 1 0 @@ -7253,27 +9581,27 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/roots github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:61.107,63.19 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:63.19,65.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:66.2,66.75 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:52.77,54.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:56.78,58.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:60.58,61.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.50,63.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:63.8,65.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:68.58,71.38 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:71.38,72.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.23,74.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:76.2,76.17 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:79.82,81.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:81.33,83.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:84.2,85.56 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.56,88.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.2,89.17 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.17,91.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:91.8,93.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:53.77,55.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:57.78,59.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.58,62.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:62.50,64.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:64.8,66.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:69.58,72.38 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.38,73.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:73.23,75.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:77.2,77.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:80.82,82.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:82.33,84.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.2,86.56 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:86.56,89.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.2,90.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.17,92.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:92.8,94.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:25.64,33.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:35.64,43.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:45.53,54.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:56.55,67.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,74.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,75.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:23.38,24.11 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:25.51,26.14 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:27.10,28.15 1 0 @@ -7282,16 +9610,16 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provid github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:40.57,42.28 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:42.28,44.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:44.8,46.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:60.49,62.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:64.43,66.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:68.48,69.24 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:69.24,71.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:72.2,72.26 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:72.26,74.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:75.2,75.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:75.25,77.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:78.2,83.14 6 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:102.102,104.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:61.49,63.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:65.43,67.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:69.48,70.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:70.24,72.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:73.2,73.26 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:73.26,75.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:76.2,76.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:76.25,78.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:79.2,84.14 6 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:103.102,105.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:68.50,70.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:72.44,74.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:76.108,78.2 1 0 @@ -7330,6 +9658,7 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:21 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.2,24.37 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.37,26.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:27.2,27.19 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:30.61,33.2 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:20.78,21.29 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:21.29,22.40 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:22.40,24.4 1 0 @@ -7360,33 +9689,36 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords. github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:9.36,11.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:11.16,13.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:14.2,14.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:17.58,21.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:21.16,23.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:24.2,24.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:79.31,81.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:83.44,85.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:87.39,88.55 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:88.55,90.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:90.8,92.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:95.59,97.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:99.79,100.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:100.20,102.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:102.8,104.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:112.176,116.27 4 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:116.27,121.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:123.2,126.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:126.16,128.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:129.2,132.8 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:135.108,140.70 4 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:140.70,142.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.2,143.35 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.35,147.3 3 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:148.2,148.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:156.31,158.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:158.16,160.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:161.2,163.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:163.16,165.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:166.2,171.26 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:18.31,20.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:20.16,21.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:23.2,23.15 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:26.58,30.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:30.16,32.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:33.2,33.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:82.31,84.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:86.44,88.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:90.39,91.55 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:91.55,93.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:93.8,95.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:98.59,100.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:102.79,103.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:103.20,105.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:105.8,107.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:115.176,119.27 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:119.27,124.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:126.2,129.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:129.16,131.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:132.2,135.8 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:138.108,143.70 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.70,145.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:146.2,146.35 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:146.35,150.3 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:151.2,151.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:159.31,161.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:161.16,163.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:164.2,166.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:166.16,168.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:169.2,174.26 2 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:20.103,22.2 1 2 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:35.69,41.38 5 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:41.38,44.3 2 0 @@ -7395,6 +9727,14 @@ github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:45.39, github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:49.2,49.39 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:49.39,52.3 2 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:54.2,65.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/available_liquidity.go:19.33,25.2 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/available_liquidity.go:27.118,29.41 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/available_liquidity.go:29.41,31.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/available_liquidity.go:32.2,33.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/available_liquidity.go:33.16,35.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/available_liquidity.go:36.2,37.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/available_liquidity.go:37.16,39.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/available_liquidity.go:40.2,43.8 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/change_status.go:14.132,16.2 1 2 github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/change_status.go:18.63,23.16 4 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/change_status.go:23.16,25.3 1 0 @@ -7415,40 +9755,40 @@ github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provid github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/check_liquidity.go:77.8,77.23 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/check_liquidity.go:77.23,79.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/check_liquidity.go:81.2,81.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:27.19,31.53 3 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:31.53,33.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:35.2,38.65 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:38.65,40.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:42.2,42.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:42.12,44.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:45.2,45.33 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:61.9,66.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:66.16,68.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:69.2,69.30 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:69.30,70.78 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:70.78,72.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:73.8,75.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:77.2,78.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:78.16,80.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:31.19,35.53 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:35.53,37.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:39.2,42.65 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:42.65,44.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:46.2,46.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:46.12,48.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:49.2,49.33 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:65.9,70.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:70.16,72.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:73.2,73.30 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:73.30,74.78 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:74.78,76.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:77.8,79.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:81.2,82.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:82.16,84.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:85.2,86.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:86.16,88.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:89.2,89.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:92.111,93.41 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:93.41,95.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:96.2,96.9 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:97.57,99.10 2 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:99.10,101.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:102.3,103.44 2 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:104.10,105.88 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:112.9,114.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:114.16,116.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:117.2,118.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:89.2,90.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:90.16,92.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:93.2,93.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:96.111,97.41 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:97.41,99.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:100.2,100.9 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:101.57,103.10 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:103.10,105.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:106.3,107.44 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:108.10,109.88 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:116.9,118.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:118.16,120.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:121.2,123.36 3 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:123.36,125.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:125.8,127.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:121.2,122.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:122.16,124.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:125.2,127.36 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:127.36,129.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:129.8,131.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/generate_default_credentials.go:27.38,29.2 1 2 github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/generate_default_credentials.go:31.100,33.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/generate_default_credentials.go:33.16,35.3 1 0 @@ -7493,13 +9833,13 @@ github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provid github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/penalization_alert.go:30.109,32.4 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/penalization_alert.go:34.2,34.12 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/provider_detail.go:25.21,33.2 1 2 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/provider_detail.go:41.90,62.54 6 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/provider_detail.go:62.54,64.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/provider_detail.go:64.8,64.68 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/provider_detail.go:64.68,66.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/provider_detail.go:66.8,66.69 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/provider_detail.go:66.69,68.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/provider_detail.go:70.2,70.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/provider_detail.go:42.90,64.54 6 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/provider_detail.go:64.54,66.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/provider_detail.go:66.8,66.68 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/provider_detail.go:66.68,68.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/provider_detail.go:68.8,68.69 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/provider_detail.go:68.69,70.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/provider_detail.go:72.2,72.20 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:16.132,18.2 1 2 github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:36.102,43.54 6 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:43.54,45.3 1 0 @@ -7586,12 +9926,20 @@ github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provid github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegin_config.go:29.2,30.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegin_config.go:30.16,32.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegin_config.go:33.2,33.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegout_config.go:20.27,22.2 1 2 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegout_config.go:24.118,26.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegout_config.go:26.16,28.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegout_config.go:29.2,30.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegout_config.go:30.16,32.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegout_config.go:33.2,33.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegout_config.go:23.27,25.2 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegout_config.go:27.118,29.136 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegout_config.go:29.136,31.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegout_config.go:33.2,34.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegout_config.go:34.16,36.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegout_config.go:37.2,38.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegout_config.go:38.16,40.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegout_config.go:41.2,41.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/withdraw_collateral.go:13.97,15.2 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/withdraw_collateral.go:17.55,19.104 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/withdraw_collateral.go:19.104,21.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/withdraw_collateral.go:21.8,21.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/withdraw_collateral.go:21.23,23.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/withdraw_collateral.go:24.2,24.12 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:32.23,42.2 1 2 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:44.108,50.84 5 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/accept_pegin_quote.go:50.84,52.3 1 0 @@ -7644,14 +9992,14 @@ github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/add_collat github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/add_collateral.go:35.16,37.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/add_collateral.go:38.2,38.20 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:32.23,41.2 1 2 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:43.125,48.62 4 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:48.62,50.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:43.107,48.75 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:48.75,50.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:52.2,52.98 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:52.98,54.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:54.8,54.30 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:54.30,56.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:58.2,58.92 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:58.92,60.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:58.2,58.81 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:58.81,60.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:62.2,65.98 3 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:65.98,67.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:69.2,71.104 2 0 @@ -7660,35 +10008,35 @@ github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_u github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:74.16,77.3 2 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:78.2,78.12 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:87.9,89.18 2 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:89.18,91.88 2 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:91.88,93.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:94.3,99.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:102.2,102.21 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:109.26,113.109 3 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:113.109,115.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:117.2,118.47 2 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:118.47,120.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:120.8,122.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:124.2,124.107 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:124.107,126.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:126.8,126.48 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:126.48,128.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:129.2,129.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:89.18,92.88 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:92.88,94.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:95.3,100.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:103.2,103.21 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:110.26,114.109 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:114.109,116.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:118.2,119.47 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:119.47,121.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:121.8,123.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:125.2,125.107 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:125.107,127.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:127.8,127.48 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:127.48,129.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:130.2,130.25 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:137.37,143.93 5 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:143.93,145.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:145.8,147.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:149.2,158.27 5 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:166.9,172.77 5 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:172.77,174.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:175.2,176.74 2 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:176.74,178.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:180.2,180.83 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:180.83,182.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:182.8,182.57 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:182.57,184.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:186.2,187.44 2 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:187.44,196.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:197.2,197.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:149.2,157.27 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:164.9,170.95 5 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:170.95,172.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:173.2,174.74 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:174.74,176.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:178.2,178.101 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:178.101,180.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:180.8,180.57 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:180.57,182.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:184.2,185.44 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:185.44,193.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:194.2,194.12 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/expire_quote.go:13.104,15.2 1 2 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/expire_quote.go:17.110,20.16 3 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/expire_quote.go:20.16,22.3 1 0 @@ -7787,12 +10135,6 @@ github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_p github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:145.8,145.89 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:145.89,147.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:148.2,148.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/withdraw_collateral.go:13.97,15.2 1 2 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/withdraw_collateral.go:17.55,19.104 2 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/withdraw_collateral.go:19.104,21.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/withdraw_collateral.go:21.8,21.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/withdraw_collateral.go:21.23,23.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/withdraw_collateral.go:24.2,24.12 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/accept_pegout_quote.go:29.23,38.2 1 2 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/accept_pegout_quote.go:40.108,48.85 7 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/accept_pegout_quote.go:48.85,50.3 1 0 @@ -7854,8 +10196,13 @@ github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pe github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:112.125,114.45 2 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:114.45,115.81 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:115.81,117.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:118.3,120.62 3 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:122.2,122.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:118.3,118.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:118.44,120.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:121.3,121.46 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:121.46,123.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:124.3,124.45 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:124.45,126.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:128.2,128.24 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/expire_quote.go:13.108,15.2 1 2 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/expire_quote.go:17.113,20.16 3 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/expire_quote.go:20.16,22.3 1 0 @@ -7878,37 +10225,35 @@ github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegou github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:96.63,98.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:100.2,107.96 3 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:107.96,109.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:111.2,111.127 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:111.127,113.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:115.2,115.68 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:115.68,117.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:119.2,119.72 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:122.153,125.67 3 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:125.67,128.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:129.2,129.85 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:129.85,132.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:133.2,133.56 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:133.56,136.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:137.2,137.77 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:137.77,139.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:140.2,140.17 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:148.30,153.51 4 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:153.51,155.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:157.2,157.67 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:157.67,159.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:161.2,187.60 6 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:187.60,189.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:190.2,190.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:193.121,197.91 4 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:197.91,199.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:200.2,200.160 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:200.160,202.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:203.2,203.26 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:206.114,209.80 3 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:209.80,211.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:213.2,213.89 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:213.89,215.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:216.2,216.18 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:111.2,111.68 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:111.68,113.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:115.2,115.72 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:118.153,121.67 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:121.67,124.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:125.2,125.85 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:125.85,128.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:129.2,129.56 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:129.56,132.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:133.2,133.77 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:133.77,135.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:136.2,136.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:144.30,149.51 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:149.51,151.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:153.2,153.67 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:153.67,155.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:157.2,183.60 6 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:183.60,185.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:186.2,186.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:189.121,193.91 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:193.91,195.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:196.2,196.160 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:196.160,198.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:199.2,199.26 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:202.114,205.80 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:205.80,207.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:209.2,209.89 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:209.89,211.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:212.2,212.18 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_user_deposits.go:13.101,15.2 1 2 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_user_deposits.go:17.112,20.99 3 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_user_deposits.go:20.99,22.3 1 0 @@ -7966,70 +10311,70 @@ github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pe github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:132.8,134.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:136.2,144.103 4 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:144.103,146.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:147.2,147.27 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:154.9,157.93 3 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:157.93,159.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:159.8,159.77 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:159.77,161.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:162.2,162.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:28.22,36.2 1 2 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:38.107,43.73 4 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:43.73,45.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:47.2,47.99 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:47.99,49.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:49.8,49.31 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:49.31,51.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:53.2,53.87 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:53.87,55.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:57.2,60.80 3 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:60.80,62.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:64.2,67.76 2 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:67.76,69.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:71.2,71.104 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:71.104,73.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:74.2,74.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:74.16,76.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:77.2,77.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:86.9,88.18 2 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:88.18,90.88 2 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:90.88,92.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:93.3,98.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:100.2,100.21 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:107.42,113.67 5 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:113.67,115.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:117.2,117.104 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:117.104,119.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:119.8,119.87 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:119.87,121.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:121.8,121.55 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:121.55,124.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:124.8,124.92 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:124.92,126.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:126.8,126.61 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:126.61,128.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:129.2,129.21 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:137.38,143.16 5 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:143.16,146.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:148.2,148.129 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:148.129,150.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:150.8,152.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:154.2,162.27 4 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:169.9,174.63 4 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:174.63,176.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:177.2,179.38 3 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:179.38,181.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:182.2,182.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:185.125,186.76 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:186.76,188.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:188.8,188.46 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:188.46,190.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:191.2,191.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/withdraw_collateral.go:13.97,15.2 1 2 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/withdraw_collateral.go:17.55,19.104 2 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/withdraw_collateral.go:19.104,21.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/withdraw_collateral.go:21.8,21.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/withdraw_collateral.go:21.23,23.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/withdraw_collateral.go:24.2,24.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:147.2,147.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:147.16,150.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:151.2,151.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:158.9,161.93 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:161.93,163.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:163.8,163.77 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:163.77,165.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:166.2,166.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:31.22,40.2 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:42.107,47.73 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:47.73,49.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:51.2,51.99 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:51.99,53.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:53.8,53.31 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:53.31,55.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:57.2,57.87 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:57.87,59.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:61.2,64.80 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:64.80,66.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:68.2,71.76 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:71.76,73.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:75.2,75.104 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:75.104,77.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:78.2,78.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:78.16,80.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:81.2,81.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:90.9,92.18 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:92.18,95.88 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:95.88,97.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:98.3,103.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:105.2,105.21 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:112.42,119.67 6 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:119.67,121.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:123.2,123.104 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:123.104,125.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:125.8,125.87 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:125.87,127.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:127.8,127.55 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:127.55,130.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:130.8,130.92 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:130.92,132.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:132.8,132.61 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:132.61,134.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:136.2,136.104 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:136.104,138.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:138.8,138.22 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:138.22,140.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:141.2,141.21 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:149.38,155.16 5 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:155.16,158.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:160.2,160.129 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:160.129,162.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:162.8,164.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:166.2,174.27 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:181.9,186.63 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:186.63,188.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:189.2,191.38 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:191.38,193.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:194.2,194.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:197.125,198.76 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:198.76,200.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:200.8,200.46 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:200.46,202.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:203.2,203.12 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/clean_expired.go:13.152,15.2 1 2 github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/clean_expired.go:17.86,25.128 6 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/clean_expired.go:25.128,27.3 1 0 @@ -8045,16 +10390,20 @@ github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/clean_ex github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/clean_expired.go:42.83,44.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/clean_expired.go:46.2,47.25 2 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:14.110,16.2 1 2 -github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:18.129,19.15 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:20.79,21.46 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:22.10,23.81 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:27.142,32.99 5 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:32.99,34.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:36.2,36.47 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:36.47,37.99 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:37.99,39.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:40.3,43.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:45.2,45.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:18.133,20.31 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:20.31,21.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:25.51,26.78 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:26.78,28.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:28.10,30.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:31.11,32.82 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:35.2,35.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:38.142,43.99 5 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:43.99,45.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:47.2,47.47 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:47.47,48.99 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:48.99,50.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:51.3,54.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:56.2,56.27 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegout_quote.go:14.114,16.2 1 2 github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegout_quote.go:18.136,20.31 2 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegout_quote.go:20.31,21.16 1 0 @@ -8070,6 +10419,14 @@ github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watc github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegout_quote.go:49.101,51.4 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegout_quote.go:52.3,55.4 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegout_quote.go:57.2,57.26 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegin_deposit.go:15.106,17.2 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegin_deposit.go:24.36,29.40 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegin_deposit.go:29.40,31.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegin_deposit.go:31.8,31.82 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegin_deposit.go:31.82,33.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegin_deposit.go:35.2,38.101 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegin_deposit.go:38.101,40.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegin_deposit.go:41.2,41.26 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegout_deposit.go:14.120,16.2 1 2 github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegout_deposit.go:18.176,20.56 2 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegout_deposit.go:20.56,22.3 1 0 @@ -8137,6 +10494,226 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:57.2,5 github.com/rsksmart/liquidity-provider-server/internal/entities/event.go:20.41,22.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/event.go:24.33,26.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/event.go:28.50,30.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:20.27,24.2 3 28 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:26.29,30.2 3 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:32.33,36.2 3 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:38.34,43.2 4 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:45.27,47.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:49.31,51.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:53.36,55.2 1 50 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:57.31,59.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:61.35,63.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:65.38,67.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:69.31,71.2 1 4 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:73.45,74.14 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:74.14,76.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:77.2,77.35 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:80.43,81.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:82.14,84.10 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:84.10,86.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:87.3,87.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:88.11,89.47 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:90.10,91.57 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:95.45,97.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:99.49,101.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:103.65,105.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:107.78,108.64 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:108.64,110.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:111.2,112.69 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:112.69,114.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:115.2,116.12 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:119.35,122.2 2 6 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:124.35,127.2 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:129.35,132.2 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:34.49,36.2 1 216 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:38.35,40.2 1 216 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:42.34,44.2 1 126 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:46.47,51.2 1 216 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:53.47,58.2 1 216 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:88.88,91.9 3 6 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:91.9,93.3 1 2 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:94.2,94.29 1 4 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:94.29,96.3 1 6 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:97.2,97.14 1 4 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/lbc.go:25.51,35.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/lbc.go:45.50,55.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/lbc.go:69.30,76.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:30.63,32.2 1 13 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:33.40,35.2 1 16 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:61.107,63.19 2 1 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:63.19,65.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:66.2,66.75 1 1 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:53.77,55.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:57.78,59.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.58,62.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:62.50,64.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:64.8,66.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:69.58,72.38 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.38,73.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:73.23,75.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:77.2,77.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:80.82,82.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:82.33,84.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.2,86.56 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:86.56,89.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.2,90.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.17,92.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:92.8,94.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:25.64,33.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:35.64,43.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:45.53,54.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:56.55,67.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,75.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:23.38,24.11 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:25.51,26.14 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:27.10,28.15 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:32.43,34.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:36.44,38.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:40.57,42.28 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:42.28,44.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:44.8,46.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:61.49,63.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:65.43,67.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:69.48,70.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:70.24,72.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:73.2,73.26 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:73.26,75.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:76.2,76.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:76.25,78.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:79.2,84.14 6 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:103.102,105.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:68.50,70.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:72.44,74.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:76.108,78.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:80.49,81.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:81.24,83.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:84.2,84.26 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:84.26,86.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:87.2,87.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:87.25,89.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:90.2,95.14 6 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:115.107,117.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:134.71,139.2 4 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/encoding.go:8.63,11.52 3 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/encoding.go:11.52,13.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/encoding.go:14.2,14.33 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/encoding.go:14.33,16.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/encoding.go:17.2,17.19 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:19.92,20.42 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:20.42,22.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:23.2,24.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:24.16,26.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:27.2,29.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:29.16,31.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:32.2,32.51 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:35.53,37.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:37.16,39.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:39.8,39.57 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:39.57,41.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:42.2,43.18 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:10.34,11.11 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:11.11,13.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:14.2,14.14 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:17.43,19.11 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:19.11,21.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:21.8,23.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.2,24.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.37,26.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:27.2,27.19 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:30.61,33.2 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:20.78,21.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:21.29,22.40 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:22.40,24.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:26.2,26.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:29.58,41.2 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:43.54,44.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:44.37,45.26 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:45.26,47.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:48.3,48.26 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:48.26,50.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:51.3,51.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:55.45,56.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:56.37,57.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:57.44,59.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:60.3,60.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:64.45,65.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:65.37,66.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:66.44,68.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:69.3,69.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:73.41,74.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:74.37,75.40 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:75.40,77.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:78.3,78.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:82.47,83.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:83.37,84.51 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:84.51,86.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:87.3,87.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:9.36,11.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:11.16,13.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:14.2,14.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:18.31,20.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:20.16,21.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:23.2,23.15 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:26.58,30.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:30.16,32.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:33.2,33.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:43.60,44.55 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:44.55,46.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:48.2,49.113 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:49.113,51.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:51.8,56.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:60.88,62.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:62.16,64.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:66.2,67.15 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:67.15,68.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:68.17,70.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:72.2,72.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:72.16,74.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:76.2,77.15 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:77.15,77.36 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:78.2,79.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:79.16,81.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:83.2,90.21 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:93.56,94.53 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:94.53,96.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:97.2,98.45 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:101.66,102.54 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:102.54,104.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:105.2,105.33 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:108.91,109.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:109.24,111.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:112.2,113.39 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:113.39,114.15 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:114.15,116.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:118.2,118.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:118.16,120.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:122.2,124.15 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:124.15,126.17 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:126.17,128.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:130.2,130.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:130.16,132.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:133.2,133.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:136.102,138.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:138.16,140.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:142.2,143.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:143.16,145.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:146.2,146.22 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:149.128,150.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:150.29,154.3 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:154.8,155.39 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:155.39,157.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:158.3,160.19 3 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:19.34,21.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:44.78,46.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:46.16,48.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:49.2,51.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:51.16,53.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:54.2,54.36 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:54.36,56.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:57.2,57.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/event.go:20.41,22.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/event.go:24.33,26.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/event.go:28.50,30.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:20.27,24.2 3 103 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:26.29,30.2 3 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:32.33,36.2 3 0 @@ -8168,27 +10745,27 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:115.2,116 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:119.35,122.2 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:124.35,127.2 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:129.35,132.2 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:52.77,54.2 1 6 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:56.78,58.2 1 6 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:60.58,61.50 1 12 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.50,63.3 1 4 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:63.8,65.3 1 8 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:68.58,71.38 2 6 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:71.38,72.23 1 23 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.23,74.4 1 19 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:76.2,76.17 1 6 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:79.82,81.33 2 15 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:81.33,83.3 1 75 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:84.2,85.56 2 15 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.56,88.3 2 49 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.2,89.17 1 15 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.17,91.3 1 2 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:91.8,93.3 1 13 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:53.77,55.2 1 6 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:57.78,59.2 1 6 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.58,62.50 1 12 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:62.50,64.3 1 4 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:64.8,66.3 1 8 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:69.58,72.38 2 6 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.38,73.23 1 23 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:73.23,75.4 1 18 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:77.2,77.17 1 6 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:80.82,82.33 2 15 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:82.33,84.3 1 75 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.2,86.56 2 15 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:86.56,89.3 2 49 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.2,90.17 1 15 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.17,92.3 1 2 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:92.8,94.3 1 13 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:25.64,33.2 1 6 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:35.64,43.2 1 5 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:45.53,54.2 1 2 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:56.55,67.2 1 2 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,74.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,75.2 1 1 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:23.38,24.11 1 15 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:25.51,26.14 1 9 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:27.10,28.15 1 6 @@ -8285,27 +10862,27 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:115.2,116 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:119.35,122.2 2 48 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:124.35,127.2 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:129.35,132.2 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:52.77,54.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:56.78,58.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:60.58,61.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.50,63.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:63.8,65.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:68.58,71.38 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:71.38,72.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.23,74.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:76.2,76.17 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:79.82,81.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:81.33,83.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:84.2,85.56 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.56,88.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.2,89.17 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.17,91.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:91.8,93.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:53.77,55.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:57.78,59.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.58,62.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:62.50,64.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:64.8,66.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:69.58,72.38 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.38,73.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:73.23,75.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:77.2,77.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:80.82,82.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:82.33,84.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.2,86.56 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:86.56,89.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.2,90.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.17,92.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:92.8,94.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:25.64,33.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:35.64,43.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:45.53,54.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:56.55,67.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,74.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,75.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:23.38,24.11 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:25.51,26.14 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:27.10,28.15 1 0 @@ -8314,16 +10891,16 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provid github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:40.57,42.28 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:42.28,44.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:44.8,46.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:60.49,62.2 1 2 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:64.43,66.2 1 2 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:68.48,69.24 1 4 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:69.24,71.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:72.2,72.26 1 4 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:72.26,74.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:75.2,75.25 1 4 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:75.25,77.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:78.2,83.14 6 4 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:102.102,104.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:61.49,63.2 1 2 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:65.43,67.2 1 2 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:69.48,70.24 1 4 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:70.24,72.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:73.2,73.26 1 4 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:73.26,75.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:76.2,76.25 1 4 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:76.25,78.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:79.2,84.14 6 4 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:103.102,105.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:68.50,70.2 1 6 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:72.44,74.2 1 2 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:76.108,78.2 1 2 @@ -8362,6 +10939,7 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:21 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.2,24.37 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.37,26.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:27.2,27.19 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:30.61,33.2 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:20.78,21.29 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:21.29,22.40 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:22.40,24.4 1 0 @@ -8392,9 +10970,12 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords. github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:9.36,11.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:11.16,13.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:14.2,14.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:17.58,21.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:21.16,23.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:24.2,24.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:18.31,20.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:20.16,21.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:23.2,23.15 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:26.58,30.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:30.16,32.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:33.2,33.20 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:38.28,46.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:48.108,50.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:50.16,52.3 1 0 @@ -8488,98 +11069,98 @@ github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bi github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:39.64,41.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:41.16,43.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:44.2,44.19 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:31.37,32.41 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:32.41,34.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:35.2,35.51 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:35.51,37.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:38.2,40.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:40.16,42.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:43.2,43.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:46.52,53.107 6 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:53.107,54.52 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:54.52,56.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:58.2,59.8 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:59.8,61.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:63.2,63.66 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:63.66,65.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:67.2,67.98 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:67.98,69.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:69.8,69.62 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:69.62,71.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:73.2,73.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:76.86,77.79 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:77.79,79.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:80.2,89.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:89.16,91.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:92.2,92.43 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:95.57,98.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:98.16,100.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:101.2,102.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:102.16,104.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:105.2,106.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:106.16,108.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:109.2,109.141 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:112.110,115.87 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:115.87,117.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:119.2,126.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:126.16,128.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:129.2,130.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:130.16,132.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:134.2,142.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:142.16,144.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:145.2,146.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:146.16,148.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:149.2,150.55 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:153.69,158.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:158.16,160.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:162.2,167.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:167.16,169.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:171.2,171.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:171.29,172.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.63,174.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:175.3,175.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:175.29,177.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:179.2,179.21 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:182.147,184.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:184.16,186.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:188.2,191.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:191.16,193.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:195.2,196.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:196.16,198.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:199.2,202.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:202.16,204.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:205.2,206.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:206.16,208.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:210.2,212.72 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:212.72,214.17 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:214.17,216.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:216.9,216.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:216.23,218.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:219.3,219.13 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:221.2,221.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:221.16,223.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:225.2,227.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:227.16,229.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:230.2,230.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:233.69,235.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:237.117,239.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:241.50,243.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:243.16,246.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:247.2,247.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:250.48,252.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:254.69,260.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:260.16,262.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:262.8,262.46 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:262.46,264.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:266.2,266.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:266.63,268.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.2,269.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:272.103,274.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:274.16,276.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:277.2,278.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:278.16,280.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:281.2,288.8 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:291.68,293.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:32.37,33.41 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:33.41,35.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:36.2,36.51 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:36.51,38.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:39.2,41.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:41.16,43.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:44.2,44.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:47.52,54.107 6 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:54.107,55.52 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:55.52,57.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:59.2,60.8 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:60.8,62.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:64.2,64.66 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:64.66,66.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:68.2,68.98 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:68.98,70.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:70.8,70.62 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:70.62,72.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:74.2,74.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:77.86,78.79 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:78.79,80.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:81.2,90.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:90.16,92.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:93.2,93.43 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:96.57,99.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:99.16,101.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:102.2,103.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:103.16,105.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:106.2,107.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:107.16,109.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:110.2,110.141 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:113.110,116.87 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:116.87,118.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:120.2,127.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:127.16,129.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:130.2,131.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:131.16,133.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:135.2,143.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:143.16,145.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:146.2,147.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:147.16,149.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:150.2,151.55 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:154.69,159.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:159.16,161.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:163.2,168.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:168.16,170.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.2,172.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.29,173.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:173.63,175.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:176.3,176.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:176.29,178.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:180.2,180.21 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:183.147,185.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:185.16,187.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:189.2,192.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:192.16,194.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:196.2,197.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:197.16,199.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:200.2,203.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:203.16,205.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:206.2,207.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:207.16,209.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:211.2,213.72 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:213.72,215.17 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:215.17,217.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:217.9,217.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:217.23,219.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:220.3,220.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:222.2,222.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:222.16,224.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:226.2,228.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:228.16,230.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:231.2,231.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:234.69,236.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:238.117,240.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:242.50,244.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:244.16,247.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:248.2,248.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:251.48,253.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:255.69,263.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:263.16,265.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:265.8,265.46 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:265.46,267.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.2,269.123 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.123,271.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:272.2,272.103 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:275.103,277.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:277.16,279.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:280.2,281.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:281.16,283.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:284.2,291.8 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:294.68,296.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:22.65,24.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:26.63,27.53 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:27.53,29.3 1 0 @@ -8983,170 +11564,173 @@ github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/ro github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:194.2,194.16 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:194.16,196.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:197.2,197.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:200.100,204.61 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:204.61,206.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:207.2,208.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:208.28,210.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.2,211.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.16,213.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.2,214.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:217.87,221.28 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:221.28,223.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.2,224.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.16,226.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:227.2,227.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:230.83,238.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:238.33,239.82 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:239.82,241.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:200.96,204.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:204.16,206.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:206.8,206.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:206.38,208.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:209.2,211.24 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.24,213.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.2,214.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.16,216.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:217.2,217.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:220.100,224.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.61,226.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:227.2,228.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:228.28,230.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:231.2,231.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:231.16,233.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:234.2,234.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:237.87,241.28 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:241.28,243.4 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:244.2,244.16 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:244.16,246.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:246.8,246.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:246.50,248.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:249.2,249.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:252.89,260.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:260.33,261.88 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:261.88,263.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.2,266.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.16,268.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:268.8,268.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:268.50,270.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:271.2,271.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:274.68,281.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:281.33,282.87 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:282.87,284.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:287.2,287.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:287.16,289.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:289.8,289.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:289.50,291.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:292.2,292.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:295.74,302.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:302.33,303.93 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:303.93,305.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:308.2,308.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:308.16,310.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:310.8,310.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:310.50,312.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:313.2,313.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:316.91,320.61 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:320.61,322.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:323.2,324.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:324.28,326.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:327.2,327.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:327.16,329.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:330.2,330.41 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:333.137,335.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:335.16,337.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:339.2,347.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:347.33,348.80 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:348.80,350.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:353.2,353.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:353.16,355.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:355.8,355.27 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:355.27,357.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:357.8,357.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:357.32,360.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:361.2,361.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:364.110,368.66 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:368.66,370.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:371.2,381.59 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:381.59,385.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:385.8,385.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:385.23,387.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:389.2,395.89 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:395.89,398.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:400.2,400.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:400.16,402.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:402.8,402.27 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:402.27,404.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:404.8,404.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:404.32,407.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:408.2,408.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:411.147,419.88 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:419.88,422.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:424.2,424.59 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:247.2,247.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:250.83,258.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:258.33,259.82 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:259.82,261.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:264.2,264.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:264.16,266.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.8,266.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.50,268.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:269.2,269.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:272.89,280.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:280.33,281.88 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:281.88,283.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:286.2,286.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:286.16,288.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:288.8,288.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:288.50,290.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:291.2,291.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:294.68,301.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:301.33,302.87 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:302.87,304.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:307.2,307.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:307.16,309.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:309.8,309.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:309.50,311.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:312.2,312.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:315.91,319.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:319.61,321.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:322.2,323.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:323.28,325.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:326.2,326.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:326.16,328.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:329.2,329.41 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:332.137,334.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:334.16,336.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:338.2,346.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:346.33,347.80 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:347.80,349.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:352.2,352.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:352.16,354.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:354.8,354.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:354.27,356.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:356.8,356.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:356.32,359.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:360.2,360.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:363.110,367.66 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:367.66,369.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:370.2,380.59 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:380.59,384.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:384.8,384.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:384.23,386.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:388.2,394.89 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:394.89,397.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:399.2,399.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:399.16,401.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:401.8,401.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:401.27,403.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:403.8,403.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:403.32,406.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:407.2,407.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:410.147,424.59 6 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:424.59,427.3 2 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:427.8,427.23 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:427.23,429.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:429.8,429.27 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:429.27,431.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.8,431.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.32,434.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:435.2,435.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:438.90,443.61 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:443.61,445.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:447.2,448.24 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:448.24,450.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:453.91,458.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.2,437.88 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:437.88,440.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:442.2,442.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:442.16,444.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:444.8,444.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:444.27,446.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:446.8,446.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:446.32,449.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:450.2,450.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:453.90,458.61 4 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:458.61,460.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:462.2,463.24 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:463.24,465.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:468.145,479.15 5 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:479.15,480.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:480.25,481.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:481.63,483.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:486.2,486.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:486.38,488.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:490.2,490.22 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:490.22,500.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.2,501.40 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.40,503.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.2,505.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:508.168,518.15 5 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:518.15,519.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:519.25,520.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:520.63,522.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:525.2,525.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:525.38,527.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:529.2,529.22 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:529.22,536.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:537.2,537.40 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:537.40,539.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.2,540.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:543.158,552.33 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.33,553.77 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:553.77,555.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.2,558.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.16,560.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:560.8,560.76 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:560.76,562.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:564.2,565.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:565.16,567.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:568.2,568.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:572.86,577.59 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:577.59,579.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:581.2,581.110 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:581.110,583.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:583.8,585.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:586.2,586.126 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:586.126,588.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:589.2,589.133 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:589.133,591.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:593.2,593.84 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:593.84,595.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.2,596.103 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.103,598.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:599.2,599.96 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:599.96,601.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:602.2,602.94 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:602.94,604.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:606.2,606.92 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:606.92,608.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:610.2,623.25 14 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:627.90,631.60 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:631.60,633.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:635.2,635.85 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:635.85,637.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:638.2,638.89 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:638.89,640.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:641.2,641.97 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:641.97,643.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:645.2,645.127 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:645.127,647.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:648.2,648.119 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:648.119,650.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:651.2,651.124 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:651.124,653.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:655.2,670.25 16 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:468.91,473.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:473.61,475.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:477.2,478.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:478.24,480.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:483.145,494.15 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:494.15,495.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:495.25,496.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:496.63,498.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.2,501.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.38,503.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.2,505.22 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.22,515.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:516.2,516.40 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:516.40,518.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:520.2,520.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:523.168,533.15 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:533.15,534.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:534.25,535.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:535.63,537.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.2,540.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.38,542.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:544.2,544.22 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:544.22,551.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.2,552.40 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.40,554.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:555.2,555.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.158,567.33 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:567.33,568.77 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:568.77,570.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:573.2,573.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:573.16,575.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:575.8,575.76 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:575.76,577.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:579.2,580.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:580.16,582.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:583.2,583.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:587.86,592.59 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:592.59,594.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.2,596.110 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.110,598.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:598.8,600.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:601.2,601.126 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:601.126,603.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:604.2,604.133 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:604.133,606.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:608.2,608.84 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:608.84,610.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:611.2,611.103 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:611.103,613.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:614.2,614.96 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:614.96,616.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:617.2,617.94 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:617.94,619.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:621.2,621.92 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:621.92,623.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:625.2,638.25 14 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:642.90,646.60 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:646.60,648.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:650.2,650.85 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:650.85,652.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:653.2,653.89 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:653.89,655.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:656.2,656.97 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:656.97,658.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:660.2,660.127 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:660.127,662.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:663.2,663.119 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:663.119,665.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:666.2,666.124 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:666.124,668.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:670.2,685.25 16 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:25.97,27.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:29.98,33.59 3 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:33.59,35.3 1 0 @@ -9440,27 +12024,27 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/roots github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:61.107,63.19 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:63.19,65.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:66.2,66.75 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:52.77,54.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:56.78,58.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:60.58,61.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.50,63.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:63.8,65.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:68.58,71.38 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:71.38,72.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.23,74.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:76.2,76.17 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:79.82,81.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:81.33,83.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:84.2,85.56 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.56,88.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.2,89.17 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.17,91.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:91.8,93.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:53.77,55.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:57.78,59.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.58,62.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:62.50,64.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:64.8,66.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:69.58,72.38 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.38,73.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:73.23,75.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:77.2,77.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:80.82,82.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:82.33,84.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.2,86.56 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:86.56,89.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.2,90.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.17,92.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:92.8,94.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:25.64,33.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:35.64,43.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:45.53,54.2 1 2 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:56.55,67.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,74.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,75.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:23.38,24.11 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:25.51,26.14 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:27.10,28.15 1 0 @@ -9469,16 +12053,16 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provid github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:40.57,42.28 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:42.28,44.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:44.8,46.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:60.49,62.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:64.43,66.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:68.48,69.24 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:69.24,71.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:72.2,72.26 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:72.26,74.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:75.2,75.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:75.25,77.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:78.2,83.14 6 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:102.102,104.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:61.49,63.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:65.43,67.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:69.48,70.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:70.24,72.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:73.2,73.26 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:73.26,75.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:76.2,76.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:76.25,78.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:79.2,84.14 6 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:103.102,105.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:68.50,70.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:72.44,74.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:76.108,78.2 1 0 @@ -9517,6 +12101,7 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:21 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.2,24.37 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.37,26.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:27.2,27.19 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:30.61,33.2 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:20.78,21.29 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:21.29,22.40 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:22.40,24.4 1 0 @@ -9547,33 +12132,36 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords. github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:9.36,11.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:11.16,13.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:14.2,14.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:17.58,21.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:21.16,23.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:24.2,24.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:79.31,81.2 1 3 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:83.44,85.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:87.39,88.55 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:88.55,90.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:90.8,92.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:95.59,97.2 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:99.79,100.20 1 2 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:100.20,102.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:102.8,104.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:112.176,116.27 4 5 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:116.27,121.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:123.2,126.16 4 4 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:126.16,128.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:129.2,132.8 1 3 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:135.108,140.70 4 3 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:140.70,142.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.2,143.35 1 3 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.35,147.3 3 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:148.2,148.12 1 2 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:156.31,158.16 2 2 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:158.16,160.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:161.2,163.16 3 2 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:163.16,165.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:166.2,171.26 2 1 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:18.31,20.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:20.16,21.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:23.2,23.15 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:26.58,30.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:30.16,32.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:33.2,33.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:82.31,84.2 1 3 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:86.44,88.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:90.39,91.55 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:91.55,93.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:93.8,95.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:98.59,100.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:102.79,103.20 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:103.20,105.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:105.8,107.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:115.176,119.27 4 5 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:119.27,124.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:126.2,129.16 4 4 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:129.16,131.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:132.2,135.8 1 3 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:138.108,143.70 4 3 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.70,145.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:146.2,146.35 1 3 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:146.35,150.3 3 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:151.2,151.12 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:159.31,161.16 2 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:161.16,163.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:164.2,166.16 3 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:166.16,168.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:169.2,174.26 2 1 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:20.103,22.2 1 1 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:35.69,41.38 5 4 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:41.38,44.3 2 1 @@ -9675,98 +12263,98 @@ github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bi github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:39.64,41.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:41.16,43.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:44.2,44.19 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:31.37,32.41 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:32.41,34.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:35.2,35.51 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:35.51,37.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:38.2,40.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:40.16,42.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:43.2,43.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:46.52,53.107 6 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:53.107,54.52 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:54.52,56.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:58.2,59.8 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:59.8,61.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:63.2,63.66 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:63.66,65.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:67.2,67.98 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:67.98,69.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:69.8,69.62 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:69.62,71.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:73.2,73.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:76.86,77.79 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:77.79,79.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:80.2,89.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:89.16,91.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:92.2,92.43 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:95.57,98.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:98.16,100.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:101.2,102.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:102.16,104.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:105.2,106.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:106.16,108.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:109.2,109.141 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:112.110,115.87 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:115.87,117.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:119.2,126.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:126.16,128.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:129.2,130.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:130.16,132.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:134.2,142.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:142.16,144.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:145.2,146.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:146.16,148.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:149.2,150.55 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:153.69,158.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:158.16,160.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:162.2,167.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:167.16,169.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:171.2,171.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:171.29,172.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.63,174.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:175.3,175.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:175.29,177.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:179.2,179.21 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:182.147,184.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:184.16,186.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:188.2,191.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:191.16,193.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:195.2,196.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:196.16,198.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:199.2,202.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:202.16,204.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:205.2,206.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:206.16,208.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:210.2,212.72 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:212.72,214.17 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:214.17,216.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:216.9,216.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:216.23,218.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:219.3,219.13 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:221.2,221.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:221.16,223.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:225.2,227.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:227.16,229.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:230.2,230.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:233.69,235.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:237.117,239.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:241.50,243.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:243.16,246.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:247.2,247.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:250.48,252.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:254.69,260.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:260.16,262.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:262.8,262.46 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:262.46,264.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:266.2,266.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:266.63,268.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.2,269.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:272.103,274.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:274.16,276.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:277.2,278.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:278.16,280.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:281.2,288.8 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:291.68,293.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:32.37,33.41 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:33.41,35.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:36.2,36.51 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:36.51,38.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:39.2,41.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:41.16,43.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:44.2,44.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:47.52,54.107 6 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:54.107,55.52 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:55.52,57.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:59.2,60.8 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:60.8,62.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:64.2,64.66 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:64.66,66.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:68.2,68.98 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:68.98,70.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:70.8,70.62 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:70.62,72.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:74.2,74.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:77.86,78.79 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:78.79,80.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:81.2,90.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:90.16,92.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:93.2,93.43 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:96.57,99.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:99.16,101.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:102.2,103.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:103.16,105.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:106.2,107.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:107.16,109.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:110.2,110.141 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:113.110,116.87 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:116.87,118.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:120.2,127.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:127.16,129.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:130.2,131.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:131.16,133.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:135.2,143.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:143.16,145.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:146.2,147.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:147.16,149.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:150.2,151.55 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:154.69,159.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:159.16,161.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:163.2,168.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:168.16,170.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.2,172.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.29,173.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:173.63,175.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:176.3,176.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:176.29,178.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:180.2,180.21 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:183.147,185.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:185.16,187.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:189.2,192.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:192.16,194.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:196.2,197.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:197.16,199.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:200.2,203.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:203.16,205.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:206.2,207.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:207.16,209.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:211.2,213.72 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:213.72,215.17 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:215.17,217.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:217.9,217.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:217.23,219.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:220.3,220.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:222.2,222.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:222.16,224.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:226.2,228.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:228.16,230.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:231.2,231.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:234.69,236.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:238.117,240.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:242.50,244.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:244.16,247.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:248.2,248.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:251.48,253.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:255.69,263.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:263.16,265.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:265.8,265.46 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:265.46,267.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.2,269.123 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.123,271.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:272.2,272.103 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:275.103,277.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:277.16,279.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:280.2,281.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:281.16,283.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:284.2,291.8 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:294.68,296.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:22.65,24.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:26.63,27.53 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:27.53,29.3 1 0 @@ -10170,170 +12758,173 @@ github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/ro github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:194.2,194.16 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:194.16,196.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:197.2,197.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:200.100,204.61 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:204.61,206.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:207.2,208.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:208.28,210.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.2,211.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.16,213.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.2,214.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:217.87,221.28 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:221.28,223.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.2,224.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.16,226.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:227.2,227.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:230.83,238.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:238.33,239.82 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:239.82,241.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:200.96,204.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:204.16,206.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:206.8,206.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:206.38,208.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:209.2,211.24 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.24,213.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.2,214.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.16,216.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:217.2,217.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:220.100,224.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.61,226.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:227.2,228.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:228.28,230.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:231.2,231.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:231.16,233.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:234.2,234.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:237.87,241.28 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:241.28,243.4 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:244.2,244.16 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:244.16,246.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:246.8,246.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:246.50,248.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:249.2,249.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:252.89,260.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:260.33,261.88 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:261.88,263.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.2,266.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.16,268.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:268.8,268.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:268.50,270.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:271.2,271.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:274.68,281.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:281.33,282.87 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:282.87,284.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:287.2,287.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:287.16,289.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:289.8,289.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:289.50,291.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:292.2,292.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:295.74,302.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:302.33,303.93 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:303.93,305.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:308.2,308.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:308.16,310.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:310.8,310.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:310.50,312.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:313.2,313.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:316.91,320.61 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:320.61,322.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:323.2,324.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:324.28,326.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:327.2,327.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:327.16,329.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:330.2,330.41 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:333.137,335.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:335.16,337.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:339.2,347.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:347.33,348.80 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:348.80,350.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:353.2,353.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:353.16,355.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:355.8,355.27 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:355.27,357.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:357.8,357.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:357.32,360.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:361.2,361.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:364.110,368.66 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:368.66,370.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:371.2,381.59 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:381.59,385.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:385.8,385.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:385.23,387.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:389.2,395.89 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:395.89,398.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:400.2,400.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:400.16,402.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:402.8,402.27 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:402.27,404.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:404.8,404.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:404.32,407.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:408.2,408.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:411.147,419.88 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:419.88,422.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:424.2,424.59 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:247.2,247.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:250.83,258.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:258.33,259.82 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:259.82,261.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:264.2,264.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:264.16,266.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.8,266.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.50,268.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:269.2,269.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:272.89,280.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:280.33,281.88 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:281.88,283.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:286.2,286.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:286.16,288.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:288.8,288.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:288.50,290.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:291.2,291.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:294.68,301.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:301.33,302.87 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:302.87,304.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:307.2,307.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:307.16,309.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:309.8,309.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:309.50,311.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:312.2,312.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:315.91,319.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:319.61,321.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:322.2,323.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:323.28,325.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:326.2,326.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:326.16,328.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:329.2,329.41 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:332.137,334.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:334.16,336.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:338.2,346.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:346.33,347.80 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:347.80,349.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:352.2,352.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:352.16,354.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:354.8,354.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:354.27,356.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:356.8,356.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:356.32,359.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:360.2,360.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:363.110,367.66 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:367.66,369.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:370.2,380.59 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:380.59,384.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:384.8,384.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:384.23,386.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:388.2,394.89 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:394.89,397.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:399.2,399.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:399.16,401.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:401.8,401.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:401.27,403.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:403.8,403.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:403.32,406.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:407.2,407.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:410.147,424.59 6 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:424.59,427.3 2 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:427.8,427.23 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:427.23,429.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:429.8,429.27 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:429.27,431.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.8,431.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.32,434.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:435.2,435.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:438.90,443.61 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:443.61,445.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:447.2,448.24 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:448.24,450.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:453.91,458.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.2,437.88 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:437.88,440.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:442.2,442.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:442.16,444.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:444.8,444.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:444.27,446.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:446.8,446.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:446.32,449.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:450.2,450.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:453.90,458.61 4 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:458.61,460.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:462.2,463.24 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:463.24,465.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:468.145,479.15 5 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:479.15,480.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:480.25,481.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:481.63,483.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:486.2,486.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:486.38,488.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:490.2,490.22 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:490.22,500.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.2,501.40 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.40,503.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.2,505.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:508.168,518.15 5 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:518.15,519.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:519.25,520.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:520.63,522.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:525.2,525.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:525.38,527.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:529.2,529.22 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:529.22,536.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:537.2,537.40 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:537.40,539.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.2,540.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:543.158,552.33 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.33,553.77 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:553.77,555.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.2,558.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.16,560.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:560.8,560.76 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:560.76,562.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:564.2,565.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:565.16,567.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:568.2,568.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:572.86,577.59 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:577.59,579.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:581.2,581.110 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:581.110,583.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:583.8,585.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:586.2,586.126 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:586.126,588.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:589.2,589.133 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:589.133,591.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:593.2,593.84 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:593.84,595.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.2,596.103 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.103,598.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:599.2,599.96 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:599.96,601.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:602.2,602.94 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:602.94,604.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:606.2,606.92 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:606.92,608.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:610.2,623.25 14 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:627.90,631.60 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:631.60,633.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:635.2,635.85 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:635.85,637.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:638.2,638.89 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:638.89,640.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:641.2,641.97 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:641.97,643.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:645.2,645.127 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:645.127,647.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:648.2,648.119 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:648.119,650.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:651.2,651.124 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:651.124,653.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:655.2,670.25 16 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:468.91,473.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:473.61,475.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:477.2,478.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:478.24,480.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:483.145,494.15 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:494.15,495.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:495.25,496.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:496.63,498.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.2,501.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.38,503.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.2,505.22 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.22,515.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:516.2,516.40 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:516.40,518.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:520.2,520.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:523.168,533.15 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:533.15,534.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:534.25,535.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:535.63,537.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.2,540.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.38,542.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:544.2,544.22 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:544.22,551.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.2,552.40 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.40,554.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:555.2,555.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.158,567.33 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:567.33,568.77 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:568.77,570.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:573.2,573.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:573.16,575.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:575.8,575.76 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:575.76,577.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:579.2,580.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:580.16,582.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:583.2,583.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:587.86,592.59 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:592.59,594.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.2,596.110 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.110,598.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:598.8,600.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:601.2,601.126 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:601.126,603.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:604.2,604.133 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:604.133,606.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:608.2,608.84 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:608.84,610.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:611.2,611.103 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:611.103,613.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:614.2,614.96 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:614.96,616.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:617.2,617.94 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:617.94,619.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:621.2,621.92 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:621.92,623.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:625.2,638.25 14 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:642.90,646.60 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:646.60,648.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:650.2,650.85 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:650.85,652.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:653.2,653.89 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:653.89,655.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:656.2,656.97 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:656.97,658.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:660.2,660.127 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:660.127,662.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:663.2,663.119 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:663.119,665.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:666.2,666.124 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:666.124,668.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:670.2,685.25 16 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:25.97,27.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:29.98,33.59 3 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:33.59,35.3 1 0 @@ -10627,27 +13218,27 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/roots github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:61.107,63.19 2 6 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:63.19,65.3 1 6 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:66.2,66.75 1 6 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:52.77,54.2 1 11 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:56.78,58.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:60.58,61.50 1 11 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.50,63.3 1 10 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:63.8,65.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:68.58,71.38 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:71.38,72.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.23,74.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:76.2,76.17 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:79.82,81.33 2 5 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:81.33,83.3 1 5 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:84.2,85.56 2 5 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.56,88.3 2 5 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.2,89.17 1 5 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.17,91.3 1 5 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:91.8,93.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:53.77,55.2 1 11 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:57.78,59.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.58,62.50 1 11 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:62.50,64.3 1 10 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:64.8,66.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:69.58,72.38 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.38,73.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:73.23,75.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:77.2,77.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:80.82,82.33 2 5 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:82.33,84.3 1 5 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.2,86.56 2 5 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:86.56,89.3 2 5 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.2,90.17 1 5 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.17,92.3 1 5 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:92.8,94.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:25.64,33.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:35.64,43.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:45.53,54.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:56.55,67.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,74.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,75.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:23.38,24.11 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:25.51,26.14 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:27.10,28.15 1 0 @@ -10656,16 +13247,16 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provid github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:40.57,42.28 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:42.28,44.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:44.8,46.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:60.49,62.2 1 23 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:64.43,66.2 1 15 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:68.48,69.24 1 12 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:69.24,71.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:72.2,72.26 1 12 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:72.26,74.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:75.2,75.25 1 12 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:75.25,77.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:78.2,83.14 6 12 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:102.102,104.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:61.49,63.2 1 23 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:65.43,67.2 1 15 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:69.48,70.24 1 12 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:70.24,72.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:73.2,73.26 1 12 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:73.26,75.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:76.2,76.25 1 12 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:76.25,78.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:79.2,84.14 6 12 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:103.102,105.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:68.50,70.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:72.44,74.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:76.108,78.2 1 0 @@ -10704,6 +13295,7 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:21 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.2,24.37 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.37,26.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:27.2,27.19 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:30.61,33.2 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:20.78,21.29 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:21.29,22.40 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:22.40,24.4 1 0 @@ -10734,33 +13326,36 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords. github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:9.36,11.16 2 5 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:11.16,13.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:14.2,14.28 1 5 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:17.58,21.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:21.16,23.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:24.2,24.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:79.31,81.2 1 67 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:83.44,85.2 1 14 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:87.39,88.55 1 37 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:88.55,90.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:90.8,92.3 1 37 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:95.59,97.2 1 31 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:99.79,100.20 1 69 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:100.20,102.3 1 32 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:102.8,104.3 1 37 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:112.176,116.27 4 7 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:116.27,121.3 1 6 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:123.2,126.16 4 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:126.16,128.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:129.2,132.8 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:135.108,140.70 4 4 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:140.70,142.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.2,143.35 1 3 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.35,147.3 3 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:148.2,148.12 1 3 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:156.31,158.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:158.16,160.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:161.2,163.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:163.16,165.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:166.2,171.26 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:18.31,20.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:20.16,21.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:23.2,23.15 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:26.58,30.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:30.16,32.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:33.2,33.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:82.31,84.2 1 67 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:86.44,88.2 1 14 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:90.39,91.55 1 37 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:91.55,93.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:93.8,95.3 1 37 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:98.59,100.2 1 28 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:102.79,103.20 1 66 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:103.20,105.3 1 29 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:105.8,107.3 1 37 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:115.176,119.27 4 7 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:119.27,124.3 1 6 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:126.2,129.16 4 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:129.16,131.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:132.2,135.8 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:138.108,143.70 4 4 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.70,145.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:146.2,146.35 1 3 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:146.35,150.3 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:151.2,151.12 1 3 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:159.31,161.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:161.16,163.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:164.2,166.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:166.16,168.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:169.2,174.26 2 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:20.103,22.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:35.69,41.38 5 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:41.38,44.3 2 0 @@ -10821,14 +13416,14 @@ github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/add_collat github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/add_collateral.go:35.16,37.3 1 1 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/add_collateral.go:38.2,38.20 1 1 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:32.23,41.2 1 14 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:43.125,48.62 4 14 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:48.62,50.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:43.107,48.75 4 14 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:48.75,50.3 1 1 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:52.2,52.98 1 13 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:52.98,54.3 1 1 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:54.8,54.30 1 12 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:54.30,56.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:58.2,58.92 1 11 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:58.92,60.3 1 5 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:58.2,58.81 1 11 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:58.81,60.3 1 5 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:62.2,65.98 3 6 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:65.98,67.3 1 3 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:69.2,71.104 2 3 @@ -10837,35 +13432,35 @@ github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_u github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:74.16,77.3 2 1 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:78.2,78.12 1 2 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:87.9,89.18 2 11 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:89.18,91.88 2 3 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:91.88,93.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:94.3,99.5 1 3 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:102.2,102.21 1 11 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:109.26,113.109 3 6 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:113.109,115.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:117.2,118.47 2 5 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:118.47,120.3 1 4 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:120.8,122.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:124.2,124.107 1 4 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:124.107,126.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:126.8,126.48 1 3 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:126.48,128.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:129.2,129.25 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:89.18,92.88 3 3 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:92.88,94.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:95.3,100.5 1 3 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:103.2,103.21 1 11 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:110.26,114.109 3 6 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:114.109,116.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:118.2,119.47 2 5 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:119.47,121.3 1 4 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:121.8,123.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:125.2,125.107 1 4 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:125.107,127.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:127.8,127.48 1 3 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:127.48,129.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:130.2,130.25 1 2 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:137.37,143.93 5 3 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:143.93,145.3 1 1 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:145.8,147.3 1 2 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:149.2,158.27 5 3 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:166.9,172.77 5 11 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:172.77,174.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:175.2,176.74 2 10 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:176.74,178.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:180.2,180.83 1 9 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:180.83,182.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:182.8,182.57 1 8 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:182.57,184.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:186.2,187.44 2 7 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:187.44,196.3 2 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:197.2,197.12 1 6 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:149.2,157.27 4 3 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:164.9,170.95 5 11 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:170.95,172.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:173.2,174.74 2 10 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:174.74,176.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:178.2,178.101 1 9 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:178.101,180.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:180.8,180.57 1 8 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:180.57,182.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:184.2,185.44 2 7 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:185.44,193.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/call_for_user.go:194.2,194.12 1 6 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/expire_quote.go:13.104,15.2 1 2 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/expire_quote.go:17.110,20.16 3 2 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/expire_quote.go:20.16,22.3 1 1 @@ -10964,12 +13559,6 @@ github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_p github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:145.8,145.89 1 9 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:145.89,147.3 1 1 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/register_pegin.go:148.2,148.12 1 8 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/withdraw_collateral.go:13.97,15.2 1 2 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/withdraw_collateral.go:17.55,19.104 2 4 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/withdraw_collateral.go:19.104,21.3 1 2 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/withdraw_collateral.go:21.8,21.23 1 2 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/withdraw_collateral.go:21.23,23.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin/withdraw_collateral.go:24.2,24.12 1 1 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:38.28,46.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:48.108,50.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:50.16,52.3 1 0 @@ -11063,98 +13652,98 @@ github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bi github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:39.64,41.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:41.16,43.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:44.2,44.19 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:31.37,32.41 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:32.41,34.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:35.2,35.51 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:35.51,37.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:38.2,40.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:40.16,42.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:43.2,43.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:46.52,53.107 6 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:53.107,54.52 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:54.52,56.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:58.2,59.8 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:59.8,61.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:63.2,63.66 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:63.66,65.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:67.2,67.98 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:67.98,69.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:69.8,69.62 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:69.62,71.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:73.2,73.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:76.86,77.79 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:77.79,79.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:80.2,89.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:89.16,91.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:92.2,92.43 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:95.57,98.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:98.16,100.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:101.2,102.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:102.16,104.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:105.2,106.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:106.16,108.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:109.2,109.141 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:112.110,115.87 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:115.87,117.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:119.2,126.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:126.16,128.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:129.2,130.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:130.16,132.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:134.2,142.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:142.16,144.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:145.2,146.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:146.16,148.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:149.2,150.55 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:153.69,158.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:158.16,160.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:162.2,167.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:167.16,169.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:171.2,171.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:171.29,172.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.63,174.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:175.3,175.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:175.29,177.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:179.2,179.21 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:182.147,184.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:184.16,186.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:188.2,191.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:191.16,193.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:195.2,196.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:196.16,198.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:199.2,202.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:202.16,204.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:205.2,206.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:206.16,208.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:210.2,212.72 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:212.72,214.17 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:214.17,216.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:216.9,216.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:216.23,218.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:219.3,219.13 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:221.2,221.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:221.16,223.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:225.2,227.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:227.16,229.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:230.2,230.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:233.69,235.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:237.117,239.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:241.50,243.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:243.16,246.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:247.2,247.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:250.48,252.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:254.69,260.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:260.16,262.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:262.8,262.46 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:262.46,264.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:266.2,266.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:266.63,268.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.2,269.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:272.103,274.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:274.16,276.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:277.2,278.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:278.16,280.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:281.2,288.8 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:291.68,293.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:32.37,33.41 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:33.41,35.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:36.2,36.51 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:36.51,38.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:39.2,41.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:41.16,43.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:44.2,44.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:47.52,54.107 6 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:54.107,55.52 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:55.52,57.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:59.2,60.8 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:60.8,62.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:64.2,64.66 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:64.66,66.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:68.2,68.98 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:68.98,70.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:70.8,70.62 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:70.62,72.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:74.2,74.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:77.86,78.79 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:78.79,80.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:81.2,90.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:90.16,92.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:93.2,93.43 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:96.57,99.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:99.16,101.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:102.2,103.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:103.16,105.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:106.2,107.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:107.16,109.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:110.2,110.141 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:113.110,116.87 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:116.87,118.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:120.2,127.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:127.16,129.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:130.2,131.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:131.16,133.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:135.2,143.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:143.16,145.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:146.2,147.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:147.16,149.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:150.2,151.55 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:154.69,159.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:159.16,161.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:163.2,168.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:168.16,170.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.2,172.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.29,173.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:173.63,175.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:176.3,176.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:176.29,178.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:180.2,180.21 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:183.147,185.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:185.16,187.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:189.2,192.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:192.16,194.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:196.2,197.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:197.16,199.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:200.2,203.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:203.16,205.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:206.2,207.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:207.16,209.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:211.2,213.72 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:213.72,215.17 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:215.17,217.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:217.9,217.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:217.23,219.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:220.3,220.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:222.2,222.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:222.16,224.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:226.2,228.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:228.16,230.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:231.2,231.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:234.69,236.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:238.117,240.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:242.50,244.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:244.16,247.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:248.2,248.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:251.48,253.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:255.69,263.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:263.16,265.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:265.8,265.46 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:265.46,267.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.2,269.123 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.123,271.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:272.2,272.103 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:275.103,277.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:277.16,279.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:280.2,281.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:281.16,283.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:284.2,291.8 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:294.68,296.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:22.65,24.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:26.63,27.53 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:27.53,29.3 1 0 @@ -11558,170 +14147,173 @@ github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/ro github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:194.2,194.16 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:194.16,196.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:197.2,197.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:200.100,204.61 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:204.61,206.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:207.2,208.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:208.28,210.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.2,211.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.16,213.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.2,214.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:217.87,221.28 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:221.28,223.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.2,224.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.16,226.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:227.2,227.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:230.83,238.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:238.33,239.82 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:239.82,241.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:200.96,204.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:204.16,206.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:206.8,206.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:206.38,208.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:209.2,211.24 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.24,213.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.2,214.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.16,216.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:217.2,217.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:220.100,224.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.61,226.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:227.2,228.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:228.28,230.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:231.2,231.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:231.16,233.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:234.2,234.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:237.87,241.28 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:241.28,243.4 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:244.2,244.16 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:244.16,246.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:246.8,246.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:246.50,248.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:249.2,249.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:252.89,260.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:260.33,261.88 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:261.88,263.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.2,266.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.16,268.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:268.8,268.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:268.50,270.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:271.2,271.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:274.68,281.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:281.33,282.87 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:282.87,284.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:287.2,287.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:287.16,289.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:289.8,289.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:289.50,291.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:292.2,292.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:295.74,302.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:302.33,303.93 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:303.93,305.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:308.2,308.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:308.16,310.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:310.8,310.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:310.50,312.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:313.2,313.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:316.91,320.61 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:320.61,322.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:323.2,324.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:324.28,326.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:327.2,327.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:327.16,329.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:330.2,330.41 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:333.137,335.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:335.16,337.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:339.2,347.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:347.33,348.80 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:348.80,350.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:353.2,353.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:353.16,355.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:355.8,355.27 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:355.27,357.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:357.8,357.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:357.32,360.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:361.2,361.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:364.110,368.66 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:368.66,370.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:371.2,381.59 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:381.59,385.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:385.8,385.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:385.23,387.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:389.2,395.89 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:395.89,398.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:400.2,400.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:400.16,402.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:402.8,402.27 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:402.27,404.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:404.8,404.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:404.32,407.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:408.2,408.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:411.147,419.88 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:419.88,422.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:424.2,424.59 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:247.2,247.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:250.83,258.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:258.33,259.82 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:259.82,261.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:264.2,264.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:264.16,266.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.8,266.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.50,268.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:269.2,269.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:272.89,280.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:280.33,281.88 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:281.88,283.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:286.2,286.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:286.16,288.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:288.8,288.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:288.50,290.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:291.2,291.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:294.68,301.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:301.33,302.87 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:302.87,304.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:307.2,307.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:307.16,309.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:309.8,309.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:309.50,311.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:312.2,312.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:315.91,319.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:319.61,321.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:322.2,323.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:323.28,325.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:326.2,326.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:326.16,328.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:329.2,329.41 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:332.137,334.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:334.16,336.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:338.2,346.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:346.33,347.80 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:347.80,349.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:352.2,352.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:352.16,354.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:354.8,354.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:354.27,356.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:356.8,356.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:356.32,359.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:360.2,360.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:363.110,367.66 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:367.66,369.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:370.2,380.59 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:380.59,384.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:384.8,384.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:384.23,386.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:388.2,394.89 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:394.89,397.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:399.2,399.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:399.16,401.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:401.8,401.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:401.27,403.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:403.8,403.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:403.32,406.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:407.2,407.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:410.147,424.59 6 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:424.59,427.3 2 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:427.8,427.23 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:427.23,429.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:429.8,429.27 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:429.27,431.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.8,431.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.32,434.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:435.2,435.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:438.90,443.61 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:443.61,445.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:447.2,448.24 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:448.24,450.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:453.91,458.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.2,437.88 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:437.88,440.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:442.2,442.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:442.16,444.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:444.8,444.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:444.27,446.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:446.8,446.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:446.32,449.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:450.2,450.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:453.90,458.61 4 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:458.61,460.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:462.2,463.24 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:463.24,465.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:468.145,479.15 5 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:479.15,480.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:480.25,481.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:481.63,483.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:486.2,486.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:486.38,488.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:490.2,490.22 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:490.22,500.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.2,501.40 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.40,503.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.2,505.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:508.168,518.15 5 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:518.15,519.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:519.25,520.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:520.63,522.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:525.2,525.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:525.38,527.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:529.2,529.22 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:529.22,536.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:537.2,537.40 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:537.40,539.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.2,540.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:543.158,552.33 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.33,553.77 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:553.77,555.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.2,558.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.16,560.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:560.8,560.76 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:560.76,562.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:564.2,565.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:565.16,567.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:568.2,568.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:572.86,577.59 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:577.59,579.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:581.2,581.110 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:581.110,583.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:583.8,585.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:586.2,586.126 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:586.126,588.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:589.2,589.133 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:589.133,591.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:593.2,593.84 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:593.84,595.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.2,596.103 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.103,598.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:599.2,599.96 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:599.96,601.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:602.2,602.94 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:602.94,604.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:606.2,606.92 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:606.92,608.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:610.2,623.25 14 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:627.90,631.60 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:631.60,633.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:635.2,635.85 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:635.85,637.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:638.2,638.89 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:638.89,640.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:641.2,641.97 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:641.97,643.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:645.2,645.127 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:645.127,647.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:648.2,648.119 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:648.119,650.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:651.2,651.124 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:651.124,653.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:655.2,670.25 16 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:468.91,473.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:473.61,475.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:477.2,478.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:478.24,480.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:483.145,494.15 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:494.15,495.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:495.25,496.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:496.63,498.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.2,501.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.38,503.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.2,505.22 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.22,515.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:516.2,516.40 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:516.40,518.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:520.2,520.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:523.168,533.15 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:533.15,534.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:534.25,535.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:535.63,537.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.2,540.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.38,542.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:544.2,544.22 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:544.22,551.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.2,552.40 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.40,554.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:555.2,555.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.158,567.33 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:567.33,568.77 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:568.77,570.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:573.2,573.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:573.16,575.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:575.8,575.76 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:575.76,577.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:579.2,580.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:580.16,582.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:583.2,583.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:587.86,592.59 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:592.59,594.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.2,596.110 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.110,598.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:598.8,600.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:601.2,601.126 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:601.126,603.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:604.2,604.133 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:604.133,606.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:608.2,608.84 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:608.84,610.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:611.2,611.103 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:611.103,613.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:614.2,614.96 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:614.96,616.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:617.2,617.94 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:617.94,619.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:621.2,621.92 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:621.92,623.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:625.2,638.25 14 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:642.90,646.60 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:646.60,648.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:650.2,650.85 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:650.85,652.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:653.2,653.89 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:653.89,655.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:656.2,656.97 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:656.97,658.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:660.2,660.127 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:660.127,662.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:663.2,663.119 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:663.119,665.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:666.2,666.124 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:666.124,668.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:670.2,685.25 16 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:25.97,27.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:29.98,33.59 3 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:33.59,35.3 1 0 @@ -11955,7 +14547,7 @@ github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/ut github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/utils/utils.go:18.2,18.41 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/utils/utils.go:18.41,20.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/utils/utils.go:23.80,27.2 3 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:19.34,21.2 1 9 +github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:19.34,21.2 1 8 github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:44.78,46.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:46.16,48.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:49.2,51.16 3 0 @@ -11963,20 +14555,20 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:51.16, github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:54.2,54.36 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:54.36,56.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:57.2,57.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/event.go:20.41,22.2 1 13 -github.com/rsksmart/liquidity-provider-server/internal/entities/event.go:24.33,26.2 1 26 +github.com/rsksmart/liquidity-provider-server/internal/entities/event.go:20.41,22.2 1 14 +github.com/rsksmart/liquidity-provider-server/internal/entities/event.go:24.33,26.2 1 28 github.com/rsksmart/liquidity-provider-server/internal/entities/event.go:28.50,30.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:20.27,24.2 3 246 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:26.29,30.2 3 32 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:20.27,24.2 3 231 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:26.29,30.2 3 29 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:32.33,36.2 3 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:38.34,43.2 4 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:45.27,47.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:49.31,51.2 1 68 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:53.36,55.2 1 1102 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:57.31,59.2 1 11 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:49.31,51.2 1 63 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:53.36,55.2 1 1053 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:57.31,59.2 1 9 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:61.35,63.2 1 2 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:65.38,67.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:69.31,71.2 1 247 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:69.31,71.2 1 258 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:73.45,74.14 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:74.14,76.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:77.2,77.35 1 0 @@ -11994,9 +14586,9 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:108.64,11 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:111.2,112.69 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:112.69,114.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:115.2,116.12 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:119.35,122.2 2 135 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:119.35,122.2 2 126 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:124.35,127.2 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:129.35,132.2 2 7 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:129.35,132.2 2 6 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:34.49,36.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:38.35,40.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:42.34,44.2 1 0 @@ -12011,31 +14603,31 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/lbc.g github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/lbc.go:45.50,55.2 1 8 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/lbc.go:69.30,76.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:30.63,32.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:33.40,35.2 1 14 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:33.40,35.2 1 13 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:61.107,63.19 2 7 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:63.19,65.3 1 7 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:66.2,66.75 1 7 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:52.77,54.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:56.78,58.2 1 12 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:60.58,61.50 1 12 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.50,63.3 1 11 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:63.8,65.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:68.58,71.38 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:71.38,72.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.23,74.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:76.2,76.17 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:79.82,81.33 2 10 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:81.33,83.3 1 10 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:84.2,85.56 2 10 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.56,88.3 2 10 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.2,89.17 1 10 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.17,91.3 1 10 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:91.8,93.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:53.77,55.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:57.78,59.2 1 11 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.58,62.50 1 11 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:62.50,64.3 1 10 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:64.8,66.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:69.58,72.38 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.38,73.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:73.23,75.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:77.2,77.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:80.82,82.33 2 8 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:82.33,84.3 1 8 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.2,86.56 2 8 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:86.56,89.3 2 8 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.2,90.17 1 8 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.17,92.3 1 8 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:92.8,94.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:25.64,33.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:35.64,43.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:45.53,54.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:56.55,67.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,74.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,75.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:23.38,24.11 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:25.51,26.14 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:27.10,28.15 1 0 @@ -12044,26 +14636,26 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provid github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:40.57,42.28 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:42.28,44.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:44.8,46.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:60.49,62.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:64.43,66.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:68.48,69.24 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:69.24,71.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:72.2,72.26 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:72.26,74.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:75.2,75.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:75.25,77.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:78.2,83.14 6 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:102.102,104.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:68.50,70.2 1 16 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:61.49,63.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:65.43,67.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:69.48,70.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:70.24,72.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:73.2,73.26 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:73.26,75.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:76.2,76.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:76.25,78.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:79.2,84.14 6 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:103.102,105.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:68.50,70.2 1 18 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:72.44,74.2 1 9 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:76.108,78.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:80.49,81.24 1 13 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:80.49,81.24 1 11 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:81.24,83.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:84.2,84.26 1 13 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:84.2,84.26 1 11 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:84.26,86.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:87.2,87.25 1 13 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:87.2,87.25 1 11 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:87.25,89.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:90.2,95.14 6 13 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:90.2,95.14 6 11 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:115.107,117.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:134.71,139.2 4 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/encoding.go:8.63,11.52 3 0 @@ -12092,6 +14684,7 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:21 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.2,24.37 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.37,26.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:27.2,27.19 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:30.61,33.2 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:20.78,21.29 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:21.29,22.40 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:22.40,24.4 1 0 @@ -12119,36 +14712,39 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords. github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:83.37,84.51 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:84.51,86.4 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:87.3,87.13 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:9.36,11.16 2 6 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:9.36,11.16 2 5 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:11.16,13.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:14.2,14.28 1 6 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:17.58,21.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:21.16,23.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:24.2,24.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:79.31,81.2 1 39 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:83.44,85.2 1 26 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:87.39,88.55 1 36 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:88.55,90.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:90.8,92.3 1 36 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:95.59,97.2 1 38 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:99.79,100.20 1 75 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:100.20,102.3 1 39 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:102.8,104.3 1 36 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:112.176,116.27 4 8 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:116.27,121.3 1 7 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:123.2,126.16 4 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:126.16,128.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:129.2,132.8 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:135.108,140.70 4 4 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:140.70,142.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.2,143.35 1 3 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.35,147.3 3 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:148.2,148.12 1 3 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:156.31,158.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:158.16,160.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:161.2,163.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:163.16,165.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:166.2,171.26 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:14.2,14.28 1 5 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:18.31,20.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:20.16,21.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:23.2,23.15 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:26.58,30.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:30.16,32.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:33.2,33.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:82.31,84.2 1 34 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:86.44,88.2 1 29 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:90.39,91.55 1 39 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:91.55,93.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:93.8,95.3 1 39 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:98.59,100.2 1 34 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:102.79,103.20 1 74 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:103.20,105.3 1 35 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:105.8,107.3 1 39 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:115.176,119.27 4 7 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:119.27,124.3 1 6 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:126.2,129.16 4 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:129.16,131.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:132.2,135.8 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:138.108,143.70 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.70,145.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:146.2,146.35 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:146.35,150.3 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:151.2,151.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:159.31,161.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:161.16,163.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:164.2,166.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:166.16,168.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:169.2,174.26 2 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:20.103,22.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:35.69,41.38 5 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:41.38,44.3 2 0 @@ -12218,8 +14814,13 @@ github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pe github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:112.125,114.45 2 7 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:114.45,115.81 1 19 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:115.81,117.4 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:118.3,120.62 3 18 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:122.2,122.24 1 6 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:118.3,118.44 1 18 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:118.44,120.4 1 18 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:121.3,121.46 1 18 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:121.46,123.4 1 18 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:124.3,124.45 1 18 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:124.45,126.4 1 18 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/bridge_pegout.go:128.2,128.24 1 6 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/expire_quote.go:13.108,15.2 1 2 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/expire_quote.go:17.113,20.16 3 2 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/expire_quote.go:20.16,22.3 1 1 @@ -12228,51 +14829,49 @@ github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_colla github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_collateral.go:19.67,21.16 2 2 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_collateral.go:21.16,23.3 1 1 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_collateral.go:24.2,24.24 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:33.20,43.2 1 18 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:33.20,43.2 1 17 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:57.16,64.2 1 9 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:71.110,81.82 9 18 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:71.110,81.82 9 17 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:81.82,83.3 1 7 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:85.2,86.72 1 11 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:85.2,86.72 1 10 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:86.72,88.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:88.8,88.23 1 10 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:88.8,88.23 1 9 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:88.23,90.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:92.2,92.75 1 9 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:92.2,92.75 1 8 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:92.75,94.3 1 2 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:96.2,96.63 1 7 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:96.2,96.63 1 6 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:96.63,98.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:100.2,107.96 3 6 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:100.2,107.96 3 5 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:107.96,109.3 1 2 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:111.2,111.127 1 4 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:111.127,113.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:115.2,115.68 1 3 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:115.68,117.3 1 2 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:119.2,119.72 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:122.153,125.67 3 18 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:125.67,128.3 2 2 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:129.2,129.85 1 16 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:129.85,132.3 2 2 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:133.2,133.56 1 14 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:133.56,136.3 2 2 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:137.2,137.77 1 12 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:137.77,139.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:140.2,140.17 1 11 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:148.30,153.51 4 6 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:153.51,155.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:157.2,157.67 1 6 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:157.67,159.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:161.2,187.60 6 5 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:187.60,189.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:190.2,190.25 1 4 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:193.121,197.91 4 9 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:197.91,199.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:200.2,200.160 1 8 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:200.160,202.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:203.2,203.26 1 7 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:206.114,209.80 3 3 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:209.80,211.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:213.2,213.89 1 2 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:213.89,215.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:216.2,216.18 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:111.2,111.68 1 3 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:111.68,113.3 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:115.2,115.72 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:118.153,121.67 3 17 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:121.67,124.3 2 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:125.2,125.85 1 15 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:125.85,128.3 2 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:129.2,129.56 1 13 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:129.56,132.3 2 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:133.2,133.77 1 11 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:133.77,135.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:136.2,136.17 1 10 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:144.30,149.51 4 5 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:149.51,151.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:153.2,153.67 1 5 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:153.67,155.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:157.2,183.60 6 4 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:183.60,185.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:186.2,186.25 1 3 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:189.121,193.91 4 8 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:193.91,195.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:196.2,196.160 1 7 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:196.160,198.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:199.2,199.26 1 6 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:202.114,205.80 3 3 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:205.80,207.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:209.2,209.89 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:209.89,211.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_pegout_quote.go:212.2,212.18 1 1 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_user_deposits.go:13.101,15.2 1 2 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_user_deposits.go:17.112,20.99 3 2 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/get_user_deposits.go:20.99,22.3 1 1 @@ -12330,175 +14929,70 @@ github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pe github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:132.8,134.3 1 2 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:136.2,144.103 4 3 github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:144.103,146.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:147.2,147.27 1 2 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:154.9,157.93 3 10 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:157.93,159.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:159.8,159.77 1 9 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:159.77,161.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:162.2,162.12 1 8 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:28.22,36.2 1 16 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:38.107,43.73 4 16 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:43.73,45.3 1 2 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:47.2,47.99 1 14 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:47.99,49.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:49.8,49.31 1 13 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:49.31,51.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:53.2,53.87 1 12 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:53.87,55.3 1 6 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:57.2,60.80 3 6 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:60.80,62.3 1 2 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:64.2,67.76 2 4 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:67.76,69.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:71.2,71.104 1 3 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:71.104,73.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:74.2,74.16 1 3 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:74.16,76.3 1 2 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:77.2,77.12 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:86.9,88.18 2 13 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:88.18,90.88 2 4 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:90.88,92.4 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:93.3,98.5 1 4 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:100.2,100.21 1 13 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:107.42,113.67 5 12 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:113.67,115.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:117.2,117.104 1 11 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:117.104,119.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:119.8,119.87 1 10 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:119.87,121.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:121.8,121.55 1 9 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:121.55,124.3 2 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:124.8,124.92 1 8 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:124.92,126.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:126.8,126.61 1 7 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:126.61,128.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:129.2,129.21 1 6 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:137.38,143.16 5 4 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:143.16,146.3 2 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:148.2,148.129 1 3 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:148.129,150.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:150.8,152.3 1 2 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:154.2,162.27 4 3 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:169.9,174.63 4 6 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:174.63,176.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:177.2,179.38 3 5 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:179.38,181.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:182.2,182.12 1 4 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:185.125,186.76 1 16 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:186.76,188.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:188.8,188.46 1 15 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:188.46,190.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:191.2,191.12 1 14 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/withdraw_collateral.go:13.97,15.2 1 2 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/withdraw_collateral.go:17.55,19.104 2 4 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/withdraw_collateral.go:19.104,21.3 1 2 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/withdraw_collateral.go:21.8,21.23 1 2 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/withdraw_collateral.go:21.23,23.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/withdraw_collateral.go:24.2,24.12 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:43.60,44.55 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:44.55,46.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:48.2,49.113 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:49.113,51.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:51.8,56.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:60.88,62.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:62.16,64.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:66.2,67.15 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:67.15,68.17 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:68.17,70.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:72.2,72.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:72.16,74.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:76.2,77.15 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:77.15,77.36 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:78.2,79.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:79.16,81.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:83.2,90.21 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:93.56,94.53 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:94.53,96.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:97.2,98.45 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:101.66,102.54 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:102.54,104.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:105.2,105.33 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:108.91,109.24 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:109.24,111.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:112.2,113.39 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:113.39,114.15 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:114.15,116.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:118.2,118.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:118.16,120.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:122.2,124.15 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:124.15,126.17 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:126.17,128.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:130.2,130.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:130.16,132.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:133.2,133.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:136.102,138.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:138.16,140.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:142.2,143.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:143.16,145.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:146.2,146.22 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:149.128,150.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:150.29,154.3 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:154.8,155.39 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:155.39,157.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:158.3,160.19 3 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/encoding.go:8.63,11.52 3 14 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/encoding.go:11.52,13.3 1 3 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/encoding.go:14.2,14.33 1 11 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/encoding.go:14.33,16.3 1 6 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/encoding.go:17.2,17.19 1 5 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:19.92,20.42 1 6 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:20.42,22.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:23.2,24.16 2 5 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:24.16,26.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:27.2,29.16 3 5 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:29.16,31.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:32.2,32.51 1 5 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:35.53,37.16 2 15 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:37.16,39.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:39.8,39.57 1 14 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:39.57,41.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:42.2,43.18 2 13 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:10.34,11.11 1 6 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:11.11,13.3 1 2 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:14.2,14.14 1 4 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:17.43,19.11 2 13 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:19.11,21.3 1 5 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:21.8,23.3 1 8 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.2,24.37 1 13 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.37,26.3 1 6 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:27.2,27.19 1 7 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:20.78,21.29 1 7 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:21.29,22.40 1 21 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:22.40,24.4 1 6 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:26.2,26.12 1 1 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:29.58,41.2 2 1 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:43.54,44.37 1 2 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:44.37,45.26 1 13 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:45.26,47.4 1 3 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:48.3,48.26 1 10 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:48.26,50.4 1 2 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:51.3,51.13 1 8 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:55.45,56.37 1 2 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:56.37,57.44 1 65 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:57.44,59.4 1 31 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:60.3,60.13 1 34 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:64.45,65.37 1 2 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:65.37,66.44 1 64 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:66.44,68.4 1 31 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:69.3,69.13 1 33 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:73.41,74.37 1 2 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:74.37,75.40 1 47 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:75.40,77.4 1 31 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:78.3,78.13 1 16 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:82.47,83.37 1 2 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:83.37,84.51 1 106 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:84.51,86.4 1 68 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:87.3,87.13 1 38 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:9.36,11.16 2 100 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:11.16,13.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:14.2,14.28 1 100 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:17.58,21.16 3 115 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:21.16,23.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:24.2,24.20 1 115 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:147.2,147.16 1 3 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:147.16,150.3 2 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:151.2,151.27 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:158.9,161.93 3 10 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:161.93,163.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:163.8,163.77 1 9 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:163.77,165.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/refund_pegout.go:166.2,166.12 1 8 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:31.22,40.2 1 18 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:42.107,47.73 4 18 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:47.73,49.3 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:51.2,51.99 1 16 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:51.99,53.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:53.8,53.31 1 15 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:53.31,55.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:57.2,57.87 1 14 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:57.87,59.3 1 8 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:61.2,64.80 3 6 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:64.80,66.3 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:68.2,71.76 2 4 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:71.76,73.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:75.2,75.104 1 3 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:75.104,77.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:78.2,78.16 1 3 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:78.16,80.3 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:81.2,81.12 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:90.9,92.18 2 15 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:92.18,95.88 3 5 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:95.88,97.4 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:98.3,103.5 1 5 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:105.2,105.21 1 15 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:112.42,119.67 6 14 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:119.67,121.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:123.2,123.104 1 13 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:123.104,125.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:125.8,125.87 1 12 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:125.87,127.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:127.8,127.55 1 11 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:127.55,130.3 2 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:130.8,130.92 1 10 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:130.92,132.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:132.8,132.61 1 9 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:132.61,134.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:136.2,136.104 1 8 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:136.104,138.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:138.8,138.22 1 7 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:138.22,140.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:141.2,141.21 1 6 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:149.38,155.16 5 4 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:155.16,158.3 2 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:160.2,160.129 1 3 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:160.129,162.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:162.8,164.3 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:166.2,174.27 4 3 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:181.9,186.63 4 6 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:186.63,188.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:189.2,191.38 3 5 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:191.38,193.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:194.2,194.12 1 4 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:197.125,198.76 1 18 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:198.76,200.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:200.8,200.46 1 17 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:200.46,202.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout/send_pegout.go:203.2,203.12 1 16 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:38.28,46.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:48.108,50.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:50.16,52.3 1 0 @@ -12592,98 +15086,98 @@ github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bi github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:39.64,41.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:41.16,43.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:44.2,44.19 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:31.37,32.41 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:32.41,34.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:35.2,35.51 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:35.51,37.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:38.2,40.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:40.16,42.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:43.2,43.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:46.52,53.107 6 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:53.107,54.52 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:54.52,56.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:58.2,59.8 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:59.8,61.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:63.2,63.66 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:63.66,65.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:67.2,67.98 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:67.98,69.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:69.8,69.62 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:69.62,71.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:73.2,73.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:76.86,77.79 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:77.79,79.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:80.2,89.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:89.16,91.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:92.2,92.43 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:95.57,98.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:98.16,100.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:101.2,102.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:102.16,104.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:105.2,106.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:106.16,108.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:109.2,109.141 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:112.110,115.87 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:115.87,117.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:119.2,126.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:126.16,128.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:129.2,130.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:130.16,132.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:134.2,142.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:142.16,144.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:145.2,146.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:146.16,148.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:149.2,150.55 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:153.69,158.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:158.16,160.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:162.2,167.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:167.16,169.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:171.2,171.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:171.29,172.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.63,174.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:175.3,175.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:175.29,177.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:179.2,179.21 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:182.147,184.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:184.16,186.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:188.2,191.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:191.16,193.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:195.2,196.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:196.16,198.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:199.2,202.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:202.16,204.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:205.2,206.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:206.16,208.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:210.2,212.72 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:212.72,214.17 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:214.17,216.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:216.9,216.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:216.23,218.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:219.3,219.13 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:221.2,221.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:221.16,223.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:225.2,227.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:227.16,229.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:230.2,230.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:233.69,235.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:237.117,239.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:241.50,243.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:243.16,246.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:247.2,247.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:250.48,252.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:254.69,260.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:260.16,262.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:262.8,262.46 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:262.46,264.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:266.2,266.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:266.63,268.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.2,269.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:272.103,274.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:274.16,276.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:277.2,278.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:278.16,280.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:281.2,288.8 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:291.68,293.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:32.37,33.41 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:33.41,35.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:36.2,36.51 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:36.51,38.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:39.2,41.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:41.16,43.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:44.2,44.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:47.52,54.107 6 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:54.107,55.52 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:55.52,57.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:59.2,60.8 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:60.8,62.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:64.2,64.66 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:64.66,66.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:68.2,68.98 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:68.98,70.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:70.8,70.62 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:70.62,72.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:74.2,74.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:77.86,78.79 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:78.79,80.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:81.2,90.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:90.16,92.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:93.2,93.43 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:96.57,99.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:99.16,101.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:102.2,103.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:103.16,105.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:106.2,107.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:107.16,109.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:110.2,110.141 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:113.110,116.87 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:116.87,118.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:120.2,127.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:127.16,129.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:130.2,131.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:131.16,133.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:135.2,143.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:143.16,145.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:146.2,147.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:147.16,149.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:150.2,151.55 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:154.69,159.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:159.16,161.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:163.2,168.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:168.16,170.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.2,172.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.29,173.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:173.63,175.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:176.3,176.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:176.29,178.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:180.2,180.21 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:183.147,185.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:185.16,187.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:189.2,192.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:192.16,194.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:196.2,197.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:197.16,199.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:200.2,203.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:203.16,205.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:206.2,207.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:207.16,209.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:211.2,213.72 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:213.72,215.17 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:215.17,217.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:217.9,217.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:217.23,219.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:220.3,220.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:222.2,222.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:222.16,224.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:226.2,228.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:228.16,230.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:231.2,231.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:234.69,236.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:238.117,240.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:242.50,244.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:244.16,247.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:248.2,248.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:251.48,253.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:255.69,263.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:263.16,265.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:265.8,265.46 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:265.46,267.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.2,269.123 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.123,271.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:272.2,272.103 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:275.103,277.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:277.16,279.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:280.2,281.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:281.16,283.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:284.2,291.8 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:294.68,296.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:22.65,24.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:26.63,27.53 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:27.53,29.3 1 0 @@ -13087,170 +15581,173 @@ github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/ro github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:194.2,194.16 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:194.16,196.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:197.2,197.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:200.100,204.61 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:204.61,206.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:207.2,208.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:208.28,210.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.2,211.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.16,213.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.2,214.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:217.87,221.28 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:221.28,223.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.2,224.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.16,226.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:227.2,227.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:230.83,238.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:238.33,239.82 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:239.82,241.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:200.96,204.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:204.16,206.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:206.8,206.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:206.38,208.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:209.2,211.24 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.24,213.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.2,214.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.16,216.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:217.2,217.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:220.100,224.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.61,226.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:227.2,228.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:228.28,230.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:231.2,231.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:231.16,233.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:234.2,234.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:237.87,241.28 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:241.28,243.4 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:244.2,244.16 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:244.16,246.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:246.8,246.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:246.50,248.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:249.2,249.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:252.89,260.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:260.33,261.88 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:261.88,263.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.2,266.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.16,268.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:268.8,268.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:268.50,270.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:271.2,271.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:274.68,281.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:281.33,282.87 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:282.87,284.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:287.2,287.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:287.16,289.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:289.8,289.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:289.50,291.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:292.2,292.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:295.74,302.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:302.33,303.93 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:303.93,305.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:308.2,308.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:308.16,310.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:310.8,310.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:310.50,312.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:313.2,313.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:316.91,320.61 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:320.61,322.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:323.2,324.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:324.28,326.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:327.2,327.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:327.16,329.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:330.2,330.41 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:333.137,335.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:335.16,337.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:339.2,347.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:347.33,348.80 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:348.80,350.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:353.2,353.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:353.16,355.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:355.8,355.27 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:355.27,357.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:357.8,357.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:357.32,360.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:361.2,361.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:364.110,368.66 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:368.66,370.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:371.2,381.59 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:381.59,385.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:385.8,385.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:385.23,387.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:389.2,395.89 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:395.89,398.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:400.2,400.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:400.16,402.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:402.8,402.27 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:402.27,404.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:404.8,404.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:404.32,407.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:408.2,408.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:411.147,419.88 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:419.88,422.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:424.2,424.59 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:247.2,247.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:250.83,258.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:258.33,259.82 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:259.82,261.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:264.2,264.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:264.16,266.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.8,266.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.50,268.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:269.2,269.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:272.89,280.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:280.33,281.88 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:281.88,283.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:286.2,286.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:286.16,288.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:288.8,288.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:288.50,290.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:291.2,291.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:294.68,301.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:301.33,302.87 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:302.87,304.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:307.2,307.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:307.16,309.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:309.8,309.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:309.50,311.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:312.2,312.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:315.91,319.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:319.61,321.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:322.2,323.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:323.28,325.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:326.2,326.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:326.16,328.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:329.2,329.41 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:332.137,334.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:334.16,336.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:338.2,346.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:346.33,347.80 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:347.80,349.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:352.2,352.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:352.16,354.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:354.8,354.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:354.27,356.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:356.8,356.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:356.32,359.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:360.2,360.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:363.110,367.66 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:367.66,369.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:370.2,380.59 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:380.59,384.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:384.8,384.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:384.23,386.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:388.2,394.89 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:394.89,397.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:399.2,399.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:399.16,401.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:401.8,401.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:401.27,403.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:403.8,403.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:403.32,406.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:407.2,407.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:410.147,424.59 6 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:424.59,427.3 2 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:427.8,427.23 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:427.23,429.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:429.8,429.27 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:429.27,431.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.8,431.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.32,434.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:435.2,435.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:438.90,443.61 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:443.61,445.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:447.2,448.24 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:448.24,450.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:453.91,458.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.2,437.88 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:437.88,440.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:442.2,442.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:442.16,444.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:444.8,444.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:444.27,446.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:446.8,446.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:446.32,449.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:450.2,450.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:453.90,458.61 4 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:458.61,460.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:462.2,463.24 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:463.24,465.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:468.145,479.15 5 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:479.15,480.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:480.25,481.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:481.63,483.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:486.2,486.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:486.38,488.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:490.2,490.22 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:490.22,500.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.2,501.40 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.40,503.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.2,505.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:508.168,518.15 5 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:518.15,519.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:519.25,520.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:520.63,522.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:525.2,525.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:525.38,527.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:529.2,529.22 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:529.22,536.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:537.2,537.40 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:537.40,539.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.2,540.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:543.158,552.33 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.33,553.77 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:553.77,555.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.2,558.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.16,560.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:560.8,560.76 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:560.76,562.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:564.2,565.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:565.16,567.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:568.2,568.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:572.86,577.59 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:577.59,579.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:581.2,581.110 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:581.110,583.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:583.8,585.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:586.2,586.126 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:586.126,588.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:589.2,589.133 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:589.133,591.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:593.2,593.84 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:593.84,595.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.2,596.103 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.103,598.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:599.2,599.96 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:599.96,601.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:602.2,602.94 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:602.94,604.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:606.2,606.92 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:606.92,608.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:610.2,623.25 14 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:627.90,631.60 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:631.60,633.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:635.2,635.85 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:635.85,637.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:638.2,638.89 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:638.89,640.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:641.2,641.97 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:641.97,643.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:645.2,645.127 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:645.127,647.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:648.2,648.119 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:648.119,650.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:651.2,651.124 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:651.124,653.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:655.2,670.25 16 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:468.91,473.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:473.61,475.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:477.2,478.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:478.24,480.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:483.145,494.15 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:494.15,495.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:495.25,496.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:496.63,498.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.2,501.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.38,503.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.2,505.22 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.22,515.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:516.2,516.40 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:516.40,518.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:520.2,520.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:523.168,533.15 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:533.15,534.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:534.25,535.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:535.63,537.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.2,540.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.38,542.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:544.2,544.22 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:544.22,551.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.2,552.40 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.40,554.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:555.2,555.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.158,567.33 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:567.33,568.77 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:568.77,570.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:573.2,573.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:573.16,575.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:575.8,575.76 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:575.76,577.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:579.2,580.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:580.16,582.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:583.2,583.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:587.86,592.59 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:592.59,594.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.2,596.110 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.110,598.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:598.8,600.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:601.2,601.126 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:601.126,603.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:604.2,604.133 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:604.133,606.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:608.2,608.84 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:608.84,610.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:611.2,611.103 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:611.103,613.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:614.2,614.96 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:614.96,616.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:617.2,617.94 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:617.94,619.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:621.2,621.92 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:621.92,623.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:625.2,638.25 14 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:642.90,646.60 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:646.60,648.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:650.2,650.85 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:650.85,652.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:653.2,653.89 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:653.89,655.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:656.2,656.97 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:656.97,658.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:660.2,660.127 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:660.127,662.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:663.2,663.119 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:663.119,665.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:666.2,666.124 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:666.124,668.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:670.2,685.25 16 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:25.97,27.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:29.98,33.59 3 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:33.59,35.3 1 0 @@ -13495,17 +15992,17 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:57.2,5 github.com/rsksmart/liquidity-provider-server/internal/entities/event.go:20.41,22.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/event.go:24.33,26.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/event.go:28.50,30.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:20.27,24.2 3 10 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:26.29,30.2 3 12 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:20.27,24.2 3 21 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:26.29,30.2 3 22 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:32.33,36.2 3 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:38.34,43.2 4 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:45.27,47.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:49.31,51.2 1 12 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:53.36,55.2 1 202 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:49.31,51.2 1 22 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:53.36,55.2 1 396 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:57.31,59.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:61.35,63.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:65.38,67.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:69.31,71.2 1 12 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:69.31,71.2 1 15 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:73.45,74.14 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:74.14,76.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:77.2,77.35 1 0 @@ -13523,7 +16020,7 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:108.64,11 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:111.2,112.69 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:112.69,114.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:115.2,116.12 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:119.35,122.2 2 48 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:119.35,122.2 2 98 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:124.35,127.2 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:129.35,132.2 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:34.49,36.2 1 0 @@ -13531,11 +16028,11 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitco github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:42.34,44.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:46.47,51.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:53.47,58.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:88.88,91.9 3 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:88.88,91.9 3 10 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:91.9,93.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:94.2,94.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:94.29,96.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:97.2,97.14 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:94.2,94.29 1 10 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:94.29,96.3 1 10 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:97.2,97.14 1 10 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/lbc.go:25.51,35.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/lbc.go:45.50,55.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/lbc.go:69.30,76.2 1 0 @@ -13544,27 +16041,27 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/roots github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:61.107,63.19 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:63.19,65.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:66.2,66.75 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:52.77,54.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:56.78,58.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:60.58,61.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.50,63.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:63.8,65.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:68.58,71.38 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:71.38,72.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.23,74.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:76.2,76.17 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:79.82,81.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:81.33,83.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:84.2,85.56 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.56,88.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.2,89.17 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.17,91.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:91.8,93.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:53.77,55.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:57.78,59.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.58,62.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:62.50,64.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:64.8,66.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:69.58,72.38 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.38,73.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:73.23,75.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:77.2,77.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:80.82,82.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:82.33,84.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.2,86.56 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:86.56,89.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.2,90.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.17,92.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:92.8,94.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:25.64,33.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:35.64,43.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:45.53,54.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:56.55,67.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,74.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,75.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:23.38,24.11 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:25.51,26.14 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:27.10,28.15 1 0 @@ -13573,16 +16070,16 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provid github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:40.57,42.28 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:42.28,44.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:44.8,46.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:60.49,62.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:64.43,66.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:68.48,69.24 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:69.24,71.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:72.2,72.26 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:72.26,74.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:75.2,75.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:75.25,77.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:78.2,83.14 6 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:102.102,104.2 1 3 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:61.49,63.2 1 10 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:65.43,67.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:69.48,70.24 1 10 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:70.24,72.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:73.2,73.26 1 10 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:73.26,75.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:76.2,76.25 1 10 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:76.25,78.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:79.2,84.14 6 10 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:103.102,105.2 1 19 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:68.50,70.2 1 12 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:72.44,74.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:76.108,78.2 1 0 @@ -13621,6 +16118,7 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:21 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.2,24.37 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.37,26.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:27.2,27.19 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:30.61,33.2 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:20.78,21.29 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:21.29,22.40 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:22.40,24.4 1 0 @@ -13651,33 +16149,36 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords. github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:9.36,11.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:11.16,13.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:14.2,14.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:17.58,21.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:21.16,23.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:24.2,24.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:79.31,81.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:83.44,85.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:87.39,88.55 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:88.55,90.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:90.8,92.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:95.59,97.2 1 20 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:99.79,100.20 1 20 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:100.20,102.3 1 20 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:102.8,104.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:112.176,116.27 4 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:116.27,121.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:123.2,126.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:126.16,128.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:129.2,132.8 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:135.108,140.70 4 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:140.70,142.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.2,143.35 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.35,147.3 3 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:148.2,148.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:156.31,158.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:158.16,160.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:161.2,163.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:163.16,165.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:166.2,171.26 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:18.31,20.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:20.16,21.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:23.2,23.15 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:26.58,30.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:30.16,32.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:33.2,33.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:82.31,84.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:86.44,88.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:90.39,91.55 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:91.55,93.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:93.8,95.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:98.59,100.2 1 31 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:102.79,103.20 1 31 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:103.20,105.3 1 31 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:105.8,107.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:115.176,119.27 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:119.27,124.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:126.2,129.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:129.16,131.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:132.2,135.8 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:138.108,143.70 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.70,145.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:146.2,146.35 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:146.35,150.3 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:151.2,151.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:159.31,161.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:161.16,163.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:164.2,166.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:166.16,168.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:169.2,174.26 2 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:20.103,22.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:35.69,41.38 5 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:41.38,44.3 2 0 @@ -13690,7 +16191,7 @@ github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/clean_ex github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/clean_expired.go:17.86,25.128 6 5 github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/clean_expired.go:25.128,27.3 1 1 github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/clean_expired.go:28.2,28.41 1 4 -github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/clean_expired.go:28.41,30.3 1 15 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/clean_expired.go:28.41,30.3 1 21 github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/clean_expired.go:32.2,32.131 1 4 github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/clean_expired.go:32.131,34.3 1 1 github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/clean_expired.go:35.2,35.43 1 3 @@ -13700,17 +16201,21 @@ github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/clean_ex github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/clean_expired.go:42.2,42.83 1 2 github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/clean_expired.go:42.83,44.3 1 1 github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/clean_expired.go:46.2,47.25 2 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:14.110,16.2 1 5 -github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:18.129,19.15 1 8 -github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:20.79,21.46 1 4 -github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:22.10,23.81 1 4 -github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:27.142,32.99 5 4 -github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:32.99,34.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:36.2,36.47 1 3 -github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:36.47,37.99 1 4 -github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:37.99,39.4 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:40.3,43.4 1 3 -github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:45.2,45.27 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:14.110,16.2 1 7 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:18.133,20.31 2 10 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:20.31,21.16 1 11 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:25.51,26.78 1 7 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:26.78,28.5 1 5 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:28.10,30.5 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:31.11,32.82 1 4 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:35.2,35.20 1 4 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:38.142,43.99 5 7 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:43.99,45.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:47.2,47.47 1 6 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:47.47,48.99 1 10 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:48.99,50.4 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:51.3,54.4 1 9 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegin_quote.go:56.2,56.27 1 5 github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegout_quote.go:14.114,16.2 1 6 github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegout_quote.go:18.136,20.31 2 8 github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegout_quote.go:20.31,21.16 1 9 @@ -13726,6 +16231,14 @@ github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watc github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegout_quote.go:49.101,51.4 1 1 github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegout_quote.go:52.3,55.4 1 5 github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/get_watched_pegout_quote.go:57.2,57.26 1 4 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegin_deposit.go:15.106,17.2 1 10 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegin_deposit.go:24.36,29.40 4 10 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegin_deposit.go:29.40,31.3 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegin_deposit.go:31.8,31.82 1 8 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegin_deposit.go:31.82,33.3 1 6 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegin_deposit.go:35.2,38.101 3 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegin_deposit.go:38.101,40.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegin_deposit.go:41.2,41.26 1 1 github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegout_deposit.go:14.120,16.2 1 12 github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegout_deposit.go:18.176,20.56 2 12 github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegout_deposit.go:20.56,22.3 1 3 @@ -13736,6 +16249,115 @@ github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_p github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegout_deposit.go:30.2,30.82 1 2 github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegout_deposit.go:30.82,32.3 1 1 github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher/update_pegout_deposit.go:33.2,33.26 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:43.60,44.55 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:44.55,46.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:48.2,49.113 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:49.113,51.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:51.8,56.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:60.88,62.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:62.16,64.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:66.2,67.15 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:67.15,68.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:68.17,70.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:72.2,72.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:72.16,74.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:76.2,77.15 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:77.15,77.36 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:78.2,79.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:79.16,81.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:83.2,90.21 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:93.56,94.53 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:94.53,96.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:97.2,98.45 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:101.66,102.54 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:102.54,104.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:105.2,105.33 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:108.91,109.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:109.24,111.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:112.2,113.39 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:113.39,114.15 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:114.15,116.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:118.2,118.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:118.16,120.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:122.2,124.15 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:124.15,126.17 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:126.17,128.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:130.2,130.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:130.16,132.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:133.2,133.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:136.102,138.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:138.16,140.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:142.2,143.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:143.16,145.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:146.2,146.22 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:149.128,150.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:150.29,154.3 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:154.8,155.39 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:155.39,157.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/account/account.go:158.3,160.19 3 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/encoding.go:8.63,11.52 3 14 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/encoding.go:11.52,13.3 1 3 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/encoding.go:14.2,14.33 1 11 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/encoding.go:14.33,16.3 1 6 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/encoding.go:17.2,17.19 1 5 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:19.92,20.42 1 6 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:20.42,22.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:23.2,24.16 2 5 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:24.16,26.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:27.2,29.16 3 5 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:29.16,31.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:32.2,32.51 1 5 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:35.53,37.16 2 15 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:37.16,39.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:39.8,39.57 1 14 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:39.57,41.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/hashing.go:42.2,43.18 2 13 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:10.34,11.11 1 6 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:11.11,13.3 1 2 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:14.2,14.14 1 4 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:17.43,19.11 2 13 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:19.11,21.3 1 5 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:21.8,23.3 1 8 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.2,24.37 1 13 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.37,26.3 1 6 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:27.2,27.19 1 7 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:30.61,33.2 2 8 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:20.78,21.29 1 7 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:21.29,22.40 1 21 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:22.40,24.4 1 6 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:26.2,26.12 1 1 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:29.58,41.2 2 1 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:43.54,44.37 1 2 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:44.37,45.26 1 13 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:45.26,47.4 1 3 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:48.3,48.26 1 10 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:48.26,50.4 1 2 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:51.3,51.13 1 8 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:55.45,56.37 1 2 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:56.37,57.44 1 65 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:57.44,59.4 1 31 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:60.3,60.13 1 34 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:64.45,65.37 1 2 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:65.37,66.44 1 64 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:66.44,68.4 1 31 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:69.3,69.13 1 33 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:73.41,74.37 1 2 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:74.37,75.40 1 47 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:75.40,77.4 1 31 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:78.3,78.13 1 16 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:82.47,83.37 1 2 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:83.37,84.51 1 106 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:84.51,86.4 1 68 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:87.3,87.13 1 38 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:9.36,11.16 2 200 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:11.16,13.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:14.2,14.28 1 200 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:18.31,20.16 2 100 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:20.16,21.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:23.2,23.15 1 100 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:26.58,30.16 3 115 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:30.16,32.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:33.2,33.20 1 115 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/event.go:25.43,26.30 1 3 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/event.go:26.30,30.31 3 1 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/event.go:30.31,33.4 2 1 @@ -13766,54 +16388,60 @@ github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/li github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:66.2,69.16 4 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:69.16,71.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:72.2,73.48 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:76.114,80.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:80.16,82.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:83.2,87.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:87.16,89.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:90.2,90.39 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:90.39,92.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:93.2,95.52 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:95.52,97.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:97.8,102.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:105.113,110.16 5 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:110.16,112.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:113.2,114.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:114.16,116.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:117.2,120.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:120.16,122.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:123.2,123.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:123.44,125.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:126.2,127.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:127.16,129.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:130.2,130.45 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:130.45,132.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:133.2,135.52 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:135.52,137.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:137.8,143.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:146.117,147.135 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:147.135,149.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:150.2,150.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:150.16,152.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:153.2,153.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:156.115,157.133 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:157.133,159.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:160.2,160.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:160.16,162.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:163.2,163.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:166.113,167.131 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:167.131,169.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:170.2,170.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:170.16,172.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:173.2,173.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:180.32,182.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:182.16,185.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:186.2,186.26 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:186.26,189.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:190.2,190.70 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:190.70,193.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:194.2,194.70 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:194.70,197.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:198.2,198.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:76.114,79.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:79.16,81.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:82.2,82.52 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:82.52,84.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:84.8,89.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:92.104,95.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:95.16,97.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:98.2,102.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:102.16,104.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:105.2,105.39 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:105.39,107.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:108.2,110.32 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:113.113,116.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:116.16,118.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:119.2,119.52 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:119.52,121.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:121.8,127.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:130.103,134.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:134.16,136.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:137.2,138.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:138.16,140.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:141.2,144.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:144.16,146.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:147.2,147.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:147.44,149.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:151.2,152.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:152.16,154.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:155.2,155.45 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:155.45,157.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:158.2,159.63 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:162.117,163.135 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:163.135,165.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:166.2,166.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:166.16,168.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:169.2,169.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:172.115,173.133 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:173.133,175.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:176.2,176.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:176.16,178.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:179.2,179.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:182.113,183.131 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:183.131,185.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:186.2,186.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:186.16,188.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:189.2,189.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:196.32,198.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:198.16,201.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:202.2,202.26 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:202.26,205.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:206.2,206.70 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:206.70,209.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:210.2,210.70 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:210.70,213.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:214.2,214.27 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:38.28,46.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:48.108,50.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:50.16,52.3 1 0 @@ -13907,98 +16535,98 @@ github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bi github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:39.64,41.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:41.16,43.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:44.2,44.19 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:31.37,32.41 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:32.41,34.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:35.2,35.51 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:35.51,37.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:38.2,40.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:40.16,42.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:43.2,43.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:46.52,53.107 6 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:53.107,54.52 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:54.52,56.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:58.2,59.8 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:59.8,61.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:63.2,63.66 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:63.66,65.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:67.2,67.98 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:67.98,69.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:69.8,69.62 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:69.62,71.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:73.2,73.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:76.86,77.79 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:77.79,79.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:80.2,89.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:89.16,91.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:92.2,92.43 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:95.57,98.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:98.16,100.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:101.2,102.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:102.16,104.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:105.2,106.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:106.16,108.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:109.2,109.141 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:112.110,115.87 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:115.87,117.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:119.2,126.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:126.16,128.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:129.2,130.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:130.16,132.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:134.2,142.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:142.16,144.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:145.2,146.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:146.16,148.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:149.2,150.55 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:153.69,158.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:158.16,160.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:162.2,167.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:167.16,169.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:171.2,171.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:171.29,172.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.63,174.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:175.3,175.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:175.29,177.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:179.2,179.21 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:182.147,184.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:184.16,186.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:188.2,191.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:191.16,193.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:195.2,196.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:196.16,198.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:199.2,202.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:202.16,204.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:205.2,206.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:206.16,208.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:210.2,212.72 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:212.72,214.17 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:214.17,216.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:216.9,216.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:216.23,218.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:219.3,219.13 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:221.2,221.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:221.16,223.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:225.2,227.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:227.16,229.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:230.2,230.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:233.69,235.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:237.117,239.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:241.50,243.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:243.16,246.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:247.2,247.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:250.48,252.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:254.69,260.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:260.16,262.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:262.8,262.46 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:262.46,264.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:266.2,266.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:266.63,268.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.2,269.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:272.103,274.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:274.16,276.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:277.2,278.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:278.16,280.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:281.2,288.8 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:291.68,293.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:32.37,33.41 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:33.41,35.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:36.2,36.51 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:36.51,38.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:39.2,41.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:41.16,43.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:44.2,44.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:47.52,54.107 6 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:54.107,55.52 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:55.52,57.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:59.2,60.8 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:60.8,62.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:64.2,64.66 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:64.66,66.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:68.2,68.98 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:68.98,70.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:70.8,70.62 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:70.62,72.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:74.2,74.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:77.86,78.79 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:78.79,80.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:81.2,90.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:90.16,92.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:93.2,93.43 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:96.57,99.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:99.16,101.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:102.2,103.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:103.16,105.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:106.2,107.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:107.16,109.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:110.2,110.141 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:113.110,116.87 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:116.87,118.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:120.2,127.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:127.16,129.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:130.2,131.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:131.16,133.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:135.2,143.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:143.16,145.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:146.2,147.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:147.16,149.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:150.2,151.55 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:154.69,159.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:159.16,161.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:163.2,168.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:168.16,170.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.2,172.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.29,173.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:173.63,175.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:176.3,176.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:176.29,178.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:180.2,180.21 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:183.147,185.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:185.16,187.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:189.2,192.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:192.16,194.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:196.2,197.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:197.16,199.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:200.2,203.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:203.16,205.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:206.2,207.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:207.16,209.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:211.2,213.72 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:213.72,215.17 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:215.17,217.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:217.9,217.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:217.23,219.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:220.3,220.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:222.2,222.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:222.16,224.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:226.2,228.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:228.16,230.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:231.2,231.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:234.69,236.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:238.117,240.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:242.50,244.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:244.16,247.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:248.2,248.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:251.48,253.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:255.69,263.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:263.16,265.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:265.8,265.46 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:265.46,267.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.2,269.123 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.123,271.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:272.2,272.103 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:275.103,277.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:277.16,279.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:280.2,281.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:281.16,283.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:284.2,291.8 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:294.68,296.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:22.65,24.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:26.63,27.53 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:27.53,29.3 1 0 @@ -14402,170 +17030,173 @@ github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/ro github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:194.2,194.16 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:194.16,196.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:197.2,197.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:200.100,204.61 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:204.61,206.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:207.2,208.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:208.28,210.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.2,211.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.16,213.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.2,214.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:217.87,221.28 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:221.28,223.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.2,224.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.16,226.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:227.2,227.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:230.83,238.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:238.33,239.82 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:239.82,241.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:200.96,204.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:204.16,206.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:206.8,206.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:206.38,208.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:209.2,211.24 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.24,213.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.2,214.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.16,216.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:217.2,217.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:220.100,224.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.61,226.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:227.2,228.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:228.28,230.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:231.2,231.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:231.16,233.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:234.2,234.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:237.87,241.28 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:241.28,243.4 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:244.2,244.16 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:244.16,246.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:246.8,246.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:246.50,248.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:249.2,249.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:252.89,260.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:260.33,261.88 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:261.88,263.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.2,266.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.16,268.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:268.8,268.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:268.50,270.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:271.2,271.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:274.68,281.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:281.33,282.87 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:282.87,284.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:287.2,287.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:287.16,289.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:289.8,289.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:289.50,291.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:292.2,292.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:295.74,302.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:302.33,303.93 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:303.93,305.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:308.2,308.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:308.16,310.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:310.8,310.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:310.50,312.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:313.2,313.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:316.91,320.61 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:320.61,322.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:323.2,324.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:324.28,326.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:327.2,327.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:327.16,329.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:330.2,330.41 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:333.137,335.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:335.16,337.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:339.2,347.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:347.33,348.80 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:348.80,350.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:353.2,353.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:353.16,355.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:355.8,355.27 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:355.27,357.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:357.8,357.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:357.32,360.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:361.2,361.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:364.110,368.66 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:368.66,370.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:371.2,381.59 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:381.59,385.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:385.8,385.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:385.23,387.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:389.2,395.89 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:395.89,398.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:400.2,400.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:400.16,402.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:402.8,402.27 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:402.27,404.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:404.8,404.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:404.32,407.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:408.2,408.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:411.147,419.88 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:419.88,422.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:424.2,424.59 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:247.2,247.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:250.83,258.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:258.33,259.82 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:259.82,261.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:264.2,264.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:264.16,266.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.8,266.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.50,268.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:269.2,269.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:272.89,280.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:280.33,281.88 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:281.88,283.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:286.2,286.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:286.16,288.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:288.8,288.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:288.50,290.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:291.2,291.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:294.68,301.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:301.33,302.87 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:302.87,304.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:307.2,307.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:307.16,309.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:309.8,309.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:309.50,311.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:312.2,312.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:315.91,319.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:319.61,321.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:322.2,323.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:323.28,325.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:326.2,326.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:326.16,328.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:329.2,329.41 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:332.137,334.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:334.16,336.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:338.2,346.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:346.33,347.80 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:347.80,349.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:352.2,352.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:352.16,354.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:354.8,354.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:354.27,356.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:356.8,356.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:356.32,359.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:360.2,360.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:363.110,367.66 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:367.66,369.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:370.2,380.59 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:380.59,384.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:384.8,384.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:384.23,386.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:388.2,394.89 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:394.89,397.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:399.2,399.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:399.16,401.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:401.8,401.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:401.27,403.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:403.8,403.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:403.32,406.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:407.2,407.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:410.147,424.59 6 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:424.59,427.3 2 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:427.8,427.23 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:427.23,429.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:429.8,429.27 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:429.27,431.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.8,431.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.32,434.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:435.2,435.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:438.90,443.61 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:443.61,445.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:447.2,448.24 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:448.24,450.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:453.91,458.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.2,437.88 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:437.88,440.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:442.2,442.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:442.16,444.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:444.8,444.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:444.27,446.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:446.8,446.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:446.32,449.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:450.2,450.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:453.90,458.61 4 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:458.61,460.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:462.2,463.24 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:463.24,465.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:468.145,479.15 5 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:479.15,480.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:480.25,481.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:481.63,483.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:486.2,486.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:486.38,488.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:490.2,490.22 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:490.22,500.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.2,501.40 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.40,503.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.2,505.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:508.168,518.15 5 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:518.15,519.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:519.25,520.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:520.63,522.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:525.2,525.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:525.38,527.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:529.2,529.22 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:529.22,536.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:537.2,537.40 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:537.40,539.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.2,540.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:543.158,552.33 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.33,553.77 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:553.77,555.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.2,558.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.16,560.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:560.8,560.76 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:560.76,562.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:564.2,565.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:565.16,567.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:568.2,568.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:572.86,577.59 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:577.59,579.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:581.2,581.110 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:581.110,583.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:583.8,585.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:586.2,586.126 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:586.126,588.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:589.2,589.133 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:589.133,591.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:593.2,593.84 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:593.84,595.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.2,596.103 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.103,598.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:599.2,599.96 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:599.96,601.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:602.2,602.94 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:602.94,604.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:606.2,606.92 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:606.92,608.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:610.2,623.25 14 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:627.90,631.60 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:631.60,633.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:635.2,635.85 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:635.85,637.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:638.2,638.89 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:638.89,640.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:641.2,641.97 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:641.97,643.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:645.2,645.127 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:645.127,647.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:648.2,648.119 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:648.119,650.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:651.2,651.124 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:651.124,653.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:655.2,670.25 16 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:468.91,473.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:473.61,475.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:477.2,478.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:478.24,480.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:483.145,494.15 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:494.15,495.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:495.25,496.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:496.63,498.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.2,501.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.38,503.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.2,505.22 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.22,515.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:516.2,516.40 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:516.40,518.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:520.2,520.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:523.168,533.15 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:533.15,534.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:534.25,535.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:535.63,537.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.2,540.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.38,542.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:544.2,544.22 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:544.22,551.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.2,552.40 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.40,554.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:555.2,555.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.158,567.33 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:567.33,568.77 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:568.77,570.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:573.2,573.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:573.16,575.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:575.8,575.76 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:575.76,577.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:579.2,580.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:580.16,582.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:583.2,583.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:587.86,592.59 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:592.59,594.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.2,596.110 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.110,598.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:598.8,600.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:601.2,601.126 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:601.126,603.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:604.2,604.133 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:604.133,606.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:608.2,608.84 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:608.84,610.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:611.2,611.103 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:611.103,613.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:614.2,614.96 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:614.96,616.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:617.2,617.94 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:617.94,619.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:621.2,621.92 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:621.92,623.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:625.2,638.25 14 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:642.90,646.60 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:646.60,648.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:650.2,650.85 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:650.85,652.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:653.2,653.89 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:653.89,655.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:656.2,656.97 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:656.97,658.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:660.2,660.127 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:660.127,662.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:663.2,663.119 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:663.119,665.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:666.2,666.124 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:666.124,668.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:670.2,685.25 16 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:25.97,27.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:29.98,33.59 3 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:33.59,35.3 1 0 @@ -14810,17 +17441,17 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:57.2,5 github.com/rsksmart/liquidity-provider-server/internal/entities/event.go:20.41,22.2 1 9 github.com/rsksmart/liquidity-provider-server/internal/entities/event.go:24.33,26.2 1 5 github.com/rsksmart/liquidity-provider-server/internal/entities/event.go:28.50,30.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:20.27,24.2 3 139 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:20.27,24.2 3 150 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:26.29,30.2 3 2 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:32.33,36.2 3 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:38.34,43.2 4 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:45.27,47.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:49.31,51.2 1 11 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:53.36,55.2 1 340 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:49.31,51.2 1 15 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:53.36,55.2 1 364 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:57.31,59.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:61.35,63.2 1 6 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:65.38,67.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:69.31,71.2 1 120 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:69.31,71.2 1 122 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:73.45,74.14 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:74.14,76.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:77.2,77.35 1 0 @@ -14830,7 +17461,7 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:84.10,86. github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:87.3,87.13 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:88.11,89.47 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:90.10,91.57 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:95.45,97.2 1 24 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:95.45,97.2 1 27 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:99.49,101.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:103.65,105.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:107.78,108.64 1 0 @@ -14859,27 +17490,27 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/roots github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:61.107,63.19 2 2 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:63.19,65.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:66.2,66.75 1 2 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:52.77,54.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:56.78,58.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:60.58,61.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.50,63.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:63.8,65.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:68.58,71.38 2 10 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:71.38,72.23 1 10 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.23,74.4 1 10 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:76.2,76.17 1 10 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:79.82,81.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:81.33,83.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:84.2,85.56 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.56,88.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.2,89.17 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.17,91.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:91.8,93.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:53.77,55.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:57.78,59.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.58,62.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:62.50,64.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:64.8,66.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:69.58,72.38 2 10 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.38,73.23 1 10 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:73.23,75.4 1 10 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:77.2,77.17 1 10 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:80.82,82.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:82.33,84.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.2,86.56 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:86.56,89.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.2,90.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.17,92.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:92.8,94.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:25.64,33.2 1 3 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:35.64,43.2 1 3 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:45.53,54.2 1 3 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:56.55,67.2 1 3 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,74.2 1 3 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,75.2 1 3 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:23.38,24.11 1 14 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:25.51,26.14 1 13 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:27.10,28.15 1 1 @@ -14888,16 +17519,16 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provid github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:40.57,42.28 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:42.28,44.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:44.8,46.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:60.49,62.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:64.43,66.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:68.48,69.24 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:69.24,71.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:72.2,72.26 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:72.26,74.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:75.2,75.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:75.25,77.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:78.2,83.14 6 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:102.102,104.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:61.49,63.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:65.43,67.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:69.48,70.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:70.24,72.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:73.2,73.26 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:73.26,75.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:76.2,76.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:76.25,78.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:79.2,84.14 6 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:103.102,105.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:68.50,70.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:72.44,74.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:76.108,78.2 1 0 @@ -14936,6 +17567,7 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:21 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.2,24.37 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.37,26.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:27.2,27.19 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:30.61,33.2 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:20.78,21.29 1 10 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:21.29,22.40 1 36 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:22.40,24.4 1 6 @@ -14966,33 +17598,36 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords. github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:9.36,11.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:11.16,13.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:14.2,14.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:17.58,21.16 3 12 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:21.16,23.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:24.2,24.20 1 12 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:79.31,81.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:83.44,85.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:87.39,88.55 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:88.55,90.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:90.8,92.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:95.59,97.2 1 52 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:99.79,100.20 1 52 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:100.20,102.3 1 52 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:102.8,104.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:112.176,116.27 4 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:116.27,121.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:123.2,126.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:126.16,128.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:129.2,132.8 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:135.108,140.70 4 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:140.70,142.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.2,143.35 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.35,147.3 3 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:148.2,148.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:156.31,158.16 2 13 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:158.16,160.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:161.2,163.16 3 13 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:163.16,165.3 1 4 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:166.2,171.26 2 9 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:18.31,20.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:20.16,21.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:23.2,23.15 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:26.58,30.16 3 12 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:30.16,32.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:33.2,33.20 1 12 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:82.31,84.2 1 4 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:86.44,88.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:90.39,91.55 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:91.55,93.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:93.8,95.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:98.59,100.2 1 58 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:102.79,103.20 1 59 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:103.20,105.3 1 58 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:105.8,107.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:115.176,119.27 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:119.27,124.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:126.2,129.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:129.16,131.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:132.2,135.8 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:138.108,143.70 4 4 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.70,145.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:146.2,146.35 1 4 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:146.35,150.3 3 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:151.2,151.12 1 3 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:159.31,161.16 2 13 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:161.16,163.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:164.2,166.16 3 13 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:166.16,168.3 1 4 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:169.2,174.26 2 9 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:20.103,22.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:35.69,41.38 5 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:41.38,44.3 2 0 @@ -15001,6 +17636,14 @@ github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:45.39, github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:49.2,49.39 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:49.39,52.3 2 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:54.2,65.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/available_liquidity.go:19.33,25.2 1 4 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/available_liquidity.go:27.118,29.41 2 4 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/available_liquidity.go:29.41,31.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/available_liquidity.go:32.2,33.16 2 3 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/available_liquidity.go:33.16,35.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/available_liquidity.go:36.2,37.16 2 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/available_liquidity.go:37.16,39.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/available_liquidity.go:40.2,43.8 1 1 github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/change_status.go:14.132,16.2 1 3 github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/change_status.go:18.63,23.16 4 3 github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/change_status.go:23.16,25.3 1 1 @@ -15021,40 +17664,40 @@ github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provid github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/check_liquidity.go:77.8,77.23 1 4 github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/check_liquidity.go:77.23,79.3 1 1 github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/check_liquidity.go:81.2,81.12 1 5 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:27.19,31.53 3 9 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:31.53,33.3 1 2 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:35.2,38.65 1 7 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:38.65,40.4 1 16 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:42.2,42.12 1 7 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:42.12,44.3 1 2 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:45.2,45.33 1 5 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:61.9,66.16 4 27 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:66.16,68.3 1 2 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:69.2,69.30 1 25 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:69.30,70.78 1 7 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:70.78,72.4 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:73.8,75.3 1 18 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:77.2,78.16 2 24 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:78.16,80.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:81.2,82.16 2 23 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:31.19,35.53 3 9 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:35.53,37.3 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:39.2,42.65 1 7 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:42.65,44.4 1 16 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:46.2,46.12 1 7 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:46.12,48.3 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:49.2,49.33 1 5 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:65.9,70.16 4 27 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:70.16,72.3 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:73.2,73.30 1 25 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:73.30,74.78 1 7 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:74.78,76.4 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:77.8,79.3 1 18 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:81.2,82.16 2 24 github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:82.16,84.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:85.2,86.16 2 22 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:86.16,88.3 1 8 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:89.2,89.12 1 14 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:92.111,93.41 1 11 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:93.41,95.3 1 3 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:96.2,96.9 1 8 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:97.57,99.10 2 6 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:99.10,101.4 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:102.3,103.44 2 5 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:104.10,105.88 1 2 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:112.9,114.16 2 22 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:114.16,116.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:117.2,118.16 2 21 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:85.2,86.16 2 23 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:86.16,88.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:89.2,90.16 2 22 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:90.16,92.3 1 8 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:93.2,93.12 1 14 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:96.111,97.41 1 11 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:97.41,99.3 1 3 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:100.2,100.9 1 8 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:101.57,103.10 2 6 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:103.10,105.4 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:106.3,107.44 2 5 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:108.10,109.88 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:116.9,118.16 2 22 github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:118.16,120.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:121.2,123.36 3 20 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:123.36,125.3 1 14 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:125.8,127.3 1 6 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:121.2,122.16 2 21 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:122.16,124.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:125.2,127.36 3 20 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:127.36,129.3 1 14 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/common.go:129.8,131.3 1 6 github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/generate_default_credentials.go:27.38,29.2 1 4 github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/generate_default_credentials.go:31.100,33.16 2 4 github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/generate_default_credentials.go:33.16,35.3 1 1 @@ -15099,13 +17742,13 @@ github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provid github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/penalization_alert.go:30.109,32.4 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/penalization_alert.go:34.2,34.12 1 1 github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/provider_detail.go:25.21,33.2 1 5 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/provider_detail.go:41.90,62.54 6 5 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/provider_detail.go:62.54,64.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/provider_detail.go:64.8,64.68 1 4 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/provider_detail.go:64.68,66.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/provider_detail.go:66.8,66.69 1 3 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/provider_detail.go:66.69,68.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/provider_detail.go:70.2,70.20 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/provider_detail.go:42.90,64.54 6 5 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/provider_detail.go:64.54,66.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/provider_detail.go:66.8,66.68 1 4 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/provider_detail.go:66.68,68.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/provider_detail.go:68.8,68.69 1 3 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/provider_detail.go:68.69,70.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/provider_detail.go:72.2,72.20 1 2 github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:16.132,18.2 1 14 github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:36.102,43.54 6 18 github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/registration.go:43.54,45.3 1 5 @@ -15192,12 +17835,20 @@ github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provid github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegin_config.go:29.2,30.16 2 2 github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegin_config.go:30.16,32.3 1 1 github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegin_config.go:33.2,33.12 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegout_config.go:20.27,22.2 1 3 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegout_config.go:24.118,26.16 2 3 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegout_config.go:26.16,28.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegout_config.go:29.2,30.16 2 2 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegout_config.go:30.16,32.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegout_config.go:33.2,33.12 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegout_config.go:23.27,25.2 1 4 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegout_config.go:27.118,29.136 2 4 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegout_config.go:29.136,31.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegout_config.go:33.2,34.16 2 3 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegout_config.go:34.16,36.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegout_config.go:37.2,38.16 2 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegout_config.go:38.16,40.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/set_pegout_config.go:41.2,41.12 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/withdraw_collateral.go:13.97,15.2 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/withdraw_collateral.go:17.55,19.104 2 4 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/withdraw_collateral.go:19.104,21.3 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/withdraw_collateral.go:21.8,21.23 1 2 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/withdraw_collateral.go:21.23,23.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider/withdraw_collateral.go:24.2,24.12 1 1 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:38.28,46.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:48.108,50.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:50.16,52.3 1 0 @@ -15291,98 +17942,98 @@ github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bi github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:39.64,41.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:41.16,43.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:44.2,44.19 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:31.37,32.41 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:32.41,34.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:35.2,35.51 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:35.51,37.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:38.2,40.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:40.16,42.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:43.2,43.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:46.52,53.107 6 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:53.107,54.52 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:54.52,56.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:58.2,59.8 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:59.8,61.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:63.2,63.66 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:63.66,65.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:67.2,67.98 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:67.98,69.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:69.8,69.62 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:69.62,71.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:73.2,73.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:76.86,77.79 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:77.79,79.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:80.2,89.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:89.16,91.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:92.2,92.43 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:95.57,98.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:98.16,100.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:101.2,102.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:102.16,104.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:105.2,106.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:106.16,108.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:109.2,109.141 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:112.110,115.87 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:115.87,117.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:119.2,126.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:126.16,128.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:129.2,130.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:130.16,132.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:134.2,142.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:142.16,144.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:145.2,146.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:146.16,148.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:149.2,150.55 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:153.69,158.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:158.16,160.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:162.2,167.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:167.16,169.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:171.2,171.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:171.29,172.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.63,174.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:175.3,175.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:175.29,177.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:179.2,179.21 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:182.147,184.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:184.16,186.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:188.2,191.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:191.16,193.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:195.2,196.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:196.16,198.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:199.2,202.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:202.16,204.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:205.2,206.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:206.16,208.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:210.2,212.72 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:212.72,214.17 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:214.17,216.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:216.9,216.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:216.23,218.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:219.3,219.13 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:221.2,221.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:221.16,223.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:225.2,227.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:227.16,229.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:230.2,230.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:233.69,235.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:237.117,239.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:241.50,243.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:243.16,246.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:247.2,247.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:250.48,252.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:254.69,260.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:260.16,262.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:262.8,262.46 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:262.46,264.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:266.2,266.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:266.63,268.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.2,269.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:272.103,274.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:274.16,276.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:277.2,278.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:278.16,280.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:281.2,288.8 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:291.68,293.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:32.37,33.41 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:33.41,35.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:36.2,36.51 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:36.51,38.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:39.2,41.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:41.16,43.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:44.2,44.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:47.52,54.107 6 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:54.107,55.52 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:55.52,57.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:59.2,60.8 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:60.8,62.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:64.2,64.66 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:64.66,66.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:68.2,68.98 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:68.98,70.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:70.8,70.62 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:70.62,72.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:74.2,74.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:77.86,78.79 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:78.79,80.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:81.2,90.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:90.16,92.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:93.2,93.43 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:96.57,99.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:99.16,101.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:102.2,103.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:103.16,105.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:106.2,107.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:107.16,109.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:110.2,110.141 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:113.110,116.87 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:116.87,118.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:120.2,127.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:127.16,129.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:130.2,131.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:131.16,133.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:135.2,143.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:143.16,145.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:146.2,147.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:147.16,149.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:150.2,151.55 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:154.69,159.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:159.16,161.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:163.2,168.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:168.16,170.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.2,172.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.29,173.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:173.63,175.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:176.3,176.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:176.29,178.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:180.2,180.21 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:183.147,185.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:185.16,187.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:189.2,192.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:192.16,194.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:196.2,197.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:197.16,199.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:200.2,203.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:203.16,205.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:206.2,207.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:207.16,209.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:211.2,213.72 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:213.72,215.17 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:215.17,217.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:217.9,217.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:217.23,219.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:220.3,220.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:222.2,222.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:222.16,224.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:226.2,228.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:228.16,230.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:231.2,231.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:234.69,236.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:238.117,240.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:242.50,244.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:244.16,247.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:248.2,248.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:251.48,253.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:255.69,263.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:263.16,265.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:265.8,265.46 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:265.46,267.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.2,269.123 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.123,271.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:272.2,272.103 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:275.103,277.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:277.16,279.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:280.2,281.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:281.16,283.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:284.2,291.8 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:294.68,296.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:22.65,24.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:26.63,27.53 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:27.53,29.3 1 0 @@ -15702,7 +18353,7 @@ github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/ro github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:143.2,143.16 1 2 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:143.16,145.3 1 1 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/bridge.go:147.2,155.8 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:35.55,37.2 1 39 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:35.55,37.2 1 42 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:39.44,41.2 1 1 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:43.54,47.2 3 1 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:49.63,51.16 2 2 @@ -15711,28 +18362,28 @@ github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/ro github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:68.70,69.39 1 127 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:69.39,71.3 1 21 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:72.2,73.12 2 106 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:76.97,81.18 4 119 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:81.18,83.3 1 117 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:76.97,81.18 4 118 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:81.18,83.3 1 116 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:85.2,85.30 1 2 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:85.30,87.17 2 5 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:87.17,89.4 1 1 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:90.3,90.25 1 4 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:92.2,92.20 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:95.124,97.2 1 33 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:99.152,105.16 5 36 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:105.16,107.3 1 12 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:108.2,109.15 2 24 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:109.15,111.20 2 24 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:111.20,113.4 1 13 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:113.9,115.4 1 11 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:117.2,117.40 1 24 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:95.124,97.2 1 29 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:99.152,105.16 5 32 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:105.16,107.3 1 10 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:108.2,109.15 2 22 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:109.15,111.20 2 22 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:111.20,113.4 1 12 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:113.9,115.4 1 10 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/common.go:117.2,117.40 1 22 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/fee_collector.go:14.96,16.2 1 2 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/fee_collector.go:18.64,21.28 2 2 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/fee_collector.go:21.28,23.4 1 2 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/fee_collector.go:24.2,24.16 1 2 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/fee_collector.go:24.16,26.3 1 1 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/fee_collector.go:27.2,27.29 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:40.38,48.2 1 27 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:40.38,48.2 1 31 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:50.61,52.2 1 1 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:54.101,59.16 4 13 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:59.16,61.3 1 9 @@ -15786,170 +18437,173 @@ github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/ro github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:194.2,194.16 1 2 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:194.16,196.3 1 1 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:197.2,197.44 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:200.100,204.61 4 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:204.61,206.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:207.2,208.28 1 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:208.28,210.4 1 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.2,211.16 1 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.16,213.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.2,214.44 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:217.87,221.28 3 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:221.28,223.4 1 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.2,224.16 1 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.16,226.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:227.2,227.44 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:230.83,238.33 2 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:238.33,239.82 1 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:239.82,241.5 1 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:244.2,244.16 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:200.96,204.16 4 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:204.16,206.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:206.8,206.38 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:206.38,208.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:209.2,211.24 2 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.24,213.4 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.2,214.16 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.16,216.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:217.2,217.20 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:220.100,224.61 4 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.61,226.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:227.2,228.28 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:228.28,230.4 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:231.2,231.16 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:231.16,233.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:234.2,234.44 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:237.87,241.28 3 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:241.28,243.4 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:244.2,244.16 1 2 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:244.16,246.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:246.8,246.50 1 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:246.50,248.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:249.2,249.12 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:252.89,260.33 2 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:260.33,261.88 1 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:261.88,263.5 1 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.2,266.16 1 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.16,268.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:268.8,268.50 1 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:268.50,270.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:271.2,271.12 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:274.68,281.33 2 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:281.33,282.87 1 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:282.87,284.5 1 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:287.2,287.16 1 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:287.16,289.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:289.8,289.50 1 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:289.50,291.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:292.2,292.12 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:295.74,302.33 2 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:302.33,303.93 1 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:303.93,305.5 1 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:308.2,308.16 1 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:308.16,310.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:310.8,310.50 1 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:310.50,312.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:313.2,313.12 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:316.91,320.61 4 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:320.61,322.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:323.2,324.28 1 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:324.28,326.4 1 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:327.2,327.16 1 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:327.16,329.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:330.2,330.41 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:333.137,335.16 2 4 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:335.16,337.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:339.2,347.33 2 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:347.33,348.80 1 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:348.80,350.5 1 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:353.2,353.16 1 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:353.16,355.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:355.8,355.27 1 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:355.27,357.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:357.8,357.32 1 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:357.32,360.3 2 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:361.2,361.37 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:364.110,368.66 4 6 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:368.66,370.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:371.2,381.59 4 5 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:381.59,385.3 2 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:385.8,385.23 1 4 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:385.23,387.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:389.2,395.89 2 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:395.89,398.3 1 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:400.2,400.16 1 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:400.16,402.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:402.8,402.27 1 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:402.27,404.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:404.8,404.32 1 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:404.32,407.3 2 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:408.2,408.37 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:411.147,419.88 3 4 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:419.88,422.3 1 4 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:424.2,424.59 1 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:247.2,247.44 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:250.83,258.33 2 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:258.33,259.82 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:259.82,261.5 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:264.2,264.16 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:264.16,266.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.8,266.50 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.50,268.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:269.2,269.12 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:272.89,280.33 2 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:280.33,281.88 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:281.88,283.5 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:286.2,286.16 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:286.16,288.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:288.8,288.50 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:288.50,290.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:291.2,291.12 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:294.68,301.33 2 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:301.33,302.87 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:302.87,304.5 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:307.2,307.16 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:307.16,309.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:309.8,309.50 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:309.50,311.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:312.2,312.12 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:315.91,319.61 4 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:319.61,321.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:322.2,323.28 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:323.28,325.4 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:326.2,326.16 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:326.16,328.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:329.2,329.41 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:332.137,334.16 2 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:334.16,336.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:338.2,346.33 2 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:346.33,347.80 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:347.80,349.5 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:352.2,352.16 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:352.16,354.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:354.8,354.27 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:354.27,356.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:356.8,356.32 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:356.32,359.3 2 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:360.2,360.37 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:363.110,367.66 4 6 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:367.66,369.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:370.2,380.59 4 5 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:380.59,384.3 2 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:384.8,384.23 1 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:384.23,386.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:388.2,394.89 2 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:394.89,397.3 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:399.2,399.16 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:399.16,401.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:401.8,401.27 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:401.27,403.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:403.8,403.32 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:403.32,406.3 2 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:407.2,407.37 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:410.147,424.59 6 5 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:424.59,427.3 2 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:427.8,427.23 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:427.8,427.23 1 4 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:427.23,429.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:429.8,429.27 1 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:429.27,431.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.8,431.32 1 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.32,434.3 2 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:435.2,435.37 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:438.90,443.61 4 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:443.61,445.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:447.2,448.24 1 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:448.24,450.4 1 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:453.91,458.61 4 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.2,437.88 2 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:437.88,440.3 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:442.2,442.16 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:442.16,444.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:444.8,444.27 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:444.27,446.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:446.8,446.32 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:446.32,449.3 2 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:450.2,450.37 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:453.90,458.61 4 3 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:458.61,460.3 1 1 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:462.2,463.24 1 2 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:463.24,465.4 1 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:468.145,479.15 5 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:479.15,480.25 1 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:480.25,481.63 1 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:481.63,483.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:486.2,486.38 1 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:486.38,488.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:490.2,490.22 1 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:490.22,500.3 2 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.2,501.40 1 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.40,503.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.2,505.20 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:508.168,518.15 5 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:518.15,519.25 1 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:519.25,520.63 1 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:520.63,522.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:525.2,525.38 1 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:525.38,527.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:529.2,529.22 1 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:529.22,536.3 2 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:537.2,537.40 1 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:537.40,539.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.2,540.20 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:543.158,552.33 3 5 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.33,553.77 1 5 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:553.77,555.5 1 5 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.2,558.16 1 5 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.16,560.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:560.8,560.76 1 4 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:560.76,562.3 1 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:564.2,565.16 2 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:565.16,567.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:568.2,568.38 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:572.86,577.59 4 23 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:577.59,579.3 1 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:581.2,581.110 1 20 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:581.110,583.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:583.8,585.3 1 19 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:586.2,586.126 1 19 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:586.126,588.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:589.2,589.133 1 18 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:589.133,591.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:593.2,593.84 1 17 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:593.84,595.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.2,596.103 1 16 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.103,598.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:599.2,599.96 1 15 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:599.96,601.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:602.2,602.94 1 14 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:602.94,604.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:606.2,606.92 1 13 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:606.92,608.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:610.2,623.25 14 12 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:627.90,631.60 3 9 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:631.60,633.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:635.2,635.85 1 8 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:635.85,637.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:638.2,638.89 1 7 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:638.89,640.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:641.2,641.97 1 6 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:641.97,643.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:645.2,645.127 1 5 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:645.127,647.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:648.2,648.119 1 4 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:648.119,650.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:651.2,651.124 1 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:651.124,653.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:655.2,670.25 16 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:468.91,473.61 4 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:473.61,475.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:477.2,478.24 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:478.24,480.4 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:483.145,494.15 5 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:494.15,495.25 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:495.25,496.63 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:496.63,498.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.2,501.38 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.38,503.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.2,505.22 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.22,515.3 2 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:516.2,516.40 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:516.40,518.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:520.2,520.20 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:523.168,533.15 5 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:533.15,534.25 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:534.25,535.63 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:535.63,537.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.2,540.38 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.38,542.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:544.2,544.22 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:544.22,551.3 2 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.2,552.40 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.40,554.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:555.2,555.20 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.158,567.33 3 5 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:567.33,568.77 1 5 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:568.77,570.5 1 5 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:573.2,573.16 1 5 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:573.16,575.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:575.8,575.76 1 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:575.76,577.3 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:579.2,580.16 2 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:580.16,582.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:583.2,583.38 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:587.86,592.59 4 23 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:592.59,594.3 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.2,596.110 1 20 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.110,598.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:598.8,600.3 1 19 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:601.2,601.126 1 19 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:601.126,603.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:604.2,604.133 1 18 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:604.133,606.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:608.2,608.84 1 17 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:608.84,610.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:611.2,611.103 1 16 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:611.103,613.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:614.2,614.96 1 15 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:614.96,616.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:617.2,617.94 1 14 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:617.94,619.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:621.2,621.92 1 13 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:621.92,623.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:625.2,638.25 14 12 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:642.90,646.60 3 9 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:646.60,648.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:650.2,650.85 1 8 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:650.85,652.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:653.2,653.89 1 7 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:653.89,655.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:656.2,656.97 1 6 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:656.97,658.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:660.2,660.127 1 5 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:660.127,662.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:663.2,663.119 1 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:663.119,665.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:666.2,666.124 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:666.124,668.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:670.2,685.25 16 2 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:25.97,27.2 1 10 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:29.98,33.59 3 3 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:33.59,35.3 1 1 @@ -16236,34 +18890,34 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitco github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:94.29,96.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:97.2,97.14 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/lbc.go:25.51,35.2 1 5 -github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/lbc.go:45.50,55.2 1 4 +github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/lbc.go:45.50,55.2 1 5 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/lbc.go:69.30,76.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:30.63,32.2 1 13 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:33.40,35.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:61.107,63.19 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:63.19,65.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:66.2,66.75 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:52.77,54.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:56.78,58.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:60.58,61.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.50,63.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:63.8,65.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:68.58,71.38 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:71.38,72.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.23,74.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:76.2,76.17 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:79.82,81.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:81.33,83.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:84.2,85.56 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.56,88.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.2,89.17 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.17,91.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:91.8,93.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:53.77,55.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:57.78,59.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.58,62.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:62.50,64.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:64.8,66.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:69.58,72.38 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.38,73.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:73.23,75.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:77.2,77.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:80.82,82.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:82.33,84.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.2,86.56 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:86.56,89.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.2,90.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.17,92.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:92.8,94.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:25.64,33.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:35.64,43.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:45.53,54.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:56.55,67.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,74.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,75.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:23.38,24.11 1 3 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:25.51,26.14 1 2 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:27.10,28.15 1 1 @@ -16272,16 +18926,16 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provid github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:40.57,42.28 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:42.28,44.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:44.8,46.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:60.49,62.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:64.43,66.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:68.48,69.24 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:69.24,71.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:72.2,72.26 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:72.26,74.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:75.2,75.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:75.25,77.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:78.2,83.14 6 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:102.102,104.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:61.49,63.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:65.43,67.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:69.48,70.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:70.24,72.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:73.2,73.26 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:73.26,75.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:76.2,76.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:76.25,78.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:79.2,84.14 6 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:103.102,105.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:68.50,70.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:72.44,74.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:76.108,78.2 1 0 @@ -16320,6 +18974,7 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:21 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.2,24.37 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.37,26.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:27.2,27.19 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:30.61,33.2 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:20.78,21.29 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:21.29,22.40 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:22.40,24.4 1 0 @@ -16350,33 +19005,36 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords. github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:9.36,11.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:11.16,13.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:14.2,14.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:17.58,21.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:21.16,23.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:24.2,24.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:79.31,81.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:83.44,85.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:87.39,88.55 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:88.55,90.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:90.8,92.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:95.59,97.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:99.79,100.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:100.20,102.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:102.8,104.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:112.176,116.27 4 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:116.27,121.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:123.2,126.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:126.16,128.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:129.2,132.8 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:135.108,140.70 4 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:140.70,142.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.2,143.35 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.35,147.3 3 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:148.2,148.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:156.31,158.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:158.16,160.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:161.2,163.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:163.16,165.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:166.2,171.26 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:18.31,20.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:20.16,21.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:23.2,23.15 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:26.58,30.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:30.16,32.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:33.2,33.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:82.31,84.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:86.44,88.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:90.39,91.55 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:91.55,93.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:93.8,95.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:98.59,100.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:102.79,103.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:103.20,105.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:105.8,107.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:115.176,119.27 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:119.27,124.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:126.2,129.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:129.16,131.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:132.2,135.8 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:138.108,143.70 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.70,145.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:146.2,146.35 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:146.35,150.3 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:151.2,151.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:159.31,161.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:161.16,163.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:164.2,166.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:166.16,168.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:169.2,174.26 2 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:20.103,22.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:35.69,41.38 5 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:41.38,44.3 2 0 @@ -16478,98 +19136,98 @@ github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bi github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:39.64,41.16 2 2 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:41.16,43.3 1 1 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:44.2,44.19 1 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:31.37,32.41 1 33 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:32.41,34.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:35.2,35.51 1 32 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:35.51,37.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:38.2,40.16 3 31 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:40.16,42.3 1 6 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:43.2,43.20 1 25 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:46.52,53.107 6 31 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:53.107,54.52 1 6 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:54.52,56.4 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:58.2,59.8 2 30 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:59.8,61.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:63.2,63.66 1 29 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:63.66,65.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:67.2,67.98 1 29 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:67.98,69.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:69.8,69.62 1 28 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:69.62,71.3 1 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:73.2,73.12 1 25 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:76.86,77.79 1 6 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:77.79,79.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:80.2,89.16 3 5 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:89.16,91.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:92.2,92.43 1 4 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:95.57,98.16 3 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:98.16,100.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:101.2,102.16 2 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:102.16,104.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:105.2,106.16 2 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:106.16,108.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:109.2,109.141 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:112.110,115.87 2 6 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:115.87,117.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:119.2,126.16 4 5 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:126.16,128.3 1 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:129.2,130.16 2 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:130.16,132.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:134.2,142.16 3 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:142.16,144.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:145.2,146.16 2 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:146.16,148.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:149.2,150.55 2 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:153.69,158.16 4 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:158.16,160.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:162.2,167.16 2 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:167.16,169.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:171.2,171.29 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:171.29,172.63 1 4 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.63,174.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:175.3,175.29 1 4 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:175.29,177.4 1 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:179.2,179.21 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:182.147,184.16 2 10 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:184.16,186.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:188.2,191.16 4 9 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:191.16,193.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:195.2,196.16 2 8 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:196.16,198.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:199.2,202.16 3 8 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:202.16,204.3 1 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:205.2,206.16 2 6 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:206.16,208.3 1 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:210.2,212.72 3 4 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:212.72,214.17 2 4 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:214.17,216.4 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:216.9,216.23 1 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:216.23,218.4 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:219.3,219.13 1 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:221.2,221.16 1 4 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:221.16,223.3 1 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:225.2,227.16 3 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:227.16,229.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:230.2,230.29 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:233.69,235.2 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:237.117,239.2 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:241.50,243.16 2 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:243.16,246.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:247.2,247.32 1 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:250.48,252.2 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:254.69,260.16 3 13 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:260.16,262.3 1 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:262.8,262.46 1 11 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:262.46,264.3 1 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:266.2,266.63 1 9 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:266.63,268.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.2,269.38 1 8 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:272.103,274.16 2 8 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:274.16,276.3 1 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:277.2,278.16 2 6 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:278.16,280.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:281.2,288.8 1 6 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:291.68,293.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:32.37,33.41 1 33 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:33.41,35.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:36.2,36.51 1 32 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:36.51,38.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:39.2,41.16 3 31 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:41.16,43.3 1 6 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:44.2,44.20 1 25 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:47.52,54.107 6 31 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:54.107,55.52 1 6 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:55.52,57.4 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:59.2,60.8 2 30 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:60.8,62.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:64.2,64.66 1 29 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:64.66,66.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:68.2,68.98 1 29 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:68.98,70.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:70.8,70.62 1 28 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:70.62,72.3 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:74.2,74.12 1 25 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:77.86,78.79 1 6 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:78.79,80.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:81.2,90.16 3 5 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:90.16,92.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:93.2,93.43 1 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:96.57,99.16 3 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:99.16,101.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:102.2,103.16 2 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:103.16,105.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:106.2,107.16 2 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:107.16,109.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:110.2,110.141 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:113.110,116.87 2 6 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:116.87,118.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:120.2,127.16 4 5 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:127.16,129.3 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:130.2,131.16 2 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:131.16,133.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:135.2,143.16 3 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:143.16,145.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:146.2,147.16 2 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:147.16,149.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:150.2,151.55 2 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:154.69,159.16 4 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:159.16,161.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:163.2,168.16 2 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:168.16,170.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.2,172.29 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.29,173.63 1 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:173.63,175.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:176.3,176.29 1 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:176.29,178.4 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:180.2,180.21 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:183.147,185.16 2 10 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:185.16,187.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:189.2,192.16 4 9 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:192.16,194.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:196.2,197.16 2 8 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:197.16,199.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:200.2,203.16 3 8 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:203.16,205.3 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:206.2,207.16 2 6 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:207.16,209.3 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:211.2,213.72 3 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:213.72,215.17 2 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:215.17,217.4 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:217.9,217.23 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:217.23,219.4 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:220.3,220.13 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:222.2,222.16 1 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:222.16,224.3 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:226.2,228.16 3 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:228.16,230.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:231.2,231.29 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:234.69,236.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:238.117,240.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:242.50,244.16 2 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:244.16,247.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:248.2,248.32 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:251.48,253.2 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:255.69,263.16 3 13 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:263.16,265.3 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:265.8,265.46 1 11 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:265.46,267.3 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.2,269.123 1 9 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.123,271.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:272.2,272.103 1 8 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:275.103,277.16 2 8 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:277.16,279.3 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:280.2,281.16 2 6 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:281.16,283.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:284.2,291.8 1 6 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:294.68,296.2 1 1 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:22.65,24.2 1 31 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:26.63,27.53 1 24 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:27.53,29.3 1 15 @@ -16973,170 +19631,173 @@ github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/ro github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:194.2,194.16 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:194.16,196.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:197.2,197.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:200.100,204.61 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:204.61,206.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:207.2,208.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:208.28,210.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.2,211.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.16,213.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.2,214.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:217.87,221.28 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:221.28,223.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.2,224.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.16,226.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:227.2,227.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:230.83,238.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:238.33,239.82 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:239.82,241.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:200.96,204.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:204.16,206.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:206.8,206.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:206.38,208.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:209.2,211.24 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.24,213.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.2,214.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.16,216.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:217.2,217.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:220.100,224.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.61,226.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:227.2,228.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:228.28,230.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:231.2,231.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:231.16,233.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:234.2,234.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:237.87,241.28 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:241.28,243.4 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:244.2,244.16 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:244.16,246.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:246.8,246.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:246.50,248.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:249.2,249.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:252.89,260.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:260.33,261.88 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:261.88,263.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.2,266.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.16,268.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:268.8,268.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:268.50,270.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:271.2,271.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:274.68,281.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:281.33,282.87 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:282.87,284.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:287.2,287.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:287.16,289.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:289.8,289.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:289.50,291.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:292.2,292.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:295.74,302.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:302.33,303.93 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:303.93,305.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:308.2,308.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:308.16,310.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:310.8,310.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:310.50,312.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:313.2,313.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:316.91,320.61 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:320.61,322.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:323.2,324.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:324.28,326.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:327.2,327.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:327.16,329.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:330.2,330.41 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:333.137,335.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:335.16,337.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:339.2,347.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:347.33,348.80 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:348.80,350.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:353.2,353.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:353.16,355.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:355.8,355.27 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:355.27,357.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:357.8,357.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:357.32,360.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:361.2,361.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:364.110,368.66 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:368.66,370.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:371.2,381.59 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:381.59,385.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:385.8,385.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:385.23,387.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:389.2,395.89 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:395.89,398.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:400.2,400.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:400.16,402.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:402.8,402.27 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:402.27,404.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:404.8,404.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:404.32,407.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:408.2,408.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:411.147,419.88 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:419.88,422.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:424.2,424.59 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:247.2,247.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:250.83,258.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:258.33,259.82 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:259.82,261.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:264.2,264.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:264.16,266.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.8,266.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.50,268.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:269.2,269.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:272.89,280.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:280.33,281.88 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:281.88,283.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:286.2,286.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:286.16,288.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:288.8,288.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:288.50,290.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:291.2,291.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:294.68,301.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:301.33,302.87 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:302.87,304.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:307.2,307.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:307.16,309.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:309.8,309.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:309.50,311.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:312.2,312.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:315.91,319.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:319.61,321.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:322.2,323.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:323.28,325.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:326.2,326.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:326.16,328.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:329.2,329.41 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:332.137,334.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:334.16,336.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:338.2,346.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:346.33,347.80 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:347.80,349.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:352.2,352.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:352.16,354.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:354.8,354.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:354.27,356.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:356.8,356.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:356.32,359.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:360.2,360.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:363.110,367.66 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:367.66,369.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:370.2,380.59 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:380.59,384.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:384.8,384.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:384.23,386.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:388.2,394.89 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:394.89,397.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:399.2,399.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:399.16,401.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:401.8,401.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:401.27,403.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:403.8,403.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:403.32,406.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:407.2,407.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:410.147,424.59 6 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:424.59,427.3 2 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:427.8,427.23 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:427.23,429.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:429.8,429.27 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:429.27,431.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.8,431.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.32,434.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:435.2,435.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:438.90,443.61 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:443.61,445.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:447.2,448.24 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:448.24,450.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:453.91,458.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.2,437.88 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:437.88,440.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:442.2,442.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:442.16,444.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:444.8,444.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:444.27,446.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:446.8,446.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:446.32,449.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:450.2,450.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:453.90,458.61 4 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:458.61,460.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:462.2,463.24 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:463.24,465.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:468.145,479.15 5 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:479.15,480.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:480.25,481.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:481.63,483.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:486.2,486.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:486.38,488.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:490.2,490.22 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:490.22,500.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.2,501.40 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.40,503.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.2,505.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:508.168,518.15 5 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:518.15,519.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:519.25,520.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:520.63,522.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:525.2,525.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:525.38,527.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:529.2,529.22 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:529.22,536.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:537.2,537.40 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:537.40,539.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.2,540.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:543.158,552.33 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.33,553.77 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:553.77,555.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.2,558.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.16,560.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:560.8,560.76 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:560.76,562.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:564.2,565.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:565.16,567.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:568.2,568.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:572.86,577.59 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:577.59,579.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:581.2,581.110 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:581.110,583.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:583.8,585.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:586.2,586.126 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:586.126,588.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:589.2,589.133 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:589.133,591.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:593.2,593.84 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:593.84,595.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.2,596.103 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.103,598.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:599.2,599.96 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:599.96,601.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:602.2,602.94 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:602.94,604.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:606.2,606.92 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:606.92,608.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:610.2,623.25 14 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:627.90,631.60 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:631.60,633.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:635.2,635.85 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:635.85,637.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:638.2,638.89 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:638.89,640.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:641.2,641.97 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:641.97,643.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:645.2,645.127 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:645.127,647.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:648.2,648.119 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:648.119,650.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:651.2,651.124 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:651.124,653.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:655.2,670.25 16 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:468.91,473.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:473.61,475.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:477.2,478.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:478.24,480.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:483.145,494.15 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:494.15,495.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:495.25,496.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:496.63,498.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.2,501.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.38,503.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.2,505.22 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.22,515.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:516.2,516.40 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:516.40,518.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:520.2,520.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:523.168,533.15 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:533.15,534.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:534.25,535.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:535.63,537.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.2,540.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.38,542.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:544.2,544.22 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:544.22,551.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.2,552.40 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.40,554.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:555.2,555.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.158,567.33 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:567.33,568.77 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:568.77,570.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:573.2,573.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:573.16,575.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:575.8,575.76 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:575.76,577.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:579.2,580.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:580.16,582.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:583.2,583.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:587.86,592.59 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:592.59,594.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.2,596.110 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.110,598.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:598.8,600.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:601.2,601.126 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:601.126,603.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:604.2,604.133 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:604.133,606.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:608.2,608.84 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:608.84,610.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:611.2,611.103 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:611.103,613.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:614.2,614.96 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:614.96,616.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:617.2,617.94 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:617.94,619.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:621.2,621.92 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:621.92,623.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:625.2,638.25 14 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:642.90,646.60 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:646.60,648.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:650.2,650.85 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:650.85,652.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:653.2,653.89 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:653.89,655.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:656.2,656.97 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:656.97,658.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:660.2,660.127 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:660.127,662.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:663.2,663.119 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:663.119,665.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:666.2,666.124 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:666.124,668.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:670.2,685.25 16 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:25.97,27.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:29.98,33.59 3 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:33.59,35.3 1 0 @@ -17430,27 +20091,27 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/roots github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:61.107,63.19 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:63.19,65.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:66.2,66.75 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:52.77,54.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:56.78,58.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:60.58,61.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.50,63.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:63.8,65.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:68.58,71.38 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:71.38,72.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.23,74.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:76.2,76.17 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:79.82,81.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:81.33,83.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:84.2,85.56 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.56,88.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.2,89.17 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.17,91.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:91.8,93.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:53.77,55.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:57.78,59.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.58,62.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:62.50,64.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:64.8,66.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:69.58,72.38 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.38,73.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:73.23,75.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:77.2,77.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:80.82,82.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:82.33,84.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.2,86.56 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:86.56,89.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.2,90.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.17,92.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:92.8,94.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:25.64,33.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:35.64,43.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:45.53,54.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:56.55,67.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,74.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,75.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:23.38,24.11 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:25.51,26.14 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:27.10,28.15 1 0 @@ -17459,16 +20120,16 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provid github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:40.57,42.28 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:42.28,44.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:44.8,46.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:60.49,62.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:64.43,66.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:68.48,69.24 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:69.24,71.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:72.2,72.26 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:72.26,74.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:75.2,75.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:75.25,77.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:78.2,83.14 6 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:102.102,104.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:61.49,63.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:65.43,67.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:69.48,70.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:70.24,72.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:73.2,73.26 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:73.26,75.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:76.2,76.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:76.25,78.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:79.2,84.14 6 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:103.102,105.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:68.50,70.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:72.44,74.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:76.108,78.2 1 0 @@ -17507,6 +20168,7 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:21 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.2,24.37 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.37,26.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:27.2,27.19 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:30.61,33.2 2 9 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:20.78,21.29 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:21.29,22.40 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:22.40,24.4 1 0 @@ -17537,33 +20199,36 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords. github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:9.36,11.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:11.16,13.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:14.2,14.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:17.58,21.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:21.16,23.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:24.2,24.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:79.31,81.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:83.44,85.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:87.39,88.55 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:88.55,90.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:90.8,92.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:95.59,97.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:99.79,100.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:100.20,102.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:102.8,104.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:112.176,116.27 4 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:116.27,121.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:123.2,126.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:126.16,128.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:129.2,132.8 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:135.108,140.70 4 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:140.70,142.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.2,143.35 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.35,147.3 3 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:148.2,148.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:156.31,158.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:158.16,160.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:161.2,163.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:163.16,165.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:166.2,171.26 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:18.31,20.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:20.16,21.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:23.2,23.15 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:26.58,30.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:30.16,32.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:33.2,33.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:82.31,84.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:86.44,88.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:90.39,91.55 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:91.55,93.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:93.8,95.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:98.59,100.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:102.79,103.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:103.20,105.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:105.8,107.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:115.176,119.27 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:119.27,124.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:126.2,129.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:129.16,131.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:132.2,135.8 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:138.108,143.70 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.70,145.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:146.2,146.35 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:146.35,150.3 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:151.2,151.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:159.31,161.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:161.16,163.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:164.2,166.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:166.16,168.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:169.2,174.26 2 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:20.103,22.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:35.69,41.38 5 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:41.38,44.3 2 0 @@ -17594,62 +20259,68 @@ github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/ev github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/event.go:82.9,84.3 1 1 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/event.go:85.2,85.37 1 2 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/event.go:85.37,87.3 1 9 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:38.27,48.2 1 27 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:50.55,52.2 1 12 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:38.27,48.2 1 35 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:50.55,52.2 1 21 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:54.55,56.2 1 1 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:58.79,62.16 3 3 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:62.16,64.3 1 1 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:66.2,69.16 4 2 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:69.16,71.3 1 1 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:72.2,73.48 2 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:76.114,80.16 4 5 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:80.16,82.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:83.2,87.16 3 4 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:87.16,89.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:90.2,90.39 1 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:90.39,92.3 1 9 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:93.2,95.52 3 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:95.52,97.3 1 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:97.8,102.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:105.113,110.16 5 6 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:110.16,112.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:113.2,114.16 2 5 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:114.16,116.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:117.2,120.16 4 4 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:120.16,122.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:123.2,123.44 1 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:123.44,125.3 1 9 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:126.2,127.16 2 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:127.16,129.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:130.2,130.45 1 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:130.45,132.3 1 6 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:133.2,135.52 3 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:135.52,137.3 1 2 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:137.8,143.3 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:146.117,147.135 1 5 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:147.135,149.3 1 5 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:150.2,150.16 1 5 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:150.16,152.3 1 4 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:153.2,153.28 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:156.115,157.133 1 5 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:157.133,159.3 1 5 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:160.2,160.16 1 5 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:160.16,162.3 1 4 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:163.2,163.28 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:166.113,167.131 1 5 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:167.131,169.3 1 5 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:170.2,170.16 1 5 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:170.16,172.3 1 4 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:173.2,173.28 1 1 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:180.32,182.16 2 15 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:182.16,185.3 2 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:186.2,186.26 1 12 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:186.26,189.3 2 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:190.2,190.70 1 9 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:190.70,193.3 2 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:194.2,194.70 1 6 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:194.70,197.3 2 3 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:198.2,198.27 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:76.114,79.16 3 5 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:79.16,81.3 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:82.2,82.52 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:82.52,84.3 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:84.8,89.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:92.104,95.16 3 8 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:95.16,97.3 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:98.2,102.16 3 6 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:102.16,104.3 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:105.2,105.39 1 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:105.39,107.3 1 12 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:108.2,110.32 3 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:113.113,116.16 3 6 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:116.16,118.3 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:119.2,119.52 1 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:119.52,121.3 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:121.8,127.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:130.103,134.16 4 11 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:134.16,136.3 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:137.2,138.16 2 9 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:138.16,140.3 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:141.2,144.16 4 7 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:144.16,146.3 1 2 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:147.2,147.44 1 5 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:147.44,149.3 1 13 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:151.2,152.16 2 5 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:152.16,154.3 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:155.2,155.45 1 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:155.45,157.3 1 8 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:158.2,159.63 2 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:162.117,163.135 1 5 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:163.135,165.3 1 5 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:166.2,166.16 1 5 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:166.16,168.3 1 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:169.2,169.28 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:172.115,173.133 1 5 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:173.133,175.3 1 5 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:176.2,176.16 1 5 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:176.16,178.3 1 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:179.2,179.28 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:182.113,183.131 1 5 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:183.131,185.3 1 5 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:186.2,186.16 1 5 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:186.16,188.3 1 4 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:189.2,189.28 1 1 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:196.32,198.16 2 15 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:198.16,201.3 2 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:202.2,202.26 1 12 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:202.26,205.3 2 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:206.2,206.70 1 9 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:206.70,209.3 2 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:210.2,210.70 1 6 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:210.70,213.3 2 3 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/liquidity_provider.go:214.2,214.27 1 3 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:38.28,46.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:48.108,50.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go:50.16,52.3 1 0 @@ -17743,98 +20414,98 @@ github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bi github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:39.64,41.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:41.16,43.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/connection.go:44.2,44.19 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:31.37,32.41 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:32.41,34.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:35.2,35.51 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:35.51,37.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:38.2,40.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:40.16,42.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:43.2,43.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:46.52,53.107 6 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:53.107,54.52 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:54.52,56.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:58.2,59.8 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:59.8,61.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:63.2,63.66 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:63.66,65.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:67.2,67.98 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:67.98,69.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:69.8,69.62 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:69.62,71.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:73.2,73.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:76.86,77.79 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:77.79,79.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:80.2,89.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:89.16,91.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:92.2,92.43 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:95.57,98.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:98.16,100.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:101.2,102.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:102.16,104.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:105.2,106.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:106.16,108.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:109.2,109.141 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:112.110,115.87 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:115.87,117.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:119.2,126.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:126.16,128.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:129.2,130.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:130.16,132.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:134.2,142.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:142.16,144.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:145.2,146.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:146.16,148.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:149.2,150.55 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:153.69,158.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:158.16,160.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:162.2,167.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:167.16,169.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:171.2,171.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:171.29,172.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.63,174.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:175.3,175.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:175.29,177.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:179.2,179.21 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:182.147,184.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:184.16,186.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:188.2,191.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:191.16,193.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:195.2,196.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:196.16,198.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:199.2,202.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:202.16,204.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:205.2,206.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:206.16,208.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:210.2,212.72 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:212.72,214.17 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:214.17,216.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:216.9,216.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:216.23,218.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:219.3,219.13 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:221.2,221.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:221.16,223.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:225.2,227.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:227.16,229.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:230.2,230.29 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:233.69,235.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:237.117,239.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:241.50,243.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:243.16,246.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:247.2,247.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:250.48,252.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:254.69,260.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:260.16,262.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:262.8,262.46 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:262.46,264.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:266.2,266.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:266.63,268.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.2,269.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:272.103,274.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:274.16,276.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:277.2,278.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:278.16,280.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:281.2,288.8 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:291.68,293.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:32.37,33.41 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:33.41,35.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:36.2,36.51 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:36.51,38.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:39.2,41.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:41.16,43.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:44.2,44.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:47.52,54.107 6 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:54.107,55.52 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:55.52,57.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:59.2,60.8 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:60.8,62.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:64.2,64.66 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:64.66,66.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:68.2,68.98 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:68.98,70.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:70.8,70.62 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:70.62,72.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:74.2,74.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:77.86,78.79 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:78.79,80.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:81.2,90.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:90.16,92.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:93.2,93.43 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:96.57,99.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:99.16,101.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:102.2,103.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:103.16,105.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:106.2,107.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:107.16,109.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:110.2,110.141 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:113.110,116.87 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:116.87,118.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:120.2,127.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:127.16,129.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:130.2,131.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:131.16,133.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:135.2,143.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:143.16,145.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:146.2,147.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:147.16,149.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:150.2,151.55 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:154.69,159.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:159.16,161.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:163.2,168.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:168.16,170.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.2,172.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:172.29,173.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:173.63,175.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:176.3,176.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:176.29,178.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:180.2,180.21 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:183.147,185.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:185.16,187.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:189.2,192.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:192.16,194.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:196.2,197.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:197.16,199.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:200.2,203.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:203.16,205.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:206.2,207.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:207.16,209.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:211.2,213.72 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:213.72,215.17 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:215.17,217.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:217.9,217.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:217.23,219.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:220.3,220.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:222.2,222.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:222.16,224.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:226.2,228.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:228.16,230.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:231.2,231.29 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:234.69,236.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:238.117,240.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:242.50,244.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:244.16,247.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:248.2,248.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:251.48,253.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:255.69,263.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:263.16,265.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:265.8,265.46 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:265.46,267.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.2,269.123 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:269.123,271.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:272.2,272.103 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:275.103,277.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:277.16,279.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:280.2,281.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:281.16,283.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:284.2,291.8 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/derivative_wallet.go:294.68,296.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:22.65,24.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:26.63,27.53 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin/rpc.go:27.53,29.3 1 0 @@ -18238,170 +20909,173 @@ github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/ro github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:194.2,194.16 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:194.16,196.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:197.2,197.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:200.100,204.61 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:204.61,206.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:207.2,208.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:208.28,210.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.2,211.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.16,213.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.2,214.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:217.87,221.28 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:221.28,223.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.2,224.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.16,226.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:227.2,227.44 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:230.83,238.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:238.33,239.82 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:239.82,241.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:200.96,204.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:204.16,206.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:206.8,206.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:206.38,208.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:209.2,211.24 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:211.24,213.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.2,214.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:214.16,216.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:217.2,217.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:220.100,224.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:224.61,226.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:227.2,228.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:228.28,230.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:231.2,231.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:231.16,233.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:234.2,234.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:237.87,241.28 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:241.28,243.4 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:244.2,244.16 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:244.16,246.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:246.8,246.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:246.50,248.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:249.2,249.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:252.89,260.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:260.33,261.88 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:261.88,263.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.2,266.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.16,268.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:268.8,268.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:268.50,270.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:271.2,271.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:274.68,281.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:281.33,282.87 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:282.87,284.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:287.2,287.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:287.16,289.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:289.8,289.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:289.50,291.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:292.2,292.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:295.74,302.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:302.33,303.93 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:303.93,305.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:308.2,308.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:308.16,310.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:310.8,310.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:310.50,312.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:313.2,313.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:316.91,320.61 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:320.61,322.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:323.2,324.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:324.28,326.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:327.2,327.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:327.16,329.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:330.2,330.41 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:333.137,335.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:335.16,337.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:339.2,347.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:347.33,348.80 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:348.80,350.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:353.2,353.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:353.16,355.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:355.8,355.27 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:355.27,357.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:357.8,357.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:357.32,360.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:361.2,361.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:364.110,368.66 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:368.66,370.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:371.2,381.59 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:381.59,385.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:385.8,385.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:385.23,387.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:389.2,395.89 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:395.89,398.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:400.2,400.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:400.16,402.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:402.8,402.27 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:402.27,404.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:404.8,404.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:404.32,407.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:408.2,408.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:411.147,419.88 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:419.88,422.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:424.2,424.59 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:247.2,247.44 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:250.83,258.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:258.33,259.82 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:259.82,261.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:264.2,264.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:264.16,266.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.8,266.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:266.50,268.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:269.2,269.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:272.89,280.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:280.33,281.88 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:281.88,283.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:286.2,286.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:286.16,288.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:288.8,288.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:288.50,290.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:291.2,291.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:294.68,301.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:301.33,302.87 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:302.87,304.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:307.2,307.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:307.16,309.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:309.8,309.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:309.50,311.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:312.2,312.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:315.91,319.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:319.61,321.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:322.2,323.28 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:323.28,325.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:326.2,326.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:326.16,328.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:329.2,329.41 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:332.137,334.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:334.16,336.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:338.2,346.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:346.33,347.80 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:347.80,349.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:352.2,352.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:352.16,354.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:354.8,354.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:354.27,356.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:356.8,356.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:356.32,359.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:360.2,360.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:363.110,367.66 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:367.66,369.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:370.2,380.59 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:380.59,384.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:384.8,384.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:384.23,386.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:388.2,394.89 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:394.89,397.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:399.2,399.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:399.16,401.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:401.8,401.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:401.27,403.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:403.8,403.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:403.32,406.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:407.2,407.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:410.147,424.59 6 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:424.59,427.3 2 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:427.8,427.23 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:427.23,429.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:429.8,429.27 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:429.27,431.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.8,431.32 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.32,434.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:435.2,435.37 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:438.90,443.61 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:443.61,445.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:447.2,448.24 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:448.24,450.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:453.91,458.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:431.2,437.88 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:437.88,440.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:442.2,442.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:442.16,444.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:444.8,444.27 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:444.27,446.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:446.8,446.32 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:446.32,449.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:450.2,450.37 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:453.90,458.61 4 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:458.61,460.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:462.2,463.24 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:463.24,465.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:468.145,479.15 5 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:479.15,480.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:480.25,481.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:481.63,483.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:486.2,486.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:486.38,488.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:490.2,490.22 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:490.22,500.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.2,501.40 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.40,503.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.2,505.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:508.168,518.15 5 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:518.15,519.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:519.25,520.63 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:520.63,522.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:525.2,525.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:525.38,527.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:529.2,529.22 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:529.22,536.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:537.2,537.40 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:537.40,539.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.2,540.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:543.158,552.33 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.33,553.77 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:553.77,555.5 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.2,558.16 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.16,560.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:560.8,560.76 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:560.76,562.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:564.2,565.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:565.16,567.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:568.2,568.38 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:572.86,577.59 4 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:577.59,579.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:581.2,581.110 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:581.110,583.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:583.8,585.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:586.2,586.126 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:586.126,588.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:589.2,589.133 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:589.133,591.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:593.2,593.84 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:593.84,595.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.2,596.103 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.103,598.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:599.2,599.96 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:599.96,601.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:602.2,602.94 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:602.94,604.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:606.2,606.92 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:606.92,608.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:610.2,623.25 14 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:627.90,631.60 3 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:631.60,633.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:635.2,635.85 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:635.85,637.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:638.2,638.89 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:638.89,640.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:641.2,641.97 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:641.97,643.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:645.2,645.127 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:645.127,647.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:648.2,648.119 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:648.119,650.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:651.2,651.124 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:651.124,653.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:655.2,670.25 16 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:468.91,473.61 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:473.61,475.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:477.2,478.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:478.24,480.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:483.145,494.15 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:494.15,495.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:495.25,496.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:496.63,498.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.2,501.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:501.38,503.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.2,505.22 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:505.22,515.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:516.2,516.40 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:516.40,518.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:520.2,520.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:523.168,533.15 5 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:533.15,534.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:534.25,535.63 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:535.63,537.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.2,540.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:540.38,542.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:544.2,544.22 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:544.22,551.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.2,552.40 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:552.40,554.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:555.2,555.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:558.158,567.33 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:567.33,568.77 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:568.77,570.5 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:573.2,573.16 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:573.16,575.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:575.8,575.76 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:575.76,577.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:579.2,580.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:580.16,582.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:583.2,583.38 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:587.86,592.59 4 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:592.59,594.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.2,596.110 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:596.110,598.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:598.8,600.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:601.2,601.126 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:601.126,603.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:604.2,604.133 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:604.133,606.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:608.2,608.84 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:608.84,610.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:611.2,611.103 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:611.103,613.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:614.2,614.96 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:614.96,616.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:617.2,617.94 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:617.94,619.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:621.2,621.92 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:621.92,623.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:625.2,638.25 14 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:642.90,646.60 3 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:646.60,648.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:650.2,650.85 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:650.85,652.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:653.2,653.89 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:653.89,655.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:656.2,656.97 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:656.97,658.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:660.2,660.127 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:660.127,662.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:663.2,663.119 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:663.119,665.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:666.2,666.124 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:666.124,668.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/lbc.go:670.2,685.25 16 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:25.97,27.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:29.98,33.59 3 0 github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock/rpc.go:33.59,35.3 1 0 @@ -18646,17 +21320,17 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/common.go:57.2,5 github.com/rsksmart/liquidity-provider-server/internal/entities/event.go:20.41,22.2 1 3 github.com/rsksmart/liquidity-provider-server/internal/entities/event.go:24.33,26.2 1 3 github.com/rsksmart/liquidity-provider-server/internal/entities/event.go:28.50,30.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:20.27,24.2 3 137 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:20.27,24.2 3 157 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:26.29,30.2 3 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:32.33,36.2 3 8 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:38.34,43.2 4 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:45.27,47.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:49.31,51.2 1 6 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:53.36,55.2 1 308 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:53.36,55.2 1 377 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:57.31,59.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:61.35,63.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:65.38,67.2 1 8 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:69.31,71.2 1 8 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:65.38,67.2 1 11 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:69.31,71.2 1 12 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:73.45,74.14 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:74.14,76.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:77.2,77.35 1 0 @@ -18674,8 +21348,8 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:108.64,11 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:111.2,112.69 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:112.69,114.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:115.2,116.12 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:119.35,122.2 2 28 -github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:124.35,127.2 2 8 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:119.35,122.2 2 40 +github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:124.35,127.2 2 10 github.com/rsksmart/liquidity-provider-server/internal/entities/wei.go:129.35,132.2 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:34.49,36.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/bitcoin.go:38.35,40.2 1 0 @@ -18695,27 +21369,27 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/roots github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:61.107,63.19 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:63.19,65.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain/rootstock.go:66.2,66.75 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:52.77,54.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:56.78,58.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:60.58,61.50 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.50,63.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:63.8,65.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:68.58,71.38 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:71.38,72.23 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.23,74.4 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:76.2,76.17 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:79.82,81.33 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:81.33,83.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:84.2,85.56 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.56,88.3 2 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.2,89.17 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:89.17,91.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:91.8,93.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:53.77,55.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:57.78,59.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:61.58,62.50 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:62.50,64.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:64.8,66.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:69.58,72.38 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:72.38,73.23 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:73.23,75.4 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:77.2,77.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:80.82,82.33 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:82.33,84.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:85.2,86.56 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:86.56,89.3 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.2,90.17 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:90.17,92.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/configuration.go:92.8,94.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:25.64,33.2 1 9 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:35.64,43.2 1 9 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:45.53,54.2 1 9 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:56.55,67.2 1 9 -github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,74.2 1 9 +github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/default.go:69.57,75.2 1 9 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:23.38,24.11 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:25.51,26.14 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:27.10,28.15 1 0 @@ -18724,16 +21398,16 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provid github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:40.57,42.28 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:42.28,44.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider/liquidity_provider.go:44.8,46.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:60.49,62.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:64.43,66.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:68.48,69.24 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:69.24,71.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:72.2,72.26 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:72.26,74.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:75.2,75.25 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:75.25,77.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:78.2,83.14 6 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:102.102,104.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:61.49,63.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:65.43,67.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:69.48,70.24 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:70.24,72.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:73.2,73.26 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:73.26,75.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:76.2,76.25 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:76.25,78.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:79.2,84.14 6 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegin_quote.go:103.102,105.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:68.50,70.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:72.44,74.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/quote/pegout_quote.go:76.108,78.2 1 0 @@ -18772,6 +21446,7 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:21 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.2,24.37 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:24.37,26.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:27.2,27.19 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/math.go:30.61,33.2 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:20.78,21.29 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:21.29,22.40 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords.go:22.40,24.4 1 0 @@ -18802,33 +21477,36 @@ github.com/rsksmart/liquidity-provider-server/internal/entities/utils/passwords. github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:9.36,11.16 2 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:11.16,13.3 1 0 github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:14.2,14.28 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:17.58,21.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:21.16,23.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:24.2,24.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:79.31,81.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:83.44,85.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:87.39,88.55 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:88.55,90.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:90.8,92.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:95.59,97.2 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:99.79,100.20 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:100.20,102.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:102.8,104.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:112.176,116.27 4 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:116.27,121.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:123.2,126.16 4 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:126.16,128.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:129.2,132.8 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:135.108,140.70 4 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:140.70,142.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.2,143.35 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.35,147.3 3 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:148.2,148.12 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:156.31,158.16 2 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:158.16,160.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:161.2,163.16 3 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:163.16,165.3 1 0 -github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:166.2,171.26 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:18.31,20.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:20.16,21.13 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:23.2,23.15 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:26.58,30.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:30.16,32.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/entities/utils/random.go:33.2,33.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:82.31,84.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:86.44,88.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:90.39,91.55 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:91.55,93.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:93.8,95.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:98.59,100.2 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:102.79,103.20 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:103.20,105.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:105.8,107.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:115.176,119.27 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:119.27,124.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:126.2,129.16 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:129.16,131.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:132.2,135.8 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:138.108,143.70 4 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:143.70,145.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:146.2,146.35 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:146.35,150.3 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:151.2,151.12 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:159.31,161.16 2 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:161.16,163.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:164.2,166.16 3 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:166.16,168.3 1 0 +github.com/rsksmart/liquidity-provider-server/internal/usecases/common.go:169.2,174.26 2 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:20.103,22.2 1 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:35.69,41.38 5 0 github.com/rsksmart/liquidity-provider-server/internal/usecases/health.go:41.38,44.3 2 0 diff --git a/docker-compose/local/gh-action-env.sh b/docker-compose/local/gh-action-env.sh new file mode 100755 index 00000000..084469c9 --- /dev/null +++ b/docker-compose/local/gh-action-env.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +TOKEN=$1 +sed -i "s/GITHUB_TOKEN=/GITHUB_TOKEN=$TOKEN/g" ../../sample-config.env +sed -i 's/ENABLE_MANAGEMENT_API=false/ENABLE_MANAGEMENT_API=true/g' ../../sample-config.env \ No newline at end of file diff --git a/docker-compose/local/lps-env.sh b/docker-compose/local/lps-env.sh index a7adeba0..34b8ec80 100755 --- a/docker-compose/local/lps-env.sh +++ b/docker-compose/local/lps-env.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -e @@ -34,35 +34,35 @@ elif [ "$SCRIPT_CMD" = "up" ]; then echo "Starting LPS env up..." elif [ "$SCRIPT_CMD" = "down" ]; then echo "Shutting LPS env down..." - docker-compose --env-file "$ENV_FILE" -f docker-compose.yml -f docker-compose.lps.yml down + docker compose --env-file "$ENV_FILE" -f docker-compose.yml -f docker-compose.lps.yml down exit 0 elif [ "$SCRIPT_CMD" = "build" ]; then echo "Building LPS env..." - docker-compose --env-file "$ENV_FILE" -f docker-compose.yml -f docker-compose.lbc-deployer.yml -f docker-compose.lps.yml build + docker compose --env-file "$ENV_FILE" -f docker-compose.yml -f docker-compose.lbc-deployer.yml -f docker-compose.lps.yml build exit 0 elif [ "$SCRIPT_CMD" = "stop" ]; then echo "Stopping LPS env..." - docker-compose --env-file "$ENV_FILE" -f docker-compose.yml -f docker-compose.lps.yml stop + docker compose --env-file "$ENV_FILE" -f docker-compose.yml -f docker-compose.lps.yml stop exit 0 elif [ "$SCRIPT_CMD" = "ps" ]; then echo "List of running services:" - docker-compose --env-file "$ENV_FILE" -f docker-compose.yml -f docker-compose.lps.yml ps + docker compose --env-file "$ENV_FILE" -f docker-compose.yml -f docker-compose.lps.yml ps exit 0 elif [ "$SCRIPT_CMD" = "deploy" ]; then echo "Stopping LPS..." - docker-compose --env-file "$ENV_FILE" -f docker-compose.yml -f docker-compose.lps.yml stop lps + docker compose --env-file "$ENV_FILE" -f docker-compose.yml -f docker-compose.lps.yml stop lps echo "Building LPS..." - docker-compose --env-file "$ENV_FILE" -f docker-compose.yml -f docker-compose.lps.yml build lps + docker compose --env-file "$ENV_FILE" -f docker-compose.yml -f docker-compose.lps.yml build lps echo "Starting LPS..." - docker-compose --env-file "$ENV_FILE" -f docker-compose.yml -f docker-compose.lps.yml start lps + docker compose --env-file "$ENV_FILE" -f docker-compose.yml -f docker-compose.lps.yml start lps exit 0 elif [ "$SCRIPT_CMD" = "import-rsk-db" ]; then echo "Importing rsk db..." - docker-compose --env-file "$ENV_FILE" run -d rskj java -Xmx6g -Drpc.providers.web.http.bind_address=0.0.0.0 -Drpc.providers.web.http.hosts.0=localhost -Drpc.providers.web.http.hosts.1=rskj -cp rskj-core.jar co.rsk.Start --${LPS_STAGE} --import + docker compose --env-file "$ENV_FILE" run -d rskj java -Xmx6g -Drpc.providers.web.http.bind_address=0.0.0.0 -Drpc.providers.web.http.hosts.0=localhost -Drpc.providers.web.http.hosts.1=rskj -cp rskj-core.jar co.rsk.Start --${LPS_STAGE} --import exit 0 elif [ "$SCRIPT_CMD" = "start-bitcoind" ]; then echo "Starting bitcoind..." - docker-compose --env-file "$ENV_FILE" -f docker-compose.yml up -d bitcoind + docker compose --env-file "$ENV_FILE" -f docker-compose.yml up -d bitcoind exit 0 else echo "Invalid command: $SCRIPT_CMD" @@ -70,22 +70,25 @@ else fi BTCD_HOME="${BTCD_HOME:-./volumes/bitcoind}" -POWPEG_PEGIN_HOME="${POWPEG_PEGIN_HOME_:-./volumes/powpeg/pegin}" -POWPEG_PEGOUT_HOME="${POWPEG_PEGOUT_HOME_:-./volumes/powpeg/pegout}" +POWPEG_PEGIN_HOME="${POWPEG_PEGIN_HOME:-./volumes/powpeg/pegin}" +POWPEG_PEGOUT_HOME="${POWPEG_PEGOUT_HOME:-./volumes/powpeg/pegout}" RSKJ_HOME="${RSKJ_HOME:-./volumes/rskj}" LPS_HOME="${LPS_HOME:-./volumes/lps}" MONGO_HOME="${MONGO_HOME:-./volumes/mongo}" +LOCALSTACK_HOME="${LOCALSTACK_HOME:-./volumes/localstack}" [ -d "$BTCD_HOME" ] || mkdir -p "$BTCD_HOME" && chown "$LPS_UID" "$BTCD_HOME" [ -d "$RSKJ_HOME" ] || mkdir -p "$RSKJ_HOME/db" && mkdir -p "$RSKJ_HOME/logs" && chown -R "$LPS_UID" "$RSKJ_HOME" -[ -d "$LPS_HOME" ] || mkdir -p "$LPS_HOME/db" && mkdir -p "$LPS_HOME/logs" && chown -R "$LPS_UID" "$LPS_HOME" +[ -d "$POWPEG_PEGIN_HOME" ] || mkdir -p "$POWPEG_PEGIN_HOME/db" && mkdir -p "$POWPEG_PEGIN_HOME/logs" && chown -R "$LPS_UID" "$POWPEG_PEGIN_HOME" && chmod -R 777 "$POWPEG_PEGIN_HOME" +[ -d "$POWPEG_PEGOUT_HOME" ] || mkdir -p "$POWPEG_PEGOUT_HOME/db" && mkdir -p "$POWPEG_PEGOUT_HOME/logs" && chown -R "$LPS_UID" "$POWPEG_PEGOUT_HOME" && chmod -R 777 "$POWPEG_PEGOUT_HOME" +[ -d "$LPS_HOME" ] || mkdir -p "$LPS_HOME/logs" && chmod -R 777 "$LPS_HOME" [ -d "$MONGO_HOME" ] || mkdir -p "$MONGO_HOME/db" && chown -R "$LPS_UID" "$MONGO_HOME" -[ -d "$LOCALSTACK_HOME" ] || mkdir -p "$LOCALSTACK_HOME/db" && chown -R "$LPS_UID" "$LOCALSTACK_HOME" +[ -d "$LOCALSTACK_HOME" ] || mkdir -p "$LOCALSTACK_HOME/db" && mkdir -p "$LOCALSTACK_HOME/logs" && chown -R "$LPS_UID" "$LOCALSTACK_HOME" -echo "LPS_UID: $LPS_UID; BTCD_HOME: '$BTCD_HOME'; RSKJ_HOME: '$RSKJ_HOME'; LPS_HOME: '$LPS_HOME'; MONGO_HOME: '$MONGO_HOME'" +echo "LPS_UID: $LPS_UID; BTCD_HOME: '$BTCD_HOME'; RSKJ_HOME: '$RSKJ_HOME'; LPS_HOME: '$LPS_HOME'; MONGO_HOME: '$MONGO_HOME'; POWPEG_PEGIN_HOME: '$POWPEG_PEGIN_HOME'; POWPEG_PEGOUT_HOME: '$POWPEG_PEGOUT_HOME'; LOCALSTACK_HOME: '$LOCALSTACK_HOME'" # start bitcoind and RSKJ dependant services -docker-compose --env-file "$ENV_FILE" up -d bitcoind rskj mongodb localstack +docker compose --env-file "$ENV_FILE" up -d bitcoind rskj mongodb localstack # read env vars . ./"$ENV_FILE" @@ -114,50 +117,174 @@ curl -s "http://127.0.0.1:5555" --user "$BTC_USERNAME:$BTC_PASSWORD" -H "Content && curl -s "http://127.0.0.1:5555" --user "$BTC_USERNAME:$BTC_PASSWORD" -H "Content-Type: application/json" -d '{"jsonrpc": "1.0", "method": "createwallet", "params": ["main", false, false, "test-password", true, false, true], "id":"createwallet"}' \ && curl -s "http://127.0.0.1:5555" --user "$BTC_USERNAME:$BTC_PASSWORD" -H "Content-Type: application/json" -d '{"jsonrpc": "1.0", "method": "getnewaddress", "params": ["main"], "id":"getnewaddress"}' \ | jq .result | xargs -I ADDRESS curl -s "http://127.0.0.1:5555" --user "$BTC_USERNAME:$BTC_PASSWORD" -H "Content-Type: application/json" -d '{"jsonrpc": "1.0", "method": "generatetoaddress", "params": [500, "ADDRESS"], "id":"generatetoaddress"}' \ - && echo "Wallet created and generated 500 blocks" + && echo "Wallet created and generated 500 blocks" \ + && curl -s "http://127.0.0.1:5555" --user "$BTC_USERNAME:$BTC_PASSWORD" -H "Content-Type: application/json" -d '{"jsonrpc": "1.0", "method": "createwallet", "params": ["rsk-wallet", true, true, "", false, false, true], "id":"createwallet"}' \ + && curl -s "http://127.0.0.1:5555/wallet/rsk-wallet" --user "$BTC_USERNAME:$BTC_PASSWORD" -H "Content-Type: application/json" -d '{"jsonrpc": "1.0", "method": "importpubkey", "params": ["0232858a5faa413101831afe7a880da9a8ac4de6bd5e25b4358d762ba450b03c22", "", false], "id":"importpubkey"}' \ + && curl -s "http://127.0.0.1:5555/wallet/rsk-wallet" --user "$BTC_USERNAME:$BTC_PASSWORD" -H "Content-Type: application/json" -d '{"jsonrpc": "1.0", "method": "importaddress", "params": ["n1jGDaxCW6jemLZyd9wmDHddseZwEMV9C6", "", false], "id":"importaddress"}' \ + && curl -s "http://127.0.0.1:5555/wallet/main" --user "$BTC_USERNAME:$BTC_PASSWORD" -H "Content-Type: application/json" -d '{"jsonrpc": "1.0", "method": "walletpassphrase", "params": ["test-password", 30000], "id":"walletpassphrase"}' \ + && curl -s "http://127.0.0.1:5555/wallet/main" --user "$BTC_USERNAME:$BTC_PASSWORD" -H "Content-Type: application/json" -d '{"jsonrpc": "1.0", "method": "sendtoaddress", "params": { "amount": 5, "fee_rate": 25, "address": "n1jGDaxCW6jemLZyd9wmDHddseZwEMV9C6" }, "id":"sendtoaddress"}' \ + && curl -s "http://127.0.0.1:5555/wallet/main" --user "$BTC_USERNAME:$BTC_PASSWORD" -H "Content-Type: application/json" -d '{"jsonrpc": "1.0", "method": "getnewaddress", "params": ["main"], "id":"getnewaddress"}' \ + | jq .result | xargs -I ADDRESS curl -s "http://127.0.0.1:5555" --user "$BTC_USERNAME:$BTC_PASSWORD" -H "Content-Type: application/json" -d '{"jsonrpc": "1.0", "method": "generatetoaddress", "params": [1, "ADDRESS"], "id":"generatetoaddress"}' if [ "$LPS_STAGE" = "regtest" ]; then - # define all provider address variables - declare -a PROVIDERS=("LIQUIDITY_PROVIDER_RSK_ADDR" "PEGIN_LIQUIDITY_PROVIDER_RSK_ADDR" "PEGOUT_LIQUIDITY_PROVIDER_RSK_ADDR") - - # iterate over providers - for PROVIDER in "${PROVIDERS[@]}" - do - # pre-fund provider in regtest, if needed - PROVIDER_RSK_ADDR_LINE=$(cat "$ENV_FILE" | grep "$LIQUIDITY_PROVIDER_RSK_ADDR" | head -n 1 | tr -d '\r') - PROVIDER_RSK_ADDR="${PROVIDER_RSK_ADDR_LINE#"$LIQUIDITY_PROVIDER_RSK_ADDR="}" - PROVIDER_TX_COUNT=$(curl -s -X POST "http://127.0.0.1:4444" -H "Content-Type: application/json" -d "{\"jsonrpc\":\"2.0\",\"method\":\"eth_getTransactionCount\",\"params\": [\"$LIQUIDITY_PROVIDER_RSK_ADDR\",\"latest\"],\"id\":1}" | jq -r ".result") - if [ "$PROVIDER_TX_COUNT" = "0x0" ]; then - echo "Transferring funds to $LIQUIDITY_PROVIDER_RSK_ADDR..." - - TX_HASH=$(curl -s -X POST "http://127.0.0.1:4444" -H "Content-Type: application/json" -d "{\"jsonrpc\":\"2.0\",\"method\":\"eth_sendTransaction\",\"params\": [{\"from\": \"0xcd2a3d9f938e13cd947ec05abc7fe734df8dd826\", \"to\": \"$LIQUIDITY_PROVIDER_RSK_ADDR\", \"value\": \"0x8AC7230489E80000\"}],\"id\":1}" | jq -r ".result") - echo "Result: $TX_HASH" - sleep 10 - else - echo "No need to fund the '$LIQUIDITY_PROVIDER_RSK_ADDR' provider. Nonce: $PROVIDER_TX_COUNT" - fi - done + PROVIDER_RSK_ADDR_LINE=$(cat "$ENV_FILE" | grep "$LIQUIDITY_PROVIDER_RSK_ADDR" | head -n 1 | tr -d '\r') + PROVIDER_RSK_ADDR="${PROVIDER_RSK_ADDR_LINE#"$LIQUIDITY_PROVIDER_RSK_ADDR="}" + PROVIDER_TX_COUNT=$(curl -s -X POST "http://127.0.0.1:4444" -H "Content-Type: application/json" -d "{\"jsonrpc\":\"2.0\",\"method\":\"eth_getTransactionCount\",\"params\": [\"$LIQUIDITY_PROVIDER_RSK_ADDR\",\"latest\"],\"id\":1}" | jq -r ".result") + if [ "$PROVIDER_TX_COUNT" = "0x0" ]; then + echo "Transferring funds to $LIQUIDITY_PROVIDER_RSK_ADDR..." + + TX_HASH=$(curl -s -X POST "http://127.0.0.1:4444" -H "Content-Type: application/json" -d "{\"jsonrpc\":\"2.0\",\"method\":\"eth_sendTransaction\",\"params\": [{\"from\": \"0xcd2a3d9f938e13cd947ec05abc7fe734df8dd826\", \"to\": \"$LIQUIDITY_PROVIDER_RSK_ADDR\", \"value\": \"0x8AC7230489E80000\"}],\"id\":1}" | jq -r ".result") + echo "Result: $TX_HASH" + sleep 10 + else + echo "No need to fund the '$LIQUIDITY_PROVIDER_RSK_ADDR' provider. Nonce: $PROVIDER_TX_COUNT" + fi if [ -z "${LBC_ADDR}" ]; then echo "LBC_ADDR is not set. Deploying LBC contract..." - (grep GITHUB_TOKEN | head -n 1 | tr -d '\r' > gh_token.txt) < $ENV_FILE + (grep GITHUB_TOKEN | head -n 1 | tr -d '\r' | awk '{gsub("GITHUB_TOKEN=",""); print}' > gh_token.txt) < $ENV_FILE # deploy LBC contracts to RSKJ LBC_ADDR_LINE=$(docker compose --env-file "$ENV_FILE" -f docker-compose.yml -f docker-compose.lbc-deployer.yml run --rm lbc-deployer bash deploy-lbc.sh | grep LBC_ADDR | head -n 1 | tr -d '\r') export LBC_ADDR="${LBC_ADDR_LINE#"LBC_ADDR="}" fi fi - if [ -z "${LBC_ADDR}" ]; then - docker-compose down + docker compose down echo "LBC_ADDR is not set up. Exit" exit 1 fi echo "LBC deployed at $LBC_ADDR" -docker-compose --env-file "$ENV_FILE" up -d powpeg-pegin powpeg-pegout +docker compose --env-file "$ENV_FILE" up -d powpeg-pegin powpeg-pegout # start LPS -docker-compose --env-file "$ENV_FILE" -f docker-compose.yml -f docker-compose.lps.yml build --build-arg COMMIT_HASH="$(git rev-parse HEAD)" lps -docker-compose --env-file "$ENV_FILE" -f docker-compose.yml -f docker-compose.lps.yml up -d lps +docker compose --env-file "$ENV_FILE" -f docker-compose.yml -f docker-compose.lps.yml build --build-arg COMMIT_HASH="$(git rev-parse HEAD)" lps +docker compose --env-file "$ENV_FILE" -f docker-compose.yml -f docker-compose.lps.yml up -d lps + +FAIL=true +for i in {1..10} +do + sleep 5 + curl -s "http://localhost:8080/health" \ + && echo "LPS is up and running" \ + && FAIL=false + if [ "$FAIL" = false ]; then + break + fi +done + +if [ "$FAIL" = true ]; then + echo "LPS failed to start" + exit 1 +fi + +rm -f cookie_jar.txt +MANAGEMENT_PWD=$(docker exec lps01 cat /tmp/management_password.txt) +CSRF_TOKEN=$(curl -s -c cookie_jar.txt -H 'Content-Type: application/json' \ + -H 'Accept: */*' \ + -H 'Connection: keep-alive' \ + -H 'Content-Type: application/json' \ + -H 'Origin: http://localhost:8080' \ + -H 'Sec-Fetch-Dest: empty' \ + -H 'Sec-Fetch-Mode: cors' \ + -H 'Sec-Fetch-Site: same-origin' \ + "http://localhost:8080/management" | sed -n 's/.*name="csrf"[^>]*value="\([^"]*\)".*/\1/p') + +CSRF_TOKEN=$(echo "$CSRF_TOKEN" | sed 's/+/+/g') +curl -s -b cookie_jar.txt -c cookie_jar.txt "http://localhost:8080/management/login" \ + -H "X-CSRF-Token: $CSRF_TOKEN" \ + -H 'Content-Type: application/json' \ + -H 'Accept: */*' \ + -H 'Connection: keep-alive' \ + -H 'Content-Type: application/json' \ + -H 'Origin: http://localhost:8080' \ + -H 'Referer: http://localhost:8080/management' \ + -H 'Sec-Fetch-Dest: empty' \ + -H 'Sec-Fetch-Mode: cors' \ + -H 'Sec-Fetch-Site: same-origin' \ + --data "{ + \"username\": \"admin\", + \"password\": \"$MANAGEMENT_PWD\" + }" + +echo "Setting up general regtest configuration" +curl -s -b cookie_jar.txt 'http://localhost:8080/configuration' \ + -H "X-CSRF-Token: $CSRF_TOKEN" \ + -H 'Content-Type: application/json' \ + -H 'Accept: */*' \ + -H 'Connection: keep-alive' \ + -H 'Content-Type: application/json' \ + -H 'Origin: http://localhost:8080' \ + -H 'Referer: http://localhost:8080/management' \ + -H 'Sec-Fetch-Dest: empty' \ + -H 'Sec-Fetch-Mode: cors' \ + -H 'Sec-Fetch-Site: same-origin' \ + --data '{ + "configuration": { + "rskConfirmations": { + "100000000000000000": 4, + "2000000000000000000": 20, + "400000000000000000": 12, + "4000000000000000000": 40, + "8000000000000000000": 80 + }, + "btcConfirmations": { + "100000000000000000": 2, + "2000000000000000000": 10, + "400000000000000000": 6, + "4000000000000000000": 20, + "8000000000000000000": 40 + }, + "publicLiquidityCheck": true + } + }' + +echo "Setting up pegin regtest configuration" +curl -s -b cookie_jar.txt 'http://localhost:8080/pegin/configuration' \ + -H "X-CSRF-Token: $CSRF_TOKEN" \ + -H 'Content-Type: application/json' \ + -H 'Accept: */*' \ + -H 'Connection: keep-alive' \ + -H 'Content-Type: application/json' \ + -H 'Origin: http://localhost:8080' \ + -H 'Referer: http://localhost:8080/management' \ + -H 'Sec-Fetch-Dest: empty' \ + -H 'Sec-Fetch-Mode: cors' \ + -H 'Sec-Fetch-Site: same-origin' \ + --data '{ + "configuration": { + "timeForDeposit": 3600, + "callTime": 7200, + "penaltyFee": "1000000000000000", + "callFee": "10000000000000000", + "maxValue": "10000000000000000000", + "minValue": "600000000000000000" + } + }' + +echo "Setting up pegout regtest configuration" +curl -s -b cookie_jar.txt 'http://localhost:8080/pegout/configuration' \ + -H "X-CSRF-Token: $CSRF_TOKEN" \ + -H 'Content-Type: application/json' \ + -H 'Accept: */*' \ + -H 'Connection: keep-alive' \ + -H 'Content-Type: application/json' \ + -H 'Origin: http://localhost:8080' \ + -H 'Referer: http://localhost:8080/management' \ + -H 'Sec-Fetch-Dest: empty' \ + -H 'Sec-Fetch-Mode: cors' \ + -H 'Sec-Fetch-Site: same-origin' \ + --data '{ + "configuration": { + "timeForDeposit": 3600, + "expireTime": 10800, + "penaltyFee": "1000000000000000", + "callFee": "10000000000000000", + "maxValue": "10000000000000000000", + "minValue": "600000000000000000", + "expireBlocks": 500, + "bridgeTransactionMin": "1500000000000000000" + } + }' \ No newline at end of file diff --git a/docker-compose/powpeg/pegin/Dockerfile b/docker-compose/powpeg/pegin/Dockerfile index 5ac97931..1803c6ab 100644 --- a/docker-compose/powpeg/pegin/Dockerfile +++ b/docker-compose/powpeg/pegin/Dockerfile @@ -35,7 +35,7 @@ COPY --chown=root:root --chmod=444 regtest-fed.conf "/etc/rsk/node.conf" RUN chmod 400 "$HOME/reg1.key" && chown 1000 "$HOME/reg1.key" -RUN mkdir -p "$HOME/.powpeg"; chown 1000 "$HOME/.powpeg" +RUN mkdir -p "$HOME/.rsk"; chown 1000 "$HOME/.rsk" RUN mkdir -p "$HOME/logs"; chown 1000 "$HOME/logs" WORKDIR "$HOME" diff --git a/docker-compose/powpeg/pegout/Dockerfile b/docker-compose/powpeg/pegout/Dockerfile index 8697d121..7adfbe18 100644 --- a/docker-compose/powpeg/pegout/Dockerfile +++ b/docker-compose/powpeg/pegout/Dockerfile @@ -35,7 +35,7 @@ COPY --chown=root:root --chmod=444 regtest-fed.conf "/etc/rsk/node.conf" RUN chmod 400 "$HOME/reg2.key" && chown 1000 "$HOME/reg2.key" -RUN mkdir -p "$HOME/.powpeg"; chown 1000 "$HOME/.powpeg" +RUN mkdir -p "$HOME/.rsk"; chown 1000 "$HOME/.rsk" RUN mkdir -p "$HOME/logs"; chown 1000 "$HOME/logs" WORKDIR "$HOME" diff --git a/go.mod b/go.mod index 0d3967c4..3103f7d9 100644 --- a/go.mod +++ b/go.mod @@ -23,6 +23,7 @@ require ( github.com/stretchr/testify v1.8.4 go.mongodb.org/mongo-driver v1.13.1 golang.org/x/crypto v0.21.0 + gopkg.in/yaml.v3 v3.0.1 ) require ( @@ -79,5 +80,4 @@ require ( golang.org/x/time v0.1.0 // indirect google.golang.org/protobuf v1.30.0 // indirect gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect - gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go b/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go deleted file mode 100644 index aacebfc0..00000000 --- a/internal/adapters/dataproviders/bitcoin/bitcoind_wallet.go +++ /dev/null @@ -1,182 +0,0 @@ -package bitcoin - -import ( - "encoding/hex" - "github.com/btcsuite/btcd/btcjson" - "github.com/btcsuite/btcd/btcutil" - "github.com/btcsuite/btcd/txscript" - "github.com/btcsuite/btcd/wire" - "github.com/rsksmart/liquidity-provider-server/internal/entities" - "github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain" - log "github.com/sirupsen/logrus" - "time" -) - -const ( - WalletUnlockSeconds = 10 -) - -// Deprecated: this implementation of the BitcoinWallet is considered insecure as it uses the wallet -// that is inside the bitcoin node. This means that it expects the private keys to live inside a node -// that is supposed to be used for monitoring purposes only. Prefer using DerivativeWallet instead or -// any other implementation that stores the PK in a safer place. -type bitcoindWallet struct { - conn *Connection - address string - fixedTxFeeRate float64 - isEncrypted bool - password string -} - -// Deprecated: this constructor is deprecated since the structure it creates is deprecated -func NewBitcoindWallet( - conn *Connection, - address string, - fixedTxFeeRate float64, - isEncrypted bool, - password string, -) blockchain.BitcoinWallet { - return &bitcoindWallet{ - conn: conn, - address: address, - fixedTxFeeRate: fixedTxFeeRate, - isEncrypted: isEncrypted, - password: password, - } -} - -func (wallet *bitcoindWallet) EstimateTxFees(toAddress string, value *entities.Wei) (*entities.Wei, error) { - _, err := btcutil.DecodeAddress(toAddress, wallet.conn.NetworkParams) - if err != nil { - return nil, err - } - - amountInSatoshi, _ := value.ToSatoshi().Float64() - output := []btcjson.PsbtOutput{ - {toAddress: float64(amountInSatoshi) / BtcToSatoshi}, - {"data": hex.EncodeToString(make([]byte, 32))}, // quote hash output - } - - var changePosition int64 = 2 - feeRate := wallet.fixedTxFeeRate - opts := btcjson.WalletCreateFundedPsbtOpts{ - ChangePosition: &changePosition, - FeeRate: &feeRate, - } - - simulatedTx, err := wallet.conn.client.WalletCreateFundedPsbt(nil, output, nil, &opts, nil) - if err != nil { - return nil, err - } - btcFee, err := btcutil.NewAmount(simulatedTx.Fee) - if err != nil { - return nil, err - } - satoshiFee := btcFee.ToUnit(btcutil.AmountSatoshi) - return entities.SatoshiToWei(uint64(satoshiFee)), nil -} - -func (wallet *bitcoindWallet) GetBalance() (*entities.Wei, error) { - var amount btcutil.Amount - balance := new(entities.Wei) - utxos, err := wallet.conn.client.ListUnspent() - if err != nil { - return nil, err - } - - for _, utxo := range utxos { - if utxo.Spendable { - if amount, err = btcutil.NewAmount(utxo.Amount); err != nil { - return nil, err - } - balance.Add(balance, entities.SatoshiToWei(uint64(amount.ToUnit(btcutil.AmountSatoshi)))) - } - } - return balance, nil -} - -func (wallet *bitcoindWallet) SendWithOpReturn(address string, value *entities.Wei, opReturnContent []byte) (string, error) { - decodedAddress, err := btcutil.DecodeAddress(address, wallet.conn.NetworkParams) - if err != nil { - return "", err - } - - satoshis, _ := value.ToSatoshi().Float64() - output := map[btcutil.Address]btcutil.Amount{ - decodedAddress: btcutil.Amount(satoshis), - } - rawTx, err := wallet.conn.client.CreateRawTransaction(nil, output, nil) - if err != nil { - return "", err - } - - opReturnScript, err := txscript.NullDataScript(opReturnContent) - if err != nil { - return "", err - } - rawTx.AddTxOut(wire.NewTxOut(0, opReturnScript)) - - changePosition := 2 - feeRate := wallet.fixedTxFeeRate - opts := btcjson.FundRawTransactionOpts{ - ChangePosition: &changePosition, - FeeRate: &feeRate, - } - - if wallet.isEncrypted { - if err = wallet.unlock(); err != nil { - return "", err - } - } - - log.Infof("Sending %v BTC to %s\n", value.ToRbtc(), address) - fundedTx, err := wallet.conn.client.FundRawTransaction(rawTx, opts, nil) - if err != nil { - return "", err - } - signedTx, _, err := wallet.conn.client.SignRawTransactionWithWallet(fundedTx.Transaction) - if err != nil { - return "", err - } - txHash, err := wallet.conn.client.SendRawTransaction(signedTx, false) - if err != nil { - return "", err - } - return txHash.String(), nil -} - -func (wallet *bitcoindWallet) unlock() error { - info, err := wallet.conn.client.GetWalletInfo() - if err != nil { - return err - } - if info.UnlockedUntil != nil && time.Until(time.Unix(int64(*info.UnlockedUntil), 0)) > 0 { - log.Debug("Wallet already unlocked") - return nil - } - return wallet.conn.client.WalletPassphrase(wallet.password, WalletUnlockSeconds) -} - -func (wallet *bitcoindWallet) ImportAddress(address string) error { - _, err := btcutil.DecodeAddress(address, wallet.conn.NetworkParams) - if err != nil { - return err - } - return wallet.conn.client.ImportAddressRescan(address, "", false) -} - -func (wallet *bitcoindWallet) GetTransactions(address string) ([]blockchain.BitcoinTransactionInformation, error) { - return getTransactionsToAddress(address, wallet.conn.NetworkParams, wallet.conn.client) -} - -func (wallet *bitcoindWallet) Unlock() error { - return wallet.unlock() -} - -func (wallet *bitcoindWallet) Address() string { - return wallet.address -} - -func (wallet *bitcoindWallet) Shutdown(closeChannel chan<- bool) { - wallet.conn.Shutdown(closeChannel) -} diff --git a/internal/adapters/dataproviders/bitcoin/bitcoind_wallet_test.go b/internal/adapters/dataproviders/bitcoin/bitcoind_wallet_test.go deleted file mode 100644 index ee661d37..00000000 --- a/internal/adapters/dataproviders/bitcoin/bitcoind_wallet_test.go +++ /dev/null @@ -1,439 +0,0 @@ -package bitcoin_test - -import ( - "cmp" - "encoding/json" - "github.com/btcsuite/btcd/btcjson" - "github.com/btcsuite/btcd/btcutil" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/txscript" - "github.com/btcsuite/btcd/wire" - "github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin" - "github.com/rsksmart/liquidity-provider-server/internal/entities" - "github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain" - "github.com/rsksmart/liquidity-provider-server/test" - "github.com/rsksmart/liquidity-provider-server/test/mocks" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/mock" - "github.com/stretchr/testify/require" - "math" - "os" - "path/filepath" - "slices" - "testing" -) - -const ( - mockPassword = "pwd" - mockFeeRate = 0.0001 - mockAddress = "mx5ySMGiiDd9rjkfwcZkSCo3ATQ16PEiJM" - testnetAddress = "mjaGtyj74LYn7gApr17prZxDPDnfuUnRa5" - mainnetAddress = "141dsd6YZxdKcmTZckG4Q9qGzJbR1Jc9kv" - expiredTime = 1711098457 // 2024-03-22 - unexpiredTime = 1900400857 // 2030-03-22 - paymentScriptMock = "a payment script" -) - -func TestBitcoindWallet_Unlock(t *testing.T) { - expiredLockUntil := expiredTime - nonExpiredLockUntil := unexpiredTime - client := &mocks.ClientAdapterMock{} - client.On("GetWalletInfo").Return(&btcjson.GetWalletInfoResult{ - UnlockedUntil: &expiredLockUntil, - }, nil).Once() - client.On("GetWalletInfo").Return(&btcjson.GetWalletInfoResult{ - UnlockedUntil: &nonExpiredLockUntil, - }, nil).Once() - client.On("WalletPassphrase", mockPassword, int64(bitcoin.WalletUnlockSeconds)).Return(nil).Once() - rpc := bitcoin.NewBitcoindWallet(bitcoin.NewConnection(nil, client), mockAddress, mockFeeRate, true, mockPassword) - err := rpc.Unlock() - require.NoError(t, err) - err = rpc.Unlock() - require.NoError(t, err) - client.AssertExpectations(t) -} - -func TestBitcoindWallet_Unlock_ErrorHandling(t *testing.T) { - client := &mocks.ClientAdapterMock{} - client.On("GetWalletInfo").Return(nil, assert.AnError).Once() - rpc := bitcoin.NewBitcoindWallet(bitcoin.NewConnection(nil, client), mockAddress, mockFeeRate, true, mockPassword) - err := rpc.Unlock() - require.Error(t, err) -} - -func TestBitcoindWallet_ImportAddress(t *testing.T) { - client := &mocks.ClientAdapterMock{} - client.On("ImportAddressRescan", testnetAddress, "", false).Return(nil).Once() - rpc := bitcoin.NewBitcoindWallet(bitcoin.NewConnection(&chaincfg.TestNet3Params, client), mockAddress, mockFeeRate, true, mockPassword) - err := rpc.ImportAddress(testnetAddress) - require.NoError(t, err) - client.AssertExpectations(t) - - client = &mocks.ClientAdapterMock{} - client.On("ImportAddressRescan", mainnetAddress, "", false).Return(nil).Once() - rpc = bitcoin.NewBitcoindWallet(bitcoin.NewConnection(&chaincfg.MainNetParams, client), mockAddress, mockFeeRate, true, mockPassword) - err = rpc.ImportAddress(mainnetAddress) - require.NoError(t, err) - client.AssertExpectations(t) -} - -func TestBitcoindWallet_ImportAddress_ErrorHandling(t *testing.T) { - client := &mocks.ClientAdapterMock{} - rpc := bitcoin.NewBitcoindWallet(bitcoin.NewConnection(&chaincfg.MainNetParams, client), mockAddress, mockFeeRate, true, mockPassword) - err := rpc.ImportAddress(testnetAddress) - require.Error(t, err) - - rpc = bitcoin.NewBitcoindWallet(bitcoin.NewConnection(&chaincfg.TestNet3Params, client), mockAddress, mockFeeRate, true, mockPassword) - err = rpc.ImportAddress(mainnetAddress) - require.Error(t, err) -} - -func TestBitcoindWallet_EstimateTxFees(t *testing.T) { - client := &mocks.ClientAdapterMock{} - amount := entities.NewWei(5000000000000000) - var changePosition int64 = 2 - var input []btcjson.PsbtInput - var lockTime *uint32 - var bip32Derivs *bool - feeRate := mockFeeRate - floatAmount, _ := amount.ToRbtc().Float64() - client.On("WalletCreateFundedPsbt", - input, - []btcjson.PsbtOutput{ - {testnetAddress: floatAmount}, - {"data": "0000000000000000000000000000000000000000000000000000000000000000"}, - }, - lockTime, - &btcjson.WalletCreateFundedPsbtOpts{ - ChangePosition: &changePosition, - FeeRate: &feeRate, - }, - bip32Derivs, - ).Return(&btcjson.WalletCreateFundedPsbtResult{ - Fee: 0.0006, - }, nil).Once() - rpc := bitcoin.NewBitcoindWallet(bitcoin.NewConnection(&chaincfg.TestNet3Params, client), mockAddress, mockFeeRate, true, mockPassword) - fee, err := rpc.EstimateTxFees(testnetAddress, amount) - require.NoError(t, err) - assert.Equal(t, entities.NewWei(600000000000000), fee) - client.AssertExpectations(t) -} - -func TestBitcoindWallet_EstimateTxFees_ErrorHandling(t *testing.T) { - client := &mocks.ClientAdapterMock{} - rpc := bitcoin.NewBitcoindWallet(bitcoin.NewConnection(&chaincfg.TestNet3Params, client), mockAddress, mockFeeRate, true, mockPassword) - fee, err := rpc.EstimateTxFees(mainnetAddress, entities.NewWei(1)) - require.Error(t, err) - assert.Nil(t, fee) - - client.On("WalletCreateFundedPsbt", - mock.Anything, - mock.Anything, - mock.Anything, - mock.Anything, - mock.Anything, - ).Return(nil, assert.AnError).Once() - rpc = bitcoin.NewBitcoindWallet(bitcoin.NewConnection(&chaincfg.TestNet3Params, client), mockAddress, mockFeeRate, true, mockPassword) - fee, err = rpc.EstimateTxFees(testnetAddress, entities.NewWei(1)) - require.Error(t, err) - assert.Nil(t, fee) - - client.On("WalletCreateFundedPsbt", - mock.Anything, - mock.Anything, - mock.Anything, - mock.Anything, - mock.Anything, - ).Return(&btcjson.WalletCreateFundedPsbtResult{Fee: math.NaN()}, nil).Once() - rpc = bitcoin.NewBitcoindWallet(bitcoin.NewConnection(&chaincfg.TestNet3Params, client), mockAddress, mockFeeRate, true, mockPassword) - fee, err = rpc.EstimateTxFees(testnetAddress, entities.NewWei(1)) - require.Error(t, err) - assert.Nil(t, fee) -} - -func TestBitcoindWallet_GetBalance(t *testing.T) { - absolutePath, err := filepath.Abs("../../../../test/mocks/listUnspent.json") - require.NoError(t, err) - rpcResponse, err := os.ReadFile(absolutePath) - require.NoError(t, err) - var result []btcjson.ListUnspentResult - err = json.Unmarshal(rpcResponse, &result) - require.NoError(t, err) - client := &mocks.ClientAdapterMock{} - client.On("ListUnspent").Return(result, nil).Once() - rpc := bitcoin.NewBitcoindWallet(bitcoin.NewConnection(&chaincfg.TestNet3Params, client), mockAddress, mockFeeRate, true, mockPassword) - balance, err := rpc.GetBalance() - require.NoError(t, err) - assert.Equal(t, entities.NewWei(57962080000000000), balance) - client.AssertExpectations(t) -} - -func TestBitcoindWallet_GetBalance_ErrorHandling(t *testing.T) { - client := &mocks.ClientAdapterMock{} - client.On("ListUnspent").Return(nil, assert.AnError).Once() - rpc := bitcoin.NewBitcoindWallet(bitcoin.NewConnection(&chaincfg.TestNet3Params, client), mockAddress, mockFeeRate, true, mockPassword) - balance, err := rpc.GetBalance() - require.Error(t, err) - assert.Nil(t, balance) - - client.On("ListUnspent").Return([]btcjson.ListUnspentResult{{Amount: math.NaN(), Spendable: true}}, nil).Once() - rpc = bitcoin.NewBitcoindWallet(bitcoin.NewConnection(&chaincfg.TestNet3Params, client), mockAddress, mockFeeRate, true, mockPassword) - balance, err = rpc.GetBalance() - require.Error(t, err) - assert.Nil(t, balance) -} - -func setupSendWithOpReturnTest(t *testing.T, client *mocks.ClientAdapterMock, encrypted bool) { - var input []btcjson.TransactionInput - var lockTime *int64 - satoshis := 50000000 - - address, err := btcutil.DecodeAddress(testnetAddress, &chaincfg.TestNet3Params) - require.NoError(t, err) - client.On("CreateRawTransaction", - input, - mock.MatchedBy(func(outputs map[btcutil.Address]btcutil.Amount) bool { - for k, v := range outputs { - require.Equal(t, address, k) - require.Equal(t, btcutil.Amount(satoshis), v) - } - return len(outputs) == 1 - }), - lockTime, - ).Return(&wire.MsgTx{ - Version: 0, - TxIn: nil, - TxOut: []*wire.TxOut{{Value: int64(satoshis), PkScript: []byte(paymentScriptMock)}}, - LockTime: 0, - }, nil).Once() - - if encrypted { - nonExpiredLockUntil := unexpiredTime - client.On("GetWalletInfo").Return(&btcjson.GetWalletInfoResult{ - UnlockedUntil: &nonExpiredLockUntil, - }, nil).Once() - } - - tx := &wire.MsgTx{ - Version: 0, - TxIn: nil, - TxOut: []*wire.TxOut{ - {Value: int64(satoshis), PkScript: []byte(paymentScriptMock)}, - {Value: int64(0), PkScript: []byte{0x6a, 0x08, 0x02, 0x01, 0x00, 0x07, 0x02, 0x00, 0x00, 0x00}}, - }, - LockTime: 0, - } - - changePos := 2 - feeRate := mockFeeRate - var isWitness *bool - client.On("FundRawTransaction", tx, btcjson.FundRawTransactionOpts{ - ChangePosition: &changePos, - FeeRate: &feeRate, - }, isWitness).Return(&btcjson.FundRawTransactionResult{Transaction: tx, Fee: 0, ChangePosition: 2}, nil).Once() - client.On("SignRawTransactionWithWallet", tx).Return(tx, true, nil).Once() - client.On("SendRawTransaction", tx, false).Return(chainhash.NewHashFromStr(testnetTestTxHash)).Once() -} - -func TestBitcoindWallet_SendWithOpReturn(t *testing.T) { - data := []byte{2, 1, 0, 7, 2, 0, 0, 0} - params := &chaincfg.TestNet3Params - - client := &mocks.ClientAdapterMock{} - setupSendWithOpReturnTest(t, client, true) - rpc := bitcoin.NewBitcoindWallet(bitcoin.NewConnection(params, client), mockAddress, mockFeeRate, true, mockPassword) - txHash, err := rpc.SendWithOpReturn(testnetAddress, entities.NewWei(500000000000000000), data) - require.NoError(t, err) - assert.NotEmpty(t, txHash) - assert.Equal(t, testnetTestTxHash, txHash) - client.AssertExpectations(t) - - client = &mocks.ClientAdapterMock{} - setupSendWithOpReturnTest(t, client, false) - rpc = bitcoin.NewBitcoindWallet(bitcoin.NewConnection(params, client), mockAddress, mockFeeRate, false, mockPassword) - txHash, err = rpc.SendWithOpReturn(testnetAddress, entities.NewWei(500000000000000000), data) - require.NoError(t, err) - assert.NotEmpty(t, txHash) - assert.Equal(t, testnetTestTxHash, txHash) - client.AssertExpectations(t) -} - -func TestBitcoindWallet_SendWithOpReturn_InvalidAddress(t *testing.T) { - rpc := bitcoin.NewBitcoindWallet(bitcoin.NewConnection(&chaincfg.TestNet3Params, &mocks.ClientAdapterMock{}), mockAddress, mockFeeRate, true, mockPassword) - txHash, err := rpc.SendWithOpReturn(test.AnyString, entities.NewWei(500000000000000000), []byte{}) - require.Error(t, err) - assert.Empty(t, txHash) -} - -func TestBitcoindWallet_Address(t *testing.T) { - rpc := bitcoin.NewBitcoindWallet(bitcoin.NewConnection(&chaincfg.TestNet3Params, &mocks.ClientAdapterMock{}), mockAddress, mockFeeRate, true, mockPassword) - assert.Equal(t, mockAddress, rpc.Address()) -} - -func TestBitcoindWallet_SendWithOpReturn_ErrorHandling(t *testing.T) { - setups := sendWithOpReturnErrorSetups() - for _, setup := range setups { - client := &mocks.ClientAdapterMock{} - data := []byte{2, 1, 0, 7, 2, 0, 0, 0} - setup(client, &data) - rpc := bitcoin.NewBitcoindWallet(bitcoin.NewConnection(&chaincfg.TestNet3Params, client), mockAddress, mockFeeRate, true, mockPassword) - txHash, err := rpc.SendWithOpReturn(testnetAddress, entities.NewWei(500000000000000000), data) - require.Error(t, err) - assert.Empty(t, txHash) - client.AssertExpectations(t) - } -} - -// nolint:funlen -func sendWithOpReturnErrorSetups() []func(client *mocks.ClientAdapterMock, data *[]byte) { - return []func(client *mocks.ClientAdapterMock, data *[]byte){ - func(client *mocks.ClientAdapterMock, data *[]byte) { - client.On("CreateRawTransaction", mock.Anything, mock.Anything, mock.Anything).Return(nil, assert.AnError).Once() - }, - func(client *mocks.ClientAdapterMock, data *[]byte) { - client.On("CreateRawTransaction", mock.Anything, mock.Anything, mock.Anything).Return(&wire.MsgTx{ - Version: 0, - TxIn: nil, - TxOut: []*wire.TxOut{{Value: int64(1), PkScript: []byte(paymentScriptMock)}}, - LockTime: 0, - }, nil).Once() - client.On("GetWalletInfo").Return(nil, assert.AnError).Once() - }, - func(client *mocks.ClientAdapterMock, data *[]byte) { - client.On("CreateRawTransaction", mock.Anything, mock.Anything, mock.Anything).Return(&wire.MsgTx{ - Version: 0, - TxIn: nil, - TxOut: []*wire.TxOut{{Value: int64(1), PkScript: []byte(paymentScriptMock)}}, - LockTime: 0, - }, nil).Once() - for i := 0; i < txscript.MaxDataCarrierSize; i++ { - *data = append(*data, byte(i)) - } - }, - func(client *mocks.ClientAdapterMock, data *[]byte) { - client.On("CreateRawTransaction", mock.Anything, mock.Anything, mock.Anything).Return(&wire.MsgTx{ - Version: 0, - TxIn: nil, - TxOut: []*wire.TxOut{{Value: int64(1), PkScript: []byte(paymentScriptMock)}}, - LockTime: 0, - }, nil).Once() - nonExpiredLockUntil := unexpiredTime - client.On("GetWalletInfo").Return(&btcjson.GetWalletInfoResult{ - UnlockedUntil: &nonExpiredLockUntil, - }, nil).Once() - var isWitness *bool - client.On("FundRawTransaction", mock.Anything, mock.Anything, isWitness).Return(nil, assert.AnError).Once() - }, - func(client *mocks.ClientAdapterMock, data *[]byte) { - client.On("CreateRawTransaction", mock.Anything, mock.Anything, mock.Anything).Return(&wire.MsgTx{ - Version: 0, - TxIn: nil, - TxOut: []*wire.TxOut{{Value: int64(1), PkScript: []byte(paymentScriptMock)}}, - LockTime: 0, - }, nil).Once() - nonExpiredLockUntil := unexpiredTime - client.On("GetWalletInfo").Return(&btcjson.GetWalletInfoResult{ - UnlockedUntil: &nonExpiredLockUntil, - }, nil).Once() - var isWitness *bool - client.On("FundRawTransaction", mock.Anything, mock.Anything, isWitness).Return(&btcjson.FundRawTransactionResult{}, nil).Once() - client.On("SignRawTransactionWithWallet", mock.Anything).Return(nil, false, assert.AnError).Once() - }, - func(client *mocks.ClientAdapterMock, data *[]byte) { - client.On("CreateRawTransaction", mock.Anything, mock.Anything, mock.Anything).Return(&wire.MsgTx{ - Version: 0, - TxIn: nil, - TxOut: []*wire.TxOut{{Value: int64(1), PkScript: []byte(paymentScriptMock)}}, - LockTime: 0, - }, nil).Once() - nonExpiredLockUntil := unexpiredTime - client.On("GetWalletInfo").Return(&btcjson.GetWalletInfoResult{ - UnlockedUntil: &nonExpiredLockUntil, - }, nil).Once() - var isWitness *bool - client.On("FundRawTransaction", mock.Anything, mock.Anything, isWitness).Return(&btcjson.FundRawTransactionResult{}, nil).Once() - client.On("SignRawTransactionWithWallet", mock.Anything).Return(&wire.MsgTx{}, false, nil).Once() - client.On("SendRawTransaction", mock.Anything, mock.Anything).Return(nil, assert.AnError).Once() - }, - } -} - -func TestBitcoindWallet_GetTransactions(t *testing.T) { - absolutePath, err := filepath.Abs("../../../../test/mocks/listUnspentByAddress.json") - require.NoError(t, err) - rpcResponse, err := os.ReadFile(absolutePath) - require.NoError(t, err) - var result []btcjson.ListUnspentResult - err = json.Unmarshal(rpcResponse, &result) - require.NoError(t, err) - client := &mocks.ClientAdapterMock{} - parsedAddress, err := btcutil.DecodeAddress(testnetAddress, &chaincfg.TestNet3Params) - require.NoError(t, err) - client.On("ListUnspentMinMaxAddresses", 0, 9999999, []btcutil.Address{parsedAddress}).Return(result, nil).Once() - rpc := bitcoin.NewBitcoindWallet(bitcoin.NewConnection(&chaincfg.TestNet3Params, client), mockAddress, mockFeeRate, true, mockPassword) - transactions, err := rpc.GetTransactions(testnetAddress) - require.NoError(t, err) - slices.SortFunc(transactions, func(i, j blockchain.BitcoinTransactionInformation) int { - return cmp.Compare(i.Hash, j.Hash) - }) - assert.Equal(t, []blockchain.BitcoinTransactionInformation{ - { - Hash: "2ba6da53badd14349c5d6379e88c345e88193598aad714815d4b57c691a9fbdf", - Confirmations: 2439, - Outputs: map[string][]*entities.Wei{ - "n3HJbF1Ps5c9ZE3UvLyjGFDvyAfjzDEBkS": {entities.NewWei(2531000000000000)}, - }, - }, - { - Hash: "586c51dc94452aed9a373b0f52936c3e343c0db90f1155e985fd60e3c2e5c2b2", - Confirmations: 6, - Outputs: map[string][]*entities.Wei{ - "n3HJbF1Ps5c9ZE3UvLyjGFDvyAfjzDEBkS": {entities.NewWei(2000000000000000)}, - }, - }, - { - Hash: "da28401c76d618e8c3b1c3e15dfe1c10d4b24875f23768f30bcc26c99b9c82d4", - Confirmations: 2, - Outputs: map[string][]*entities.Wei{ - "n3HJbF1Ps5c9ZE3UvLyjGFDvyAfjzDEBkS": {entities.NewWei(200000000000000), entities.NewWei(1000000000000000), entities.NewWei(1000000000000000)}, - }, - }, - { - Hash: "fda421ccdff7324a382067d1746f6a387132435de6af336a0ebbf3f720eaae4d", - Confirmations: 6, - Outputs: map[string][]*entities.Wei{ - "n3HJbF1Ps5c9ZE3UvLyjGFDvyAfjzDEBkS": {entities.NewWei(20000000000000000)}, - }, - }, - }, transactions) - client.AssertExpectations(t) -} - -func TestBitcoindWallet_GetTransactions_ErrorHandling(t *testing.T) { - client := &mocks.ClientAdapterMock{} - rpc := bitcoin.NewBitcoindWallet(bitcoin.NewConnection(&chaincfg.TestNet3Params, client), mockAddress, mockFeeRate, true, mockPassword) - transactions, err := rpc.GetTransactions("invalidAddress") - require.Error(t, err) - assert.Nil(t, transactions) - - client.On("ListUnspentMinMaxAddresses", mock.Anything, mock.Anything, mock.Anything).Return(nil, assert.AnError).Once() - transactions, err = rpc.GetTransactions(testnetAddress) - require.Error(t, err) - assert.Nil(t, transactions) - - client.On("ListUnspentMinMaxAddresses", mock.Anything, mock.Anything, mock.Anything).Return([]btcjson.ListUnspentResult{{Amount: math.NaN()}}, nil).Once() - transactions, err = rpc.GetTransactions(testnetAddress) - require.Error(t, err) - assert.Nil(t, transactions) -} - -func TestBitcoindWallet_Shutdown(t *testing.T) { - client := &mocks.ClientAdapterMock{} - client.On("Disconnect").Return().Once() - wallet := bitcoin.NewBitcoindWallet(bitcoin.NewConnection(&chaincfg.TestNet3Params, client), mockAddress, mockFeeRate, true, mockPassword) - shutdownChannel := make(chan bool, 1) - wallet.Shutdown(shutdownChannel) - <-shutdownChannel - client.AssertExpectations(t) -} diff --git a/internal/adapters/dataproviders/bitcoin/common.go b/internal/adapters/dataproviders/bitcoin/common.go index f687c3f3..c9d5796d 100644 --- a/internal/adapters/dataproviders/bitcoin/common.go +++ b/internal/adapters/dataproviders/bitcoin/common.go @@ -4,8 +4,10 @@ import ( "bytes" "encoding/binary" "fmt" + "github.com/btcsuite/btcd/btcjson" "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/btcutil/base58" + "github.com/btcsuite/btcd/btcutil/bech32" "github.com/btcsuite/btcd/btcutil/bloom" "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/chaincfg/chainhash" @@ -22,6 +24,16 @@ const ( MinConfirmationsForUtxos = 1 ) +func DecodeAddress(address string) ([]byte, error) { + if blockchain.IsBtcP2PKHAddress(address) || blockchain.IsBtcP2SHAddress(address) { + return DecodeAddressBase58(address, true) + } else if blockchain.IsBtcP2WPKHAddress(address) || blockchain.IsBtcP2WSHAddress(address) || blockchain.IsBtcP2TRAddress(address) { + _, data, err := bech32.Decode(address) // this function decodes both bech32 and bech32m + return data, err + } + return nil, blockchain.BtcAddressNotSupportedError +} + func DecodeAddressBase58(address string, keepVersion bool) ([]byte, error) { var buff bytes.Buffer addressBytes, version, err := base58.CheckDecode(address) @@ -37,14 +49,7 @@ func DecodeAddressBase58(address string, keepVersion bool) ([]byte, error) { return buff.Bytes(), nil } -func DecodeAddressBase58OnlyLegacy(address string, keepVersion bool) ([]byte, error) { - if !blockchain.IsSupportedBtcAddress(address) { - return nil, fmt.Errorf("only legacy address allowed (%s)", address) - } - return DecodeAddressBase58(address, keepVersion) -} - -func toSwappedBytes32(hash *chainhash.Hash) [32]byte { +func ToSwappedBytes32[T [32]byte | *chainhash.Hash | chainhash.Hash](hash T) [32]byte { var result [32]byte for i := 0; i < chainhash.HashSize/2; i++ { result[i], result[chainhash.HashSize-1-i] = hash[chainhash.HashSize-1-i], hash[i] @@ -69,7 +74,7 @@ func buildMerkleBranch(merkleTree []*chainhash.Hash, txCount uint32, txIndex uin targetOffset = currentNodeOffset - 1 path = path + (1 << pathIndex) } - hashes = append(hashes, toSwappedBytes32(merkleTree[levelOffset+targetOffset])) + hashes = append(hashes, ToSwappedBytes32(merkleTree[levelOffset+targetOffset])) levelOffset += levelSize currentNodeOffset = currentNodeOffset / 2 @@ -82,12 +87,12 @@ func buildMerkleBranch(merkleTree []*chainhash.Hash, txCount uint32, txIndex uin } } -func serializePartialMerkleTree(txHash *chainhash.Hash, block *btcutil.Block) ([]byte, error) { +func serializePartialMerkleTree(txHash *chainhash.Hash, block *btcutil.Block, witness bool) ([]byte, error) { var err error filter := bloom.NewFilter(1, 0, 0, wire.BloomUpdateAll) filter.AddHash(txHash) - msg, indices := bloom.NewMerkleBlock(block, filter) + msg, indices := NewMerkleBlock(block, filter, witness) if len(indices) > 1 { return nil, fmt.Errorf("block matches more than one transaction (%v)", len(indices)) } @@ -116,8 +121,11 @@ func serializePartialMerkleTree(txHash *chainhash.Hash, block *btcutil.Block) ([ func getTransactionsToAddress(address string, params *chaincfg.Params, client btcclient.RpcClient) ([]blockchain.BitcoinTransactionInformation, error) { var ok bool + var err error var tx blockchain.BitcoinTransactionInformation - var btcAmount btcutil.Amount + var rawTxInfo *btcjson.TxRawResult + var outputs map[string][]*entities.Wei + result := make([]blockchain.BitcoinTransactionInformation, 0) parsedAddress, err := btcutil.DecodeAddress(address, params) if err != nil { @@ -130,23 +138,23 @@ func getTransactionsToAddress(address string, params *chaincfg.Params, client bt txs := make(map[string]blockchain.BitcoinTransactionInformation) for _, utxo := range utxos { - tx, ok = txs[utxo.TxID] + _, ok = txs[utxo.TxID] if !ok { + txId, _ := chainhash.NewHashFromStr(utxo.TxID) + if rawTxInfo, err = client.GetRawTransactionVerbose(txId); err != nil { + return nil, err + } + if outputs, err = parseTransactionOutputs(rawTxInfo.Vout); err != nil { + return nil, err + } tx = blockchain.BitcoinTransactionInformation{ - Hash: utxo.TxID, - Confirmations: uint64(utxo.Confirmations), - Outputs: make(map[string][]*entities.Wei), + Hash: rawTxInfo.Txid, + Confirmations: rawTxInfo.Confirmations, + Outputs: outputs, + HasWitness: rawTxInfo.Hash != rawTxInfo.Txid, } txs[utxo.TxID] = tx } - if _, ok = tx.Outputs[utxo.Address]; !ok { - tx.Outputs[utxo.Address] = make([]*entities.Wei, 0) - } - btcAmount, err = btcutil.NewAmount(utxo.Amount) - if err != nil { - return nil, err - } - tx.Outputs[utxo.Address] = append(tx.Outputs[utxo.Address], entities.SatoshiToWei(uint64(btcAmount.ToUnit(btcutil.AmountSatoshi)))) } for key, value := range txs { @@ -155,3 +163,19 @@ func getTransactionsToAddress(address string, params *chaincfg.Params, client bt } return result, nil } + +func parseTransactionOutputs(outputs []btcjson.Vout) (map[string][]*entities.Wei, error) { + var err error + var amount btcutil.Amount + result := make(map[string][]*entities.Wei) + for _, output := range outputs { + if _, ok := result[output.ScriptPubKey.Address]; !ok { + result[output.ScriptPubKey.Address] = make([]*entities.Wei, 0) + } + if amount, err = btcutil.NewAmount(output.Value); err != nil { + return nil, err + } + result[output.ScriptPubKey.Address] = append(result[output.ScriptPubKey.Address], entities.SatoshiToWei(uint64(amount.ToUnit(btcutil.AmountSatoshi)))) + } + return result, nil +} diff --git a/internal/adapters/dataproviders/bitcoin/common_test.go b/internal/adapters/dataproviders/bitcoin/common_test.go index e7b18027..9ff6efcf 100644 --- a/internal/adapters/dataproviders/bitcoin/common_test.go +++ b/internal/adapters/dataproviders/bitcoin/common_test.go @@ -1,16 +1,19 @@ package bitcoin_test import ( + "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" ) -var decodedAddresses = []struct { +type decodedAddress struct { address string expected []byte -}{ +} + +var base58Addresses = []decodedAddress{ {"n1BE7ioVukYS2GC88hT2K6cUvRiKwMwio7", []byte{111, 215, 167, 103, 99, 62, 208, 72, 131, 184, 122, 185, 112, 220, 93, 130, 94, 43, 74, 67, 67}}, {"n2aSettzgmgwxMoaNQfNL58BqQtEAqCRp1", []byte{111, 231, 3, 144, 1, 201, 195, 77, 230, 3, 157, 153, 171, 189, 171, 215, 212, 180, 203, 182, 41}}, {"mugStBVzw3ZRafzrYqzSrq5Qq9HH9cZJst", []byte{111, 155, 93, 94, 120, 235, 41, 106, 157, 161, 118, 38, 245, 188, 189, 62, 16, 242, 77, 50, 225}}, @@ -34,7 +37,46 @@ var decodedAddresses = []struct { {"3BcLTSd24JRtJhLcKqkeF83rFmFxxY5qH9", []byte{5, 108, 206, 165, 252, 49, 214, 45, 206, 182, 122, 231, 101, 130, 27, 245, 51, 13, 14, 60, 174}}, } +var bech32Addresses = []decodedAddress{ + {"tb1q22cm3qarlpj3gnf5h03kpdhaftdvf98q58dp75", []byte{0, 10, 10, 24, 27, 17, 0, 29, 3, 31, 1, 18, 17, 8, 19, 9, 20, 23, 15, 17, 22, 1, 13, 23, 29, 9, 11, 13, 12, 9, 5, 7, 0}}, + {"tb1qja7532egus56jkjnu6xgf9nh96q9up7gq5473m", []byte{0, 18, 29, 30, 20, 17, 10, 25, 8, 28, 16, 20, 26, 18, 22, 18, 19, 28, 26, 6, 8, 9, 5, 19, 23, 5, 26, 0, 5, 28, 1, 30, 8}}, + {"tb1qug3kle73ze6wcstdc4wunkjxapqnaeetprqjql", []byte{0, 28, 8, 17, 22, 31, 25, 30, 17, 2, 25, 26, 14, 24, 16, 11, 13, 24, 21, 14, 28, 19, 22, 18, 6, 29, 1, 0, 19, 29, 25, 25, 11}}, + {"tb1q66e97gspk233et7k24334zm2femvf5tpsq8ggm", []byte{0, 26, 26, 25, 5, 30, 8, 16, 1, 22, 10, 17, 17, 25, 11, 30, 22, 10, 21, 17, 17, 21, 2, 27, 10, 9, 25, 27, 12, 9, 20, 11, 1}}, + {"tb1qjtl57d37ccadme30hv3jhytt9gc9p4dq9zrz49", []byte{0, 18, 11, 31, 20, 30, 13, 17, 30, 24, 24, 29, 13, 27, 25, 17, 15, 23, 12, 17, 18, 23, 4, 11, 11, 5, 8, 24, 5, 1, 21, 13, 0}}, + {"bc1qzulaxy8fmvk8a92sec8s8u0xcqwcxw4fx037d8", []byte{0, 2, 28, 31, 29, 6, 4, 7, 9, 27, 12, 22, 7, 29, 5, 10, 16, 25, 24, 7, 16, 7, 28, 15, 6, 24, 0, 14, 24, 6, 14, 21, 9}}, + {"bc1q8sr9tv9ng4yd8s6s9eenfs7mh24jv64vnwzl0p", []byte{0, 7, 16, 3, 5, 11, 12, 5, 19, 8, 21, 4, 13, 7, 16, 26, 16, 5, 25, 25, 19, 9, 16, 30, 27, 23, 10, 21, 18, 12, 26, 21, 12}}, + {"bc1q5pfzfxmtx3kn7j8wqwe6336tmg0n5lmpqss9kx", []byte{0, 20, 1, 9, 2, 9, 6, 27, 11, 6, 17, 22, 19, 30, 18, 7, 14, 0, 14, 25, 26, 17, 17, 26, 11, 27, 8, 15, 19, 20, 31, 27, 1}}, + {"bc1qgq506g46u2dnua70k3dypu6r7xu3kfqeee3c38", []byte{0, 8, 0, 20, 15, 26, 8, 21, 26, 28, 10, 13, 19, 28, 29, 30, 15, 22, 17, 13, 4, 1, 28, 26, 3, 30, 6, 28, 17, 22, 9, 0, 25}}, + {"bc1qk2r5qt94fluyehjhr6neka0agpxung28pndjly", []byte{0, 22, 10, 3, 20, 0, 11, 5, 21, 9, 31, 28, 4, 25, 23, 18, 23, 3, 26, 19, 25, 22, 29, 15, 29, 8, 1, 6, 28, 19, 8, 10, 7}}, + {"tb1qzda4qlkdpjgmwxt9zr29pphhzqf2ku09p7dj33qyugqn80kg5muq8x0wyv", []byte{0, 2, 13, 29, 21, 0, 31, 22, 13, 1, 18, 8, 27, 14, 6, 11, 5, 2, 3, 10, 5, 1, 1, 23, 23, 2, 0, 9, 10, 22, 28, 15, 5, 1, 30, 13, 18, 17, 17, 0, 4, 28, 8, 0, 19, 7, 15, 22, 8, 20, 27, 28, 0}}, + {"tb1qgpgtqj68zwsdz7xmvqxxxaan7dcfgu76jz0cfzynqgrtvdsxlyqsf7dfz8", []byte{0, 8, 1, 8, 11, 0, 18, 26, 7, 2, 14, 16, 13, 2, 30, 6, 27, 12, 0, 6, 6, 6, 29, 29, 19, 30, 13, 24, 9, 8, 28, 30, 26, 18, 2, 15, 24, 9, 2, 4, 19, 0, 8, 3, 11, 12, 13, 16, 6, 31, 4, 0, 16}}, + {"tb1qkp4lxc09e34cc5vw383j42rgacurp7wrpnwjmvazv6g23c2ydz3qx5tfhl", []byte{0, 22, 1, 21, 31, 6, 24, 15, 5, 25, 17, 21, 24, 24, 20, 12, 14, 17, 7, 17, 18, 21, 10, 3, 8, 29, 24, 28, 3, 1, 30, 14, 3, 1, 19, 14, 18, 27, 12, 29, 2, 12, 26, 8, 10, 17, 24, 10, 4, 13, 2, 17, 0}}, + {"tb1qzhu8fjgw5aaqgv0q2jey4dnc3pgcr4cks858d6eaf97ljxywe70qwwsdku", []byte{0, 2, 23, 28, 7, 9, 18, 8, 14, 20, 29, 29, 0, 8, 12, 15, 0, 10, 18, 25, 4, 21, 13, 19, 24, 17, 1, 8, 24, 3, 21, 24, 22, 16, 7, 20, 7, 13, 26, 25, 29, 9, 5, 30, 31, 18, 6, 4, 14, 25, 30, 15, 0}}, + {"tb1qzda4qlkdpjgmwxt9zr29pphhzqf2ku09p7dj33qyugqn80kg5muq8x0wyv", []byte{0, 2, 13, 29, 21, 0, 31, 22, 13, 1, 18, 8, 27, 14, 6, 11, 5, 2, 3, 10, 5, 1, 1, 23, 23, 2, 0, 9, 10, 22, 28, 15, 5, 1, 30, 13, 18, 17, 17, 0, 4, 28, 8, 0, 19, 7, 15, 22, 8, 20, 27, 28, 0}}, + {"bc1qhnumvtg3c9xj2q7jmt8xnk4p5kmk52ffqwax8crfn4hqtry6qseq8vahua", []byte{0, 23, 19, 28, 27, 12, 11, 8, 17, 24, 5, 6, 18, 10, 0, 30, 18, 27, 11, 7, 6, 19, 22, 21, 1, 20, 22, 27, 22, 20, 10, 9, 9, 0, 14, 29, 6, 7, 24, 3, 9, 19, 21, 23, 0, 11, 3, 4, 26, 0, 16, 25, 0}}, + {"bc1qv47nn097m6hujqadw6kgt5hsk9h06k7tgq05empl3nn3mska8cfqpkjl36", []byte{0, 12, 21, 30, 19, 19, 15, 5, 30, 27, 26, 23, 28, 18, 0, 29, 13, 14, 26, 22, 8, 11, 20, 23, 16, 22, 5, 23, 15, 26, 22, 30, 11, 8, 0, 15, 20, 25, 27, 1, 31, 17, 19, 19, 17, 27, 16, 22, 29, 7, 24, 9, 0}}, + {"bc1qj8pqhwkv0k6h2tm3wtqu793njkvfd66dva04zldpdcey4sak5h3qx3n8nz", []byte{0, 18, 7, 1, 0, 23, 14, 22, 12, 15, 22, 26, 23, 10, 11, 27, 17, 14, 11, 0, 28, 30, 5, 17, 19, 18, 22, 12, 9, 13, 26, 26, 13, 12, 29, 15, 21, 2, 31, 13, 1, 13, 24, 25, 4, 21, 16, 29, 22, 20, 23, 17, 0}}, + {"bc1qem2ta6uk98rfr779t4wftq4qjtr3xtja9vf9yy3rgtczapc78j3sxa6570", []byte{0, 25, 27, 10, 11, 29, 26, 28, 22, 5, 7, 3, 9, 3, 30, 30, 5, 11, 21, 14, 9, 11, 0, 21, 0, 18, 11, 3, 17, 6, 11, 18, 29, 5, 12, 9, 5, 4, 4, 17, 3, 8, 11, 24, 2, 29, 1, 24, 30, 7, 18, 17, 16}}, + {"bc1qazm8jprsdjxn0qq77yrzw7m2340ys0kuuylg05vul4t5ll2lhduquuhngw", []byte{0, 29, 2, 27, 7, 18, 1, 3, 16, 13, 18, 6, 19, 15, 0, 0, 30, 30, 4, 3, 2, 14, 30, 27, 10, 17, 21, 15, 4, 16, 15, 22, 28, 28, 4, 31, 8, 15, 20, 12, 28, 31, 21, 11, 20, 31, 31, 10, 31, 23, 13, 28, 0}}, +} + +var bech32mAddresses = []decodedAddress{ + {"tb1pqaas5xm75dny58s452949c9ak5qd53shfkln490ju4ny2afs2ldsput844", []byte{1, 0, 29, 29, 16, 20, 6, 27, 30, 20, 13, 19, 4, 20, 7, 16, 21, 20, 10, 5, 21, 5, 24, 5, 29, 22, 20, 0, 13, 20, 17, 16, 23, 9, 22, 31, 19, 21, 5, 15, 18, 28, 21, 19, 4, 10, 29, 9, 16, 10, 31, 13, 16}}, + {"tb1p25h0xs3840q7aex3kl9dshd8q99qzaxkh8r5p70z54r4ykmn2rtsgcsj34", []byte{1, 10, 20, 23, 15, 6, 16, 17, 7, 21, 15, 0, 30, 29, 25, 6, 17, 22, 31, 5, 13, 16, 23, 13, 7, 0, 5, 5, 0, 2, 29, 6, 22, 23, 7, 3, 20, 1, 30, 15, 2, 20, 21, 3, 21, 4, 22, 27, 19, 10, 3, 11, 16}}, + {"tb1p7hvw8mnqlrtp7ffa8wzmhq7vddegffdeus4sl0yj6fw54zjda36qhc5q8y", []byte{1, 30, 23, 12, 14, 7, 27, 19, 0, 31, 3, 11, 1, 30, 9, 9, 29, 7, 14, 2, 27, 23, 0, 30, 12, 13, 13, 25, 8, 9, 9, 13, 25, 28, 16, 21, 16, 31, 15, 4, 18, 26, 9, 14, 20, 21, 2, 18, 13, 29, 17, 26, 0}}, + {"tb1pnqdr56lugmtrcxtae8k9cfe7hve8986ud0daktljsh93wf8q7u4qhc2q3c", []byte{1, 19, 0, 13, 3, 20, 26, 31, 28, 8, 27, 11, 3, 24, 6, 11, 29, 25, 7, 22, 5, 24, 9, 25, 30, 23, 12, 25, 7, 5, 7, 26, 28, 13, 15, 13, 29, 22, 11, 31, 18, 16, 23, 5, 17, 14, 9, 7, 0, 30, 28, 21, 0}}, + {"tb1pa54gmj3dzr9g5p7qx6kupqg9xkvtv2cdcty78wgyaycxtqc72h5qlqgz2c", []byte{1, 29, 20, 21, 8, 27, 18, 17, 13, 2, 3, 5, 8, 20, 1, 30, 0, 6, 26, 22, 28, 1, 0, 8, 5, 6, 22, 12, 11, 12, 10, 24, 13, 24, 11, 4, 30, 7, 14, 8, 4, 29, 4, 24, 6, 11, 0, 24, 30, 10, 23, 20, 0}}, + {"tb1p8lkxfnps5wd6rsrusvytp8zllrmxz05e0ttessnhyzwl0kusc2as4s72wz", []byte{1, 7, 31, 22, 6, 9, 19, 1, 16, 20, 14, 13, 26, 3, 16, 3, 28, 16, 12, 4, 11, 1, 7, 2, 31, 31, 3, 27, 6, 2, 15, 20, 25, 15, 11, 11, 25, 16, 16, 19, 23, 4, 2, 14, 31, 15, 22, 28, 16, 24, 10, 29, 16}}, + {"bc1p5d7rjq7g6rdk2yhzks9smlaqtedr4dekq08ge8ztwac72sfr9rusxg3297", []byte{1, 20, 13, 30, 3, 18, 0, 30, 8, 26, 3, 13, 22, 10, 4, 23, 2, 22, 16, 5, 16, 27, 31, 29, 0, 11, 25, 13, 3, 21, 13, 25, 22, 0, 15, 7, 8, 25, 7, 2, 11, 14, 29, 24, 30, 10, 16, 9, 3, 5, 3, 28, 16}}, + {"bc1py8g4v4ehll399qlpaxyxykg37pszhad9yg0dphxvjhdmhy7f08vsn43s6p", []byte{1, 4, 7, 8, 21, 12, 21, 25, 23, 31, 31, 17, 5, 5, 0, 31, 1, 29, 6, 4, 6, 4, 22, 8, 17, 30, 1, 16, 2, 23, 29, 13, 5, 4, 8, 15, 13, 1, 23, 6, 12, 18, 23, 13, 27, 23, 4, 30, 9, 15, 7, 12, 16}}, + {"bc1pc09cafvlgu5ykmxyyzr4gu5qwx9a2zz6fz3lljeyddc9z7n75n9qfz7ckr", []byte{1, 24, 15, 5, 24, 29, 9, 12, 31, 8, 28, 20, 4, 22, 27, 6, 4, 4, 2, 3, 21, 8, 28, 20, 0, 14, 6, 5, 29, 10, 2, 2, 26, 9, 2, 17, 31, 31, 18, 25, 4, 13, 13, 24, 5, 2, 30, 19, 30, 20, 19, 5, 0}}, + {"bc1p74k39706fe6n0qv5k30z4xpqd8gcf8apyzn9s5rujkz4jln2u3fqwwta94", []byte{1, 30, 21, 22, 17, 5, 30, 15, 26, 9, 25, 26, 19, 15, 0, 12, 20, 22, 17, 15, 2, 21, 6, 1, 0, 13, 7, 8, 24, 9, 7, 29, 1, 4, 2, 19, 5, 16, 20, 3, 28, 18, 22, 2, 21, 18, 31, 19, 10, 28, 17, 9, 0}}, + {"bc1petgnkphl82md05d84gwee0alkuzpphfjy8ycxs932ngvdx8z8u0s3dwj5t", []byte{1, 25, 11, 8, 19, 22, 1, 23, 31, 7, 10, 27, 13, 15, 20, 13, 7, 21, 8, 14, 25, 25, 15, 29, 31, 22, 28, 2, 1, 1, 23, 9, 18, 4, 7, 4, 24, 6, 16, 5, 17, 10, 19, 8, 12, 13, 6, 7, 2, 7, 28, 15, 16}}, +} + func TestDecodeAddressBase58(t *testing.T) { + var decodedAddresses []decodedAddress + decodedAddresses = append(decodedAddresses, base58Addresses...) cases := decodedAddresses for _, c := range cases { withVersion, err := bitcoin.DecodeAddressBase58(c.address, true) @@ -65,33 +107,29 @@ func TestDecodeAddressBase58_ErrorHandling(t *testing.T) { } } -func TestDecodeAddressBase58OnlyLegacy(t *testing.T) { +func TestDecodeAddress(t *testing.T) { + var decodedAddresses []decodedAddress + decodedAddresses = append(decodedAddresses, base58Addresses...) + decodedAddresses = append(decodedAddresses, bech32Addresses...) + decodedAddresses = append(decodedAddresses, bech32mAddresses...) cases := decodedAddresses for _, c := range cases { - withVersion, err := bitcoin.DecodeAddressBase58OnlyLegacy(c.address, true) - require.NoError(t, err) - withoutVersion, err := bitcoin.DecodeAddressBase58OnlyLegacy(c.address, false) + decoded, err := bitcoin.DecodeAddress(c.address) require.NoError(t, err) - assert.Equal(t, c.expected, withVersion) - assert.Equal(t, c.expected[1:], withoutVersion) - } - bech32Addresses := []string{"tb1q2hxr4x5g4grwwrerf3y4tge776hmuw0wnh5vrd", - "tb1qj9g0zjrj5r872hkkvxcedr3l504z50ayy5ercl", - "tb1qpkv0lra0nz68ge5lzjjt6urdz2ejx8x4e9ell3", - "tb1qqgzlw8yhyj6tmutat0u5n3dnxm3y6xnjp53wy9", - "tb1qcc4j0tdu3lwfl05her3crlnvtqvltt90n5s5m0", - "bc1qg5d579rlqmfekwx3m85a2sr8gy2s5dwfjj2lun", - "bc1qtqxd29s9k3tj3rq9fzj7mnjknvlqzy8hsuzs5x", - "bc1qv245zr29zw5urv5fy00c6km09l302fmlftf0aj", - "bc1qw4z64jjvuxyddjdcm88yt0ln7fntkyw0w6wqhp", - "bc1q8d7e3jrhsf8tj9q28x3msf8c644hdaetpqy7t4", - } - for _, c := range bech32Addresses { - _, err := bitcoin.DecodeAddressBase58OnlyLegacy(c, true) - require.Error(t, err) - assert.Contains(t, err.Error(), "only legacy address allowed") - _, err = bitcoin.DecodeAddressBase58OnlyLegacy(c, false) - require.Error(t, err) - assert.Contains(t, err.Error(), "only legacy address allowed") + assert.Equal(t, c.expected, decoded) } } + +func TestToSwappedBytes32(t *testing.T) { + var bytes32 = [32]byte{0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 0x20} + var hash = chainhash.Hash([32]byte{0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29, 0x2A, 0x2B, 0x2C, 0x2D, 0x2E, 0x2F, 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x3A, 0x3B, 0x3C, 0x3D, 0x3E, 0x3F, 0x40}) + var hashPointer, _ = chainhash.NewHash([]byte{0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49, 0x4A, 0x4B, 0x4C, 0x4D, 0x4E, 0x4F, 0x50, 0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58, 0x59, 0x5A, 0x5B, 0x5C, 0x5D, 0x5E, 0x5F, 0x60}) + + swappedBytes := bitcoin.ToSwappedBytes32(bytes32) + swappedHash := bitcoin.ToSwappedBytes32(hash) + swappedHashPointer := bitcoin.ToSwappedBytes32(hashPointer) + + assert.Equal(t, [32]byte{0x20, 0x1F, 0x1E, 0x1D, 0x1C, 0x1B, 0x1A, 0x19, 0x18, 0x17, 0x16, 0x15, 0x14, 0x13, 0x12, 0x11, 0x10, 0x0F, 0x0E, 0x0D, 0x0C, 0x0B, 0x0A, 0x09, 0x08, 0x07, 0x06, 0x05, 0x04, 0x03, 0x02, 0x01}, swappedBytes) + assert.Equal(t, [32]byte{0x40, 0x3F, 0x3E, 0x3D, 0x3C, 0x3B, 0x3A, 0x39, 0x38, 0x37, 0x36, 0x35, 0x34, 0x33, 0x32, 0x31, 0x30, 0x2F, 0x2E, 0x2D, 0x2C, 0x2B, 0x2A, 0x29, 0x28, 0x27, 0x26, 0x25, 0x24, 0x23, 0x22, 0x21}, swappedHash) + assert.Equal(t, [32]byte{0x60, 0x5F, 0x5E, 0x5D, 0x5C, 0x5B, 0x5A, 0x59, 0x58, 0x57, 0x56, 0x55, 0x54, 0x53, 0x52, 0x51, 0x50, 0x4F, 0x4E, 0x4D, 0x4C, 0x4B, 0x4A, 0x49, 0x48, 0x47, 0x46, 0x45, 0x44, 0x43, 0x42, 0x41}, swappedHashPointer) +} diff --git a/internal/adapters/dataproviders/bitcoin/derivative_wallet_test.go b/internal/adapters/dataproviders/bitcoin/derivative_wallet_test.go index 925e39b6..207e88aa 100644 --- a/internal/adapters/dataproviders/bitcoin/derivative_wallet_test.go +++ b/internal/adapters/dataproviders/bitcoin/derivative_wallet_test.go @@ -31,6 +31,10 @@ const ( pubKey = "0232858a5faa413101831afe7a880da9a8ac4de6bd5e25b4358d762ba450b03c22" changePosition = 2 feeRate = 0.0001 + + testnetAddress = "mjaGtyj74LYn7gApr17prZxDPDnfuUnRa5" + mainnetAddress = "141dsd6YZxdKcmTZckG4Q9qGzJbR1Jc9kv" + paymentScriptMock = "a payment script" ) var ( @@ -300,20 +304,41 @@ func testGetBalance(t *testing.T, rskAccount *account.RskAccount, addressInfo *b client.AssertExpectations(t) } +// nolint:funlen func testGetTransactions(t *testing.T, rskAccount *account.RskAccount, addressInfo *btcjson.GetAddressInfoResult) { - absolutePath, err := filepath.Abs("../../../../test/mocks/listUnspentByAddress.json") + absolutePathListUnspent, err := filepath.Abs("../../../../test/mocks/listUnspentByAddress.json") require.NoError(t, err) - rpcResponse, err := os.ReadFile(absolutePath) + listUnspentRpcResponse, err := os.ReadFile(absolutePathListUnspent) require.NoError(t, err) - var result []btcjson.ListUnspentResult - err = json.Unmarshal(rpcResponse, &result) + var listUnspentResult []btcjson.ListUnspentResult + err = json.Unmarshal(listUnspentRpcResponse, &listUnspentResult) require.NoError(t, err) + + var absolutePathTx string + var txRpcResponse []byte + var txId *chainhash.Hash client := &mocks.ClientAdapterMock{} + mockedTxs := make(map[chainhash.Hash]*btcjson.TxRawResult) + for _, utxo := range listUnspentResult { + txResult := new(btcjson.TxRawResult) + absolutePathTx, err = filepath.Abs("../../../../test/mocks/rawTxVerbose-" + utxo.TxID + ".json") + require.NoError(t, err) + txRpcResponse, err = os.ReadFile(absolutePathTx) + require.NoError(t, err) + err = json.Unmarshal(txRpcResponse, txResult) + require.NoError(t, err) + txId, err = chainhash.NewHashFromStr(utxo.TxID) + require.NoError(t, err) + mockedTxs[*txId] = txResult + } + client.EXPECT().GetRawTransactionVerbose(mock.Anything).RunAndReturn(func(hash *chainhash.Hash) (*btcjson.TxRawResult, error) { + return mockedTxs[*hash], nil + }) client.On("GetWalletInfo").Return(&btcjson.GetWalletInfoResult{WalletName: bitcoin.DerivativeWalletId, Scanning: btcjson.ScanningOrFalse{Value: false}}, nil).Once() client.On("GetAddressInfo", btcAddress).Return(addressInfo, nil).Once() parsedAddress, err := btcutil.DecodeAddress(testnetAddress, &chaincfg.TestNet3Params) require.NoError(t, err) - client.On("ListUnspentMinMaxAddresses", 0, 9999999, []btcutil.Address{parsedAddress}).Return(result, nil).Once() + client.On("ListUnspentMinMaxAddresses", 0, 9999999, []btcutil.Address{parsedAddress}).Return(listUnspentResult, nil).Once() wallet, err := bitcoin.NewDerivativeWallet(bitcoin.NewWalletConnection(&chaincfg.TestNet3Params, client, bitcoin.DerivativeWalletId), rskAccount) require.NoError(t, err) transactions, err := wallet.GetTransactions(testnetAddress) @@ -321,36 +346,46 @@ func testGetTransactions(t *testing.T, rskAccount *account.RskAccount, addressIn slices.SortFunc(transactions, func(i, j blockchain.BitcoinTransactionInformation) int { return cmp.Compare(i.Hash, j.Hash) }) - assert.Equal(t, []blockchain.BitcoinTransactionInformation{ + expectedTransactions := []blockchain.BitcoinTransactionInformation{ { Hash: "2ba6da53badd14349c5d6379e88c345e88193598aad714815d4b57c691a9fbdf", - Confirmations: 2439, + Confirmations: 288434, Outputs: map[string][]*entities.Wei{ + "mqbKtarYKnoEdPheFFDGRjksvEpb2vJGNh": {entities.NewWei(6000000000000000)}, + "": {entities.NewWei(0)}, "n3HJbF1Ps5c9ZE3UvLyjGFDvyAfjzDEBkS": {entities.NewWei(2531000000000000)}, }, + HasWitness: false, }, { Hash: "586c51dc94452aed9a373b0f52936c3e343c0db90f1155e985fd60e3c2e5c2b2", - Confirmations: 6, + Confirmations: 286001, Outputs: map[string][]*entities.Wei{ + "mxcLm8hdhfJ1cutzeq6zdwcUohKVfmRhPu": {entities.NewWei(992000000000000)}, "n3HJbF1Ps5c9ZE3UvLyjGFDvyAfjzDEBkS": {entities.NewWei(2000000000000000)}, }, + HasWitness: false, }, { Hash: "da28401c76d618e8c3b1c3e15dfe1c10d4b24875f23768f30bcc26c99b9c82d4", - Confirmations: 2, + Confirmations: 285997, Outputs: map[string][]*entities.Wei{ + "mocAPSv6trAJoZRoqcn18kvXEjcxvXc9m5": {entities.NewWei(93000000000000)}, "n3HJbF1Ps5c9ZE3UvLyjGFDvyAfjzDEBkS": {entities.NewWei(200000000000000), entities.NewWei(1000000000000000), entities.NewWei(1000000000000000)}, }, + HasWitness: false, }, { Hash: "fda421ccdff7324a382067d1746f6a387132435de6af336a0ebbf3f720eaae4d", - Confirmations: 6, + Confirmations: 286001, Outputs: map[string][]*entities.Wei{ + "n1sSgnWcHU8AeHTVFez9RQ8HxMdAVHJXui": {entities.NewWei(1873000000000000)}, "n3HJbF1Ps5c9ZE3UvLyjGFDvyAfjzDEBkS": {entities.NewWei(20000000000000000)}, }, + HasWitness: false, }, - }, transactions) + } + assert.ElementsMatch(t, expectedTransactions, transactions) client.AssertExpectations(t) } diff --git a/internal/adapters/dataproviders/bitcoin/merkleblock.go b/internal/adapters/dataproviders/bitcoin/merkleblock.go new file mode 100644 index 00000000..34b5a9fd --- /dev/null +++ b/internal/adapters/dataproviders/bitcoin/merkleblock.go @@ -0,0 +1,136 @@ +// IMPORTANT: +// This file is a partial copy of github.com/btcsuite/btcd/btcutil/bloom/merkleblock.go. +// The rationale to make this copy is that the original bloom.NewMerkleBlock only constructs +// the blocks without the witness data (line 100 of the mentioned file) and that function +// uses an unexported structure which is wire.merkleBlock, therefore, this copy is necessary +// to make a modification to the original function to construct the merkle blocks using the +// witness data (line 46 of this file). + +package bitcoin + +import ( + "github.com/btcsuite/btcd/blockchain" + "github.com/btcsuite/btcd/btcutil" + "github.com/btcsuite/btcd/btcutil/bloom" + "github.com/btcsuite/btcd/chaincfg/chainhash" + "github.com/btcsuite/btcd/wire" +) + +// merkleBlock is used to house intermediate information needed to generate a +// wire.MsgMerkleBlock according to a filter. +type merkleBlock struct { + numTx uint32 + allHashes []*chainhash.Hash + finalHashes []*chainhash.Hash + matchedBits []byte + bits []byte +} + +func NewMerkleBlock(block *btcutil.Block, filter *bloom.Filter, witness bool) (*wire.MsgMerkleBlock, []uint32) { + numTx := uint32(len(block.Transactions())) + mBlock := merkleBlock{ + numTx: numTx, + allHashes: make([]*chainhash.Hash, 0, numTx), + matchedBits: make([]byte, 0, numTx), + } + + // Find and keep track of any transactions that match the filter. + var matchedIndices []uint32 + for txIndex, tx := range block.Transactions() { + if filter.MatchTxAndUpdate(tx) { + mBlock.matchedBits = append(mBlock.matchedBits, 0x01) + matchedIndices = append(matchedIndices, uint32(txIndex)) + } else { + mBlock.matchedBits = append(mBlock.matchedBits, 0x00) + } + if witness && blockchain.IsCoinBase(tx) { + emptyHash, _ := chainhash.NewHash(make([]byte, 32)) + mBlock.allHashes = append(mBlock.allHashes, emptyHash) + } else if witness { + mBlock.allHashes = append(mBlock.allHashes, tx.WitnessHash()) + } else { + mBlock.allHashes = append(mBlock.allHashes, tx.Hash()) + } + } + + // Calculate the number of merkle branches (height) in the tree. + height := uint32(0) + for mBlock.calcTreeWidth(height) > 1 { + height++ + } + + // Build the depth-first partial merkle tree. + mBlock.traverseAndBuild(height, 0) + + // Create and return the merkle block. + msgMerkleBlock := wire.MsgMerkleBlock{ + Header: block.MsgBlock().Header, + Transactions: mBlock.numTx, + Hashes: make([]*chainhash.Hash, 0, len(mBlock.finalHashes)), + Flags: make([]byte, (len(mBlock.bits)+7)/8), + } + for _, hash := range mBlock.finalHashes { + _ = msgMerkleBlock.AddTxHash(hash) + } + for i := uint32(0); i < uint32(len(mBlock.bits)); i++ { + msgMerkleBlock.Flags[i/8] |= mBlock.bits[i] << (i % 8) + } + return &msgMerkleBlock, matchedIndices +} + +// calcTreeWidth calculates and returns the number of nodes (width) or a +// merkle tree at the given depth-first height. +func (m *merkleBlock) calcTreeWidth(height uint32) uint32 { + return (m.numTx + (1 << height) - 1) >> height +} + +// traverseAndBuild builds a partial merkle tree using a recursive depth-first +// approach. As it calculates the hashes, it also saves whether or not each +// node is a parent node and a list of final hashes to be included in the +// merkle block. +func (m *merkleBlock) traverseAndBuild(height, pos uint32) { + // Determine whether this node is a parent of a matched node. + var isParent byte + for i := pos << height; i < (pos+1)<Current Configuration } }; - const fetchProviderData = async () => { - try { - const response = await fetch('/getProviders', { - method: 'GET', - headers: { - 'Content-Type': 'application/json' - } - }); - const providers = await response.json(); - const provider = providers[0]; - setTextContent('providerAddress', provider.provider); - setTextContent('isOperational', provider.status ? "Operational" : "Not Operational"); - } catch (error) { - console.error('Failed to fetch provider data:', error); - } + const populateProviderData = providerData => { + setTextContent('providerAddress', providerData.address); + setTextContent('isOperational', providerData.status ? "Operational" : "Not Operational"); }; const createLabel = text => { @@ -522,9 +510,9 @@
Current Configuration
populateConfigSection('generalConfig', data.Configuration.general); populateConfigSection('peginConfig', data.Configuration.pegin); populateConfigSection('pegoutConfig', data.Configuration.pegout); + populateProviderData(data.ProviderData); fetchData('/pegin/collateral', 'peginCollateral'); fetchData('/pegout/collateral', 'pegoutCollateral'); - fetchProviderData(); }); diff --git a/internal/adapters/entrypoints/rest/common.go b/internal/adapters/entrypoints/rest/common.go index c5b2f0bb..e0e12366 100644 --- a/internal/adapters/entrypoints/rest/common.go +++ b/internal/adapters/entrypoints/rest/common.go @@ -11,6 +11,10 @@ import ( "time" ) +const ( + HeaderContentType = "Content-Type" +) + const ( ContentTypeJson = "application/json" ContentTypeForm = "application/x-www-form-urlencoded" @@ -66,7 +70,7 @@ func JsonErrorResponse(w http.ResponseWriter, code int, response *ErrorResponse) func JsonResponseWithBody[T any](w http.ResponseWriter, statusCode int, body *T) { var err error - w.Header().Set("Content-Type", ContentTypeJson) + w.Header().Set(HeaderContentType, ContentTypeJson) w.WriteHeader(statusCode) if body == nil { return @@ -102,7 +106,7 @@ func DecodeRequest[T any](w http.ResponseWriter, req *http.Request, body *T) err } func ValidateRequest[T any](w http.ResponseWriter, body *T) error { - var validationErrors *validator.ValidationErrors + var validationErrors validator.ValidationErrors err := RequestValidator.Struct(body) if err == nil { return nil @@ -111,8 +115,8 @@ func ValidateRequest[T any](w http.ResponseWriter, body *T) error { return err } details := make(ErrorDetails) - for _, field := range *validationErrors { - details[field.Field()] = fmt.Errorf("validation failed: %s", field.Tag()) + for _, field := range validationErrors { + details[field.Field()] = fmt.Sprintf("validation failed: %s", field.Tag()) } jsonErr := NewErrorResponseWithDetails("validation error", details, true) JsonErrorResponse(w, http.StatusBadRequest, jsonErr) diff --git a/internal/adapters/entrypoints/rest/common_test.go b/internal/adapters/entrypoints/rest/common_test.go new file mode 100644 index 00000000..963e865c --- /dev/null +++ b/internal/adapters/entrypoints/rest/common_test.go @@ -0,0 +1,177 @@ +package rest_test + +import ( + "bytes" + "encoding/json" + "errors" + "github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/rest" + "github.com/rsksmart/liquidity-provider-server/pkg" + "github.com/rsksmart/liquidity-provider-server/test" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "net/http" + "net/http/httptest" + "testing" +) + +func TestNewErrorResponseWithDetails(t *testing.T) { + details := map[string]any{ + test.AnyHash: 1, + test.AnyString: test.AnyHash, + } + response := rest.NewErrorResponseWithDetails(test.AnyString, details, true) + assert.Equal(t, test.AnyString, response.Message) + assert.Equal(t, details, response.Details) + assert.True(t, response.Recoverable) +} + +func TestNewErrorResponse(t *testing.T) { + response := rest.NewErrorResponse(test.AnyString, true) + assert.Equal(t, test.AnyString, response.Message) + assert.Empty(t, response.Details) + assert.True(t, response.Recoverable) +} + +func TestDetailsFromError(t *testing.T) { + err := errors.New(test.AnyString) + details := rest.DetailsFromError(err) + assert.Len(t, details, 1) + assert.Equal(t, err.Error(), details["error"]) +} + +func TestJsonResponse(t *testing.T) { + w := httptest.NewRecorder() + rest.JsonResponse(w, http.StatusAccepted) + assert.Equal(t, rest.ContentTypeJson, w.Header().Get(rest.HeaderContentType)) + assert.Equal(t, http.StatusAccepted, w.Code) +} + +func TestJsonErrorResponse(t *testing.T) { + var body rest.ErrorResponse + w := httptest.NewRecorder() + response := rest.NewErrorResponse(test.AnyString, true) + rest.JsonErrorResponse(w, http.StatusBadRequest, response) + assert.Equal(t, rest.ContentTypeJson, w.Header().Get(rest.HeaderContentType)) + assert.Equal(t, http.StatusBadRequest, w.Code) + require.NoError(t, json.NewDecoder(w.Body).Decode(&body)) + assert.Equal(t, *response, body) +} + +func TestJsonResponseWithBody(t *testing.T) { + t.Run("response with nil body", func(t *testing.T) { + w := httptest.NewRecorder() + rest.JsonResponseWithBody[map[string]any](w, http.StatusAccepted, nil) + assert.Equal(t, rest.ContentTypeJson, w.Header().Get(rest.HeaderContentType)) + assert.Equal(t, http.StatusAccepted, w.Code) + }) + t.Run("response with body", func(t *testing.T) { + var expectedBody, body map[string]string + expectedBody = map[string]string{ + test.AnyHash: test.AnyString, + test.AnyString: test.AnyHash, + } + w := httptest.NewRecorder() + rest.JsonResponseWithBody(w, http.StatusAccepted, &expectedBody) + assert.Equal(t, rest.ContentTypeJson, w.Header().Get(rest.HeaderContentType)) + assert.Equal(t, http.StatusAccepted, w.Code) + require.NoError(t, json.NewDecoder(w.Body).Decode(&body)) + assert.Equal(t, expectedBody, body) + }) + t.Run("encoding error", func(t *testing.T) { + w := httptest.NewRecorder() + circular := map[string]any{} + circular["circular"] = circular + rest.JsonResponseWithBody(w, http.StatusAccepted, &circular) + var response rest.ErrorResponse + require.NoError(t, json.NewDecoder(w.Body).Decode(&response)) + assert.Equal(t, "Unable to build response", response.Message) + }) +} + +func TestDecodeRequestError(t *testing.T) { + w := httptest.NewRecorder() + err := errors.New(test.AnyString) + rest.DecodeRequestError(w, err) + assert.Equal(t, rest.ContentTypeJson, w.Header().Get(rest.HeaderContentType)) + assert.Equal(t, http.StatusBadRequest, w.Code) + var body rest.ErrorResponse + require.NoError(t, json.NewDecoder(w.Body).Decode(&body)) + assert.Contains(t, body.Message, test.AnyString) + assert.True(t, body.Recoverable) +} + +func TestValidateRequestError(t *testing.T) { + w := httptest.NewRecorder() + err := errors.New(test.AnyString) + rest.ValidateRequestError(w, err) + assert.Equal(t, rest.ContentTypeJson, w.Header().Get(rest.HeaderContentType)) + assert.Equal(t, http.StatusBadRequest, w.Code) + var body rest.ErrorResponse + require.NoError(t, json.NewDecoder(w.Body).Decode(&body)) + assert.Contains(t, body.Message, test.AnyString) + assert.True(t, body.Recoverable) +} + +func TestDecodeRequest(t *testing.T) { + t.Run("decode request successfully", func(t *testing.T) { + w := httptest.NewRecorder() + req := httptest.NewRequest(http.MethodPost, "/", bytes.NewReader([]byte(`{"key":"value"}`))) + var body map[string]string + err := rest.DecodeRequest(w, req, &body) + require.NoError(t, err) + assert.Equal(t, "value", body["key"]) + }) + t.Run("decode request with error", func(t *testing.T) { + w := httptest.NewRecorder() + req := httptest.NewRequest(http.MethodPost, "/", bytes.NewReader([]byte("{not json}"))) + var body map[string]string + err := rest.DecodeRequest(w, req, &body) + require.Error(t, err) + assert.Empty(t, body) + assert.Equal(t, rest.ContentTypeJson, w.Header().Get(rest.HeaderContentType)) + assert.Equal(t, http.StatusBadRequest, w.Code) + }) +} + +func TestRequiredQueryParam(t *testing.T) { + require.ErrorContains(t, rest.RequiredQueryParam(test.AnyString), "required query parameter any value is missing") +} + +func TestValidateRequest(t *testing.T) { + t.Run("validate request successfully", func(t *testing.T) { + req := pkg.AcceptQuoteRequest{QuoteHash: test.AnyHash} + w := httptest.NewRecorder() + err := rest.ValidateRequest(w, &req) + require.NoError(t, err) + }) + t.Run("handle not-validation error", func(t *testing.T) { + w := httptest.NewRecorder() + body := map[string]string{"key": ""} + var response rest.ErrorResponse + err := rest.ValidateRequest(w, &body) + require.Error(t, err) + assert.Equal(t, rest.ContentTypeJson, w.Header().Get(rest.HeaderContentType)) + assert.Equal(t, http.StatusBadRequest, w.Code) + require.NoError(t, json.NewDecoder(w.Body).Decode(&response)) + assert.Contains(t, response.Message, "Error validating request") + }) + t.Run("handle validation error", func(t *testing.T) { + req := pkg.PeginQuoteRequest{ + CallEoaOrContractAddress: test.AnyHash, + ValueToTransfer: 1, + } + var response rest.ErrorResponse + w := httptest.NewRecorder() + err := rest.ValidateRequest(w, &req) + require.Error(t, err) + assert.Equal(t, rest.ContentTypeJson, w.Header().Get(rest.HeaderContentType)) + assert.Equal(t, http.StatusBadRequest, w.Code) + require.NoError(t, json.NewDecoder(w.Body).Decode(&response)) + assert.Contains(t, response.Message, "validation error") + assert.Len(t, response.Details, 2) + for key := range response.Details { + assert.Contains(t, response.Details[key], "validation failed") + } + assert.True(t, response.Recoverable) + }) +} diff --git a/internal/adapters/entrypoints/rest/handlers/get_pegin_quote.go b/internal/adapters/entrypoints/rest/handlers/get_pegin_quote.go index 4cc2eafd..62d0256d 100644 --- a/internal/adapters/entrypoints/rest/handlers/get_pegin_quote.go +++ b/internal/adapters/entrypoints/rest/handlers/get_pegin_quote.go @@ -41,7 +41,6 @@ func NewGetPeginQuoteHandler(useCase *pegin.GetQuoteUseCase) http.HandlerFunc { callArgument, entities.NewUWei(quoteRequest.ValueToTransfer), quoteRequest.RskRefundAddress, - quoteRequest.BitcoinRefundAddress, ) result, err = useCase.Run(req.Context(), peginRequest) diff --git a/internal/adapters/entrypoints/rest/handlers/get_pegout_quote.go b/internal/adapters/entrypoints/rest/handlers/get_pegout_quote.go index 6f4ae5dd..58ca6a88 100644 --- a/internal/adapters/entrypoints/rest/handlers/get_pegout_quote.go +++ b/internal/adapters/entrypoints/rest/handlers/get_pegout_quote.go @@ -33,7 +33,6 @@ func NewGetPegoutQuoteHandler(useCase *pegout.GetQuoteUseCase) http.HandlerFunc quoteRequest.To, entities.NewUWei(quoteRequest.ValueToTransfer), quoteRequest.RskRefundAddress, - quoteRequest.BitcoinRefundAddress, ) result, err = useCase.Run(req.Context(), pegoutRequest) diff --git a/internal/adapters/entrypoints/rest/handlers/management.go b/internal/adapters/entrypoints/rest/handlers/management.go index 453766bb..9e4cc2f5 100644 --- a/internal/adapters/entrypoints/rest/handlers/management.go +++ b/internal/adapters/entrypoints/rest/handlers/management.go @@ -3,6 +3,7 @@ package handlers import ( "encoding/hex" "fmt" + "github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/rest" "html/template" "net/http" @@ -61,7 +62,7 @@ func NewManagementInterfaceHandler(store sessions.Store, useCase *liquidity_prov func htmlTemplateSecurityHeaders(w http.ResponseWriter, nonce string) { cspHeader := fmt.Sprintf("default-src 'self'; font-src 'self' data:; style-src 'self' 'sha256-yr5DcAJJmu0m4Rv1KfUyA8AJj1t0kAJ1D2JuSBIT1DU='; object-src 'none'; frame-src 'self'; script-src 'self' 'nonce-%s'; img-src 'self' data:; connect-src 'self';", nonce) - w.Header().Set("Content-Type", "text/html") + w.Header().Set(rest.HeaderContentType, "text/html") w.Header().Set("Content-Security-Policy", cspHeader) w.Header().Set("Strict-Transport-Security", "max-age=63072000; includeSubDomains; preload") w.Header().Set("X-Frame-Options", "DENY") diff --git a/internal/adapters/entrypoints/rest/middlewares/captcha.go b/internal/adapters/entrypoints/rest/middlewares/captcha.go index 5946e22c..61191f61 100644 --- a/internal/adapters/entrypoints/rest/middlewares/captcha.go +++ b/internal/adapters/entrypoints/rest/middlewares/captcha.go @@ -86,7 +86,7 @@ func validateCaptcha(r *http.Request, captchaUrl, captchaSecretKey, token string if err != nil { return captchaValidationResponse{}, err } - req.Header.Set("Content-Type", rest.ContentTypeForm) + req.Header.Set(rest.HeaderContentType, rest.ContentTypeForm) res, err := http.DefaultClient.Do(req) if err != nil { diff --git a/internal/adapters/entrypoints/rest/middlewares/session.go b/internal/adapters/entrypoints/rest/middlewares/session.go index b96e91fa..e211fef5 100644 --- a/internal/adapters/entrypoints/rest/middlewares/session.go +++ b/internal/adapters/entrypoints/rest/middlewares/session.go @@ -56,7 +56,7 @@ func csrfMiddleware(env environment.ManagementEnv) func(next http.Handler) http. return csrf.Protect( authKey, csrf.MaxAge(cookies.SessionMaxSeconds), - csrf.CookieName("lps-csrf-cookie"), + csrf.CookieName(cookies.CsrfCookieName), csrf.Path("/"), csrf.Secure(env.UseHttps), csrf.HttpOnly(true), diff --git a/internal/adapters/entrypoints/rest/routes/management.go b/internal/adapters/entrypoints/rest/routes/management.go index 2b6cfa2a..8addce94 100644 --- a/internal/adapters/entrypoints/rest/routes/management.go +++ b/internal/adapters/entrypoints/rest/routes/management.go @@ -19,7 +19,7 @@ const ( var AllowedPaths = [...]string{LoginPath, UiPath, StaticPath, IconPath} // nolint:funlen -func getManagementEndpoints(env environment.Environment, useCaseRegistry registry.UseCaseRegistry, store sessions.Store) []Endpoint { +func GetManagementEndpoints(env environment.Environment, useCaseRegistry registry.UseCaseRegistry, store sessions.Store) []Endpoint { return []Endpoint{ { Path: "/pegin/collateral", diff --git a/internal/adapters/entrypoints/rest/routes/management_test.go b/internal/adapters/entrypoints/rest/routes/management_test.go new file mode 100644 index 00000000..25c36a82 --- /dev/null +++ b/internal/adapters/entrypoints/rest/routes/management_test.go @@ -0,0 +1,50 @@ +package routes_test + +import ( + "github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/rest/routes" + "github.com/rsksmart/liquidity-provider-server/internal/configuration/environment" + "github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider" + "github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin" + "github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout" + "github.com/rsksmart/liquidity-provider-server/test" + "github.com/rsksmart/liquidity-provider-server/test/mocks" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "gopkg.in/yaml.v3" + "strings" + "testing" +) + +func TestGetManagementEndpoints(t *testing.T) { + registryMock := &mocks.UseCaseRegistryMock{} + registryMock.EXPECT().GetPeginCollateralUseCase().Return(&pegin.GetCollateralUseCase{}) + registryMock.EXPECT().AddPeginCollateralUseCase().Return(&pegin.AddCollateralUseCase{}) + registryMock.EXPECT().GetPegoutCollateralUseCase().Return(&pegout.GetCollateralUseCase{}) + registryMock.EXPECT().AddPegoutCollateralUseCase().Return(&pegout.AddCollateralUseCase{}) + registryMock.EXPECT().ChangeStatusUseCase().Return(&liquidity_provider.ChangeStatusUseCase{}) + registryMock.EXPECT().ResignationUseCase().Return(&liquidity_provider.ResignUseCase{}) + registryMock.EXPECT().WithdrawCollateralUseCase().Return(&liquidity_provider.WithdrawCollateralUseCase{}) + registryMock.EXPECT().GetConfigurationUseCase().Return(&liquidity_provider.GetConfigUseCase{}) + registryMock.EXPECT().SetGeneralConfigUseCase().Return(&liquidity_provider.SetGeneralConfigUseCase{}) + registryMock.EXPECT().SetPeginConfigUseCase().Return(&liquidity_provider.SetPeginConfigUseCase{}) + registryMock.EXPECT().SetPegoutConfigUseCase().Return(&liquidity_provider.SetPegoutConfigUseCase{}) + registryMock.EXPECT().SetCredentialsUseCase().Return(&liquidity_provider.SetCredentialsUseCase{}) + registryMock.EXPECT().LoginUseCase().Return(&liquidity_provider.LoginUseCase{}) + registryMock.EXPECT().GetManagementUiDataUseCase().Return(&liquidity_provider.GetManagementUiDataUseCase{}) + + endpoints := routes.GetManagementEndpoints(environment.Environment{}, registryMock, &mocks.StoreMock{}) + specBytes := test.ReadFile(t, "OpenApi.yml") + spec := &openApiSpecification{} + + err := yaml.Unmarshal(specBytes, spec) + require.NoError(t, err) + + assert.Len(t, endpoints, 17) + for _, endpoint := range endpoints { + if endpoint.Path != routes.IconPath && endpoint.Path != routes.StaticPath { + lowerCaseMethod := strings.ToLower(endpoint.Method) + assert.NotNilf(t, spec.Paths[endpoint.Path][lowerCaseMethod], "Handler not found for path %s and verb %s", endpoint.Path, endpoint.Method) + } + } + registryMock.AssertExpectations(t) +} diff --git a/internal/adapters/entrypoints/rest/routes/public.go b/internal/adapters/entrypoints/rest/routes/public.go index e54ebd7e..4776fd1f 100644 --- a/internal/adapters/entrypoints/rest/routes/public.go +++ b/internal/adapters/entrypoints/rest/routes/public.go @@ -12,7 +12,7 @@ type PublicEndpoint struct { } // nolint:funlen -func getPublicEndpoints(useCaseRegistry registry.UseCaseRegistry) []PublicEndpoint { +func GetPublicEndpoints(useCaseRegistry registry.UseCaseRegistry) []PublicEndpoint { return []PublicEndpoint{ { Endpoint: Endpoint{ diff --git a/internal/adapters/entrypoints/rest/routes/public_test.go b/internal/adapters/entrypoints/rest/routes/public_test.go new file mode 100644 index 00000000..00140ba6 --- /dev/null +++ b/internal/adapters/entrypoints/rest/routes/public_test.go @@ -0,0 +1,45 @@ +package routes_test + +import ( + "github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/rest/routes" + "github.com/rsksmart/liquidity-provider-server/internal/usecases" + "github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider" + "github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin" + "github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout" + "github.com/rsksmart/liquidity-provider-server/test" + "github.com/rsksmart/liquidity-provider-server/test/mocks" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "gopkg.in/yaml.v3" + "strings" + "testing" +) + +func TestGetPublicEndpoints(t *testing.T) { + registryMock := &mocks.UseCaseRegistryMock{} + registryMock.EXPECT().HealthUseCase().Return(&usecases.HealthUseCase{}) + registryMock.EXPECT().GetProvidersUseCase().Return(&liquidity_provider.GetProvidersUseCase{}) + registryMock.EXPECT().GetPeginQuoteUseCase().Return(&pegin.GetQuoteUseCase{}) + registryMock.EXPECT().GetAcceptPeginQuoteUseCase().Return(&pegin.AcceptQuoteUseCase{}) + registryMock.EXPECT().GetPegoutQuoteUseCase().Return(&pegout.GetQuoteUseCase{}) + registryMock.EXPECT().GetAcceptPegoutQuoteUseCase().Return(&pegout.AcceptQuoteUseCase{}) + registryMock.EXPECT().GetUserDepositsUseCase().Return(&pegout.GetUserDepositsUseCase{}) + registryMock.EXPECT().GetProviderDetailUseCase().Return(&liquidity_provider.GetDetailUseCase{}) + registryMock.EXPECT().GetPeginStatusUseCase().Return(&pegin.StatusUseCase{}) + registryMock.EXPECT().GetPegoutStatusUseCase().Return(&pegout.StatusUseCase{}) + registryMock.EXPECT().GetAvailableLiquidityUseCase().Return(&liquidity_provider.GetAvailableLiquidityUseCase{}) + + endpoints := routes.GetPublicEndpoints(registryMock) + specBytes := test.ReadFile(t, "OpenApi.yml") + spec := &openApiSpecification{} + + err := yaml.Unmarshal(specBytes, spec) + require.NoError(t, err) + + assert.Len(t, endpoints, 11) + for _, endpoint := range endpoints { + lowerCaseMethod := strings.ToLower(endpoint.Method) + assert.NotNilf(t, spec.Paths[endpoint.Path][lowerCaseMethod], "Handler not found for path %s and verb %s", endpoint.Path, endpoint.Method) + } + registryMock.AssertExpectations(t) +} diff --git a/internal/adapters/entrypoints/rest/routes/routes.go b/internal/adapters/entrypoints/rest/routes/routes.go index 93bff97a..67aeac7a 100644 --- a/internal/adapters/entrypoints/rest/routes/routes.go +++ b/internal/adapters/entrypoints/rest/routes/routes.go @@ -19,7 +19,27 @@ type Endpoint struct { Handler http.Handler } -func ConfigureRoutes(router *mux.Router, env environment.Environment, useCaseRegistry registry.UseCaseRegistry) { +// EndpointFactory abstraction to be able to mock the endpoints in tests +type EndpointFactory interface { + GetPublic(useCaseRegistry registry.UseCaseRegistry) []PublicEndpoint + GetPrivate(env environment.Environment, useCaseRegistry registry.UseCaseRegistry, store sessions.Store) []Endpoint +} + +type endpointFactoryImpl struct{} + +func NewEndpointFactory() EndpointFactory { + return &endpointFactoryImpl{} +} + +func (f *endpointFactoryImpl) GetPublic(useCaseRegistry registry.UseCaseRegistry) []PublicEndpoint { + return GetPublicEndpoints(useCaseRegistry) +} + +func (f *endpointFactoryImpl) GetPrivate(env environment.Environment, useCaseRegistry registry.UseCaseRegistry, store sessions.Store) []Endpoint { + return GetManagementEndpoints(env, useCaseRegistry, store) +} + +func ConfigureRoutes(router *mux.Router, env environment.Environment, useCaseRegistry registry.UseCaseRegistry, endpointFactory EndpointFactory) { router.Use(middlewares.NewCorsMiddleware()) store, err := cookies.GetSessionCookieStore(env.Management) @@ -27,18 +47,18 @@ func ConfigureRoutes(router *mux.Router, env environment.Environment, useCaseReg log.Fatal("Error registering routes: ", err) } - registerPublicRoutes(router, env, useCaseRegistry) + registerPublicRoutes(router, env, endpointFactory.GetPublic(useCaseRegistry)) if env.Management.EnableManagementApi { - registerManagementRoutes(router, env, useCaseRegistry, store) + registerManagementRoutes(router, env, store, endpointFactory.GetPrivate(env, useCaseRegistry, store)) } router.Methods(http.MethodOptions).HandlerFunc(handlers.NewOptionsHandler()) } -func registerPublicRoutes(router *mux.Router, env environment.Environment, useCaseRegistry registry.UseCaseRegistry) { +func registerPublicRoutes(router *mux.Router, env environment.Environment, endpoints []PublicEndpoint) { captchaMiddleware := middlewares.NewCaptchaMiddleware(env.Captcha.Url, env.Captcha.Threshold, env.Captcha.Disabled, env.Captcha.SecretKey) - for _, endpoint := range getPublicEndpoints(useCaseRegistry) { + for _, endpoint := range endpoints { handler := endpoint.Handler if endpoint.RequiresCaptcha { handler = useMiddlewares(handler, captchaMiddleware) @@ -47,7 +67,7 @@ func registerPublicRoutes(router *mux.Router, env environment.Environment, useCa } } -func registerManagementRoutes(router *mux.Router, env environment.Environment, useCaseRegistry registry.UseCaseRegistry, store sessions.Store) { +func registerManagementRoutes(router *mux.Router, env environment.Environment, store sessions.Store, endpoints []Endpoint) { log.Warn( "Server is running with the management API exposed. This interface " + "includes endpoints that must remain private at all cost. Please shut down " + @@ -55,9 +75,8 @@ func registerManagementRoutes(router *mux.Router, env environment.Environment, u ) sessionMiddlewares := middlewares.NewSessionMiddlewares(env.Management, store) - managementEndpoints := getManagementEndpoints(env, useCaseRegistry, store) var handler http.Handler - for _, endpoint := range managementEndpoints { + for _, endpoint := range endpoints { if slices.Contains(AllowedPaths[:], endpoint.Path) { handler = useMiddlewares(endpoint.Handler, sessionMiddlewares.Csrf) } else { diff --git a/internal/adapters/entrypoints/rest/routes/routes_test.go b/internal/adapters/entrypoints/rest/routes/routes_test.go new file mode 100644 index 00000000..c1ebdc5e --- /dev/null +++ b/internal/adapters/entrypoints/rest/routes/routes_test.go @@ -0,0 +1,293 @@ +package routes_test + +import ( + "encoding/hex" + "github.com/gorilla/csrf" + "github.com/gorilla/mux" + "github.com/gorilla/sessions" + "github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/rest/registry" + "github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/rest/routes" + "github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/rest/server/cookies" + "github.com/rsksmart/liquidity-provider-server/internal/configuration/environment" + "github.com/rsksmart/liquidity-provider-server/internal/usecases" + "github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider" + "github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin" + "github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout" + "github.com/rsksmart/liquidity-provider-server/test/mocks" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "net/http" + "net/http/httptest" + "slices" + "testing" +) + +// nolint:gosec // Linter is assuming the header name is a password +const csrfTokenHeaderName = "X-Csrf-Token" + +type openApiSpecification struct { + // Path - Verb + Paths map[string]map[string]any `yaml:"paths"` +} + +// nolint:funlen +func TestConfigureRoutes_Public(t *testing.T) { + onlyPublicRouter := mux.NewRouter() + useCaseRegistry := &mocks.UseCaseRegistryMock{} + setupRegistryMock(useCaseRegistry) + onlyPublicEnv := environment.Environment{ + Management: environment.ManagementEnv{ + EnableManagementApi: false, + SessionAuthKey: hex.EncodeToString(make([]byte, 32)), + SessionEncryptionKey: hex.EncodeToString(make([]byte, 32)), + SessionTokenAuthKey: hex.EncodeToString(make([]byte, 32)), + UseHttps: false, + }, + } + + routes.ConfigureRoutes(onlyPublicRouter, onlyPublicEnv, useCaseRegistry, newBlockedEndpointFactory()) + onlyPublicRoutes := make([]*mux.Route, 0) + + err := onlyPublicRouter.Walk(func(route *mux.Route, router *mux.Router, ancestors []*mux.Route) error { + onlyPublicRoutes = append(onlyPublicRoutes, route) + return nil + }) + require.NoError(t, err) + + t.Run("should configure cors middleware", func(t *testing.T) { + testCorsMiddleware(t, onlyPublicRoutes, onlyPublicRouter) + }) + + t.Run("should configure options handler", func(t *testing.T) { + req := httptest.NewRequest(http.MethodOptions, "/aPath", nil) + ok := slices.ContainsFunc(onlyPublicRoutes, func(r *mux.Route) bool { + return r.Match(req, &mux.RouteMatch{}) + }) + assert.True(t, ok) + }) + + t.Run("should register public routes", func(t *testing.T) { + testPublicRoutesRegistration(t, useCaseRegistry, onlyPublicRoutes, onlyPublicRouter) + }) + + t.Run("should register management routes only if Management API is enabled", func(t *testing.T) { + managementRoutes := routes.GetManagementEndpoints(onlyPublicEnv, useCaseRegistry, &mocks.StoreMock{}) + for _, endpoint := range managementRoutes { + req := httptest.NewRequest(endpoint.Method, endpoint.Path, nil) + result := slices.ContainsFunc(onlyPublicRoutes, func(r *mux.Route) bool { + return r.Match(req, &mux.RouteMatch{}) + }) + assert.False(t, result) + } + }) +} + +// nolint:funlen +func TestConfigureRoutes_Management(t *testing.T) { + managementRouter := mux.NewRouter() + useCaseRegistry := &mocks.UseCaseRegistryMock{} + setupRegistryMock(useCaseRegistry) + managementEnv := environment.Environment{ + Management: environment.ManagementEnv{ + EnableManagementApi: true, + SessionAuthKey: hex.EncodeToString(make([]byte, 32)), + SessionEncryptionKey: hex.EncodeToString(make([]byte, 32)), + SessionTokenAuthKey: hex.EncodeToString(make([]byte, 32)), + UseHttps: false, + }, + } + routes.ConfigureRoutes(managementRouter, managementEnv, useCaseRegistry, newBlockedEndpointFactory()) + managementAndPublicRoutes := make([]*mux.Route, 0) + + err := managementRouter.Walk(func(route *mux.Route, router *mux.Router, ancestors []*mux.Route) error { + managementAndPublicRoutes = append(managementAndPublicRoutes, route) + return nil + }) + require.NoError(t, err) + + t.Run("should configure cors middleware", func(t *testing.T) { + testCorsMiddleware(t, managementAndPublicRoutes, managementRouter) + }) + + t.Run("should configure options handler", func(t *testing.T) { + req := httptest.NewRequest(http.MethodOptions, "/aPath", nil) + ok := slices.ContainsFunc(managementAndPublicRoutes, func(r *mux.Route) bool { + return r.Match(req, &mux.RouteMatch{}) + }) + assert.True(t, ok) + }) + + t.Run("should register public routes", func(t *testing.T) { + testPublicRoutesRegistration(t, useCaseRegistry, managementAndPublicRoutes, managementRouter) + }) + + t.Run("should register management routes only if Management API is enabled", func(t *testing.T) { + managementRoutes := routes.GetManagementEndpoints(managementEnv, useCaseRegistry, &mocks.StoreMock{}) + for _, endpoint := range managementRoutes { + req := httptest.NewRequest(endpoint.Method, endpoint.Path, nil) + ok := slices.ContainsFunc(managementAndPublicRoutes, func(r *mux.Route) bool { + return r.Match(req, &mux.RouteMatch{}) + }) + assert.True(t, ok) + } + t.Run("should register management routes with proper middlewares", func(t *testing.T) { + for _, endpoint := range managementRoutes { + if slices.Contains(routes.AllowedPaths[:], endpoint.Path) { + assertHasCsrfMiddleware(t, managementRouter, endpoint) + } else { + req := httptest.NewRequest(http.MethodGet, routes.UiPath, nil) + responseRecorder := httptest.NewRecorder() + managementRouter.ServeHTTP(responseRecorder, req) + assertHasCsrfMiddleware(t, managementRouter, endpoint) + // nolint:bodyclose + assertHasSessionMiddleware(t, managementRouter, endpoint, responseRecorder.Result().Cookies()[0], responseRecorder.Header().Get(csrfTokenHeaderName)) + require.NoError(t, responseRecorder.Result().Body.Close()) + } + } + }) + }) +} + +func testCorsMiddleware(t *testing.T, routesToTest []*mux.Route, routerToTest *mux.Router) { + for _, route := range routesToTest { + methods, methodsErr := route.GetMethods() + require.NoError(t, methodsErr) + for _, method := range methods { + if method != http.MethodOptions { + path, pathErr := route.GetPathTemplate() + require.NoError(t, pathErr) + req := httptest.NewRequest(method, path, nil) + responseRecorder := httptest.NewRecorder() + routerToTest.ServeHTTP(responseRecorder, req) + assertHasCorsHeaders(t, responseRecorder) + } + } + } +} + +func testPublicRoutesRegistration(t *testing.T, useCaseRegistry registry.UseCaseRegistry, routesToTest []*mux.Route, routerToTest *mux.Router) { + publicRoutes := routes.GetPublicEndpoints(useCaseRegistry) + for _, endpoint := range publicRoutes { + req := httptest.NewRequest(endpoint.Method, endpoint.Path, nil) + publicRoutesOk := slices.ContainsFunc(routesToTest, func(r *mux.Route) bool { + return r.Match(req, &mux.RouteMatch{}) + }) + assert.True(t, publicRoutesOk) + } + t.Run("should use captcha middleware in proper routes", func(t *testing.T) { + for _, endpoint := range publicRoutes { + if endpoint.RequiresCaptcha { + req := httptest.NewRequest(endpoint.Method, endpoint.Path, nil) + responseRecorder := httptest.NewRecorder() + routerToTest.ServeHTTP(responseRecorder, req) + assert.Contains(t, responseRecorder.Body.String(), "missing X-Captcha-Token header") + } + } + }) +} + +func assertHasSessionMiddleware(t *testing.T, router *mux.Router, endpoint routes.Endpoint, cookie *http.Cookie, token string) { + request := httptest.NewRequest(endpoint.Method, endpoint.Path, nil) + request.AddCookie(cookie) + request.Header.Set(csrfTokenHeaderName, token) + response := httptest.NewRecorder() + router.ServeHTTP(response, request) + // nolint:bodyclose + assert.Equal(t, http.StatusForbidden, response.Result().StatusCode) + assert.Contains(t, response.Body.String(), "session not recognized") + require.NoError(t, response.Result().Body.Close()) +} + +func assertHasCsrfMiddleware(t *testing.T, router *mux.Router, endpoint routes.Endpoint) { + req := httptest.NewRequest(endpoint.Method, endpoint.Path, nil) + responseRecorder := httptest.NewRecorder() + router.ServeHTTP(responseRecorder, req) + // nolint:bodyclose + i := slices.IndexFunc(responseRecorder.Result().Cookies(), func(cookie *http.Cookie) bool { + return cookie.Name == cookies.CsrfCookieName + }) + require.NoError(t, responseRecorder.Result().Body.Close()) + assert.NotEqual(t, -1, i, "response does not have CSRF cookie") +} + +func setupRegistryMock(registryMock *mocks.UseCaseRegistryMock) { + registryMock.EXPECT().HealthUseCase().Return(&usecases.HealthUseCase{}) + registryMock.EXPECT().GetProvidersUseCase().Return(&liquidity_provider.GetProvidersUseCase{}) + registryMock.EXPECT().GetPeginQuoteUseCase().Return(&pegin.GetQuoteUseCase{}) + registryMock.EXPECT().GetAcceptPeginQuoteUseCase().Return(&pegin.AcceptQuoteUseCase{}) + registryMock.EXPECT().GetPegoutQuoteUseCase().Return(&pegout.GetQuoteUseCase{}) + registryMock.EXPECT().GetAcceptPegoutQuoteUseCase().Return(&pegout.AcceptQuoteUseCase{}) + registryMock.EXPECT().GetUserDepositsUseCase().Return(&pegout.GetUserDepositsUseCase{}) + registryMock.EXPECT().GetProviderDetailUseCase().Return(&liquidity_provider.GetDetailUseCase{}) + registryMock.EXPECT().GetPeginStatusUseCase().Return(&pegin.StatusUseCase{}) + registryMock.EXPECT().GetPegoutStatusUseCase().Return(&pegout.StatusUseCase{}) + registryMock.EXPECT().GetAvailableLiquidityUseCase().Return(&liquidity_provider.GetAvailableLiquidityUseCase{}) + + registryMock.EXPECT().GetPeginCollateralUseCase().Return(&pegin.GetCollateralUseCase{}) + registryMock.EXPECT().AddPeginCollateralUseCase().Return(&pegin.AddCollateralUseCase{}) + registryMock.EXPECT().GetPegoutCollateralUseCase().Return(&pegout.GetCollateralUseCase{}) + registryMock.EXPECT().AddPegoutCollateralUseCase().Return(&pegout.AddCollateralUseCase{}) + registryMock.EXPECT().ChangeStatusUseCase().Return(&liquidity_provider.ChangeStatusUseCase{}) + registryMock.EXPECT().ResignationUseCase().Return(&liquidity_provider.ResignUseCase{}) + registryMock.EXPECT().WithdrawCollateralUseCase().Return(&liquidity_provider.WithdrawCollateralUseCase{}) + registryMock.EXPECT().GetConfigurationUseCase().Return(&liquidity_provider.GetConfigUseCase{}) + registryMock.EXPECT().SetGeneralConfigUseCase().Return(&liquidity_provider.SetGeneralConfigUseCase{}) + registryMock.EXPECT().SetPeginConfigUseCase().Return(&liquidity_provider.SetPeginConfigUseCase{}) + registryMock.EXPECT().SetPegoutConfigUseCase().Return(&liquidity_provider.SetPegoutConfigUseCase{}) + registryMock.EXPECT().SetCredentialsUseCase().Return(&liquidity_provider.SetCredentialsUseCase{}) + registryMock.EXPECT().LoginUseCase().Return(&liquidity_provider.LoginUseCase{}) + registryMock.EXPECT().GetManagementUiDataUseCase().Return(&liquidity_provider.GetManagementUiDataUseCase{}) +} + +func assertHasCorsHeaders(t *testing.T, recorder *httptest.ResponseRecorder) { + assert.Equal(t, "*", recorder.Header().Get("Access-Control-Allow-Origin")) + assert.Equal(t, "Content-Type, Origin, Accept, token, X-Captcha-Token, X-Csrf-Token", recorder.Header().Get("Access-Control-Allow-Headers")) + assert.Equal(t, "GET, POST, OPTIONS", recorder.Header().Get("Access-Control-Allow-Methods")) + assert.Equal(t, "Origin", recorder.Header().Get("Vary")) +} + +type blockedEndpointFactory struct { + realFactory routes.EndpointFactory +} + +func newBlockedEndpointFactory() routes.EndpointFactory { + return &blockedEndpointFactory{ + realFactory: routes.NewEndpointFactory(), + } +} + +func (f *blockedEndpointFactory) GetPublic(useCaseRegistry registry.UseCaseRegistry) []routes.PublicEndpoint { + dummyEndpoints := make([]routes.PublicEndpoint, 0) + endpoints := f.realFactory.GetPublic(useCaseRegistry) + for _, endpoint := range endpoints { + dummyEndpoints = append(dummyEndpoints, routes.PublicEndpoint{ + Endpoint: routes.Endpoint{ + Path: endpoint.Path, + Method: endpoint.Method, + Handler: teapotHandler(), + }, + RequiresCaptcha: endpoint.RequiresCaptcha, + }) + } + return dummyEndpoints +} + +func (f *blockedEndpointFactory) GetPrivate(env environment.Environment, useCaseRegistry registry.UseCaseRegistry, store sessions.Store) []routes.Endpoint { + dummyEndpoints := make([]routes.Endpoint, 0) + endpoints := f.realFactory.GetPrivate(env, useCaseRegistry, store) + for _, endpoint := range endpoints { + dummyEndpoints = append(dummyEndpoints, routes.Endpoint{ + Path: endpoint.Path, + Method: endpoint.Method, + Handler: teapotHandler(), + }) + } + return dummyEndpoints +} + +func teapotHandler() http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + w.Header().Set(csrfTokenHeaderName, csrf.Token(req)) + w.WriteHeader(http.StatusTeapot) + } +} diff --git a/internal/adapters/entrypoints/rest/server/cookies/cookies.go b/internal/adapters/entrypoints/rest/server/cookies/cookies.go index 74d1e368..a995362f 100644 --- a/internal/adapters/entrypoints/rest/server/cookies/cookies.go +++ b/internal/adapters/entrypoints/rest/server/cookies/cookies.go @@ -12,6 +12,7 @@ import ( const ( ManagementSessionCookieName = "lp-session" + CsrfCookieName = "lps-csrf-cookie" KeysBytesLength = 32 SessionMaxSeconds = 60 * 30 ) @@ -26,17 +27,18 @@ func GetSessionCookieStore(env environment.ManagementEnv) (sessions.Store, error return cookieStore, nil } + authKey, err = utils.DecodeKey(env.SessionAuthKey, KeysBytesLength) + if err != nil { + err = fmt.Errorf("error decoding session auth key: %w", err) + return nil, err + } + encryptionKey, err = utils.DecodeKey(env.SessionEncryptionKey, KeysBytesLength) + if err != nil { + err = fmt.Errorf("error decoding session encryption key: %w", err) + return nil, err + } + storeOnce.Do(func() { - authKey, err = utils.DecodeKey(env.SessionAuthKey, KeysBytesLength) - if err != nil { - err = fmt.Errorf("error decoding session auth key: %w", err) - return - } - encryptionKey, err = utils.DecodeKey(env.SessionEncryptionKey, KeysBytesLength) - if err != nil { - err = fmt.Errorf("error decoding session encryption key: %w", err) - return - } cookieStore = NewUniqueSessionStore(ManagementSessionCookieName, authKey, encryptionKey) }) return cookieStore, err diff --git a/internal/adapters/entrypoints/rest/server/cookies/cookies_test.go b/internal/adapters/entrypoints/rest/server/cookies/cookies_test.go new file mode 100644 index 00000000..ecfa2857 --- /dev/null +++ b/internal/adapters/entrypoints/rest/server/cookies/cookies_test.go @@ -0,0 +1,154 @@ +package cookies_test + +import ( + "encoding/hex" + "github.com/gorilla/sessions" + "github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/rest/server/cookies" + "github.com/rsksmart/liquidity-provider-server/internal/configuration/environment" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "net/http" + "net/http/httptest" + "sync" + "testing" +) + +func TestSession(t *testing.T) { + testGetSessionCookieStore(t) + cookie := testCreateManagementSession(t) + testCloseManagementSession(t, cookie) +} + +func testGetSessionCookieStore(t *testing.T) { + t.Run("return error if auth key is invalid", func(t *testing.T) { + env := environment.Environment{Management: environment.ManagementEnv{ + EnableManagementApi: false, + SessionAuthKey: "invalid", + SessionEncryptionKey: hex.EncodeToString(make([]byte, 32)), + SessionTokenAuthKey: hex.EncodeToString(make([]byte, 32)), + UseHttps: false, + }} + _, err := cookies.GetSessionCookieStore(env.Management) + require.Error(t, err) + }) + t.Run("return error if encryption key is invalid", func(t *testing.T) { + env := environment.Environment{Management: environment.ManagementEnv{ + EnableManagementApi: false, + SessionAuthKey: hex.EncodeToString(make([]byte, 32)), + SessionEncryptionKey: "invalid", + SessionTokenAuthKey: hex.EncodeToString(make([]byte, 32)), + UseHttps: false, + }} + _, err := cookies.GetSessionCookieStore(env.Management) + require.Error(t, err) + }) + t.Run("always return the same store", func(t *testing.T) { + env := environment.Environment{Management: environment.ManagementEnv{ + EnableManagementApi: false, + SessionAuthKey: hex.EncodeToString(make([]byte, 32)), + SessionEncryptionKey: hex.EncodeToString(make([]byte, 32)), + SessionTokenAuthKey: hex.EncodeToString(make([]byte, 32)), + UseHttps: false, + }} + stores := make([]sessions.Store, 0) + wg := sync.WaitGroup{} + mutex := sync.Mutex{} + wg.Add(10) + for i := 0; i < 10; i++ { + func() { + defer wg.Done() + defer mutex.Unlock() + mutex.Lock() + store, err := cookies.GetSessionCookieStore(env.Management) + require.NoError(t, err) + stores = append(stores, store) + }() + } + wg.Wait() + for i := 1; i < 10; i++ { + assert.Same(t, stores[0], stores[i]) + } + }) +} + +func testCreateManagementSession(t *testing.T) *http.Cookie { + var cookie *http.Cookie + t.Run("should create a new session", func(t *testing.T) { + env := environment.Environment{Management: environment.ManagementEnv{}} + store, err := cookies.GetSessionCookieStore(env.Management) + require.NoError(t, err) + req := httptest.NewRequest(http.MethodGet, "/", nil) + response := httptest.NewRecorder() + args := &cookies.CreateSessionArgs{ + Store: store, + Env: environment.ManagementEnv{}, + Request: req, + Writer: response, + } + err = cookies.CreateManagementSession(args) + require.NoError(t, err) + session, err := store.Get(req, cookies.ManagementSessionCookieName) + require.NoError(t, err) + assert.Equal(t, cookies.SessionMaxSeconds, session.Options.MaxAge) + assert.Equal(t, "/", session.Options.Path) + assert.True(t, session.Options.HttpOnly) + assert.Equal(t, http.SameSiteStrictMode, session.Options.SameSite) + assert.Equal(t, req.URL.Host, session.Options.Domain) + assert.Equal(t, env.Management.UseHttps, session.Options.Secure) + // nolint:bodyclose + cookie = response.Result().Cookies()[0] + require.NoError(t, response.Result().Body.Close()) + }) + + t.Run("should return error if session cannot be saved", func(t *testing.T) { + env := environment.Environment{Management: environment.ManagementEnv{}} + store, err := cookies.GetSessionCookieStore(env.Management) + require.NoError(t, err) + req := httptest.NewRequest(http.MethodGet, "/", nil) + args := &cookies.CreateSessionArgs{ + Store: store, + Env: environment.ManagementEnv{}, + Request: req, + Writer: nil, + } + err = cookies.CreateManagementSession(args) + require.Error(t, err) + }) + return cookie +} + +func testCloseManagementSession(t *testing.T, cookie *http.Cookie) { + t.Run("should close the session", func(t *testing.T) { + // validate session is open + env := environment.Environment{Management: environment.ManagementEnv{}} + store, err := cookies.GetSessionCookieStore(env.Management) + require.NoError(t, err) + req := httptest.NewRequest(http.MethodGet, "/", nil) + req.AddCookie(cookie) + session, err := store.Get(req, cookies.ManagementSessionCookieName) + require.NoError(t, err) + assert.False(t, session.IsNew) + + // close the session + res := httptest.NewRecorder() + args := &cookies.CloseSessionArgs{ + Store: store, + Request: req, + Writer: res, + } + require.NoError(t, cookies.CloseManagementSession(args)) + + // validate session is closed + req = httptest.NewRequest(http.MethodGet, "/", nil) + req.AddCookie(cookie) + session, err = store.Get(req, cookies.ManagementSessionCookieName) + require.NoError(t, err) + assert.True(t, session.IsNew) + }) + t.Run("should return error if the store doesn't have the correct type", func(t *testing.T) { + err := cookies.CloseManagementSession(&cookies.CloseSessionArgs{ + Store: sessions.NewCookieStore(), + }) + require.ErrorContains(t, err, "closing a unique session is only supported by UniqueSessionStore") + }) +} diff --git a/internal/adapters/entrypoints/rest/server/cookies/store_test.go b/internal/adapters/entrypoints/rest/server/cookies/store_test.go new file mode 100644 index 00000000..14768479 --- /dev/null +++ b/internal/adapters/entrypoints/rest/server/cookies/store_test.go @@ -0,0 +1,174 @@ +package cookies_test + +import ( + "encoding/hex" + "github.com/gorilla/securecookie" + "github.com/gorilla/sessions" + "github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/rest/server/cookies" + "github.com/rsksmart/liquidity-provider-server/internal/entities/utils" + "github.com/rsksmart/liquidity-provider-server/test" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "net/http" + "net/http/httptest" + "testing" +) + +const ( + key1String = "01fbac02d66202e8468d2a4f1deba4fa5c2491f592e0e22e32fe1e6acac25923" + key2String = "02fbac02d66202e8468d2a4f1deba4fa5c2491f592e0e22e32fe1e6acac25923" + cookieName = "cookie" +) + +func TestUniqueSessionStore_New(t *testing.T) { + var ( + cookie *http.Cookie + firstSessionId string + ) + k1, _ := hex.DecodeString(key1String) + k2, _ := hex.DecodeString(key2String) + store := cookies.NewUniqueSessionStore(cookieName, k1, k2) + t.Run("should return an error if the session name is different", func(t *testing.T) { + req := httptest.NewRequest(http.MethodGet, "/", nil) + session, err := store.New(req, test.AnyHash) + assertDummySession(t, session) + require.ErrorContains(t, err, "UniqueSessionStore is expecting cookie session name and received any hash") + }) + t.Run("should return an new session the first time", func(t *testing.T) { + req := httptest.NewRequest(http.MethodGet, "/", nil) + res := httptest.NewRecorder() + session, err := store.New(req, cookieName) + require.NoError(t, err) + assert.NotEmpty(t, session) + assert.True(t, session.IsNew) + + // get cookie for next test + err = store.Save(req, res, session) + require.NoError(t, err) + // nolint:bodyclose + cookie = res.Result().Cookies()[0] + require.NoError(t, res.Result().Body.Close()) + firstSessionId = session.ID + }) + t.Run("should return an existing session the second time", func(t *testing.T) { + t.Run("should handle error decoding cookie", func(t *testing.T) { + req := httptest.NewRequest(http.MethodGet, "/", nil) + req.AddCookie(&http.Cookie{Name: cookieName, Value: "-"}) + session, err := store.New(req, cookieName) + assertDummySession(t, session) + require.Error(t, err) + }) + t.Run("should return error when session not recognized", func(t *testing.T) { + req := httptest.NewRequest(http.MethodGet, "/", nil) + otherId, _ := utils.GetRandomBytes(32) + otherCookie, _ := securecookie.EncodeMulti(cookieName, hex.EncodeToString(otherId), securecookie.CodecsFromPairs(k1, k2)...) + req.AddCookie(&http.Cookie{Name: cookieName, Value: otherCookie}) + session, err := store.New(req, cookieName) + assertDummySession(t, session) + require.ErrorContains(t, err, "session not recognized") + }) + t.Run("should return existing session successfully", func(t *testing.T) { + req := httptest.NewRequest(http.MethodGet, "/", nil) + req.AddCookie(cookie) + session, err := store.New(req, cookieName) + require.NoError(t, err) + assert.NotNil(t, session) + assert.Equal(t, firstSessionId, session.ID) + assert.False(t, session.IsNew) + }) + }) +} + +func TestUniqueSessionStore_Get(t *testing.T) { + k1, _ := hex.DecodeString(key1String) + k2, _ := hex.DecodeString(key2String) + store := cookies.NewUniqueSessionStore(cookieName, k1, k2) + req := httptest.NewRequest(http.MethodGet, "/", nil) + newSession, err := store.New(req, cookieName) + require.NoError(t, err) + existingSession, err := store.Get(req, cookieName) + require.NoError(t, err) + assert.Equal(t, newSession.ID, existingSession.ID) +} + +func TestUniqueSessionStore_Save(t *testing.T) { + var session *sessions.Session + var err error + k1, _ := hex.DecodeString(key1String) + k2, _ := hex.DecodeString(key2String) + store := cookies.NewUniqueSessionStore(cookieName, k1, k2) + + req := httptest.NewRequest(http.MethodGet, "/", nil) + res := httptest.NewRecorder() + session, err = store.New(req, cookieName) + require.NoError(t, err) + assert.NotEmpty(t, session) + assert.True(t, session.IsNew) + + t.Run("should save session", func(t *testing.T) { + err = store.Save(req, res, session) + require.NoError(t, err) + // nolint:bodyclose + req.AddCookie(res.Result().Cookies()[0]) + require.NoError(t, res.Result().Body.Close()) + + session, err = store.Get(req, cookieName) + require.NoError(t, err) + assert.False(t, session.IsNew) + assert.NotEmpty(t, session.ID) + }) + t.Run("should remove session if max age is less than or equal to 0", func(t *testing.T) { + res = httptest.NewRecorder() + session, err = store.Get(req, cookieName) + session.Options.MaxAge = -1 + err = store.Save(req, res, session) + require.NoError(t, err) + // nolint:bodyclose + assert.Empty(t, res.Result().Cookies()[0].Value) + require.NoError(t, res.Result().Body.Close()) + }) +} + +func TestUniqueSessionStore_CloseUniqueSession(t *testing.T) { + k1, _ := hex.DecodeString(key1String) + k2, _ := hex.DecodeString(key2String) + store := cookies.NewUniqueSessionStore(cookieName, k1, k2) + req := httptest.NewRequest(http.MethodGet, "/", nil) + res := httptest.NewRecorder() + + session, err := store.New(req, cookieName) + require.NoError(t, err) + assert.True(t, session.IsNew) + err = store.Save(req, res, session) + require.NoError(t, err) + + // nolint:bodyclose + req.AddCookie(res.Result().Cookies()[0]) + require.NoError(t, res.Result().Body.Close()) + session, err = store.Get(req, cookieName) + require.NoError(t, err) + require.False(t, session.IsNew) + require.NotEmpty(t, session.ID) + + t.Run("should close the session", func(t *testing.T) { + req = httptest.NewRequest(http.MethodGet, "/", nil) + // nolint:bodyclose + req.AddCookie(res.Result().Cookies()[0]) + require.NoError(t, res.Result().Body.Close()) + res = httptest.NewRecorder() + err = store.CloseUniqueSession(req, res) + require.NoError(t, err) + + session, err = store.Get(req, cookieName) + require.NoError(t, err) + assert.Empty(t, session.ID) + }) +} + +func assertDummySession(t *testing.T, session *sessions.Session) { + assert.NotNil(t, session) + assert.Empty(t, session.Options) + assert.False(t, session.IsNew) + assert.Empty(t, session.Values) + assert.Empty(t, session.ID) +} diff --git a/internal/adapters/entrypoints/rest/server/server.go b/internal/adapters/entrypoints/rest/server/server.go index bc2854ae..8426b096 100644 --- a/internal/adapters/entrypoints/rest/server/server.go +++ b/internal/adapters/entrypoints/rest/server/server.go @@ -41,7 +41,7 @@ func NewServer(env environment.Environment, useCaseRegistry registry.UseCaseRegi } func (s *Server) start() error { - routes.ConfigureRoutes(s.router, s.env, s.useCaseRegistry) + routes.ConfigureRoutes(s.router, s.env, s.useCaseRegistry, routes.NewEndpointFactory()) w := log.StandardLogger().WriterLevel(s.logLevel) h := handlers.LoggingHandler(w, s.router) defer func(w *io.PipeWriter) { @@ -51,7 +51,7 @@ func (s *Server) start() error { Addr: ":" + strconv.FormatUint(uint64(s.env.Port), 10), Handler: h, ReadHeaderTimeout: 5 * time.Second, - WriteTimeout: 10 * time.Second, + WriteTimeout: 60 * time.Second, // 60 for endpoints that trigger a transaction IdleTimeout: 10 * time.Second, } diff --git a/internal/adapters/entrypoints/watcher/common_test.go b/internal/adapters/entrypoints/watcher/common_test.go new file mode 100644 index 00000000..35922cf9 --- /dev/null +++ b/internal/adapters/entrypoints/watcher/common_test.go @@ -0,0 +1,31 @@ +package watcher_test + +import ( + "github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher" + "github.com/rsksmart/liquidity-provider-server/test/mocks" + "sync" + "testing" + "time" +) + +func createWatcherShutdownTest(t *testing.T, createFunc func(t watcher.Ticker) watcher.Watcher) { + tickerChannel := make(chan time.Time, 1) + ticker := &mocks.TickerMock{} + ticker.EXPECT().C().Return(tickerChannel) + ticker.EXPECT().Stop().Return() + w := createFunc(ticker) + closeChannel := make(chan bool, 1) + wg := sync.WaitGroup{} + wg.Add(2) + go func() { + w.Start() + wg.Done() + }() + go func() { + w.Shutdown(closeChannel) + <-closeChannel + wg.Done() + }() + wg.Wait() + ticker.AssertExpectations(t) +} diff --git a/internal/adapters/entrypoints/watcher/liquidity_check.go b/internal/adapters/entrypoints/watcher/liquidity_check.go index ddf4e3fc..eaaae519 100644 --- a/internal/adapters/entrypoints/watcher/liquidity_check.go +++ b/internal/adapters/entrypoints/watcher/liquidity_check.go @@ -4,18 +4,24 @@ import ( "context" "github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider" log "github.com/sirupsen/logrus" - "time" ) type LiquidityCheckWatcher struct { checkLiquidityUseCase *liquidity_provider.CheckLiquidityUseCase watcherStopChannel chan bool - ticker *time.Ticker + ticker Ticker } -func NewLiquidityCheckWatcher(checkLiquidityUseCase *liquidity_provider.CheckLiquidityUseCase) *LiquidityCheckWatcher { +func NewLiquidityCheckWatcher( + checkLiquidityUseCase *liquidity_provider.CheckLiquidityUseCase, + ticker Ticker, +) *LiquidityCheckWatcher { watcherStopChannel := make(chan bool, 1) - return &LiquidityCheckWatcher{checkLiquidityUseCase: checkLiquidityUseCase, watcherStopChannel: watcherStopChannel} + return &LiquidityCheckWatcher{ + checkLiquidityUseCase: checkLiquidityUseCase, + watcherStopChannel: watcherStopChannel, + ticker: ticker, + } } func (watcher *LiquidityCheckWatcher) Shutdown(closeChannel chan<- bool) { @@ -29,12 +35,11 @@ func (watcher *LiquidityCheckWatcher) Prepare(ctx context.Context) error { retur func (watcher *LiquidityCheckWatcher) Start() { var ctx context.Context var cancel context.CancelFunc - watcher.ticker = time.NewTicker(liquidityCheckInterval) watcherLoop: for { select { - case <-watcher.ticker.C: + case <-watcher.ticker.C(): ctx, cancel = context.WithTimeout(context.Background(), watcherValidationTimeout) if err := watcher.checkLiquidityUseCase.Run(ctx); err != nil { log.Error("Error checking liquidity inside watcher: ", err) diff --git a/internal/adapters/entrypoints/watcher/liquidity_check_test.go b/internal/adapters/entrypoints/watcher/liquidity_check_test.go new file mode 100644 index 00000000..764314d6 --- /dev/null +++ b/internal/adapters/entrypoints/watcher/liquidity_check_test.go @@ -0,0 +1,87 @@ +package watcher_test + +import ( + "context" + "github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher" + "github.com/rsksmart/liquidity-provider-server/internal/entities" + "github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain" + "github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider" + "github.com/rsksmart/liquidity-provider-server/test" + "github.com/rsksmart/liquidity-provider-server/test/mocks" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/mock" + "github.com/stretchr/testify/require" + "sync" + "testing" + "time" +) + +func TestLiquidityCheckWatcher_Shutdown(t *testing.T) { + createWatcherShutdownTest(t, func(ticker watcher.Ticker) watcher.Watcher { + return watcher.NewLiquidityCheckWatcher(nil, ticker) + }) +} + +func TestLiquidityCheckWatcher_Start(t *testing.T) { + tickerChannel := make(chan time.Time) + ticker := &mocks.TickerMock{} + ticker.EXPECT().C().Return(tickerChannel) + ticker.EXPECT().Stop().Return() + providerMock := &mocks.ProviderMock{} + providerMock.On("HasPeginLiquidity", mock.Anything, mock.Anything).Return(nil) + providerMock.On("HasPegoutLiquidity", mock.Anything, mock.Anything).Return(nil) + bridgeMock := &mocks.BridgeMock{} + bridgeMock.On("GetMinimumLockTxValue").Return(entities.NewWei(5), nil) + useCase := liquidity_provider.NewCheckLiquidityUseCase(providerMock, providerMock, blockchain.RskContracts{Bridge: bridgeMock}, &mocks.AlertSenderMock{}, test.AnyString) + w := watcher.NewLiquidityCheckWatcher(useCase, ticker) + wg := sync.WaitGroup{} + wg.Add(2) + closeChannel := make(chan bool) + defer test.AssertNoLog(t)() + go func() { + defer wg.Done() + <-closeChannel + }() + go func() { + defer wg.Done() + w.Start() + }() + tickerChannel <- time.Now() + w.Shutdown(closeChannel) + wg.Wait() + providerMock.AssertExpectations(t) + bridgeMock.AssertExpectations(t) +} + +func TestLiquidityCheckWatcher_Start_ErrorHandling(t *testing.T) { + tickerChannel := make(chan time.Time) + closeChannel := make(chan bool) + ticker := &mocks.TickerMock{} + ticker.EXPECT().C().Return(tickerChannel) + ticker.EXPECT().Stop().Return() + providerMock := &mocks.ProviderMock{} + bridgeMock := &mocks.BridgeMock{} + bridgeMock.On("GetMinimumLockTxValue").Return(nil, assert.AnError) + useCase := liquidity_provider.NewCheckLiquidityUseCase(providerMock, providerMock, blockchain.RskContracts{Bridge: bridgeMock}, &mocks.AlertSenderMock{}, test.AnyString) + w := watcher.NewLiquidityCheckWatcher(useCase, ticker) + wg := sync.WaitGroup{} + wg.Add(2) + defer test.AssertLogContains(t, assert.AnError.Error()) + go func() { + defer wg.Done() + w.Start() + }() + go func() { + defer wg.Done() + <-closeChannel + }() + tickerChannel <- time.Now() + w.Shutdown(closeChannel) + wg.Wait() + bridgeMock.AssertExpectations(t) +} + +func TestLiquidityCheckWatcher_Prepare(t *testing.T) { + w := watcher.NewLiquidityCheckWatcher(nil, &mocks.TickerMock{}) + require.NoError(t, w.Prepare(context.Background())) +} diff --git a/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go b/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go index 204d1b36..468f9e4a 100644 --- a/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go +++ b/internal/adapters/entrypoints/watcher/pegin_bridge_watcher.go @@ -12,21 +12,23 @@ import ( w "github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher" log "github.com/sirupsen/logrus" "math/big" - "time" + "sync" ) // PeginBridgeWatcher is a watcher that checks the state of the pegin quotes and registers // the pegin on the bridge when the conditions are met type PeginBridgeWatcher struct { quotes map[string]quote.WatchedPeginQuote + quotesMutex sync.RWMutex registerPeginUseCase *pegin.RegisterPeginUseCase getWatchedPeginQuoteUseCase *w.GetWatchedPeginQuoteUseCase contracts blockchain.RskContracts rpc blockchain.Rpc - ticker *time.Ticker + ticker Ticker eventBus entities.EventBus watcherStopChannel chan bool currentBlock *big.Int + currentBlockMutex sync.RWMutex } func NewPeginBridgeWatcher( @@ -35,6 +37,7 @@ func NewPeginBridgeWatcher( contracts blockchain.RskContracts, rpc blockchain.Rpc, eventBus entities.EventBus, + ticker Ticker, ) *PeginBridgeWatcher { quotes := make(map[string]quote.WatchedPeginQuote) watcherStopChannel := make(chan bool, 1) @@ -46,15 +49,22 @@ func NewPeginBridgeWatcher( rpc: rpc, eventBus: eventBus, watcherStopChannel: watcherStopChannel, + ticker: ticker, + quotesMutex: sync.RWMutex{}, + currentBlockMutex: sync.RWMutex{}, } } func (watcher *PeginBridgeWatcher) Prepare(ctx context.Context) error { + watcher.currentBlockMutex.Lock() + defer watcher.currentBlockMutex.Unlock() watcher.currentBlock = big.NewInt(0) watchedQuotes, err := watcher.getWatchedPeginQuoteUseCase.Run(ctx, quote.PeginStateCallForUserSucceeded) if err != nil { return err } + watcher.quotesMutex.Lock() + defer watcher.quotesMutex.Unlock() for _, watchedQuote := range watchedQuotes { watcher.quotes[watchedQuote.RetainedQuote.QuoteHash] = watchedQuote } @@ -63,17 +73,20 @@ func (watcher *PeginBridgeWatcher) Prepare(ctx context.Context) error { func (watcher *PeginBridgeWatcher) Start() { eventChannel := watcher.eventBus.Subscribe(quote.CallForUserCompletedEventId) - watcher.ticker = time.NewTicker(peginBridgeWatcherInterval) watcherLoop: for { select { - case <-watcher.ticker.C: + case <-watcher.ticker.C(): + watcher.currentBlockMutex.Lock() + watcher.quotesMutex.Lock() if height, err := watcher.rpc.Btc.GetHeight(); err == nil && height.Cmp(watcher.currentBlock) > 0 { watcher.checkQuotes() watcher.currentBlock = height } else if err != nil { log.Error(peginBridgeWatcherLog(blockchain.BtcChainHeightErrorTemplate, err)) } + watcher.currentBlockMutex.Unlock() + watcher.quotesMutex.Unlock() case event := <-eventChannel: if event != nil { watcher.handleCallForUserCompleted(event) @@ -99,7 +112,8 @@ func (watcher *PeginBridgeWatcher) handleCallForUserCompleted(event entities.Eve log.Error(peginBridgeWatcherLog("Trying to parse wrong event")) return } - + watcher.quotesMutex.Lock() + defer watcher.quotesMutex.Unlock() if _, alreadyHaveQuote := watcher.quotes[quoteHash]; alreadyHaveQuote { log.Info(peginBridgeWatcherLog("Quote %s is already watched", quoteHash)) return @@ -141,6 +155,19 @@ func (watcher *PeginBridgeWatcher) validateQuote(watchedQuote quote.WatchedPegin tx.Confirmations >= watcher.contracts.Bridge.GetRequiredTxConfirmations() } +func (watcher *PeginBridgeWatcher) GetWatchedQuote(quoteHash string) (quote.WatchedPeginQuote, bool) { + watcher.quotesMutex.RLock() + defer watcher.quotesMutex.RUnlock() + watchedQuote, ok := watcher.quotes[quoteHash] + return watchedQuote, ok +} + +func (watcher *PeginBridgeWatcher) GetCurrentBlock() *big.Int { + watcher.currentBlockMutex.RLock() + defer watcher.currentBlockMutex.RUnlock() + return watcher.currentBlock +} + func peginBridgeWatcherLog(msg string, args ...any) string { return fmt.Sprintf("Pegin Bridge watcher: "+msg, args...) } diff --git a/internal/adapters/entrypoints/watcher/pegin_bridge_watcher_test.go b/internal/adapters/entrypoints/watcher/pegin_bridge_watcher_test.go new file mode 100644 index 00000000..25a36522 --- /dev/null +++ b/internal/adapters/entrypoints/watcher/pegin_bridge_watcher_test.go @@ -0,0 +1,337 @@ +package watcher_test + +import ( + "context" + "encoding/hex" + "errors" + "github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher" + "github.com/rsksmart/liquidity-provider-server/internal/configuration/environment" + "github.com/rsksmart/liquidity-provider-server/internal/entities" + "github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain" + "github.com/rsksmart/liquidity-provider-server/internal/entities/quote" + "github.com/rsksmart/liquidity-provider-server/internal/entities/utils" + "github.com/rsksmart/liquidity-provider-server/internal/usecases" + "github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin" + w "github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher" + "github.com/rsksmart/liquidity-provider-server/test" + "github.com/rsksmart/liquidity-provider-server/test/mocks" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/mock" + "github.com/stretchr/testify/require" + "math/big" + "testing" + "time" +) + +func TestPeginBridgeWatcher_Prepare(t *testing.T) { + quotes := []quote.RetainedPeginQuote{ + {QuoteHash: "pegin1", RequiredLiquidity: entities.NewWei(utils.MustGetRandomInt())}, + {QuoteHash: "pegin2", RequiredLiquidity: entities.NewWei(utils.MustGetRandomInt())}, + {QuoteHash: "pegin3", RequiredLiquidity: entities.NewWei(utils.MustGetRandomInt())}, + } + quoteRepository := &mocks.PeginQuoteRepositoryMock{} + quoteRepository.EXPECT().GetRetainedQuoteByState(mock.Anything, quote.PeginStateCallForUserSucceeded).Return(quotes, nil) + for _, q := range quotes { + quoteRepository.EXPECT().GetQuote(mock.Anything, q.QuoteHash). + Return("e.PeginQuote{Value: q.RequiredLiquidity}, nil) + } + useCase := w.NewGetWatchedPeginQuoteUseCase(quoteRepository) + peginWatcher := watcher.NewPeginBridgeWatcher(nil, useCase, blockchain.RskContracts{}, blockchain.Rpc{}, nil, nil) + err := peginWatcher.Prepare(context.Background()) + require.NoError(t, err) + for _, q := range quotes { + watchedQuote, ok := peginWatcher.GetWatchedQuote(q.QuoteHash) + require.True(t, ok) + assert.Equal(t, quote.WatchedPeginQuote{ + PeginQuote: quote.PeginQuote{Value: q.RequiredLiquidity}, + RetainedQuote: q, + }, watchedQuote) + } + quoteRepository.AssertExpectations(t) +} + +func TestPeginBridgeWatcher_Prepare_ErrorHandling(t *testing.T) { + qupteRepository := &mocks.PeginQuoteRepositoryMock{} + qupteRepository.EXPECT().GetRetainedQuoteByState(mock.Anything, mock.Anything).Return(nil, assert.AnError) + useCase := w.NewGetWatchedPeginQuoteUseCase(qupteRepository) + peginWatcher := watcher.NewPeginBridgeWatcher(nil, useCase, blockchain.RskContracts{}, blockchain.Rpc{}, nil, nil) + err := peginWatcher.Prepare(context.Background()) + require.Error(t, err) + qupteRepository.AssertExpectations(t) +} + +func TestPeginBridgeWatcher_Shutdown(t *testing.T) { + eventBus := &mocks.EventBusMock{} + eventBus.On("Subscribe", mock.Anything).Return(make(<-chan entities.Event)) + createWatcherShutdownTest(t, func(ticker watcher.Ticker) watcher.Watcher { + return watcher.NewPeginBridgeWatcher(nil, nil, blockchain.RskContracts{}, blockchain.Rpc{}, eventBus, ticker) + }) + eventBus.AssertExpectations(t) +} + +func TestPeginBridgeWatcher_Start_CfuCompleted(t *testing.T) { + quoteRepository := &mocks.PeginQuoteRepositoryMock{} + contracts := blockchain.RskContracts{} + rpc := blockchain.Rpc{} + eventBus := &mocks.EventBusMock{} + cfuChannel := make(chan entities.Event) + eventBus.On("Subscribe", quote.CallForUserCompletedEventId).Return((<-chan entities.Event)(cfuChannel)) + appMutexes := environment.NewApplicationMutexes() + getUseCase := w.NewGetWatchedPeginQuoteUseCase(quoteRepository) + registerUseCase := pegin.NewRegisterPeginUseCase(contracts, quoteRepository, eventBus, rpc, appMutexes.RskWalletMutex()) + ticker := &mocks.TickerMock{} + ticker.EXPECT().C().Return(make(chan time.Time)) + ticker.EXPECT().Stop().Return() + peginWatcher := watcher.NewPeginBridgeWatcher(registerUseCase, getUseCase, contracts, rpc, eventBus, ticker) + + go peginWatcher.Start() + + testPeginQuote := quote.PeginQuote{Nonce: 1} + testRetainedQuote := quote.RetainedPeginQuote{QuoteHash: test.AnyString, State: quote.PeginStateCallForUserSucceeded} + + t.Run("handle call for user performed", func(t *testing.T) { + watchedQuote, ok := peginWatcher.GetWatchedQuote(test.AnyString) + assert.False(t, ok) + assert.Empty(t, watchedQuote) + cfuChannel <- quote.CallForUserCompletedEvent{ + Event: entities.NewBaseEvent(quote.CallForUserCompletedEventId), + PeginQuote: testPeginQuote, + RetainedQuote: testRetainedQuote, + } + assert.Eventually(t, func() bool { + watchedQuote, ok = peginWatcher.GetWatchedQuote(test.AnyString) + assert.True(t, ok) + return assert.Equal(t, quote.WatchedPeginQuote{ + PeginQuote: testPeginQuote, + RetainedQuote: testRetainedQuote, + }, watchedQuote) + }, time.Second, 10*time.Millisecond) + }) + t.Run("handle already watched quote", func(t *testing.T) { + checkFunction := test.AssertLogContains(t, "Quote any value is already watched") + cfuChannel <- quote.CallForUserCompletedEvent{ + Event: entities.NewBaseEvent(quote.CallForUserCompletedEventId), + PeginQuote: testPeginQuote, + RetainedQuote: testRetainedQuote, + } + assert.Eventually(t, checkFunction, time.Second, 10*time.Millisecond) + }) + t.Run("handle incorrect event sent to bus", func(t *testing.T) { + checkFunction := test.AssertLogContains(t, "Trying to parse wrong event") + cfuChannel <- quote.PegoutQuoteCompletedEvent{ + Event: entities.NewBaseEvent(quote.PegoutQuoteCompletedEventId), + } + assert.Eventually(t, checkFunction, time.Second, 10*time.Millisecond) + }) + closeChannel := make(chan bool) + go peginWatcher.Shutdown(closeChannel) + <-closeChannel + assert.Eventually(t, func() bool { + return eventBus.AssertExpectations(t) && ticker.AssertExpectations(t) + }, time.Second, 10*time.Millisecond) +} + +// nolint:funlen +func TestPeginBridgeWatcher_Start_BlockchainCheck(t *testing.T) { + quoteHash := hex.EncodeToString([]byte{0x20}) + userTx := hex.EncodeToString([]byte{0x12}) + testPeginQuote := quote.PeginQuote{Nonce: 1} + testRetainedQuote := quote.RetainedPeginQuote{ + QuoteHash: quoteHash, + State: quote.PeginStateCallForUserSucceeded, + UserBtcTxHash: userTx, + } + + quoteRepository := &mocks.PeginQuoteRepositoryMock{} + quoteRepository.EXPECT().GetRetainedQuoteByState(mock.Anything, quote.PeginStateCallForUserSucceeded).Return([]quote.RetainedPeginQuote{}, nil) + bridge := &mocks.BridgeMock{} + lbc := &mocks.LbcMock{} + lbc.On("RegisterPegin", mock.Anything).Return(test.AnyHash, nil) + contracts := blockchain.RskContracts{Bridge: bridge, Lbc: lbc} + btcRpc := &mocks.BtcRpcMock{} + rpc := blockchain.Rpc{Btc: btcRpc} + eventBus := &mocks.EventBusMock{} + cfuChannel := make(chan entities.Event) + eventBus.On("Subscribe", quote.CallForUserCompletedEventId).Return((<-chan entities.Event)(cfuChannel)) + eventBus.On("Publish", mock.Anything).Return() + appMutexes := environment.NewApplicationMutexes() + getUseCase := w.NewGetWatchedPeginQuoteUseCase(quoteRepository) + registerUseCase := pegin.NewRegisterPeginUseCase(contracts, quoteRepository, eventBus, rpc, appMutexes.RskWalletMutex()) + ticker := &mocks.TickerMock{} + tickerChannel := make(chan time.Time) + ticker.EXPECT().C().Return(tickerChannel) + ticker.EXPECT().Stop().Return() + peginWatcher := watcher.NewPeginBridgeWatcher(registerUseCase, getUseCase, contracts, rpc, eventBus, ticker) + resetMocks := func() { + btcRpc.ExpectedCalls = []*mock.Call{} + btcRpc.Calls = []mock.Call{} + bridge.ExpectedCalls = []*mock.Call{} + bridge.Calls = []mock.Call{} + quoteRepository.ExpectedCalls = []*mock.Call{} + quoteRepository.Calls = []mock.Call{} + } + + prepareErr := peginWatcher.Prepare(context.Background()) + require.NoError(t, prepareErr) + go peginWatcher.Start() + + quoteRepository.AssertExpectations(t) + t.Run("should only update current block upwards", func(t *testing.T) { + resetMocks() + btcRpc.On("GetHeight").Return(big.NewInt(5), nil).Once() + btcRpc.On("GetHeight").Return(big.NewInt(4), nil).Once() + btcRpc.On("GetHeight").Return(big.NewInt(7), nil).Once() + + tickerChannel <- time.Now() + assert.Eventually(t, func() bool { + return assert.Equal(t, big.NewInt(5), peginWatcher.GetCurrentBlock()) + }, time.Second, 10*time.Millisecond) + + tickerChannel <- time.Now() + assert.Eventually(t, func() bool { + return assert.Equal(t, big.NewInt(5), peginWatcher.GetCurrentBlock()) + }, time.Second, 10*time.Millisecond) + + tickerChannel <- time.Now() + assert.Eventually(t, func() bool { + return assert.Equal(t, big.NewInt(7), peginWatcher.GetCurrentBlock()) + }, time.Second, 10*time.Millisecond) + + btcRpc.AssertExpectations(t) + }) + + t.Run("should not run register pegin on an unconfirmed quote", func(t *testing.T) { + resetMocks() + bridge.On("GetRequiredTxConfirmations").Return(uint64(10)).Once() + btcRpc.On("GetHeight").Return(big.NewInt(10), nil).Once() + btcRpc.On("GetTransactionInfo", testRetainedQuote.UserBtcTxHash).Return(blockchain.BitcoinTransactionInformation{ + Hash: userTx, + Confirmations: 9, + }, nil).Once() + cfuChannel <- quote.CallForUserCompletedEvent{ + Event: entities.NewBaseEvent(quote.CallForUserCompletedEventId), + PeginQuote: testPeginQuote, + RetainedQuote: testRetainedQuote, + } + tickerChannel <- time.Now() + assert.Eventually(t, func() bool { + return btcRpc.AssertExpectations(t) && bridge.AssertExpectations(t) + }, time.Second, 10*time.Millisecond) + }) + + t.Run("should run register pegin on a confirmed quote", func(t *testing.T) { + const errorMsg = "Error executing register pegin on quote 20:" + t.Run("should continue watching quote on recoverable error", func(t *testing.T) { + resetMocks() + defer test.AssertLogContains(t, errorMsg)() + watchedQuote, ok := peginWatcher.GetWatchedQuote(quoteHash) + assert.True(t, ok) + assert.Equal(t, quote.WatchedPeginQuote{ + PeginQuote: testPeginQuote, + RetainedQuote: testRetainedQuote, + }, watchedQuote) + bridge.On("GetRequiredTxConfirmations").Return(uint64(10)).Once() + btcRpc.On("GetHeight").Return(big.NewInt(12), nil).Once() + btcRpc.On("GetTransactionInfo", testRetainedQuote.UserBtcTxHash).Return(blockchain.BitcoinTransactionInformation{ + Hash: userTx, + Confirmations: 10, + }, nil).Once() + quoteRepository.EXPECT().GetQuote(mock.Anything, quoteHash).Return(nil, assert.AnError).Once() + tickerChannel <- time.Now() + assert.Eventually(t, func() bool { + return btcRpc.AssertExpectations(t) && bridge.AssertExpectations(t) && quoteRepository.AssertExpectations(t) + }, time.Second, 10*time.Millisecond) + watchedQuote, ok = peginWatcher.GetWatchedQuote(quoteHash) + assert.True(t, ok) + assert.Equal(t, quote.WatchedPeginQuote{ + PeginQuote: testPeginQuote, + RetainedQuote: testRetainedQuote, + }, watchedQuote) + }) + t.Run("should stop watching quote on unrecoverable error", func(t *testing.T) { + resetMocks() + defer test.AssertLogContains(t, errorMsg)() + watchedQuote, ok := peginWatcher.GetWatchedQuote(quoteHash) + assert.True(t, ok) + assert.Equal(t, quote.WatchedPeginQuote{ + PeginQuote: testPeginQuote, + RetainedQuote: testRetainedQuote, + }, watchedQuote) + bridge.On("GetRequiredTxConfirmations").Return(uint64(10)).Once() + btcRpc.On("GetHeight").Return(big.NewInt(13), nil).Once() + btcRpc.On("GetTransactionInfo", testRetainedQuote.UserBtcTxHash).Return(blockchain.BitcoinTransactionInformation{ + Hash: test.AnyHash, + Confirmations: 10, + }, nil).Once() + quoteRepository.EXPECT().GetQuote(mock.Anything, quoteHash).Return(nil, errors.Join(assert.AnError, usecases.NonRecoverableError)).Once() + tickerChannel <- time.Now() + assert.Eventually(t, func() bool { + return btcRpc.AssertExpectations(t) && bridge.AssertExpectations(t) && quoteRepository.AssertExpectations(t) + }, time.Second, 10*time.Millisecond) + watchedQuote, ok = peginWatcher.GetWatchedQuote(quoteHash) + assert.False(t, ok) + assert.Empty(t, watchedQuote) + }) + t.Run("should stop watching quote on successful register", func(t *testing.T) { + resetMocks() + cfuChannel <- quote.CallForUserCompletedEvent{ + Event: entities.NewBaseEvent(quote.CallForUserCompletedEventId), + PeginQuote: testPeginQuote, + RetainedQuote: testRetainedQuote, + } + time.Sleep(time.Second) + watchedQuote, ok := peginWatcher.GetWatchedQuote(quoteHash) + assert.True(t, ok) + assert.Equal(t, quote.WatchedPeginQuote{ + PeginQuote: testPeginQuote, + RetainedQuote: testRetainedQuote, + }, watchedQuote) + bridge.On("GetRequiredTxConfirmations").Return(uint64(10)).Twice() + btcRpc.On("GetHeight").Return(big.NewInt(14), nil).Once() + btcRpc.On("GetTransactionInfo", testRetainedQuote.UserBtcTxHash).Return(blockchain.BitcoinTransactionInformation{ + Hash: userTx, + Confirmations: 10, + }, nil).Twice() + btcRpc.On("GetRawTransaction", mock.Anything).Return([]byte{0x01}, nil).Once() + btcRpc.On("GetPartialMerkleTree", mock.Anything).Return([]byte{0x01}, nil).Once() + btcRpc.On("GetTransactionBlockInfo", mock.Anything).Return(blockchain.BitcoinBlockInformation{}, nil).Once() + quoteRepository.EXPECT().GetQuote(mock.Anything, quoteHash).Return(&testPeginQuote, nil).Once() + quoteRepository.EXPECT().UpdateRetainedQuote(mock.Anything, mock.Anything).Return(nil).Once() + tickerChannel <- time.Now() + assert.Eventually(t, func() bool { + return btcRpc.AssertExpectations(t) && bridge.AssertExpectations(t) && quoteRepository.AssertExpectations(t) + }, time.Second, 10*time.Millisecond) + watchedQuote, ok = peginWatcher.GetWatchedQuote(quoteHash) + assert.False(t, ok) + assert.Empty(t, watchedQuote) + }) + }) + + t.Run("should handle error getting height", func(t *testing.T) { + resetMocks() + checkFunction := test.AssertLogContains(t, assert.AnError.Error()) + btcRpc.On("GetHeight").Return(nil, assert.AnError).Once() + tickerChannel <- time.Now() + assert.Eventually(t, checkFunction, time.Second, 10*time.Millisecond) + btcRpc.AssertExpectations(t) + bridge.AssertNotCalled(t, "GetRequiredTxConfirmations") + }) + + t.Run("should handle error getting tx information", func(t *testing.T) { + resetMocks() + checkFunction := test.AssertLogContains(t, assert.AnError.Error()) + btcRpc.On("GetHeight").Return(big.NewInt(15), nil).Once() + btcRpc.On("GetTransactionInfo", testRetainedQuote.UserBtcTxHash).Return(blockchain.BitcoinTransactionInformation{}, assert.AnError).Once() + failRetainedQuote := testRetainedQuote + failRetainedQuote.QuoteHash = "fail" + cfuChannel <- quote.CallForUserCompletedEvent{ + Event: entities.NewBaseEvent(quote.CallForUserCompletedEventId), + PeginQuote: testPeginQuote, + RetainedQuote: failRetainedQuote, + } + tickerChannel <- time.Now() + assert.Eventually(t, checkFunction, time.Second, 10*time.Millisecond) + btcRpc.AssertExpectations(t) + bridge.AssertNotCalled(t, "GetRequiredTxConfirmations") + }) +} diff --git a/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go b/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go index 7265383d..418ae5c7 100644 --- a/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go +++ b/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher.go @@ -12,46 +12,70 @@ import ( w "github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher" log "github.com/sirupsen/logrus" "math/big" - "time" + "sync" ) type PeginDepositAddressWatcher struct { quotes map[string]quote.WatchedPeginQuote + quotesMutex sync.RWMutex getWatchedPeginQuoteUseCase *w.GetWatchedPeginQuoteUseCase updatePeginDepositUseCase *w.UpdatePeginDepositUseCase callForUserUseCase *pegin.CallForUserUseCase expiredUseCase *pegin.ExpiredPeginQuoteUseCase btcWallet blockchain.BitcoinWallet rpc blockchain.Rpc - ticker *time.Ticker + ticker Ticker eventBus entities.EventBus watcherStopChannel chan bool currentBlock *big.Int + currentBlockMutex sync.RWMutex } -const callForUserErrorTemplate = "Error executing call for user on quote %s: %v" +type PeginDepositAddressWatcherUseCases struct { + callForUserUseCase *pegin.CallForUserUseCase + getWatchedPeginQuoteUseCase *w.GetWatchedPeginQuoteUseCase + updatePeginDepositUseCase *w.UpdatePeginDepositUseCase + expiredUseCase *pegin.ExpiredPeginQuoteUseCase +} -func NewPeginDepositAddressWatcher( +func NewPeginDepositAddressWatcherUseCases( callForUserUseCase *pegin.CallForUserUseCase, getWatchedPeginQuoteUseCase *w.GetWatchedPeginQuoteUseCase, updatePeginDepositUseCase *w.UpdatePeginDepositUseCase, expiredUseCase *pegin.ExpiredPeginQuoteUseCase, +) *PeginDepositAddressWatcherUseCases { + return &PeginDepositAddressWatcherUseCases{ + callForUserUseCase: callForUserUseCase, + getWatchedPeginQuoteUseCase: getWatchedPeginQuoteUseCase, + updatePeginDepositUseCase: updatePeginDepositUseCase, + expiredUseCase: expiredUseCase, + } +} + +const callForUserErrorTemplate = "Error executing call for user on quote %s: %v" + +func NewPeginDepositAddressWatcher( + useCases *PeginDepositAddressWatcherUseCases, btcWallet blockchain.BitcoinWallet, rpc blockchain.Rpc, eventBus entities.EventBus, + ticker Ticker, ) *PeginDepositAddressWatcher { quotes := make(map[string]quote.WatchedPeginQuote) watcherStopChannel := make(chan bool, 1) return &PeginDepositAddressWatcher{ quotes: quotes, - callForUserUseCase: callForUserUseCase, - updatePeginDepositUseCase: updatePeginDepositUseCase, - getWatchedPeginQuoteUseCase: getWatchedPeginQuoteUseCase, - expiredUseCase: expiredUseCase, + quotesMutex: sync.RWMutex{}, + callForUserUseCase: useCases.callForUserUseCase, + updatePeginDepositUseCase: useCases.updatePeginDepositUseCase, + getWatchedPeginQuoteUseCase: useCases.getWatchedPeginQuoteUseCase, + expiredUseCase: useCases.expiredUseCase, btcWallet: btcWallet, eventBus: eventBus, watcherStopChannel: watcherStopChannel, rpc: rpc, + ticker: ticker, + currentBlockMutex: sync.RWMutex{}, } } @@ -59,7 +83,12 @@ func (watcher *PeginDepositAddressWatcher) Prepare(ctx context.Context) error { var err error var depositAddress string var watchedQuotes []quote.WatchedPeginQuote + watcher.currentBlockMutex.Lock() + defer watcher.currentBlockMutex.Unlock() watcher.currentBlock = big.NewInt(0) + + watcher.quotesMutex.Lock() + defer watcher.quotesMutex.Unlock() watchedQuotes, err = watcher.getWatchedPeginQuoteUseCase.Run(ctx, quote.PeginStateWaitingForDeposit, quote.PeginStateWaitingForDepositConfirmations) if err != nil { return err @@ -76,17 +105,18 @@ func (watcher *PeginDepositAddressWatcher) Prepare(ctx context.Context) error { func (watcher *PeginDepositAddressWatcher) Start() { eventChannel := watcher.eventBus.Subscribe(quote.AcceptedPeginQuoteEventId) - watcher.ticker = time.NewTicker(peginDepositWatcherInterval) watcherLoop: for { select { - case <-watcher.ticker.C: + case <-watcher.ticker.C(): + watcher.currentBlockMutex.Lock() if height, err := watcher.rpc.Btc.GetHeight(); err == nil && height.Cmp(watcher.currentBlock) > 0 { watcher.checkQuotes(context.Background()) watcher.currentBlock = height } else if err != nil { log.Error(peginBtcDepositWatcherLog("error getting Bitcoin chain height: %v", err)) } + watcher.currentBlockMutex.Unlock() case event := <-eventChannel: if event != nil { watcher.handleAcceptedPeginQuote(event) @@ -113,6 +143,8 @@ func (watcher *PeginDepositAddressWatcher) handleAcceptedPeginQuote(event entiti return } + watcher.quotesMutex.Lock() + defer watcher.quotesMutex.Unlock() if _, alreadyHaveQuote := watcher.quotes[quoteHash]; alreadyHaveQuote { log.Info(peginBtcDepositWatcherLog("Quote %s is already watched", quoteHash)) return @@ -136,6 +168,9 @@ func (watcher *PeginDepositAddressWatcher) handleQuote(ctx context.Context, watc var err error quoteHash := watchedQuote.RetainedQuote.QuoteHash + watcher.quotesMutex.Lock() + defer watcher.quotesMutex.Unlock() + if watchedQuote.RetainedQuote.State == quote.PeginStateWaitingForDeposit && watchedQuote.PeginQuote.IsExpired() { if err = watcher.expiredUseCase.Run(ctx, watchedQuote.RetainedQuote); err != nil { log.Error(peginBtcDepositWatcherLog("Error updating expired quote (%s): %v", quoteHash, err)) @@ -213,6 +248,19 @@ func (watcher *PeginDepositAddressWatcher) callForUser(ctx context.Context, watc } } +func (watcher *PeginDepositAddressWatcher) GetWatchedQuote(quoteHash string) (quote.WatchedPeginQuote, bool) { + watcher.quotesMutex.RLock() + defer watcher.quotesMutex.RUnlock() + watchedQuote, ok := watcher.quotes[quoteHash] + return watchedQuote, ok +} + +func (watcher *PeginDepositAddressWatcher) GetCurrentBlock() *big.Int { + watcher.currentBlockMutex.RLock() + defer watcher.currentBlockMutex.RUnlock() + return watcher.currentBlock +} + func peginBtcDepositWatcherLog(msg string, args ...any) string { return fmt.Sprintf("PeginDepositAddressWatcher: "+msg, args...) } diff --git a/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher_test.go b/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher_test.go new file mode 100644 index 00000000..da3fa946 --- /dev/null +++ b/internal/adapters/entrypoints/watcher/pegin_btc_deposit_watcher_test.go @@ -0,0 +1,407 @@ +package watcher_test + +import ( + "context" + "errors" + "github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher" + "github.com/rsksmart/liquidity-provider-server/internal/configuration/environment" + "github.com/rsksmart/liquidity-provider-server/internal/entities" + "github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain" + "github.com/rsksmart/liquidity-provider-server/internal/entities/quote" + "github.com/rsksmart/liquidity-provider-server/internal/usecases" + "github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin" + w "github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher" + "github.com/rsksmart/liquidity-provider-server/test" + "github.com/rsksmart/liquidity-provider-server/test/mocks" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/mock" + "github.com/stretchr/testify/require" + "math/big" + "testing" + "time" +) + +func TestPeginDepositAddressWatcher_Shutdown(t *testing.T) { + eventBus := &mocks.EventBusMock{} + eventBus.On("Subscribe", mock.Anything).Return(make(<-chan entities.Event)) + createWatcherShutdownTest(t, func(ticker watcher.Ticker) watcher.Watcher { + useCases := watcher.NewPeginDepositAddressWatcherUseCases(nil, nil, nil, nil) + return watcher.NewPeginDepositAddressWatcher(useCases, nil, blockchain.Rpc{}, eventBus, ticker) + }) +} + +func TestPeginDepositAddressWatcher_Prepare(t *testing.T) { + t.Run("prepare successfully", func(t *testing.T) { + retainedQuotes := []quote.RetainedPeginQuote{ + {QuoteHash: "q1", DepositAddress: "addr1"}, + {QuoteHash: "q2", DepositAddress: "addr2"}, + {QuoteHash: "q3", DepositAddress: "addr4"}, + } + peginRepository := &mocks.PeginQuoteRepositoryMock{} + peginRepository.EXPECT().GetRetainedQuoteByState(mock.Anything, quote.PeginStateWaitingForDeposit).Return(retainedQuotes[0:1], nil).Once() + peginRepository.EXPECT().GetRetainedQuoteByState(mock.Anything, quote.PeginStateWaitingForDepositConfirmations).Return(retainedQuotes[1:], nil).Once() + btcWallet := &mocks.BitcoinWalletMock{} + for i, q := range retainedQuotes { + peginRepository.EXPECT().GetQuote(mock.Anything, q.QuoteHash).Return("e.PeginQuote{Nonce: int64(i)}, nil).Once() + btcWallet.EXPECT().ImportAddress(q.DepositAddress).Return(nil).Once() + } + getWatchedUseCase := w.NewGetWatchedPeginQuoteUseCase(peginRepository) + useCases := watcher.NewPeginDepositAddressWatcherUseCases(nil, getWatchedUseCase, nil, nil) + addressWatcher := watcher.NewPeginDepositAddressWatcher(useCases, btcWallet, blockchain.Rpc{}, nil, nil) + err := addressWatcher.Prepare(context.Background()) + require.NoError(t, err) + peginRepository.AssertExpectations(t) + btcWallet.AssertExpectations(t) + for _, q := range retainedQuotes { + watchedQuote, ok := addressWatcher.GetWatchedQuote(q.QuoteHash) + require.True(t, ok) + require.Equal(t, q.QuoteHash, watchedQuote.RetainedQuote.QuoteHash) + } + }) + t.Run("handle error getting retained quotes", func(t *testing.T) { + peginRepository := &mocks.PeginQuoteRepositoryMock{} + peginRepository.EXPECT().GetRetainedQuoteByState(mock.Anything, mock.Anything).Return(nil, assert.AnError).Once() + getWatchedUseCase := w.NewGetWatchedPeginQuoteUseCase(peginRepository) + useCases := watcher.NewPeginDepositAddressWatcherUseCases(nil, getWatchedUseCase, nil, nil) + addressWatcher := watcher.NewPeginDepositAddressWatcher(useCases, nil, blockchain.Rpc{}, nil, nil) + err := addressWatcher.Prepare(context.Background()) + require.Error(t, err) + peginRepository.AssertExpectations(t) + }) +} + +// nolint:funlen +func TestPeginDepositAddressWatcher_Start_QuoteAccepted(t *testing.T) { + testRetainedQuote := quote.RetainedPeginQuote{QuoteHash: "010203", DepositAddress: test.AnyAddress} + testPeginQuote := quote.PeginQuote{Nonce: 5} + btcWallet := &mocks.BtcWalletMock{} + rpc := blockchain.Rpc{} + eventBus := &mocks.EventBusMock{} + acceptPeginChannel := make(chan entities.Event) + eventBus.On("Subscribe", quote.AcceptedPeginQuoteEventId).Return((<-chan entities.Event)(acceptPeginChannel)) + ticker := &mocks.TickerMock{} + ticker.EXPECT().C().Return(make(chan time.Time)) + ticker.EXPECT().Stop().Return() + useCases := watcher.NewPeginDepositAddressWatcherUseCases(nil, nil, nil, nil) + peginWatcher := watcher.NewPeginDepositAddressWatcher(useCases, btcWallet, rpc, eventBus, ticker) + + go peginWatcher.Start() + + t.Run("handle error importing address", func(t *testing.T) { + checkFunction := test.AssertLogContains(t, "error while importing deposit address (any address)") + btcWallet.On("ImportAddress", mock.Anything).Return(assert.AnError).Once() + acceptPeginChannel <- quote.AcceptedPeginQuoteEvent{ + Event: entities.NewBaseEvent(quote.AcceptedPeginQuoteEventId), + Quote: testPeginQuote, + RetainedQuote: testRetainedQuote, + } + watchedQuote, ok := peginWatcher.GetWatchedQuote(test.AnyString) + assert.False(t, ok) + assert.Empty(t, watchedQuote) + assert.Eventually(t, func() bool { return btcWallet.AssertExpectations(t) && checkFunction() }, time.Second, 10*time.Millisecond) + }) + t.Run("handle accepted pegin quote", func(t *testing.T) { + defer test.AssertNoLog(t) + btcWallet.Calls = []mock.Call{} + btcWallet.ExpectedCalls = []*mock.Call{} + btcWallet.On("ImportAddress", test.AnyAddress).Return(nil).Once() + watchedQuote, ok := peginWatcher.GetWatchedQuote(test.AnyString) + assert.False(t, ok) + assert.Empty(t, watchedQuote) + acceptPeginChannel <- quote.AcceptedPeginQuoteEvent{ + Event: entities.NewBaseEvent(quote.AcceptedPeginQuoteEventId), + Quote: testPeginQuote, + RetainedQuote: testRetainedQuote, + } + assert.Eventually(t, func() bool { + watchedQuote, ok = peginWatcher.GetWatchedQuote(testRetainedQuote.QuoteHash) + assert.True(t, ok) + return assert.Equal(t, quote.WatchedPeginQuote{ + PeginQuote: testPeginQuote, + RetainedQuote: testRetainedQuote, + }, watchedQuote) && btcWallet.AssertExpectations(t) + }, time.Second, 10*time.Millisecond) + }) + t.Run("handle already watched quote", func(t *testing.T) { + checkFunction := test.AssertLogContains(t, "Quote 010203 is already watched") + acceptPeginChannel <- quote.AcceptedPeginQuoteEvent{ + Event: entities.NewBaseEvent(quote.AcceptedPeginQuoteEventId), + Quote: testPeginQuote, + RetainedQuote: testRetainedQuote, + } + assert.Eventually(t, checkFunction, time.Second, 10*time.Millisecond) + }) + t.Run("handle incorrect event sent to bus", func(t *testing.T) { + checkFunction := test.AssertLogContains(t, "trying to parse wrong event") + acceptPeginChannel <- quote.PegoutQuoteCompletedEvent{ + Event: entities.NewBaseEvent(quote.PegoutQuoteCompletedEventId), + } + assert.Eventually(t, checkFunction, time.Second, 10*time.Millisecond) + }) + + closeChannel := make(chan bool) + go peginWatcher.Shutdown(closeChannel) + <-closeChannel + assert.Eventually(t, func() bool { + return eventBus.AssertExpectations(t) && ticker.AssertExpectations(t) + }, time.Second, 10*time.Millisecond) +} + +// nolint:funlen,cyclop,maintidx +func TestPeginDepositAddressWatcher_Start_BlockchainCheck(t *testing.T) { + peginRepository := &mocks.PeginQuoteRepositoryMock{} + peginRepository.EXPECT().GetRetainedQuoteByState(mock.Anything, quote.PeginStateWaitingForDeposit).Return([]quote.RetainedPeginQuote{}, nil).Once() + peginRepository.EXPECT().GetRetainedQuoteByState(mock.Anything, quote.PeginStateWaitingForDepositConfirmations).Return([]quote.RetainedPeginQuote{}, nil).Once() + btcWallet := &mocks.BtcWalletMock{} + btcRpc := &mocks.BtcRpcMock{} + rpc := blockchain.Rpc{Btc: btcRpc} + eventBus := &mocks.EventBusMock{} + eventBus.On("Publish", mock.Anything).Return(nil).Once() + acceptPeginChannel := make(chan entities.Event) + eventBus.On("Subscribe", quote.AcceptedPeginQuoteEventId).Return((<-chan entities.Event)(acceptPeginChannel)) + ticker := &mocks.TickerMock{} + tickerChannel := make(chan time.Time) + ticker.EXPECT().C().Return(tickerChannel) + ticker.EXPECT().Stop().Return() + lbc := &mocks.LbcMock{} + lbc.On("GetBalance", mock.Anything).Return(entities.NewWei(1000), nil) + lbc.On("CallForUser", mock.Anything, mock.Anything).Return(test.AnyHash, nil) + peginProvider := &mocks.ProviderMock{} + peginProvider.On("RskAddress").Return(test.AnyAddress) + appMutexes := environment.NewApplicationMutexes() + getUseCase := w.NewGetWatchedPeginQuoteUseCase(peginRepository) + expireUseCase := pegin.NewExpiredPeginQuoteUseCase(peginRepository) + updateUseCase := w.NewUpdatePeginDepositUseCase(peginRepository) + cfuUseCase := pegin.NewCallForUserUseCase(blockchain.RskContracts{Lbc: lbc}, peginRepository, rpc, peginProvider, eventBus, appMutexes.RskWalletMutex()) + useCases := watcher.NewPeginDepositAddressWatcherUseCases(cfuUseCase, getUseCase, updateUseCase, expireUseCase) + peginWatcher := watcher.NewPeginDepositAddressWatcher(useCases, btcWallet, rpc, eventBus, ticker) + + resetMocks := func() { + btcRpc.ExpectedCalls = []*mock.Call{} + btcRpc.Calls = []mock.Call{} + btcWallet.ExpectedCalls = []*mock.Call{} + btcWallet.Calls = []mock.Call{} + peginRepository.ExpectedCalls = []*mock.Call{} + peginRepository.Calls = []mock.Call{} + } + + prepareErr := peginWatcher.Prepare(context.Background()) + require.NoError(t, prepareErr) + go peginWatcher.Start() + + t.Run("should only update current block upwards", func(t *testing.T) { + resetMocks() + btcRpc.On("GetHeight").Return(big.NewInt(5), nil).Once() + btcRpc.On("GetHeight").Return(big.NewInt(4), nil).Once() + btcRpc.On("GetHeight").Return(big.NewInt(7), nil).Once() + + tickerChannel <- time.Now() + assert.Eventually(t, func() bool { + return assert.Equal(t, big.NewInt(5), peginWatcher.GetCurrentBlock()) + }, time.Second, 10*time.Millisecond) + + tickerChannel <- time.Now() + assert.Eventually(t, func() bool { + return assert.Equal(t, big.NewInt(5), peginWatcher.GetCurrentBlock()) + }, time.Second, 10*time.Millisecond) + + tickerChannel <- time.Now() + assert.Eventually(t, func() bool { + return assert.Equal(t, big.NewInt(7), peginWatcher.GetCurrentBlock()) + }, time.Second, 10*time.Millisecond) + + btcRpc.AssertExpectations(t) + }) + t.Run("should handle error getting block height", func(t *testing.T) { + resetMocks() + checkFunction := test.AssertLogContains(t, assert.AnError.Error()) + btcRpc.On("GetHeight").Return(nil, assert.AnError).Once() + tickerChannel <- time.Now() + assert.Eventually(t, checkFunction, time.Second, 10*time.Millisecond) + btcRpc.AssertExpectations(t) + }) + t.Run("should call expire use case on expired quotes", func(t *testing.T) { + expiredRetained := quote.RetainedPeginQuote{QuoteHash: test.AnyHash, DepositAddress: test.AnyAddress, State: quote.PeginStateWaitingForDeposit} + expiredQuote := quote.PeginQuote{Nonce: 6, AgreementTimestamp: 1} + t.Run("should handle error when expiring quotes", func(t *testing.T) { + resetMocks() + checkFunction := test.AssertLogContains(t, "Error updating expired quote (any hash)") + peginRepository.EXPECT().UpdateRetainedQuote(mock.Anything, mock.Anything).Return(assert.AnError).Once() + btcRpc.On("GetHeight").Return(big.NewInt(9), nil).Once() + btcWallet.On("ImportAddress", test.AnyAddress).Return(nil).Once() + acceptPeginChannel <- quote.AcceptedPeginQuoteEvent{ + Event: entities.NewBaseEvent(quote.AcceptedPeginQuoteEventId), + Quote: expiredQuote, + RetainedQuote: expiredRetained, + } + assert.Eventually(t, func() bool { + watchedQuote, ok := peginWatcher.GetWatchedQuote(test.AnyHash) + assert.True(t, ok) + return assert.Equal(t, quote.WatchedPeginQuote{ + PeginQuote: expiredQuote, + RetainedQuote: expiredRetained, + }, watchedQuote) && btcWallet.AssertExpectations(t) + }, time.Second, 10*time.Millisecond) + + tickerChannel <- time.Now() + + assert.Eventually(t, func() bool { + watchedQuote, ok := peginWatcher.GetWatchedQuote(test.AnyHash) + return checkFunction() && assert.NotEmpty(t, watchedQuote) && assert.True(t, ok) && + peginRepository.AssertExpectations(t) && btcRpc.AssertExpectations(t) + }, time.Second, 10*time.Millisecond) + }) + t.Run("should stop tracking quotes after expiring them", func(t *testing.T) { + resetMocks() + peginRepository.EXPECT().UpdateRetainedQuote(mock.Anything, mock.Anything).Return(nil).Once() + btcRpc.On("GetHeight").Return(big.NewInt(10), nil).Once() + assert.Eventually(t, func() bool { + watchedQuote, ok := peginWatcher.GetWatchedQuote(test.AnyHash) + assert.True(t, ok) + return assert.Equal(t, quote.WatchedPeginQuote{ + PeginQuote: expiredQuote, + RetainedQuote: expiredRetained, + }, watchedQuote) + }, time.Second, 10*time.Millisecond) + + tickerChannel <- time.Now() + + assert.Eventually(t, func() bool { + watchedQuote, ok := peginWatcher.GetWatchedQuote(test.AnyHash) + return assert.Empty(t, watchedQuote) && assert.False(t, ok) && peginRepository.AssertExpectations(t) && btcRpc.AssertExpectations(t) + }, time.Second, 10*time.Millisecond) + }) + }) + t.Run("should update state to WaitingForDepositConfirmations after first confirmation", func(t *testing.T) { + btcWallet.On("ImportAddress", test.AnyAddress).Return(nil).Once() + testRetainedQuote := quote.RetainedPeginQuote{QuoteHash: test.AnyHash, DepositAddress: test.AnyAddress, State: quote.PeginStateWaitingForDeposit} + testQuote := quote.PeginQuote{Nonce: 8, AgreementTimestamp: uint32(time.Now().Unix()), TimeForDeposit: 6000, Confirmations: 10, Value: entities.NewWei(1)} + acceptPeginChannel <- quote.AcceptedPeginQuoteEvent{ + Event: entities.NewBaseEvent(quote.AcceptedPeginQuoteEventId), + Quote: testQuote, + RetainedQuote: testRetainedQuote, + } + assert.Eventually(t, func() bool { return btcWallet.AssertExpectations(t) }, time.Second, 10*time.Millisecond) + t.Run("should handle error getting transactions from wallet", func(t *testing.T) { + resetMocks() + const errorMsg = "error getting tx" + btcRpc.On("GetHeight").Return(big.NewInt(11), nil).Once() + checkFunction := test.AssertLogContains(t, errorMsg) + btcWallet.On("GetTransactions", testRetainedQuote.DepositAddress).Return(nil, errors.New(errorMsg)).Once() + tickerChannel <- time.Now() + assert.Eventually(t, func() bool { + return checkFunction() && btcWallet.AssertExpectations(t) + }, time.Second, 10*time.Millisecond) + }) + t.Run("should handle error getting transaction block", func(t *testing.T) { + resetMocks() + const errorMsg = "error getting block" + btcRpc.On("GetHeight").Return(big.NewInt(12), nil).Once() + checkFunction := test.AssertLogContains(t, errorMsg) + btcWallet.On("GetTransactions", testRetainedQuote.DepositAddress).Return([]blockchain.BitcoinTransactionInformation{ + {Hash: test.AnyHash, Confirmations: 5, Outputs: map[string][]*entities.Wei{test.AnyAddress: {entities.NewWei(100)}}}, + }, nil).Once() + btcRpc.On("GetTransactionBlockInfo", test.AnyHash).Return(blockchain.BitcoinBlockInformation{}, errors.New(errorMsg)).Once() + tickerChannel <- time.Now() + assert.Eventually(t, func() bool { + return checkFunction() && btcWallet.AssertExpectations(t) && btcRpc.AssertExpectations(t) + }, time.Second, 10*time.Millisecond) + }) + t.Run("should not update quote if doesn't meet the conditions", func(t *testing.T) { + resetMocks() + // incorrect amount + btcRpc.On("GetHeight").Return(big.NewInt(13), nil).Once() + btcWallet.On("GetTransactions", testRetainedQuote.DepositAddress).Return([]blockchain.BitcoinTransactionInformation{ + {Hash: test.AnyHash, Confirmations: 1, Outputs: map[string][]*entities.Wei{test.AnyAddress: {entities.NewWei(0)}}}, + }, nil).Once() + btcRpc.On("GetTransactionBlockInfo", test.AnyHash).Return(blockchain.BitcoinBlockInformation{Time: time.Now()}, nil).Once() + tickerChannel <- time.Now() + + // incorrect time + btcRpc.On("GetHeight").Return(big.NewInt(14), nil).Once() + btcWallet.On("GetTransactions", testRetainedQuote.DepositAddress).Return([]blockchain.BitcoinTransactionInformation{ + {Hash: test.AnyHash, Confirmations: 1, Outputs: map[string][]*entities.Wei{test.AnyAddress: {entities.NewWei(100)}}}, + }, nil).Once() + btcRpc.On("GetTransactionBlockInfo", test.AnyHash).Return(blockchain.BitcoinBlockInformation{Time: time.Now().Add(8000 * time.Second)}, nil).Once() + tickerChannel <- time.Now() + + assert.Eventually(t, func() bool { + return btcWallet.AssertExpectations(t) && btcRpc.AssertExpectations(t) && peginRepository.AssertNotCalled(t, "UpdateRetainedQuote", mock.Anything, mock.Anything) + }, time.Second, 10*time.Millisecond) + }) + t.Run("should update quote successfully and continue tracking it", func(t *testing.T) { + resetMocks() + btcRpc.On("GetHeight").Return(big.NewInt(15), nil).Once() + btcWallet.On("GetTransactions", testRetainedQuote.DepositAddress).Return([]blockchain.BitcoinTransactionInformation{ + {Hash: test.AnyHash, Confirmations: 1, Outputs: map[string][]*entities.Wei{test.AnyAddress: {entities.NewWei(100)}}}, + }, nil).Once() + btcRpc.On("GetTransactionBlockInfo", test.AnyHash).Return(blockchain.BitcoinBlockInformation{Time: time.Now()}, nil).Once() + peginRepository.EXPECT().UpdateRetainedQuote(mock.Anything, mock.Anything).Return(nil).Once() + tickerChannel <- time.Now() + assert.Eventually(t, func() bool { + watchedQuote, _ := peginWatcher.GetWatchedQuote(test.AnyHash) + return btcWallet.AssertExpectations(t) && btcRpc.AssertExpectations(t) && + peginRepository.AssertExpectations(t) && assert.Equal(t, quote.PeginStateWaitingForDepositConfirmations, watchedQuote.RetainedQuote.State) + }, time.Second, 10*time.Millisecond) + }) + }) + t.Run("should execute call for user use case after confirmations have passed", func(t *testing.T) { + t.Run("should not execute call for user if confirmations aren't enough", func(t *testing.T) { + resetMocks() + btcRpc.On("GetHeight").Return(big.NewInt(16), nil).Once() + btcRpc.On("GetTransactionInfo", test.AnyHash).Return(blockchain.BitcoinTransactionInformation{Confirmations: 5}, nil).Once() + tickerChannel <- time.Now() + assert.Eventually(t, func() bool { + return btcRpc.AssertExpectations(t) && peginRepository.AssertNotCalled(t, "UpdateRetainedQuote", mock.Anything, mock.Anything) + }, time.Second, 10*time.Millisecond) + }) + t.Run("shouldn't stop tracking quote on recoverable error", func(t *testing.T) { + resetMocks() + btcRpc.On("GetHeight").Return(big.NewInt(17), nil).Once() + btcRpc.On("GetTransactionInfo", test.AnyHash).Return(blockchain.BitcoinTransactionInformation{Confirmations: 10}, nil).Once() + peginRepository.EXPECT().GetQuote(mock.Anything, mock.Anything).Return(nil, assert.AnError).Once() + tickerChannel <- time.Now() + assert.Eventually(t, func() bool { + watchedQuote, ok := peginWatcher.GetWatchedQuote(test.AnyHash) + return btcRpc.AssertExpectations(t) && peginRepository.AssertExpectations(t) && assert.True(t, ok) && assert.NotEmpty(t, watchedQuote) + }, time.Second, 10*time.Millisecond) + }) + t.Run("should stop tracking quote on non-recoverable error", func(t *testing.T) { + resetMocks() + btcRpc.On("GetHeight").Return(big.NewInt(18), nil).Once() + btcRpc.On("GetTransactionInfo", test.AnyHash).Return(blockchain.BitcoinTransactionInformation{Confirmations: 10}, nil).Once() + peginRepository.EXPECT().GetQuote(mock.Anything, mock.Anything).Return(nil, errors.Join(assert.AnError, usecases.NonRecoverableError)).Once() + tickerChannel <- time.Now() + assert.Eventually(t, func() bool { + watchedQuote, ok := peginWatcher.GetWatchedQuote(test.AnyHash) + return btcRpc.AssertExpectations(t) && peginRepository.AssertExpectations(t) && assert.False(t, ok) && assert.Empty(t, watchedQuote) + }, time.Second, 10*time.Millisecond) + }) + t.Run("should stop tracking quote on successful call for user", func(t *testing.T) { + resetMocks() + testRetainedQuote := quote.RetainedPeginQuote{QuoteHash: test.AnyHash, DepositAddress: test.AnyAddress, State: quote.PeginStateWaitingForDepositConfirmations} + testQuote := quote.PeginQuote{Nonce: 8, AgreementTimestamp: uint32(time.Now().Unix()), TimeForDeposit: 6000, Confirmations: 10, Value: entities.NewWei(1)} + + btcWallet.On("ImportAddress", test.AnyAddress).Return(nil).Once() + btcRpc.On("GetTransactionInfo", mock.Anything).Return(blockchain.BitcoinTransactionInformation{ + Hash: test.AnyHash, Confirmations: 15, Outputs: map[string][]*entities.Wei{test.AnyAddress: {entities.NewWei(100)}}, + }, nil).Twice() + btcRpc.On("GetHeight").Return(big.NewInt(19), nil).Once() + btcRpc.On("GetTransactionBlockInfo", mock.Anything).Return(blockchain.BitcoinBlockInformation{Time: time.Now()}, nil).Once() + peginRepository.EXPECT().GetQuote(mock.Anything, mock.Anything).Return(&testQuote, nil).Once() + peginRepository.EXPECT().UpdateRetainedQuote(mock.Anything, mock.Anything).Return(nil).Once() + + acceptPeginChannel <- quote.AcceptedPeginQuoteEvent{ + Event: entities.NewBaseEvent(quote.AcceptedPeginQuoteEventId), + Quote: testQuote, + RetainedQuote: testRetainedQuote, + } + tickerChannel <- time.Now() + assert.Eventually(t, func() bool { + watchedQuote, ok := peginWatcher.GetWatchedQuote(test.AnyHash) + return btcWallet.AssertExpectations(t) && btcRpc.AssertExpectations(t) && peginRepository.AssertExpectations(t) && + assert.False(t, ok) && assert.Empty(t, watchedQuote) + }, time.Second, 10*time.Millisecond) + }) + }) +} diff --git a/internal/adapters/entrypoints/watcher/pegout_bridge_watcher.go b/internal/adapters/entrypoints/watcher/pegout_bridge_watcher.go index ee9b2245..53f9ad42 100644 --- a/internal/adapters/entrypoints/watcher/pegout_bridge_watcher.go +++ b/internal/adapters/entrypoints/watcher/pegout_bridge_watcher.go @@ -9,7 +9,6 @@ import ( "github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout" w "github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher" log "github.com/sirupsen/logrus" - "time" ) // PegoutBridgeWatcher is a watcher that checks the state of the pegout quotes and creates a transaction @@ -18,26 +17,26 @@ import ( type PegoutBridgeWatcher struct { getQuotesUseCase *w.GetWatchedPegoutQuoteUseCase bridgePegoutUseCase *pegout.BridgePegoutUseCase - ticker *time.Ticker + ticker Ticker watcherStopChannel chan struct{} } -func NewPegoutBridgeWatcher(getQuotesUseCase *w.GetWatchedPegoutQuoteUseCase, bridgePegoutUseCase *pegout.BridgePegoutUseCase) *PegoutBridgeWatcher { +func NewPegoutBridgeWatcher(getQuotesUseCase *w.GetWatchedPegoutQuoteUseCase, bridgePegoutUseCase *pegout.BridgePegoutUseCase, ticker Ticker) *PegoutBridgeWatcher { return &PegoutBridgeWatcher{ getQuotesUseCase: getQuotesUseCase, bridgePegoutUseCase: bridgePegoutUseCase, watcherStopChannel: make(chan struct{}, 1), + ticker: ticker, } } func (watcher *PegoutBridgeWatcher) Prepare(ctx context.Context) error { return nil } func (watcher *PegoutBridgeWatcher) Start() { - watcher.ticker = time.NewTicker(pegoutBridgeWatcherInterval) watcherLoop: for { select { - case <-watcher.ticker.C: + case <-watcher.ticker.C(): watcher.runUseCases() case <-watcher.watcherStopChannel: watcher.ticker.Stop() diff --git a/internal/adapters/entrypoints/watcher/pegout_bridge_watcher_test.go b/internal/adapters/entrypoints/watcher/pegout_bridge_watcher_test.go new file mode 100644 index 00000000..577abba3 --- /dev/null +++ b/internal/adapters/entrypoints/watcher/pegout_bridge_watcher_test.go @@ -0,0 +1,97 @@ +package watcher_test + +import ( + "context" + "github.com/ethereum/go-ethereum/common/math" + "github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher" + "github.com/rsksmart/liquidity-provider-server/internal/configuration/environment" + "github.com/rsksmart/liquidity-provider-server/internal/entities" + "github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain" + "github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider" + "github.com/rsksmart/liquidity-provider-server/internal/entities/quote" + "github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout" + w "github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher" + "github.com/rsksmart/liquidity-provider-server/test" + "github.com/rsksmart/liquidity-provider-server/test/mocks" + log "github.com/sirupsen/logrus" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/mock" + "github.com/stretchr/testify/require" + "testing" + "time" +) + +func TestPegoutBridgeWatcher_Start(t *testing.T) { + ticker := &mocks.TickerMock{} + tickerChannel := make(chan time.Time) + ticker.EXPECT().C().Return(tickerChannel) + pegoutRepository := &mocks.PegoutQuoteRepositoryMock{} + providerMock := &mocks.ProviderMock{} + rskWallet := &mocks.RskWalletMock{} + bridge := &mocks.BridgeMock{} + bridge.On("GetAddress").Return(test.AnyAddress) + mutexes := environment.NewApplicationMutexes() + bridgeUseCase := pegout.NewBridgePegoutUseCase(pegoutRepository, providerMock, rskWallet, blockchain.RskContracts{Bridge: bridge}, mutexes.RskWalletMutex()) + getUseCase := w.NewGetWatchedPegoutQuoteUseCase(pegoutRepository) + bridgeWatcher := watcher.NewPegoutBridgeWatcher(getUseCase, bridgeUseCase, ticker) + resetMocks := func() { + pegoutRepository.Calls = []mock.Call{} + pegoutRepository.ExpectedCalls = []*mock.Call{} + providerMock.Calls = []mock.Call{} + providerMock.ExpectedCalls = []*mock.Call{} + rskWallet.Calls = []mock.Call{} + rskWallet.ExpectedCalls = []*mock.Call{} + } + go bridgeWatcher.Start() + t.Run("should handle error getting quotes", func(t *testing.T) { + resetMocks() + checkFunc := test.AssertLogContains(t, "error getting pegout quotes") + pegoutRepository.EXPECT().GetRetainedQuoteByState(mock.Anything, mock.Anything).Return(nil, assert.AnError).Once() + tickerChannel <- time.Now() + assert.Eventually(t, func() bool { return checkFunc() && pegoutRepository.AssertExpectations(t) }, time.Second, 10*time.Millisecond) + }) + const quoteHash = "0102" + t.Run("should log error sending tx to the bridge", func(t *testing.T) { + resetMocks() + checkFunc := test.AssertLogContains(t, "error sending pegout to bridge") + pegoutRepository.EXPECT().GetRetainedQuoteByState(mock.Anything, quote.PegoutStateRefundPegOutSucceeded).Return([]quote.RetainedPegoutQuote{ + {QuoteHash: quoteHash, State: quote.PegoutStateRefundPegOutSucceeded}, + }, nil).Once() + pegoutRepository.EXPECT().GetQuote(mock.Anything, quoteHash).Return("e.PegoutQuote{Value: entities.NewBigWei(math.BigPow(10, 19))}, nil).Once() + providerMock.On("PegoutConfiguration", mock.Anything).Return(liquidity_provider.DefaultPegoutConfiguration()).Once() + rskWallet.On("GetBalance", mock.Anything).Return((*entities.Wei)(nil), assert.AnError).Once() + tickerChannel <- time.Now() + assert.Eventually(t, func() bool { + return checkFunc() && rskWallet.AssertExpectations(t) && providerMock.AssertExpectations(t) && pegoutRepository.AssertExpectations(t) + }, time.Second, 10*time.Millisecond) + }) + t.Run("should send tx to the bridge successfully", func(t *testing.T) { + resetMocks() + log.SetLevel(log.DebugLevel) + checkFunc := test.AssertLogContains(t, "transaction sent to the bridge successfully") + pegoutRepository.EXPECT().GetRetainedQuoteByState(mock.Anything, quote.PegoutStateRefundPegOutSucceeded).Return([]quote.RetainedPegoutQuote{ + {QuoteHash: quoteHash, State: quote.PegoutStateRefundPegOutSucceeded}, + }, nil).Once() + pegoutRepository.EXPECT().GetQuote(mock.Anything, quoteHash).Return("e.PegoutQuote{Value: entities.NewBigWei(math.BigPow(10, 19))}, nil).Once() + providerMock.On("PegoutConfiguration", mock.Anything).Return(liquidity_provider.DefaultPegoutConfiguration()).Once() + rskWallet.On("GetBalance", mock.Anything).Return(entities.NewBigWei(math.BigPow(10, 20)), nil).Once() + rskWallet.On("SendRbtc", mock.Anything, mock.Anything, mock.Anything).Return(test.AnyHash, nil).Once() + pegoutRepository.EXPECT().UpdateRetainedQuotes(mock.Anything, mock.Anything).Return(nil).Once() + tickerChannel <- time.Now() + assert.Eventually(t, func() bool { + return checkFunc() && rskWallet.AssertExpectations(t) && providerMock.AssertExpectations(t) && pegoutRepository.AssertExpectations(t) + }, time.Second, 10*time.Millisecond) + }) +} + +func TestPegoutBridgeWatcher_Prepare(t *testing.T) { + bridgeWatcher := watcher.NewPegoutBridgeWatcher(nil, nil, nil) + err := bridgeWatcher.Prepare(context.Background()) + require.NoError(t, err) +} + +func TestPegoutBridgeWatcher_Shutdown(t *testing.T) { + createWatcherShutdownTest(t, func(ticker watcher.Ticker) watcher.Watcher { + return watcher.NewPegoutBridgeWatcher(nil, nil, ticker) + }) +} diff --git a/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go b/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go index 06fcd727..e7026d83 100644 --- a/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go +++ b/internal/adapters/entrypoints/watcher/pegout_btc_watcher.go @@ -12,18 +12,20 @@ import ( w "github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher" log "github.com/sirupsen/logrus" "math/big" - "time" + "sync" ) type PegoutBtcTransferWatcher struct { quotes map[string]quote.WatchedPegoutQuote + quotesMutex sync.RWMutex getWatchedPegoutQuoteUseCase *w.GetWatchedPegoutQuoteUseCase refundPegoutUseCase *pegout.RefundPegoutUseCase rpc blockchain.Rpc - ticker *time.Ticker + ticker Ticker eventBus entities.EventBus watcherStopChannel chan bool currentBlock *big.Int + currentBlockMutex sync.RWMutex } func NewPegoutBtcTransferWatcher( @@ -31,18 +33,22 @@ func NewPegoutBtcTransferWatcher( refundPegoutUseCase *pegout.RefundPegoutUseCase, rpc blockchain.Rpc, eventBus entities.EventBus, + ticker Ticker, ) *PegoutBtcTransferWatcher { quotes := make(map[string]quote.WatchedPegoutQuote) watcherStopChannel := make(chan bool, 1) currentBlock := big.NewInt(0) return &PegoutBtcTransferWatcher{ quotes: quotes, + quotesMutex: sync.RWMutex{}, getWatchedPegoutQuoteUseCase: getWatchedPegoutQuoteUseCase, refundPegoutUseCase: refundPegoutUseCase, rpc: rpc, eventBus: eventBus, watcherStopChannel: watcherStopChannel, currentBlock: currentBlock, + ticker: ticker, + currentBlockMutex: sync.RWMutex{}, } } @@ -53,10 +59,15 @@ func (watcher *PegoutBtcTransferWatcher) Shutdown(closeChannel chan<- bool) { } func (watcher *PegoutBtcTransferWatcher) Prepare(ctx context.Context) error { + watcher.currentBlockMutex.Lock() + defer watcher.currentBlockMutex.Unlock() + watcher.currentBlock = big.NewInt(0) watchedQuotes, err := watcher.getWatchedPegoutQuoteUseCase.Run(ctx, quote.PegoutStateSendPegoutSucceeded) if err != nil { return err } + watcher.quotesMutex.Lock() + defer watcher.quotesMutex.Unlock() for _, watchedQuote := range watchedQuotes { watcher.quotes[watchedQuote.RetainedQuote.QuoteHash] = watchedQuote } @@ -65,17 +76,20 @@ func (watcher *PegoutBtcTransferWatcher) Prepare(ctx context.Context) error { func (watcher *PegoutBtcTransferWatcher) Start() { eventChannel := watcher.eventBus.Subscribe(quote.PegoutBtcSentEventId) - watcher.ticker = time.NewTicker(pegoutBtcTransferWatcherInterval) watcherLoop: for { select { - case <-watcher.ticker.C: + case <-watcher.ticker.C(): + watcher.quotesMutex.Lock() + watcher.currentBlockMutex.Lock() if height, err := watcher.rpc.Btc.GetHeight(); err == nil && height.Cmp(watcher.currentBlock) > 0 { watcher.checkQuotes() watcher.currentBlock = height } else if err != nil { log.Error(pegoutBtcWatcherLog(blockchain.BtcChainHeightErrorTemplate, err)) } + watcher.quotesMutex.Unlock() + watcher.currentBlockMutex.Unlock() case event := <-eventChannel: if event != nil { watcher.handleBtcSentToUserCompleted(event) @@ -119,10 +133,12 @@ func (watcher *PegoutBtcTransferWatcher) handleBtcSentToUserCompleted(event enti parsedEvent, ok := event.(quote.PegoutBtcSentToUserEvent) quoteHash := parsedEvent.RetainedQuote.QuoteHash if !ok { - log.Error(pegoutBtcWatcherLog("Trying to parse wrong event in Pegin Bridge watcher")) + log.Error(pegoutBtcWatcherLog("Trying to parse wrong event in Pegout Bridge watcher")) return } + watcher.quotesMutex.Lock() + defer watcher.quotesMutex.Unlock() if _, alreadyHaveQuote := watcher.quotes[quoteHash]; alreadyHaveQuote { log.Info(pegoutBtcWatcherLog("Quote %s is already watched", quoteHash)) return @@ -134,6 +150,19 @@ func (watcher *PegoutBtcTransferWatcher) handleBtcSentToUserCompleted(event enti watcher.quotes[quoteHash] = quote.NewWatchedPegoutQuote(parsedEvent.PegoutQuote, parsedEvent.RetainedQuote) } +func (watcher *PegoutBtcTransferWatcher) GetWatchedQuote(quoteHash string) (quote.WatchedPegoutQuote, bool) { + watcher.quotesMutex.RLock() + defer watcher.quotesMutex.RUnlock() + watchedQuote, ok := watcher.quotes[quoteHash] + return watchedQuote, ok +} + +func (watcher *PegoutBtcTransferWatcher) GetCurrentBlock() *big.Int { + watcher.currentBlockMutex.RLock() + defer watcher.currentBlockMutex.RUnlock() + return watcher.currentBlock +} + func (watcher *PegoutBtcTransferWatcher) validateQuote(watchedQuote quote.WatchedPegoutQuote, tx blockchain.BitcoinTransactionInformation) bool { return watchedQuote.RetainedQuote.State == quote.PegoutStateSendPegoutSucceeded && tx.Confirmations >= uint64(watchedQuote.PegoutQuote.TransferConfirmations) diff --git a/internal/adapters/entrypoints/watcher/pegout_btc_watcher_test.go b/internal/adapters/entrypoints/watcher/pegout_btc_watcher_test.go new file mode 100644 index 00000000..b5da9bf4 --- /dev/null +++ b/internal/adapters/entrypoints/watcher/pegout_btc_watcher_test.go @@ -0,0 +1,274 @@ +package watcher_test + +import ( + "context" + "errors" + "github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher" + "github.com/rsksmart/liquidity-provider-server/internal/entities" + "github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain" + "github.com/rsksmart/liquidity-provider-server/internal/entities/quote" + "github.com/rsksmart/liquidity-provider-server/internal/entities/utils" + "github.com/rsksmart/liquidity-provider-server/internal/usecases" + "github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout" + w "github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher" + "github.com/rsksmart/liquidity-provider-server/test" + "github.com/rsksmart/liquidity-provider-server/test/mocks" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/mock" + "github.com/stretchr/testify/require" + "math/big" + "testing" + "time" +) + +func TestPegoutBtcTransferWatcher_Start_SentPegout(t *testing.T) { + testRetainedQuote := quote.RetainedPegoutQuote{QuoteHash: "010203", DepositAddress: test.AnyAddress, LpBtcTxHash: "040506", State: quote.PegoutStateSendPegoutSucceeded} + testPegoutQuote := quote.PegoutQuote{Nonce: 5} + rpc := blockchain.Rpc{} + eventBus := &mocks.EventBusMock{} + pegoutSentChannel := make(chan entities.Event) + eventBus.On("Subscribe", quote.PegoutBtcSentEventId).Return((<-chan entities.Event)(pegoutSentChannel)) + ticker := &mocks.TickerMock{} + ticker.EXPECT().C().Return(make(chan time.Time)) + ticker.EXPECT().Stop().Return() + pegoutWatcher := watcher.NewPegoutBtcTransferWatcher(nil, nil, rpc, eventBus, ticker) + + go pegoutWatcher.Start() + t.Run("handle quote without tx hash", func(t *testing.T) { + checkFunction := test.AssertLogContains(t, "Quote 010203 doesn't have btc tx hash to watch") + incomplete := testRetainedQuote + incomplete.LpBtcTxHash = "" + pegoutSentChannel <- quote.PegoutBtcSentToUserEvent{ + Event: entities.NewBaseEvent(quote.PegoutBtcSentEventId), + PegoutQuote: testPegoutQuote, + RetainedQuote: incomplete, + } + watchedQuote, ok := pegoutWatcher.GetWatchedQuote(test.AnyString) + assert.False(t, ok) + assert.Empty(t, watchedQuote) + assert.Eventually(t, checkFunction, time.Second, 10*time.Millisecond) + }) + t.Run("handle sent pegout", func(t *testing.T) { + defer test.AssertNoLog(t) + watchedQuote, ok := pegoutWatcher.GetWatchedQuote(test.AnyString) + assert.False(t, ok) + assert.Empty(t, watchedQuote) + pegoutSentChannel <- quote.PegoutBtcSentToUserEvent{ + Event: entities.NewBaseEvent(quote.PegoutBtcSentEventId), + PegoutQuote: testPegoutQuote, + RetainedQuote: testRetainedQuote, + } + assert.Eventually(t, func() bool { + watchedQuote, ok = pegoutWatcher.GetWatchedQuote(testRetainedQuote.QuoteHash) + assert.True(t, ok) + return assert.Equal(t, quote.WatchedPegoutQuote{PegoutQuote: testPegoutQuote, RetainedQuote: testRetainedQuote}, watchedQuote) + }, time.Second, 10*time.Millisecond) + }) + t.Run("handle already watched quote", func(t *testing.T) { + checkFunction := test.AssertLogContains(t, "Quote 010203 is already watched") + pegoutSentChannel <- quote.PegoutBtcSentToUserEvent{ + Event: entities.NewBaseEvent(quote.PegoutBtcSentEventId), + PegoutQuote: testPegoutQuote, RetainedQuote: testRetainedQuote, + } + assert.Eventually(t, checkFunction, time.Second, 10*time.Millisecond) + }) + t.Run("handle incorrect event sent to bus", func(t *testing.T) { + checkFunction := test.AssertLogContains(t, "Trying to parse wrong event in Pegout Bridge watcher") + pegoutSentChannel <- quote.CallForUserCompletedEvent{Event: entities.NewBaseEvent(quote.CallForUserCompletedEventId)} + assert.Eventually(t, checkFunction, time.Second, 10*time.Millisecond) + }) + + closeChannel := make(chan bool) + go pegoutWatcher.Shutdown(closeChannel) + <-closeChannel + assert.Eventually(t, func() bool { return eventBus.AssertExpectations(t) && ticker.AssertExpectations(t) }, time.Second, 10*time.Millisecond) +} + +// nolint:funlen,cyclop +func TestPegoutBtcTransferWatcher_Start_BlockchainCheck(t *testing.T) { + testRetainedQuote := quote.RetainedPegoutQuote{QuoteHash: "070809", DepositAddress: test.AnyAddress, LpBtcTxHash: "030201", State: quote.PegoutStateSendPegoutSucceeded} + testPegoutQuote := quote.PegoutQuote{Nonce: 5, TransferConfirmations: 5} + pegoutRepository := &mocks.PegoutQuoteRepositoryMock{} + btcRpc := &mocks.BtcRpcMock{} + rpc := blockchain.Rpc{Btc: btcRpc} + eventBus := &mocks.EventBusMock{} + pegoutSentChannel := make(chan entities.Event) + eventBus.On("Subscribe", quote.PegoutBtcSentEventId).Return((<-chan entities.Event)(pegoutSentChannel)) + eventBus.On("Publish", mock.Anything).Return(nil) + tickerChannel := make(chan time.Time) + ticker := &mocks.TickerMock{} + ticker.EXPECT().C().Return(tickerChannel) + ticker.EXPECT().Stop().Return() + mutex := new(mocks.MutexMock) + mutex.On("Lock").Return(nil) + mutex.On("Unlock").Return() + lbc := &mocks.LbcMock{} + lbc.On("RefundPegout", mock.Anything, mock.Anything).Return(test.AnyHash, nil).Once() + refundUseCase := pegout.NewRefundPegoutUseCase(pegoutRepository, blockchain.RskContracts{Lbc: lbc}, eventBus, rpc, mutex) + pegoutWatcher := watcher.NewPegoutBtcTransferWatcher(nil, refundUseCase, rpc, eventBus, ticker) + resetMocks := func() { + btcRpc.Calls = []mock.Call{} + btcRpc.ExpectedCalls = []*mock.Call{} + pegoutRepository.Calls = []mock.Call{} + pegoutRepository.ExpectedCalls = []*mock.Call{} + } + go pegoutWatcher.Start() + t.Run("should only update block upwards", func(t *testing.T) { + resetMocks() + btcRpc.On("GetHeight").Return(big.NewInt(5), nil).Once() + btcRpc.On("GetHeight").Return(big.NewInt(4), nil).Once() + btcRpc.On("GetHeight").Return(big.NewInt(6), nil).Once() + + tickerChannel <- time.Now() + assert.Eventually(t, func() bool { return assert.Equal(t, big.NewInt(5), pegoutWatcher.GetCurrentBlock()) }, time.Second, 10*time.Millisecond) + + tickerChannel <- time.Now() + assert.Eventually(t, func() bool { return assert.Equal(t, big.NewInt(5), pegoutWatcher.GetCurrentBlock()) }, time.Second, 10*time.Millisecond) + + tickerChannel <- time.Now() + assert.Eventually(t, func() bool { return assert.Equal(t, big.NewInt(6), pegoutWatcher.GetCurrentBlock()) }, time.Second, 10*time.Millisecond) + + btcRpc.AssertExpectations(t) + }) + t.Run("should handle error getting height", func(t *testing.T) { + resetMocks() + checkFunction := test.AssertLogContains(t, "error getting Bitcoin chain height") + btcRpc.On("GetHeight").Return(nil, assert.AnError).Once() + tickerChannel <- time.Now() + assert.Eventually(t, func() bool { return checkFunction() && btcRpc.AssertExpectations(t) }, time.Second, 10*time.Millisecond) + }) + pegoutSentChannel <- quote.PegoutBtcSentToUserEvent{ + Event: entities.NewBaseEvent(quote.PegoutBtcSentEventId), + PegoutQuote: testPegoutQuote, RetainedQuote: testRetainedQuote, + } + t.Run("should handle error getting tx info", func(t *testing.T) { + resetMocks() + checkFunction := test.AssertLogContains(t, "error getting Bitcoin transaction information (030201)") + btcRpc.On("GetHeight").Return(big.NewInt(8), nil).Once() + btcRpc.On("GetTransactionInfo", testRetainedQuote.LpBtcTxHash).Return(blockchain.BitcoinTransactionInformation{}, assert.AnError).Once() + tickerChannel <- time.Now() + assert.Eventually(t, func() bool { return checkFunction() && btcRpc.AssertExpectations(t) }, time.Second, 10*time.Millisecond) + }) + t.Run("shouldn't refund pegout if transaction is not mature enough", func(t *testing.T) { + resetMocks() + btcRpc.On("GetHeight").Return(big.NewInt(9), nil).Once() + btcRpc.On("GetTransactionInfo", testRetainedQuote.LpBtcTxHash).Return(blockchain.BitcoinTransactionInformation{Confirmations: 1}, nil).Once() + watchedQuote, ok := pegoutWatcher.GetWatchedQuote(testRetainedQuote.QuoteHash) + assert.True(t, ok) + assert.Equal(t, quote.WatchedPegoutQuote{PegoutQuote: testPegoutQuote, RetainedQuote: testRetainedQuote}, watchedQuote) + tickerChannel <- time.Now() + assert.Eventually(t, func() bool { + watchedQuote, ok = pegoutWatcher.GetWatchedQuote(testRetainedQuote.QuoteHash) + return btcRpc.AssertExpectations(t) && assert.True(t, ok) && + assert.Equal(t, quote.WatchedPegoutQuote{PegoutQuote: testPegoutQuote, RetainedQuote: testRetainedQuote}, watchedQuote) + }, time.Second, 10*time.Millisecond) + }) + const errorMsg = "Error executing refund pegout on quote" + t.Run("shouldn't stop tracking quote on recoverable error", func(t *testing.T) { + resetMocks() + checkFunction := test.AssertLogContains(t, errorMsg) + btcRpc.On("GetHeight").Return(big.NewInt(10), nil).Once() + btcRpc.On("GetTransactionInfo", testRetainedQuote.LpBtcTxHash).Return(blockchain.BitcoinTransactionInformation{Confirmations: 10}, nil).Once() + pegoutRepository.EXPECT().GetQuote(mock.Anything, testRetainedQuote.QuoteHash).Return(nil, assert.AnError).Once() + watchedQuote, ok := pegoutWatcher.GetWatchedQuote(testRetainedQuote.QuoteHash) + assert.True(t, ok) + assert.Equal(t, quote.WatchedPegoutQuote{PegoutQuote: testPegoutQuote, RetainedQuote: testRetainedQuote}, watchedQuote) + tickerChannel <- time.Now() + assert.Eventually(t, func() bool { + watchedQuote, ok = pegoutWatcher.GetWatchedQuote(testRetainedQuote.QuoteHash) + return btcRpc.AssertExpectations(t) && assert.True(t, ok) && pegoutRepository.AssertExpectations(t) && checkFunction() && + assert.Equal(t, quote.WatchedPegoutQuote{PegoutQuote: testPegoutQuote, RetainedQuote: testRetainedQuote}, watchedQuote) + }, time.Second, 10*time.Millisecond) + }) + t.Run("should stop tracking quote on non-recoverable error", func(t *testing.T) { + resetMocks() + checkFunction := test.AssertLogContains(t, errorMsg) + btcRpc.On("GetHeight").Return(big.NewInt(11), nil).Once() + btcRpc.On("GetTransactionInfo", testRetainedQuote.LpBtcTxHash).Return(blockchain.BitcoinTransactionInformation{Confirmations: 10}, nil).Once() + pegoutRepository.EXPECT().GetQuote(mock.Anything, testRetainedQuote.QuoteHash).Return(nil, errors.Join(assert.AnError, usecases.NonRecoverableError)).Once() + watchedQuote, ok := pegoutWatcher.GetWatchedQuote(testRetainedQuote.QuoteHash) + assert.True(t, ok) + assert.Equal(t, quote.WatchedPegoutQuote{PegoutQuote: testPegoutQuote, RetainedQuote: testRetainedQuote}, watchedQuote) + tickerChannel <- time.Now() + assert.Eventually(t, func() bool { + watchedQuote, ok = pegoutWatcher.GetWatchedQuote(testRetainedQuote.QuoteHash) + return btcRpc.AssertExpectations(t) && assert.False(t, ok) && pegoutRepository.AssertExpectations(t) && checkFunction() && + assert.Empty(t, watchedQuote) + }, time.Second, 10*time.Millisecond) + }) + pegoutSentChannel <- quote.PegoutBtcSentToUserEvent{ + Event: entities.NewBaseEvent(quote.PegoutBtcSentEventId), + PegoutQuote: testPegoutQuote, RetainedQuote: testRetainedQuote, + } + t.Run("should stop tracking quote on successful refund", func(t *testing.T) { + resetMocks() + btcRpc.On("GetHeight").Return(big.NewInt(12), nil).Once() + btcRpc.On("GetTransactionInfo", testRetainedQuote.LpBtcTxHash).Return(blockchain.BitcoinTransactionInformation{Confirmations: 10}, nil).Twice() + btcRpc.On("GetTransactionBlockInfo", mock.Anything).Return(blockchain.BitcoinBlockInformation{}, nil).Once() + btcRpc.On("BuildMerkleBranch", mock.Anything).Return(blockchain.MerkleBranch{}, nil).Once() + btcRpc.On("GetRawTransaction", mock.Anything).Return([]byte{1, 2, 3}, nil).Once() + pegoutRepository.EXPECT().GetQuote(mock.Anything, testRetainedQuote.QuoteHash).Return(&testPegoutQuote, nil).Once() + pegoutRepository.EXPECT().UpdateRetainedQuote(mock.Anything, mock.Anything).Return(nil).Once() + assert.Eventually(t, func() bool { + watchedQuote, ok := pegoutWatcher.GetWatchedQuote(testRetainedQuote.QuoteHash) + return assert.True(t, ok) && assert.Equal(t, quote.WatchedPegoutQuote{PegoutQuote: testPegoutQuote, RetainedQuote: testRetainedQuote}, watchedQuote) + }, time.Second, 10*time.Millisecond) + + tickerChannel <- time.Now() + + assert.Eventually(t, func() bool { + watchedQuote, ok := pegoutWatcher.GetWatchedQuote(testRetainedQuote.QuoteHash) + return assert.False(t, ok) && assert.Empty(t, watchedQuote) && btcRpc.AssertExpectations(t) && pegoutRepository.AssertExpectations(t) && lbc.AssertExpectations(t) + }, time.Second, 10*time.Millisecond) + }) + closeChannel := make(chan bool) + go pegoutWatcher.Shutdown(closeChannel) + <-closeChannel + assert.Eventually(t, func() bool { return eventBus.AssertExpectations(t) && ticker.AssertExpectations(t) }, time.Second, 10*time.Millisecond) +} + +func TestPegoutBtcTransferWatcher_Prepare(t *testing.T) { + t.Run("prepare watcher successfully", func(t *testing.T) { + quotes := []quote.RetainedPegoutQuote{ + {QuoteHash: "pegout1", RequiredLiquidity: entities.NewWei(utils.MustGetRandomInt())}, + {QuoteHash: "pegout2", RequiredLiquidity: entities.NewWei(utils.MustGetRandomInt())}, + {QuoteHash: "pegout3", RequiredLiquidity: entities.NewWei(utils.MustGetRandomInt())}, + } + quoteRepository := &mocks.PegoutQuoteRepositoryMock{} + quoteRepository.EXPECT().GetRetainedQuoteByState(mock.Anything, quote.PegoutStateSendPegoutSucceeded).Return(quotes, nil) + for _, q := range quotes { + quoteRepository.EXPECT().GetQuote(mock.Anything, q.QuoteHash). + Return("e.PegoutQuote{Value: q.RequiredLiquidity}, nil) + } + useCase := w.NewGetWatchedPegoutQuoteUseCase(quoteRepository) + pegoutWatcher := watcher.NewPegoutBtcTransferWatcher(useCase, nil, blockchain.Rpc{}, nil, nil) + err := pegoutWatcher.Prepare(context.Background()) + require.NoError(t, err) + for _, q := range quotes { + watchedQuote, ok := pegoutWatcher.GetWatchedQuote(q.QuoteHash) + require.True(t, ok) + assert.Equal(t, quote.WatchedPegoutQuote{ + PegoutQuote: quote.PegoutQuote{Value: q.RequiredLiquidity}, + RetainedQuote: q, + }, watchedQuote) + } + quoteRepository.AssertExpectations(t) + }) + t.Run("handle error preparing watcher", func(t *testing.T) { + pegoutRepository := &mocks.PegoutQuoteRepositoryMock{} + pegoutRepository.EXPECT().GetRetainedQuoteByState(mock.Anything, mock.Anything).Return(nil, assert.AnError).Once() + useCase := w.NewGetWatchedPegoutQuoteUseCase(pegoutRepository) + addressWatcher := watcher.NewPegoutBtcTransferWatcher(useCase, nil, blockchain.Rpc{}, nil, nil) + err := addressWatcher.Prepare(context.Background()) + require.Error(t, err) + pegoutRepository.AssertExpectations(t) + }) +} + +func TestPegoutBtcTransferWatcher_Shutdown(t *testing.T) { + eventBus := &mocks.EventBusMock{} + eventBus.On("Subscribe", mock.Anything).Return(make(<-chan entities.Event)) + createWatcherShutdownTest(t, func(ticker watcher.Ticker) watcher.Watcher { + return watcher.NewPegoutBtcTransferWatcher(nil, nil, blockchain.Rpc{}, eventBus, ticker) + }) +} diff --git a/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go b/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go index 42c38169..ab6742ae 100644 --- a/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go +++ b/internal/adapters/entrypoints/watcher/pegout_rsk_watcher.go @@ -12,11 +12,13 @@ import ( "github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout" w "github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher" log "github.com/sirupsen/logrus" + "sync" "time" ) type PegoutRskDepositWatcher struct { quotes map[string]quote.WatchedPegoutQuote + quotesMutex sync.RWMutex getWatchedPegoutQuoteUseCase *w.GetWatchedPegoutQuoteUseCase expiredUseCase *pegout.ExpiredPegoutQuoteUseCase sendPegoutUseCase *pegout.SendPegoutUseCase @@ -25,11 +27,12 @@ type PegoutRskDepositWatcher struct { pegoutLp liquidity_provider.PegoutLiquidityProvider rpc blockchain.Rpc contracts blockchain.RskContracts - ticker *time.Ticker + ticker Ticker eventBus entities.EventBus watcherStopChannel chan bool currentBlock uint64 cacheStartBlock uint64 + currentBlockMutex sync.RWMutex } type PegoutRskDepositWatcherUseCases struct { @@ -63,6 +66,7 @@ func NewPegoutRskDepositWatcher( contracts blockchain.RskContracts, eventBus entities.EventBus, cacheStartBlock uint64, + ticker Ticker, ) *PegoutRskDepositWatcher { quotes := make(map[string]quote.WatchedPegoutQuote) watcherStopChannel := make(chan bool, 1) @@ -81,6 +85,9 @@ func NewPegoutRskDepositWatcher( watcherStopChannel: watcherStopChannel, currentBlock: currentBlock, cacheStartBlock: cacheStartBlock, + ticker: ticker, + currentBlockMutex: sync.RWMutex{}, + quotesMutex: sync.RWMutex{}, } } @@ -99,6 +106,10 @@ func (watcher *PegoutRskDepositWatcher) Prepare(ctx context.Context) error { return err } pegoutConfig := watcher.pegoutLp.PegoutConfiguration(ctx) + watcher.currentBlockMutex.Lock() + defer watcher.currentBlockMutex.Unlock() + watcher.quotesMutex.Lock() + defer watcher.quotesMutex.Unlock() for _, watchedQuote := range watchedQuotes { quoteCreationBlock = quote.GetCreationBlock(pegoutConfig, watchedQuote.PegoutQuote) if watcher.currentBlock == 0 || watcher.currentBlock > quoteCreationBlock { @@ -115,12 +126,13 @@ func (watcher *PegoutRskDepositWatcher) Start() { var checkContext context.Context var checkCancel context.CancelFunc eventChannel := watcher.eventBus.Subscribe(quote.AcceptedPegoutQuoteEventId) - watcher.ticker = time.NewTicker(pegoutDepositWatcherInterval) watcherLoop: for { select { - case <-watcher.ticker.C: + case <-watcher.ticker.C(): + watcher.currentBlockMutex.Lock() + watcher.quotesMutex.Lock() checkContext, checkCancel = context.WithTimeout(context.Background(), 1*time.Minute) if height, err := watcher.rpc.Rsk.GetHeight(checkContext); err == nil && height > watcher.currentBlock { watcher.checkDeposits(checkContext, watcher.currentBlock, height) @@ -130,6 +142,8 @@ watcherLoop: log.Error(pegoutRskWatcherLog(blockchain.RskChainHeightErrorTemplate, err)) } checkCancel() + watcher.currentBlockMutex.Unlock() + watcher.quotesMutex.Unlock() case event := <-eventChannel: if event != nil { watcher.handleAcceptedPegoutQuote(event) @@ -149,6 +163,8 @@ func (watcher *PegoutRskDepositWatcher) Shutdown(closeChannel chan<- bool) { } func (watcher *PegoutRskDepositWatcher) handleAcceptedPegoutQuote(event entities.Event) { + watcher.quotesMutex.Lock() + defer watcher.quotesMutex.Unlock() parsedEvent, ok := event.(quote.AcceptedPegoutQuoteEvent) quoteHash := parsedEvent.RetainedQuote.QuoteHash if !ok { @@ -232,6 +248,19 @@ func (watcher *PegoutRskDepositWatcher) sendPegout(ctx context.Context, watchedQ } } +func (watcher *PegoutRskDepositWatcher) GetWatchedQuote(quoteHash string) (quote.WatchedPegoutQuote, bool) { + watcher.quotesMutex.RLock() + defer watcher.quotesMutex.RUnlock() + watchedQuote, ok := watcher.quotes[quoteHash] + return watchedQuote, ok +} + +func (watcher *PegoutRskDepositWatcher) GetCurrentBlock() uint64 { + watcher.currentBlockMutex.RLock() + defer watcher.currentBlockMutex.RUnlock() + return watcher.currentBlock +} + func validateDepositedPegoutQuote(watchedQuote quote.WatchedPegoutQuote, receipt blockchain.TransactionReceipt, height uint64) bool { return receipt.BlockNumber+uint64(watchedQuote.PegoutQuote.DepositConfirmations) < height && watchedQuote.RetainedQuote.State == quote.PegoutStateWaitingForDepositConfirmations && diff --git a/internal/adapters/entrypoints/watcher/pegout_rsk_watcher_test.go b/internal/adapters/entrypoints/watcher/pegout_rsk_watcher_test.go new file mode 100644 index 00000000..697baf7b --- /dev/null +++ b/internal/adapters/entrypoints/watcher/pegout_rsk_watcher_test.go @@ -0,0 +1,434 @@ +package watcher_test + +import ( + "context" + "errors" + "github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher" + "github.com/rsksmart/liquidity-provider-server/internal/configuration/environment" + "github.com/rsksmart/liquidity-provider-server/internal/entities" + "github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain" + "github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider" + "github.com/rsksmart/liquidity-provider-server/internal/entities/quote" + "github.com/rsksmart/liquidity-provider-server/internal/usecases" + "github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout" + w "github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher" + "github.com/rsksmart/liquidity-provider-server/test" + "github.com/rsksmart/liquidity-provider-server/test/mocks" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/mock" + "github.com/stretchr/testify/require" + "testing" + "time" +) + +func TestPegoutRskDepositWatcher_Prepare(t *testing.T) { + t.Run("should handle error during cache initialization", func(t *testing.T) { + contracts := blockchain.RskContracts{} + rskRpc := &mocks.RootstockRpcServerMock{} + rpc := blockchain.Rpc{Rsk: rskRpc} + initCacheUseCase := pegout.NewInitPegoutDepositCacheUseCase(&mocks.PegoutQuoteRepositoryMock{}, contracts, rpc) + useCases := watcher.NewPegoutRskDepositWatcherUseCases(nil, nil, nil, nil, initCacheUseCase) + depositWatcher := watcher.NewPegoutRskDepositWatcher(useCases, nil, rpc, contracts, nil, 1, nil) + rskRpc.EXPECT().GetHeight(mock.Anything).Return(uint64(0), assert.AnError) + err := depositWatcher.Prepare(context.Background()) + require.Error(t, err) + rskRpc.AssertExpectations(t) + }) + t.Run("should initialize quote cache", func(t *testing.T) { + testRetainedQuotes := []quote.RetainedPegoutQuote{ + {QuoteHash: "0102", State: quote.PegoutStateWaitingForDeposit}, + {QuoteHash: "0203", State: quote.PegoutStateWaitingForDepositConfirmations}, + {QuoteHash: "0304", State: quote.PegoutStateWaitingForDeposit}, + } + lbc := &mocks.LbcMock{} + lbc.On("GetDepositEvents", mock.Anything, mock.Anything, mock.Anything).Return([]quote.PegoutDeposit{}, nil) + providerMock := &mocks.ProviderMock{} + providerMock.On("PegoutConfiguration", mock.Anything).Return(liquidity_provider.DefaultPegoutConfiguration()).Once() + contracts := blockchain.RskContracts{Lbc: lbc} + rskRpc := &mocks.RootstockRpcServerMock{} + rskRpc.EXPECT().GetHeight(mock.Anything).Return(uint64(8000), nil).Once() + rpc := blockchain.Rpc{Rsk: rskRpc} + pegoutRepository := &mocks.PegoutQuoteRepositoryMock{} + pegoutRepository.EXPECT().UpsertPegoutDeposits(mock.Anything, mock.Anything).Return(nil).Once() + pegoutRepository.EXPECT().GetRetainedQuoteByState(mock.Anything, quote.PegoutStateWaitingForDeposit).Return([]quote.RetainedPegoutQuote{testRetainedQuotes[0], testRetainedQuotes[2]}, nil).Once() + pegoutRepository.EXPECT().GetRetainedQuoteByState(mock.Anything, quote.PegoutStateWaitingForDepositConfirmations).Return([]quote.RetainedPegoutQuote{testRetainedQuotes[1]}, nil).Once() + for i, q := range testRetainedQuotes { + pegoutRepository.EXPECT().GetQuote(mock.Anything, q.QuoteHash).Return("e.PegoutQuote{Nonce: int64(i + 1), ExpireBlock: uint32((i + 1) * 1000)}, nil).Once() + } + + initCacheUseCase := pegout.NewInitPegoutDepositCacheUseCase(pegoutRepository, contracts, rpc) + getWatchedQuotesUseCase := w.NewGetWatchedPegoutQuoteUseCase(pegoutRepository) + useCases := watcher.NewPegoutRskDepositWatcherUseCases(getWatchedQuotesUseCase, nil, nil, nil, initCacheUseCase) + depositWatcher := watcher.NewPegoutRskDepositWatcher(useCases, providerMock, rpc, contracts, nil, 3000, nil) + err := depositWatcher.Prepare(context.Background()) + require.NoError(t, err) + t.Run("should initialize cache successfully", func(t *testing.T) { + for _, q := range testRetainedQuotes { + watchedQuote, ok := depositWatcher.GetWatchedQuote(q.QuoteHash) + assert.True(t, ok) + assert.NotEmpty(t, watchedQuote) + } + providerMock.AssertExpectations(t) + rskRpc.AssertExpectations(t) + lbc.AssertExpectations(t) + pegoutRepository.AssertExpectations(t) + }) + t.Run("current block should be the oldest of the cache", func(t *testing.T) { + assert.Equal(t, uint64(500), depositWatcher.GetCurrentBlock()) + }) + }) +} + +func TestPegoutRskDepositWatcher_Shutdown(t *testing.T) { + eventBus := &mocks.EventBusMock{} + eventBus.On("Subscribe", mock.Anything).Return(make(<-chan entities.Event)) + createWatcherShutdownTest(t, func(ticker watcher.Ticker) watcher.Watcher { + return watcher.NewPegoutRskDepositWatcher(&watcher.PegoutRskDepositWatcherUseCases{}, nil, blockchain.Rpc{}, blockchain.RskContracts{}, eventBus, 0, ticker) + }) +} + +func TestPegoutRskDepositWatcher_Start_QuoteAccepted(t *testing.T) { + ticker := &mocks.TickerMock{} + ticker.EXPECT().C().Return(make(chan time.Time)) + ticker.EXPECT().Stop().Return() + lbc := &mocks.LbcMock{} + providerMock := &mocks.ProviderMock{} + contracts := blockchain.RskContracts{Lbc: lbc} + rskRpc := &mocks.RootstockRpcServerMock{} + rpc := blockchain.Rpc{Rsk: rskRpc} + eventBus := &mocks.EventBusMock{} + acceptPegoutChannel := make(chan entities.Event) + eventBus.On("Subscribe", quote.AcceptedPegoutQuoteEventId).Return((<-chan entities.Event)(acceptPegoutChannel)) + + testPegoutQuote := quote.PegoutQuote{Nonce: 1} + testRetainedQuote := quote.RetainedPegoutQuote{QuoteHash: "010203"} + + useCases := watcher.NewPegoutRskDepositWatcherUseCases(nil, nil, nil, nil, nil) + depositWatcher := watcher.NewPegoutRskDepositWatcher(useCases, providerMock, rpc, contracts, eventBus, 3000, ticker) + + go depositWatcher.Start() + + t.Run("handle accepted pegin quote", func(t *testing.T) { + defer test.AssertNoLog(t) + watchedQuote, ok := depositWatcher.GetWatchedQuote(test.AnyString) + assert.False(t, ok) + assert.Empty(t, watchedQuote) + acceptPegoutChannel <- quote.AcceptedPegoutQuoteEvent{ + Event: entities.NewBaseEvent(quote.AcceptedPeginQuoteEventId), + Quote: testPegoutQuote, RetainedQuote: testRetainedQuote, + } + assert.Eventually(t, func() bool { + watchedQuote, ok = depositWatcher.GetWatchedQuote(testRetainedQuote.QuoteHash) + assert.True(t, ok) + return assert.Equal(t, quote.WatchedPegoutQuote{ + PegoutQuote: testPegoutQuote, + RetainedQuote: testRetainedQuote, + }, watchedQuote) + }, time.Second, 10*time.Millisecond) + }) + t.Run("handle already watched quote", func(t *testing.T) { + checkFunction := test.AssertLogContains(t, "Quote 010203 is already watched") + acceptPegoutChannel <- quote.AcceptedPegoutQuoteEvent{ + Event: entities.NewBaseEvent(quote.AcceptedPeginQuoteEventId), + Quote: testPegoutQuote, + RetainedQuote: testRetainedQuote, + } + assert.Eventually(t, checkFunction, time.Second, 10*time.Millisecond) + }) + t.Run("handle incorrect event sent to bus", func(t *testing.T) { + checkFunction := test.AssertLogContains(t, "Trying to parse wrong event in Pegout Rsk deposit watcher") + acceptPegoutChannel <- quote.AcceptedPeginQuoteEvent{Event: entities.NewBaseEvent(quote.PegoutQuoteCompletedEventId)} + assert.Eventually(t, checkFunction, time.Second, 10*time.Millisecond) + }) + + closeChannel := make(chan bool) + go depositWatcher.Shutdown(closeChannel) + <-closeChannel + assert.Eventually(t, func() bool { return eventBus.AssertExpectations(t) && ticker.AssertExpectations(t) }, time.Second, 10*time.Millisecond) +} + +// nolint:funlen +func TestPegoutRskDepositWatcher_Start_BlockchainCheck_CheckDeposits(t *testing.T) { + ticker := &mocks.TickerMock{} + btcWallet := &mocks.BtcWalletMock{} + tickerChannel := make(chan time.Time) + ticker.EXPECT().C().Return(tickerChannel) + ticker.EXPECT().Stop().Return() + lbc := &mocks.LbcMock{} + providerMock := &mocks.ProviderMock{} + contracts := blockchain.RskContracts{Lbc: lbc} + rskRpc := &mocks.RootstockRpcServerMock{} + rpc := blockchain.Rpc{Rsk: rskRpc} + pegoutRepository := &mocks.PegoutQuoteRepositoryMock{} + eventBus := &mocks.EventBusMock{} + acceptPegoutChannel := make(chan entities.Event) + eventBus.On("Subscribe", quote.AcceptedPegoutQuoteEventId).Return((<-chan entities.Event)(acceptPegoutChannel)) + + testPegoutQuote := quote.PegoutQuote{Nonce: 1, Value: entities.NewWei(3), ExpireBlock: 100, ExpireDate: uint32(time.Now().Unix() + 600)} + testRetainedQuote := quote.RetainedPegoutQuote{QuoteHash: "010203", State: quote.PegoutStateWaitingForDeposit} + + updatePegoutDeposit := w.NewUpdatePegoutQuoteDepositUseCase(pegoutRepository) + useCases := watcher.NewPegoutRskDepositWatcherUseCases(nil, nil, nil, updatePegoutDeposit, nil) + depositWatcher := watcher.NewPegoutRskDepositWatcher(useCases, providerMock, rpc, contracts, eventBus, 0, ticker) + + go depositWatcher.Start() + t.Run("should handle error getting deposits", func(t *testing.T) { + checkFunction := test.AssertLogContains(t, "error executing getting deposits in range [0, 5]") + rskRpc.EXPECT().GetHeight(mock.Anything).Return(uint64(5), nil).Once() + lbc.On("GetDepositEvents", mock.Anything, uint64(0), mock.MatchedBy(matchUinPtr(5))).Return(nil, assert.AnError) + tickerChannel <- time.Now() + assert.Eventually(t, func() bool { return rskRpc.AssertExpectations(t) && lbc.AssertExpectations(t) && checkFunction() }, time.Second, 10*time.Millisecond) + }) + t.Run("shouldn't update quote if deposit is not valid", func(t *testing.T) { + rskRpc.Calls = []mock.Call{} + rskRpc.ExpectedCalls = []*mock.Call{} + lbc.Calls = []mock.Call{} + lbc.ExpectedCalls = []*mock.Call{} + acceptPegoutChannel <- quote.AcceptedPegoutQuoteEvent{ + Event: entities.NewBaseEvent(quote.AcceptedPeginQuoteEventId), + Quote: testPegoutQuote, + RetainedQuote: testRetainedQuote, + } + + // incorrect amount + rskRpc.EXPECT().GetHeight(mock.Anything).Return(uint64(6), nil).Once() + lbc.On("GetDepositEvents", mock.Anything, uint64(5), mock.MatchedBy(matchUinPtr(6))).Return([]quote.PegoutDeposit{{ + TxHash: test.AnyHash, + QuoteHash: testRetainedQuote.QuoteHash, + Amount: entities.NewWei(1), + Timestamp: time.Now(), + BlockNumber: 6, + }}, nil).Once() + tickerChannel <- time.Now() + + // expired in time + rskRpc.EXPECT().GetHeight(mock.Anything).Return(uint64(7), nil).Once() + lbc.On("GetDepositEvents", mock.Anything, uint64(6), mock.MatchedBy(matchUinPtr(7))).Return([]quote.PegoutDeposit{{ + TxHash: test.AnyHash, + QuoteHash: testRetainedQuote.QuoteHash, + Amount: entities.NewWei(10), + Timestamp: time.Now().Add(time.Second * 1000), + BlockNumber: 6, + }}, nil).Once() + tickerChannel <- time.Now() + + // expired in blocks + rskRpc.EXPECT().GetHeight(mock.Anything).Return(uint64(8), nil).Once() + lbc.On("GetDepositEvents", mock.Anything, uint64(7), mock.MatchedBy(matchUinPtr(8))).Return([]quote.PegoutDeposit{{ + TxHash: test.AnyHash, + QuoteHash: testRetainedQuote.QuoteHash, + Amount: entities.NewWei(10), + Timestamp: time.Now(), + BlockNumber: 500, + }}, nil).Once() + tickerChannel <- time.Now() + + assert.Eventually(t, func() bool { + watchedQuote, _ := depositWatcher.GetWatchedQuote(testRetainedQuote.QuoteHash) + return lbc.AssertExpectations(t) && rskRpc.AssertExpectations(t) && assert.Equal(t, quote.PegoutStateWaitingForDeposit, watchedQuote.RetainedQuote.State) + }, time.Second, 10*time.Millisecond) + }) + t.Run("should update state to WaitingForDepositConfirmations after checking a valid deposit", func(t *testing.T) { + rskRpc.Calls = []mock.Call{} + rskRpc.ExpectedCalls = []*mock.Call{} + lbc.Calls = []mock.Call{} + lbc.ExpectedCalls = []*mock.Call{} + acceptPegoutChannel <- quote.AcceptedPegoutQuoteEvent{ + Event: entities.NewBaseEvent(quote.AcceptedPeginQuoteEventId), + Quote: testPegoutQuote, + RetainedQuote: testRetainedQuote, + } + + validDeposit := quote.PegoutDeposit{ + TxHash: test.AnyHash, + QuoteHash: testRetainedQuote.QuoteHash, + Amount: entities.NewWei(10), + Timestamp: time.Now(), + BlockNumber: 6, + } + + rskRpc.EXPECT().GetHeight(mock.Anything).Return(uint64(9), nil).Once() + lbc.On("GetDepositEvents", mock.Anything, uint64(8), mock.MatchedBy(matchUinPtr(9))).Return([]quote.PegoutDeposit{validDeposit}, nil).Once() + updatedRetained := testRetainedQuote + updatedRetained.UserRskTxHash = validDeposit.TxHash + updatedRetained.State = quote.PegoutStateWaitingForDepositConfirmations + pegoutRepository.EXPECT().UpdateRetainedQuote(mock.Anything, updatedRetained).Return(nil).Once() + pegoutRepository.EXPECT().UpsertPegoutDeposit(mock.Anything, validDeposit).Return(nil).Once() + // not mature enough yet + rskRpc.EXPECT().GetTransactionReceipt(mock.Anything, validDeposit.TxHash).Return(blockchain.TransactionReceipt{BlockNumber: 10}, nil).Once() + tickerChannel <- time.Now() + + assert.Eventually(t, func() bool { + watchedQuote, _ := depositWatcher.GetWatchedQuote(testRetainedQuote.QuoteHash) + return lbc.AssertExpectations(t) && rskRpc.AssertExpectations(t) && + pegoutRepository.AssertExpectations(t) && btcWallet.AssertNotCalled(t, "SendWithOpReturn") && + assert.Equal(t, quote.PegoutStateWaitingForDepositConfirmations, watchedQuote.RetainedQuote.State) + }, time.Second, 10*time.Millisecond) + }) +} + +// nolint:funlen,cyclop +func TestPegoutRskDepositWatcher_Start_BlockchainCheck_CheckQuotes(t *testing.T) { + mutexes := environment.NewApplicationMutexes() + ticker := &mocks.TickerMock{} + btcWallet := &mocks.BtcWalletMock{} + tickerChannel := make(chan time.Time) + ticker.EXPECT().C().Return(tickerChannel) + ticker.EXPECT().Stop().Return() + lbc := &mocks.LbcMock{} + providerMock := &mocks.ProviderMock{} + contracts := blockchain.RskContracts{Lbc: lbc} + rskRpc := &mocks.RootstockRpcServerMock{} + rpc := blockchain.Rpc{Rsk: rskRpc} + pegoutRepository := &mocks.PegoutQuoteRepositoryMock{} + eventBus := &mocks.EventBusMock{} + acceptPegoutChannel := make(chan entities.Event) + eventBus.On("Subscribe", quote.AcceptedPegoutQuoteEventId).Return((<-chan entities.Event)(acceptPegoutChannel)) + eventBus.On("Publish", mock.Anything).Return(make(<-chan entities.Event)) + + testPegoutQuote := quote.PegoutQuote{Nonce: 1, Value: entities.NewWei(3), ExpireBlock: 100, ExpireDate: uint32(time.Now().Unix() + 600), DepositConfirmations: 5} + testRetainedQuote := quote.RetainedPegoutQuote{QuoteHash: "010203", State: quote.PegoutStateWaitingForDepositConfirmations, UserRskTxHash: test.AnyHash} + + expireUseCase := pegout.NewExpiredPegoutQuoteUseCase(pegoutRepository) + sendPegoutUseCase := pegout.NewSendPegoutUseCase(btcWallet, pegoutRepository, rpc, eventBus, contracts, mutexes.BtcWalletMutex()) + useCases := watcher.NewPegoutRskDepositWatcherUseCases(nil, expireUseCase, sendPegoutUseCase, nil, nil) + depositWatcher := watcher.NewPegoutRskDepositWatcher(useCases, providerMock, rpc, contracts, eventBus, 0, ticker) + + go depositWatcher.Start() + t.Run("should stop tracking after cleaning expired quote", func(t *testing.T) { + rskRpc.EXPECT().GetHeight(mock.Anything).Return(uint64(10), nil).Once() + lbc.On("GetDepositEvents", mock.Anything, uint64(0), mock.MatchedBy(matchUinPtr(10))).Return([]quote.PegoutDeposit{}, nil).Once() + expired := testPegoutQuote + expired.ExpireDate = uint32(time.Now().Unix() - 600) + expiredRetained := testRetainedQuote + expiredRetained.State = quote.PegoutStateWaitingForDeposit + acceptPegoutChannel <- quote.AcceptedPegoutQuoteEvent{ + Event: entities.NewBaseEvent(quote.AcceptedPeginQuoteEventId), + Quote: expired, + RetainedQuote: expiredRetained, + } + assert.Eventually(t, func() bool { + q, ok := depositWatcher.GetWatchedQuote(testRetainedQuote.QuoteHash) + return assert.True(t, ok) && assert.NotEmpty(t, q) + }, time.Second, 10*time.Millisecond) + pegoutRepository.EXPECT().UpdateRetainedQuote(mock.Anything, mock.Anything).Return(nil).Once() + tickerChannel <- time.Now() + assert.Eventually(t, func() bool { + q, ok := depositWatcher.GetWatchedQuote(testRetainedQuote.QuoteHash) + return assert.False(t, ok) && assert.Empty(t, q) && pegoutRepository.AssertExpectations(t) + }, time.Second, 10*time.Millisecond) + }) + acceptPegoutChannel <- quote.AcceptedPegoutQuoteEvent{ + Event: entities.NewBaseEvent(quote.AcceptedPeginQuoteEventId), + Quote: testPegoutQuote, + RetainedQuote: testRetainedQuote, + } + t.Run("shouldn't stop tracking on recoverable error when sending pegout", func(t *testing.T) { + rskRpc.Calls = []mock.Call{} + rskRpc.ExpectedCalls = []*mock.Call{} + lbc.Calls = []mock.Call{} + lbc.ExpectedCalls = []*mock.Call{} + pegoutRepository.Calls = []mock.Call{} + pegoutRepository.ExpectedCalls = []*mock.Call{} + + rskRpc.EXPECT().GetHeight(mock.Anything).Return(uint64(20), nil).Once() + rskRpc.EXPECT().GetTransactionReceipt(mock.Anything, testRetainedQuote.UserRskTxHash). + Return(blockchain.TransactionReceipt{ + BlockNumber: 10, + Value: entities.NewWei(3), + }, nil).Once() + lbc.On("GetDepositEvents", mock.Anything, uint64(10), mock.MatchedBy(matchUinPtr(20))).Return([]quote.PegoutDeposit{}, nil).Once() + pegoutRepository.EXPECT().GetQuote(mock.Anything, mock.Anything).Return(nil, assert.AnError).Once() + + assert.Eventually(t, func() bool { + q, ok := depositWatcher.GetWatchedQuote(testRetainedQuote.QuoteHash) + return assert.True(t, ok) && assert.NotEmpty(t, q) + }, time.Second, 10*time.Millisecond) + + tickerChannel <- time.Now() + + assert.Eventually(t, func() bool { + q, ok := depositWatcher.GetWatchedQuote(testRetainedQuote.QuoteHash) + return assert.True(t, ok) && assert.NotEmpty(t, q) && pegoutRepository.AssertExpectations(t) && + lbc.AssertExpectations(t) && rskRpc.AssertExpectations(t) + }, time.Second, 10*time.Millisecond) + }) + t.Run("should stop tracking on non-recoverable error when sending pegout", func(t *testing.T) { + rskRpc.Calls = []mock.Call{} + rskRpc.ExpectedCalls = []*mock.Call{} + lbc.Calls = []mock.Call{} + lbc.ExpectedCalls = []*mock.Call{} + pegoutRepository.Calls = []mock.Call{} + pegoutRepository.ExpectedCalls = []*mock.Call{} + + rskRpc.EXPECT().GetHeight(mock.Anything).Return(uint64(21), nil).Once() + rskRpc.EXPECT().GetTransactionReceipt(mock.Anything, testRetainedQuote.UserRskTxHash). + Return(blockchain.TransactionReceipt{ + BlockNumber: 10, + Value: entities.NewWei(3), + }, nil).Once() + lbc.On("GetDepositEvents", mock.Anything, uint64(20), mock.MatchedBy(matchUinPtr(21))).Return([]quote.PegoutDeposit{}, nil).Once() + pegoutRepository.EXPECT().GetQuote(mock.Anything, mock.Anything).Return(nil, errors.Join(assert.AnError, usecases.NonRecoverableError)).Once() + + assert.Eventually(t, func() bool { + q, ok := depositWatcher.GetWatchedQuote(testRetainedQuote.QuoteHash) + return assert.True(t, ok) && assert.NotEmpty(t, q) + }, time.Second, 10*time.Millisecond) + + tickerChannel <- time.Now() + + assert.Eventually(t, func() bool { + q, ok := depositWatcher.GetWatchedQuote(testRetainedQuote.QuoteHash) + return assert.False(t, ok) && assert.Empty(t, q) && pegoutRepository.AssertExpectations(t) && + lbc.AssertExpectations(t) && rskRpc.AssertExpectations(t) + }, time.Second, 10*time.Millisecond) + }) + acceptPegoutChannel <- quote.AcceptedPegoutQuoteEvent{ + Event: entities.NewBaseEvent(quote.AcceptedPeginQuoteEventId), + Quote: testPegoutQuote, + RetainedQuote: testRetainedQuote, + } + t.Run("should stop tracking after send pegout successfully", func(t *testing.T) { + rskRpc.Calls = []mock.Call{} + rskRpc.ExpectedCalls = []*mock.Call{} + lbc.Calls = []mock.Call{} + lbc.ExpectedCalls = []*mock.Call{} + pegoutRepository.Calls = []mock.Call{} + pegoutRepository.ExpectedCalls = []*mock.Call{} + btcWallet.Calls = []mock.Call{} + btcWallet.ExpectedCalls = []*mock.Call{} + + rskRpc.EXPECT().GetHeight(mock.Anything).Return(uint64(22), nil).Twice() + rskRpc.EXPECT().GetTransactionReceipt(mock.Anything, testRetainedQuote.UserRskTxHash). + Return(blockchain.TransactionReceipt{ + BlockNumber: 10, + Value: entities.NewWei(3), + }, nil).Twice() + lbc.On("GetDepositEvents", mock.Anything, uint64(21), mock.MatchedBy(matchUinPtr(22))).Return([]quote.PegoutDeposit{}, nil).Once() + pegoutRepository.EXPECT().GetQuote(mock.Anything, mock.Anything).Return(&testPegoutQuote, nil).Once() + pegoutRepository.EXPECT().UpdateRetainedQuote(mock.Anything, mock.Anything).Return(nil).Once() + rskRpc.EXPECT().GetBlockByHash(mock.Anything, mock.Anything).Return(blockchain.BlockInfo{Timestamp: time.Now()}, nil).Once() + lbc.On("IsPegOutQuoteCompleted", testRetainedQuote.QuoteHash).Return(false, nil).Once() + btcWallet.On("GetBalance").Return(entities.NewWei(10000), nil).Once() + btcWallet.On("SendWithOpReturn", mock.Anything, mock.Anything, mock.Anything).Return(test.AnyHash, nil).Once() + + assert.Eventually(t, func() bool { + q, ok := depositWatcher.GetWatchedQuote(testRetainedQuote.QuoteHash) + return assert.True(t, ok) && assert.NotEmpty(t, q) + }, time.Second, 10*time.Millisecond) + + tickerChannel <- time.Now() + + assert.Eventually(t, func() bool { + q, ok := depositWatcher.GetWatchedQuote(testRetainedQuote.QuoteHash) + return assert.False(t, ok) && assert.Empty(t, q) && pegoutRepository.AssertExpectations(t) && + lbc.AssertExpectations(t) && rskRpc.AssertExpectations(t) && btcWallet.AssertExpectations(t) + }, time.Second, 10*time.Millisecond) + }) +} + +func matchUinPtr(target uint64) func(uin *uint64) bool { + return func(uin *uint64) bool { + return *uin == target + } +} diff --git a/internal/adapters/entrypoints/watcher/penalization_alert.go b/internal/adapters/entrypoints/watcher/penalization_alert.go index fd903071..6e0a31a9 100644 --- a/internal/adapters/entrypoints/watcher/penalization_alert.go +++ b/internal/adapters/entrypoints/watcher/penalization_alert.go @@ -5,25 +5,28 @@ import ( "github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain" "github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider" log "github.com/sirupsen/logrus" - "time" + "sync" ) type PenalizationAlertWatcher struct { rpc blockchain.Rpc penalizationAlertUseCase *liquidity_provider.PenalizationAlertUseCase currentBlock uint64 - ticker *time.Ticker + currentBlockMutex sync.RWMutex + ticker Ticker watcherStopChannel chan bool } -func NewPenalizationAlertWatcher(rpc blockchain.Rpc, penalizationAlertUseCase *liquidity_provider.PenalizationAlertUseCase) *PenalizationAlertWatcher { +func NewPenalizationAlertWatcher(rpc blockchain.Rpc, penalizationAlertUseCase *liquidity_provider.PenalizationAlertUseCase, ticker Ticker) *PenalizationAlertWatcher { watcherStopChannel := make(chan bool, 1) - return &PenalizationAlertWatcher{rpc: rpc, penalizationAlertUseCase: penalizationAlertUseCase, watcherStopChannel: watcherStopChannel} + return &PenalizationAlertWatcher{rpc: rpc, penalizationAlertUseCase: penalizationAlertUseCase, watcherStopChannel: watcherStopChannel, ticker: ticker, currentBlockMutex: sync.RWMutex{}} } func (watcher *PenalizationAlertWatcher) Prepare(ctx context.Context) error { var err error var height uint64 + watcher.currentBlockMutex.Lock() + defer watcher.currentBlockMutex.Unlock() if height, err = watcher.rpc.Rsk.GetHeight(ctx); err != nil { return err } @@ -36,11 +39,11 @@ func (watcher *PenalizationAlertWatcher) Start() { var ctx context.Context var err error var height uint64 - watcher.ticker = time.NewTicker(penalizationCheckInterval) watcherLoop: for { select { - case <-watcher.ticker.C: + case <-watcher.ticker.C(): + watcher.currentBlockMutex.Lock() ctx, cancel = context.WithTimeout(context.Background(), watcherValidationTimeout) if height, err = watcher.rpc.Rsk.GetHeight(ctx); err != nil { log.Error("Error checking penalization events inside watcher: ", err) @@ -50,6 +53,7 @@ watcherLoop: } } cancel() + watcher.currentBlockMutex.Unlock() case <-watcher.watcherStopChannel: watcher.ticker.Stop() close(watcher.watcherStopChannel) @@ -58,6 +62,12 @@ watcherLoop: } } +func (watcher *PenalizationAlertWatcher) GetCurrentBlock() uint64 { + watcher.currentBlockMutex.RLock() + defer watcher.currentBlockMutex.RUnlock() + return watcher.currentBlock +} + func (watcher *PenalizationAlertWatcher) Shutdown(closeChannel chan<- bool) { watcher.watcherStopChannel <- true closeChannel <- true diff --git a/internal/adapters/entrypoints/watcher/penalization_alert_test.go b/internal/adapters/entrypoints/watcher/penalization_alert_test.go new file mode 100644 index 00000000..d4a45bfe --- /dev/null +++ b/internal/adapters/entrypoints/watcher/penalization_alert_test.go @@ -0,0 +1,84 @@ +package watcher_test + +import ( + "context" + "github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher" + "github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain" + lp "github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider" + "github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider" + "github.com/rsksmart/liquidity-provider-server/test" + "github.com/rsksmart/liquidity-provider-server/test/mocks" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/mock" + "github.com/stretchr/testify/require" + "testing" + "time" +) + +func TestPenalizationAlertWatcher_Start(t *testing.T) { + t.Run("shouldn't update block if use case had an error", func(t *testing.T) { + rskRpc := &mocks.RootstockRpcServerMock{} + rskRpc.EXPECT().GetHeight(mock.Anything).Return(555, nil).Once() + rskRpc.EXPECT().GetHeight(mock.Anything).Return(600, nil).Once() + lbc := &mocks.LbcMock{} + lbc.On("GetPeginPunishmentEvents", mock.Anything, mock.Anything, mock.Anything).Return(nil, assert.AnError) + useCase := liquidity_provider.NewPenalizationAlertUseCase(blockchain.RskContracts{Lbc: lbc}, &mocks.AlertSenderMock{}, test.AnyString) + ticker := &mocks.TickerMock{} + tickerChannel := make(chan time.Time) + ticker.EXPECT().C().Return(tickerChannel) + penalizationWatcher := watcher.NewPenalizationAlertWatcher(blockchain.Rpc{Rsk: rskRpc}, useCase, ticker) + err := penalizationWatcher.Prepare(context.Background()) + require.NoError(t, err) + go penalizationWatcher.Start() + tickerChannel <- time.Now() + assert.Eventually(t, func() bool { + return assert.Equal(t, uint64(555), penalizationWatcher.GetCurrentBlock()) && rskRpc.AssertExpectations(t) && lbc.AssertExpectations(t) + }, time.Second, 10*time.Millisecond) + }) + t.Run("should update block if use case executed successfully", func(t *testing.T) { + rskRpc := &mocks.RootstockRpcServerMock{} + rskRpc.EXPECT().GetHeight(mock.Anything).Return(555, nil).Once() + rskRpc.EXPECT().GetHeight(mock.Anything).Return(600, nil).Once() + lbc := &mocks.LbcMock{} + lbc.On("GetPeginPunishmentEvents", mock.Anything, mock.Anything, mock.Anything).Return([]lp.PunishmentEvent{}, nil) + useCase := liquidity_provider.NewPenalizationAlertUseCase(blockchain.RskContracts{Lbc: lbc}, &mocks.AlertSenderMock{}, test.AnyString) + ticker := &mocks.TickerMock{} + tickerChannel := make(chan time.Time) + ticker.EXPECT().C().Return(tickerChannel) + penalizationWatcher := watcher.NewPenalizationAlertWatcher(blockchain.Rpc{Rsk: rskRpc}, useCase, ticker) + err := penalizationWatcher.Prepare(context.Background()) + require.NoError(t, err) + go penalizationWatcher.Start() + tickerChannel <- time.Now() + assert.Eventually(t, func() bool { + return assert.Equal(t, uint64(599), penalizationWatcher.GetCurrentBlock()) && rskRpc.AssertExpectations(t) && lbc.AssertExpectations(t) + }, time.Second, 10*time.Millisecond) + }) +} + +func TestPenalizationAlertWatcher_Prepare(t *testing.T) { + t.Run("prepare successfully", func(t *testing.T) { + rskRpc := &mocks.RootstockRpcServerMock{} + rskRpc.EXPECT().GetHeight(mock.Anything).Return(555, nil).Once() + penalizationWatcher := watcher.NewPenalizationAlertWatcher(blockchain.Rpc{Rsk: rskRpc}, nil, nil) + err := penalizationWatcher.Prepare(context.Background()) + require.NoError(t, err) + assert.Equal(t, uint64(555), penalizationWatcher.GetCurrentBlock()) + rskRpc.AssertExpectations(t) + }) + t.Run("handle get height error", func(t *testing.T) { + rskRpc := &mocks.RootstockRpcServerMock{} + rskRpc.EXPECT().GetHeight(mock.Anything).Return(0, assert.AnError).Once() + penalizationWatcher := watcher.NewPenalizationAlertWatcher(blockchain.Rpc{Rsk: rskRpc}, nil, nil) + err := penalizationWatcher.Prepare(context.Background()) + require.Error(t, err) + assert.Zero(t, penalizationWatcher.GetCurrentBlock()) + rskRpc.AssertExpectations(t) + }) +} + +func TestPenalizationAlertWatcher_Shutdown(t *testing.T) { + createWatcherShutdownTest(t, func(ticker watcher.Ticker) watcher.Watcher { + return watcher.NewPenalizationAlertWatcher(blockchain.Rpc{}, nil, ticker) + }) +} diff --git a/internal/adapters/entrypoints/watcher/quote_cleaner.go b/internal/adapters/entrypoints/watcher/quote_cleaner.go index f4d58b55..680b3df0 100644 --- a/internal/adapters/entrypoints/watcher/quote_cleaner.go +++ b/internal/adapters/entrypoints/watcher/quote_cleaner.go @@ -4,22 +4,23 @@ import ( "context" "github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher" log "github.com/sirupsen/logrus" - "time" ) type QuoteCleanerWatcher struct { cleanUseCase *watcher.CleanExpiredQuotesUseCase - ticker *time.Ticker + ticker Ticker watcherStopChannel chan bool } func NewQuoteCleanerWatcher( cleanUseCase *watcher.CleanExpiredQuotesUseCase, + ticker Ticker, ) *QuoteCleanerWatcher { watcherStopChannel := make(chan bool, 1) return &QuoteCleanerWatcher{ cleanUseCase: cleanUseCase, watcherStopChannel: watcherStopChannel, + ticker: ticker, } } @@ -28,11 +29,10 @@ func (watcher *QuoteCleanerWatcher) Prepare(ctx context.Context) error { } func (watcher *QuoteCleanerWatcher) Start() { - watcher.ticker = time.NewTicker(quoteCleanInterval) watcherLoop: for { select { - case <-watcher.ticker.C: + case <-watcher.ticker.C(): watcher.clean() case <-watcher.watcherStopChannel: watcher.ticker.Stop() diff --git a/internal/adapters/entrypoints/watcher/quote_cleaner_test.go b/internal/adapters/entrypoints/watcher/quote_cleaner_test.go new file mode 100644 index 00000000..13770cec --- /dev/null +++ b/internal/adapters/entrypoints/watcher/quote_cleaner_test.go @@ -0,0 +1,78 @@ +package watcher_test + +import ( + "context" + "github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher" + "github.com/rsksmart/liquidity-provider-server/internal/entities/quote" + w "github.com/rsksmart/liquidity-provider-server/internal/usecases/watcher" + "github.com/rsksmart/liquidity-provider-server/test" + "github.com/rsksmart/liquidity-provider-server/test/mocks" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/mock" + "github.com/stretchr/testify/require" + "testing" + "time" +) + +func TestQuoteCleanerWatcher_Start(t *testing.T) { + t.Run("handle use case error", func(t *testing.T) { + checkFunction := test.AssertLogContains(t, "Error cleaning quotes") + peginRepository := &mocks.PeginQuoteRepositoryMock{} + peginRepository.EXPECT().GetRetainedQuoteByState(mock.Anything, mock.Anything).Return(nil, assert.AnError) + pegoutRepository := &mocks.PegoutQuoteRepositoryMock{} + ticker := &mocks.TickerMock{} + tickerChannel := make(chan time.Time) + ticker.EXPECT().C().Return(tickerChannel) + ticker.EXPECT().Stop() + useCase := w.NewCleanExpiredQuotesUseCase(peginRepository, pegoutRepository) + quoteCleaner := watcher.NewQuoteCleanerWatcher(useCase, ticker) + go quoteCleaner.Start() + tickerChannel <- time.Now() + go quoteCleaner.Shutdown(make(chan bool)) + assert.Eventually(t, func() bool { + return checkFunction() && ticker.AssertExpectations(t) && peginRepository.AssertExpectations(t) + }, time.Second, 10*time.Millisecond) + }) + t.Run("clean quotes successfully", func(t *testing.T) { + checkFunction := test.AssertLogContains(t, "Cleaned 3 quotes") + peginRepository := &mocks.PeginQuoteRepositoryMock{} + peginRepository.EXPECT().GetRetainedQuoteByState(mock.Anything, mock.Anything). + Return([]quote.RetainedPeginQuote{{QuoteHash: "pegin1"}, {QuoteHash: "pegin2"}}, nil) + peginRepository.EXPECT().DeleteQuotes(mock.Anything, []string{"pegin1", "pegin2"}).Return(2, nil) + pegoutRepository := &mocks.PegoutQuoteRepositoryMock{} + pegoutRepository.EXPECT().GetRetainedQuoteByState(mock.Anything, mock.Anything). + Return([]quote.RetainedPegoutQuote{{QuoteHash: "pegout1"}}, nil) + pegoutRepository.EXPECT().DeleteQuotes(mock.Anything, []string{"pegout1"}).Return(1, nil) + ticker := &mocks.TickerMock{} + tickerChannel := make(chan time.Time) + ticker.EXPECT().C().Return(tickerChannel) + ticker.EXPECT().Stop() + useCase := w.NewCleanExpiredQuotesUseCase(peginRepository, pegoutRepository) + quoteCleaner := watcher.NewQuoteCleanerWatcher(useCase, ticker) + go quoteCleaner.Start() + tickerChannel <- time.Now() + go quoteCleaner.Shutdown(make(chan bool)) + assert.Eventually(t, func() bool { + return checkFunction() && ticker.AssertExpectations(t) && peginRepository.AssertExpectations(t) && pegoutRepository.AssertExpectations(t) + }, time.Second, 10*time.Millisecond) + }) +} + +func TestQuoteCleanerWatcher_Shutdown(t *testing.T) { + createWatcherShutdownTest(t, func(ticker watcher.Ticker) watcher.Watcher { + peginRepository := &mocks.PeginQuoteRepositoryMock{} + pegoutRepository := &mocks.PegoutQuoteRepositoryMock{} + useCase := w.NewCleanExpiredQuotesUseCase(peginRepository, pegoutRepository) + return watcher.NewQuoteCleanerWatcher(useCase, ticker) + }) +} + +func TestQuoteCleanerWatcher_Prepare(t *testing.T) { + peginRepository := &mocks.PeginQuoteRepositoryMock{} + pegoutRepository := &mocks.PegoutQuoteRepositoryMock{} + ticker := &mocks.TickerMock{} + useCase := w.NewCleanExpiredQuotesUseCase(peginRepository, pegoutRepository) + quoteCleaner := watcher.NewQuoteCleanerWatcher(useCase, ticker) + err := quoteCleaner.Prepare(context.Background()) + require.NoError(t, err) +} diff --git a/internal/adapters/entrypoints/watcher/ticker.go b/internal/adapters/entrypoints/watcher/ticker.go new file mode 100644 index 00000000..59511b17 --- /dev/null +++ b/internal/adapters/entrypoints/watcher/ticker.go @@ -0,0 +1,51 @@ +package watcher + +import "time" + +// Ticker is an interface to be able to mock time.Ticker in the unit test +type Ticker interface { + Stop() + C() <-chan time.Time +} + +type TickerWrapper struct { + ticker *time.Ticker +} + +func NewTickerWrapper(d time.Duration) *TickerWrapper { + return &TickerWrapper{ + ticker: time.NewTicker(d), + } +} + +func (t *TickerWrapper) Stop() { + t.ticker.Stop() +} + +func (t *TickerWrapper) C() <-chan time.Time { + return t.ticker.C +} + +type ApplicationTickers struct { + LiquidityCheckTicker Ticker + PeginBridgeWatcherTicker Ticker + QuoteCleanerTicker Ticker + PeginDepositWatcherTicker Ticker + PenalizationCheckTicker Ticker + PegoutDepositWatcherTicker Ticker + PegoutBtcTransferWatcherTicker Ticker + PegoutBridgeWatcherTicker Ticker +} + +func NewApplicationTickers() *ApplicationTickers { + return &ApplicationTickers{ + LiquidityCheckTicker: NewTickerWrapper(liquidityCheckInterval), + PeginBridgeWatcherTicker: NewTickerWrapper(peginBridgeWatcherInterval), + QuoteCleanerTicker: NewTickerWrapper(quoteCleanInterval), + PeginDepositWatcherTicker: NewTickerWrapper(peginDepositWatcherInterval), + PenalizationCheckTicker: NewTickerWrapper(penalizationCheckInterval), + PegoutDepositWatcherTicker: NewTickerWrapper(pegoutDepositWatcherInterval), + PegoutBtcTransferWatcherTicker: NewTickerWrapper(pegoutBtcTransferWatcherInterval), + PegoutBridgeWatcherTicker: NewTickerWrapper(pegoutBridgeWatcherInterval), + } +} diff --git a/internal/adapters/entrypoints/watcher/ticker_test.go b/internal/adapters/entrypoints/watcher/ticker_test.go new file mode 100644 index 00000000..94ff7aa9 --- /dev/null +++ b/internal/adapters/entrypoints/watcher/ticker_test.go @@ -0,0 +1,19 @@ +package watcher_test + +import ( + "github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher" + "github.com/stretchr/testify/require" + "reflect" + "testing" +) + +func TestNewApplicationTickers(t *testing.T) { + tickers := watcher.NewApplicationTickers() + require.NotNil(t, tickers) + value := reflect.ValueOf(tickers).Elem() + for i := 0; i < value.Type().NumField(); i++ { + if value.Field(i).IsNil() { + t.Errorf("Field %s of application tickers is nil", value.Type().Field(i).Name) + } + } +} diff --git a/internal/configuration/registry/rootstock.go b/internal/configuration/registry/rootstock.go index 6fe4f23e..79a90a7a 100644 --- a/internal/configuration/registry/rootstock.go +++ b/internal/configuration/registry/rootstock.go @@ -57,6 +57,7 @@ func NewRootstockRegistry(env environment.Environment, client *rootstock.RskClie client, btcParams, rootstock.DefaultRetryParams, + wallet, ), Lbc: rootstock.NewLiquidityBridgeContractImpl( client, diff --git a/internal/configuration/registry/usecase.go b/internal/configuration/registry/usecase.go index 9df1d83a..25b77e6b 100644 --- a/internal/configuration/registry/usecase.go +++ b/internal/configuration/registry/usecase.go @@ -135,6 +135,7 @@ func NewUseCaseRegistry( rskRegistry.Contracts, messaging.EventBus, messaging.Rpc, + mutexes.RskWalletMutex(), ), getPegoutQuoteUseCase: pegout.NewGetQuoteUseCase( messaging.Rpc, @@ -216,6 +217,7 @@ func NewUseCaseRegistry( liquidityProvider, liquidityProvider, liquidityProvider, + rskRegistry.Contracts, env.Provider.ApiBaseUrl, ), bridgePegoutUseCase: pegout.NewBridgePegoutUseCase( diff --git a/internal/configuration/registry/watcher.go b/internal/configuration/registry/watcher.go index f1b91537..945e4061 100644 --- a/internal/configuration/registry/watcher.go +++ b/internal/configuration/registry/watcher.go @@ -17,6 +17,7 @@ type WatcherRegistry struct { PegoutBridgeWatcher *watcher.PegoutBridgeWatcher } +// nolint:funlen func NewWatcherRegistry( env environment.Environment, useCaseRegistry *UseCaseRegistry, @@ -24,16 +25,20 @@ func NewWatcherRegistry( btcRegistry *Bitcoin, liquidityProvider *dataproviders.LocalLiquidityProvider, messaging *Messaging, + tickers *watcher.ApplicationTickers, ) *WatcherRegistry { return &WatcherRegistry{ PeginDepositAddressWatcher: watcher.NewPeginDepositAddressWatcher( - useCaseRegistry.callForUserUseCase, - useCaseRegistry.getWatchedPeginQuoteUseCase, - useCaseRegistry.updatePeginDepositUseCase, - useCaseRegistry.expiredPeginQuoteUseCase, + watcher.NewPeginDepositAddressWatcherUseCases( + useCaseRegistry.callForUserUseCase, + useCaseRegistry.getWatchedPeginQuoteUseCase, + useCaseRegistry.updatePeginDepositUseCase, + useCaseRegistry.expiredPeginQuoteUseCase, + ), btcRegistry.MonitoringWallet, messaging.Rpc, messaging.EventBus, + tickers.PeginDepositWatcherTicker, ), PeginBridgeWatcher: watcher.NewPeginBridgeWatcher( useCaseRegistry.registerPeginUseCase, @@ -41,9 +46,11 @@ func NewWatcherRegistry( rskRegistry.Contracts, messaging.Rpc, messaging.EventBus, + tickers.PeginBridgeWatcherTicker, ), QuoteCleanerWatcher: watcher.NewQuoteCleanerWatcher( useCaseRegistry.cleanExpiredQuotesUseCase, + tickers.QuoteCleanerTicker, ), PegoutRskDepositWatcher: watcher.NewPegoutRskDepositWatcher( watcher.NewPegoutRskDepositWatcherUseCases( @@ -58,21 +65,25 @@ func NewWatcherRegistry( rskRegistry.Contracts, messaging.EventBus, env.Pegout.DepositCacheStartBlock, + tickers.PegoutDepositWatcherTicker, ), PegoutBtcTransferWatcher: watcher.NewPegoutBtcTransferWatcher( useCaseRegistry.getWatchedPegoutQuoteUseCase, useCaseRegistry.refundPegoutUseCase, messaging.Rpc, messaging.EventBus, + tickers.PegoutBtcTransferWatcherTicker, ), - LiquidityCheckWatcher: watcher.NewLiquidityCheckWatcher(useCaseRegistry.liquidityCheckUseCase), + LiquidityCheckWatcher: watcher.NewLiquidityCheckWatcher(useCaseRegistry.liquidityCheckUseCase, tickers.LiquidityCheckTicker), PenalizationAlertWatcher: watcher.NewPenalizationAlertWatcher( messaging.Rpc, useCaseRegistry.penalizationAlertUseCase, + tickers.PenalizationCheckTicker, ), PegoutBridgeWatcher: watcher.NewPegoutBridgeWatcher( useCaseRegistry.getWatchedPegoutQuoteUseCase, useCaseRegistry.bridgePegoutUseCase, + tickers.PegoutBridgeWatcherTicker, ), } } diff --git a/internal/configuration/registry/watcher_test.go b/internal/configuration/registry/watcher_test.go index 9e6a3bfd..85f6310d 100644 --- a/internal/configuration/registry/watcher_test.go +++ b/internal/configuration/registry/watcher_test.go @@ -6,6 +6,7 @@ import ( "github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/bitcoin" "github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo" "github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/rootstock" + "github.com/rsksmart/liquidity-provider-server/internal/adapters/entrypoints/watcher" "github.com/rsksmart/liquidity-provider-server/internal/configuration/environment" "github.com/rsksmart/liquidity-provider-server/internal/configuration/registry" "github.com/rsksmart/liquidity-provider-server/test/mocks" @@ -43,7 +44,7 @@ func TestNewWatcherRegistry(t *testing.T) { mutexes := environment.NewApplicationMutexes() useCaseRegistry := registry.NewUseCaseRegistry(env, rskRegistry, btcRegistry, dbRegistry, lp, messagingRegistry, mutexes) - watcherRegistry := registry.NewWatcherRegistry(env, useCaseRegistry, rskRegistry, btcRegistry, lp, messagingRegistry) + watcherRegistry := registry.NewWatcherRegistry(env, useCaseRegistry, rskRegistry, btcRegistry, lp, messagingRegistry, watcher.NewApplicationTickers()) require.NotNil(t, watcherRegistry) value := reflect.ValueOf(watcherRegistry).Elem() diff --git a/internal/entities/blockchain/bitcoin.go b/internal/entities/blockchain/bitcoin.go index 30dd3cb6..e0c7f5ef 100644 --- a/internal/entities/blockchain/bitcoin.go +++ b/internal/entities/blockchain/bitcoin.go @@ -13,10 +13,15 @@ var ( btcMainnetP2PKHRegex = regexp.MustCompile("^[1]([a-km-zA-HJ-NP-Z1-9]{25,34})$") btcMainnetP2SHRegex = regexp.MustCompile("^[3]([a-km-zA-HJ-NP-Z1-9]{33,34})$") btcTestnetP2SHRegex = regexp.MustCompile("^[2]([a-km-zA-HJ-NP-Z1-9]{33,34})$") - btcMainnetP2WPKHRegex = regexp.MustCompile("^(bc1)([ac-hj-np-z02-9]{39})$") - btcTestnetP2WPKHRegex = regexp.MustCompile("^(tb1)([ac-hj-np-z02-9]{39})$") - btcMainnetP2WSHRegex = regexp.MustCompile("^(bc1)([ac-hj-np-z02-9]{59})$") - btcTestnetP2WSHRegex = regexp.MustCompile("^(tb1)([ac-hj-np-z02-9]{59})$") + btcMainnetP2WPKHRegex = regexp.MustCompile("^(bc1q)([ac-hj-np-z02-9]{38})$") + btcTestnetP2WPKHRegex = regexp.MustCompile("^(tb1q)([ac-hj-np-z02-9]{38})$") + btcRegtestP2WPKHRegex = regexp.MustCompile("^(bcrt1q)([ac-hj-np-z02-9]{38})$") + btcMainnetP2WSHRegex = regexp.MustCompile("^(bc1q)([ac-hj-np-z02-9]{58})$") + btcTestnetP2WSHRegex = regexp.MustCompile("^(tb1q)([ac-hj-np-z02-9]{58})$") + btcRegtestP2WSHRegex = regexp.MustCompile("^(bcrt1q)([ac-hj-np-z02-9]{58})$") + btcMainnetP2TRRegex = regexp.MustCompile("^(bc1p)([ac-hj-np-z02-9]{58})$") + btcTestnetP2TRRegex = regexp.MustCompile("^(tb1p)([ac-hj-np-z02-9]{58})$") + btcRegtestP2TRRegex = regexp.MustCompile("^(bcrt1p)([ac-hj-np-z02-9]{58})$") ) var ( @@ -29,32 +34,59 @@ const ( BtcTxInfoErrorTemplate = "error getting Bitcoin transaction information (%s): %v" ) +const ( + BitcoinMainnetP2PKHZeroAddress = "1111111111111111111114oLvT2" + BitcoinTestnetP2PKHZeroAddress = "mfWxJ45yp2SFn7UciZyNpvDKrzbhyfKrY8" +) + // IsSupportedBtcAddress checks if flyover protocol supports the given address -// Currently the supported address types are P2PKH and P2SH func IsSupportedBtcAddress(address string) bool { - return isP2PKH(address) || isP2SH(address) + return IsTestnetBtcAddress(address) || IsMainnetBtcAddress(address) || IsRegtestBtcAddress(address) } -func isP2PKH(address string) bool { +func IsBtcP2PKHAddress(address string) bool { return btcTestnetP2PKHRegex.MatchString(address) || btcMainnetP2PKHRegex.MatchString(address) } -func isP2SH(address string) bool { - return btcTestnetP2SHRegex.MatchString(address) || btcMainnetP2SHRegex.MatchString(address) +func IsBtcP2SHAddress(address string) bool { + return btcMainnetP2SHRegex.MatchString(address) || btcTestnetP2SHRegex.MatchString(address) +} + +func IsBtcP2WPKHAddress(address string) bool { + return btcMainnetP2WPKHRegex.MatchString(address) || btcTestnetP2WPKHRegex.MatchString(address) || btcRegtestP2WPKHRegex.MatchString(address) +} + +func IsBtcP2WSHAddress(address string) bool { + return btcMainnetP2WSHRegex.MatchString(address) || btcTestnetP2WSHRegex.MatchString(address) || btcRegtestP2WSHRegex.MatchString(address) +} + +func IsBtcP2TRAddress(address string) bool { + return btcMainnetP2TRRegex.MatchString(address) || btcTestnetP2TRRegex.MatchString(address) || btcRegtestP2TRRegex.MatchString(address) +} + +func IsRegtestBtcAddress(address string) bool { + // only base58 addresses have the same structure in regtest and testnet + return btcRegtestP2WPKHRegex.MatchString(address) || + btcRegtestP2WSHRegex.MatchString(address) || + btcRegtestP2TRRegex.MatchString(address) || + btcTestnetP2PKHRegex.MatchString(address) || + btcTestnetP2SHRegex.MatchString(address) } func IsTestnetBtcAddress(address string) bool { return btcTestnetP2PKHRegex.MatchString(address) || btcTestnetP2SHRegex.MatchString(address) || btcTestnetP2WPKHRegex.MatchString(address) || - btcTestnetP2WSHRegex.MatchString(address) + btcTestnetP2WSHRegex.MatchString(address) || + btcTestnetP2TRRegex.MatchString(address) } func IsMainnetBtcAddress(address string) bool { return btcMainnetP2PKHRegex.MatchString(address) || btcMainnetP2SHRegex.MatchString(address) || btcMainnetP2WPKHRegex.MatchString(address) || - btcMainnetP2WSHRegex.MatchString(address) + btcMainnetP2WSHRegex.MatchString(address) || + btcMainnetP2TRRegex.MatchString(address) } type BitcoinWallet interface { @@ -70,19 +102,23 @@ type BitcoinWallet interface { type BitcoinNetwork interface { ValidateAddress(address string) error - DecodeAddress(address string, keepVersion bool) ([]byte, error) + DecodeAddress(address string) ([]byte, error) GetTransactionInfo(hash string) (BitcoinTransactionInformation, error) GetRawTransaction(hash string) ([]byte, error) GetPartialMerkleTree(hash string) ([]byte, error) GetHeight() (*big.Int, error) BuildMerkleBranch(txHash string) (MerkleBranch, error) GetTransactionBlockInfo(txHash string) (BitcoinBlockInformation, error) + // GetCoinbaseInformation returns the coinbase transaction information of the block that includes txHash + GetCoinbaseInformation(txHash string) (BtcCoinbaseTransactionInformation, error) + NetworkName() string } type BitcoinTransactionInformation struct { Hash string Confirmations uint64 Outputs map[string][]*entities.Wei + HasWitness bool } func (tx *BitcoinTransactionInformation) AmountToAddress(address string) *entities.Wei { diff --git a/internal/entities/blockchain/bitcoin_test.go b/internal/entities/blockchain/bitcoin_test.go index e03d6b2d..451b7778 100644 --- a/internal/entities/blockchain/bitcoin_test.go +++ b/internal/entities/blockchain/bitcoin_test.go @@ -1,10 +1,12 @@ package blockchain_test import ( + "github.com/btcsuite/btcd/btcutil/base58" "github.com/rsksmart/liquidity-provider-server/internal/entities" "github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain" "github.com/rsksmart/liquidity-provider-server/test" "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" "testing" ) @@ -186,7 +188,7 @@ var p2shMainnetAddresses = []string{ "33tB53JpXTNeDvMUeXKLU3VfYMLMc6oLab", } -var nativeSegwitTestnetAddresses = []string{ +var p2wpkhTestnetAddresses = []string{ "tb1q2hxr4x5g4grwwrerf3y4tge776hmuw0wnh5vrd", "tb1qj9g0zjrj5r872hkkvxcedr3l504z50ayy5ercl", "tb1qpkv0lra0nz68ge5lzjjt6urdz2ejx8x4e9ell3", @@ -212,9 +214,14 @@ var nativeSegwitTestnetAddresses = []string{ "tb1q36tpm7eu706v0ut0hap6yjuehgsg53rg280tc9", "tb1qwnmmmrrr7hw60yulw2rx50ne2tkktj729076zf", "tb1qag9uv7n266eyf6d88xc3e5nmek8sqe6aqxmfpp", + "tb1q22cm3qarlpj3gnf5h03kpdhaftdvf98q58dp75", + "tb1qja7532egus56jkjnu6xgf9nh96q9up7gq5473m", + "tb1qug3kle73ze6wcstdc4wunkjxapqnaeetprqjql", + "tb1q66e97gspk233et7k24334zm2femvf5tpsq8ggm", + "tb1qjtl57d37ccadme30hv3jhytt9gc9p4dq9zrz49", } -var nativeSegwitMainnetAddresses = []string{ +var p2wpkhMainnetAddresses = []string{ "bc1qg5d579rlqmfekwx3m85a2sr8gy2s5dwfjj2lun", "bc1qtqxd29s9k3tj3rq9fzj7mnjknvlqzy8hsuzs5x", "bc1qv245zr29zw5urv5fy00c6km09l302fmlftf0aj", @@ -240,6 +247,82 @@ var nativeSegwitMainnetAddresses = []string{ "bc1q2rrlg43vv5snstv3mvc79mfr9amfw4yknhjtew", "bc1q9da5fx8eerg4m40vkqc2mm24nykxhtpw9sfcw3", "bc1qma0pelvcshhq59wfur9p5rhacjyk0lmfdr53vs", + "bc1qzulaxy8fmvk8a92sec8s8u0xcqwcxw4fx037d8", + "bc1q8sr9tv9ng4yd8s6s9eenfs7mh24jv64vnwzl0p", + "bc1q5pfzfxmtx3kn7j8wqwe6336tmg0n5lmpqss9kx", + "bc1qgq506g46u2dnua70k3dypu6r7xu3kfqeee3c38", + "bc1qk2r5qt94fluyehjhr6neka0agpxung28pndjly", +} + +var taprootMainnetAddresses = []string{ + "bc1p5d7rjq7g6rdk2yhzks9smlaqtedr4dekq08ge8ztwac72sfr9rusxg3297", + "bc1py8g4v4ehll399qlpaxyxykg37pszhad9yg0dphxvjhdmhy7f08vsn43s6p", + "bc1pc09cafvlgu5ykmxyyzr4gu5qwx9a2zz6fz3lljeyddc9z7n75n9qfz7ckr", + "bc1p74k39706fe6n0qv5k30z4xpqd8gcf8apyzn9s5rujkz4jln2u3fqwwta94", + "bc1petgnkphl82md05d84gwee0alkuzpphfjy8ycxs932ngvdx8z8u0s3dwj5t", +} + +var taprootTestnetAddresses = []string{ + "tb1pqaas5xm75dny58s452949c9ak5qd53shfkln490ju4ny2afs2ldsput844", + "tb1p25h0xs3840q7aex3kl9dshd8q99qzaxkh8r5p70z54r4ykmn2rtsgcsj34", + "tb1p7hvw8mnqlrtp7ffa8wzmhq7vddegffdeus4sl0yj6fw54zjda36qhc5q8y", + "tb1pnqdr56lugmtrcxtae8k9cfe7hve8986ud0daktljsh93wf8q7u4qhc2q3c", + "tb1pa54gmj3dzr9g5p7qx6kupqg9xkvtv2cdcty78wgyaycxtqc72h5qlqgz2c", + "tb1p8lkxfnps5wd6rsrusvytp8zllrmxz05e0ttessnhyzwl0kusc2as4s72wz", +} + +var p2wshMainnetAddresses = []string{ + "bc1qhnumvtg3c9xj2q7jmt8xnk4p5kmk52ffqwax8crfn4hqtry6qseq8vahua", + "bc1qv47nn097m6hujqadw6kgt5hsk9h06k7tgq05empl3nn3mska8cfqpkjl36", + "bc1qj8pqhwkv0k6h2tm3wtqu793njkvfd66dva04zldpdcey4sak5h3qx3n8nz", + "bc1qem2ta6uk98rfr779t4wftq4qjtr3xtja9vf9yy3rgtczapc78j3sxa6570", + "bc1qazm8jprsdjxn0qq77yrzw7m2340ys0kuuylg05vul4t5ll2lhduquuhngw", +} +var p2wshTestnetAddresses = []string{ + "tb1qzda4qlkdpjgmwxt9zr29pphhzqf2ku09p7dj33qyugqn80kg5muq8x0wyv", + "tb1qgpgtqj68zwsdz7xmvqxxxaan7dcfgu76jz0cfzynqgrtvdsxlyqsf7dfz8", + "tb1qkp4lxc09e34cc5vw383j42rgacurp7wrpnwjmvazv6g23c2ydz3qx5tfhl", + "tb1qzhu8fjgw5aaqgv0q2jey4dnc3pgcr4cks858d6eaf97ljxywe70qwwsdku", + "tb1qzda4qlkdpjgmwxt9zr29pphhzqf2ku09p7dj33qyugqn80kg5muq8x0wyv", +} + +var p2wshRegtestAddresses = []string{ + "bcrt1qtmm4qallkmnd2vl5y3w3an3uvq6w5v2ahqvfqm0mfxny8cnsdrashv8fsr", + "bcrt1q93c4pfcz8lye3d0j9y7dp9sr48rj5kv34gfds4f0q9nmwd6afhrsy5hv6e", + "bcrt1q7fs9g5c3kp3r9c6e8qx0y6lfjc5z7xq0xvd3crw0pqkz9m7v84qq2v9l6q", + "bcrt1qdpszwqsc2vnf9sh4jl8gq0g2qpj3eyg89szukln6wxdtr3w6suvq3hyt4q", + "bcrt1q94s5pfq9eycr98rdscpjxzwc7vzh8nfrlx2wzt8hztpyzvcajndszww3y9", + "bcrt1qzv8ykc6vcq4fzzklgk4e3wts3r6fzjd7jqh4k3lw6tztkgv5rxmss0q6n4", + "bcrt1qv95xqjc42ngc60gptf5pv5g4gq3hyuqytxvhdjq4nwvxd93w5lzst3t6ez", + "bcrt1q96s6z5fnr5vxhrgslh4gk5g5vj95w6krj3jsl8r60lm3fvkljqdsg3ch8v", + "bcrt1qxyprwrln9w5qk2ghnys5xfwz0s3u8jgrdm2vj42y27tqeqp8zznq0kwkcn", + "bcrt1q7yjkl6r5mg8j9hyt8gx6f2h5jq4kt8ks7w0q3r4wlcck9yks4vzsryvw8r", +} + +var p2wpkhRegtestAddresses = []string{ + "bcrt1qg59jse8wha2z07w8jsjd3my7530tk0vqh7hv09", + "bcrt1qpncuuk7mflzwyfrv7uwtskl35qdxs0uuwzwhvf", + "bcrt1q32chehq23qgu24h5jvy4407ypvmrfvut7vssyg", + "bcrt1q5rg6mxr9z4myvs6c8gkh7lcrcj9eexava5979n", + "bcrt1qpq0hdfj3fwtusy3vjmhkmz9y7epvveqalgt4te", + "bcrt1qp6u0t6evapxq7q89yv7xfsq978dwnxeskkup7t", + "bcrt1qkeya2ky446gl6kqm86nj96tjxhhsf9ctsha9xj", + "bcrt1q9pt3z976daw3jw3jncqs83vys6ay567hdwhqgt", + "bcrt1qvgfxpgzhhd6ktq0rfc5lm8ysu653uyxmqglvtf", + "bcrt1q4lqflp2gywyuhdudawm4kncq2m2llaydh3srju", +} + +var p2trRegtestAddresses = []string{ + "bcrt1p5chgc8qnl250kjp4956u690hqmkr7px2xdxq0hnrd3e69slumsfsj7wslt", + "bcrt1pmxnjedrmj4l7muyezf62x6cw6e385a36v9sk9znlxz54dwwtldlqxm6p8h", + "bcrt1pgtyx9g4xw9kx3m6v9fkpadnrp820t5mk6v4vry4sqadkg6fehp0qqtq4hp", + "bcrt1plmdsnxc9mmjt4dks4qapzd8cr2m407excd0c4a3zjt6lchzlhd5qtx4r95", + "bcrt1pt7qtpvcevgkl4453nk3ctlyc89qpurjyvakpqwu5l3prsf7jlynsfzj337", + "bcrt1p62ulphlvyrkfxjy5xun02qshdmdsmdxrssa9fltgc9pranxdpceq0zxehk", + "bcrt1p7tpuqkurf0z4rq0auepqqnlycp454mtcvmxks5wqpp5dxpgxw64sr9gfl2", + "bcrt1pujvqun9necxr76k235kme0auxx2wc5prhapa303rk6kwt7l4wvtq54cpsq", + "bcrt1pr9mhhhd706m6gsyddfpkp3jhpj4cneqrt8sy7whm8rlts8t2cs8s2dk38m", + "bcrt1p7m6rue7kxpaqc56rcvym5n9jwtumsvjv00qqk0u4c953tps0t0sqklkgge", } func TestBitcoinTransactionInformation_AmountToAddress(t *testing.T) { @@ -303,19 +386,21 @@ func TestBitcoinTransactionInformation_AmountToAddress(t *testing.T) { } func TestIsSupportedBtcAddress(t *testing.T) { - var notSuported []string - notSuported = append(notSuported, nativeSegwitTestnetAddresses...) - notSuported = append(notSuported, nativeSegwitMainnetAddresses...) - var supported []string supported = append(supported, p2pkhTestnetAddresses...) supported = append(supported, p2pkhMainnetAddresses...) supported = append(supported, p2shTestnetAddresses...) supported = append(supported, p2shMainnetAddresses...) + supported = append(supported, p2wpkhTestnetAddresses...) + supported = append(supported, p2wpkhMainnetAddresses...) + supported = append(supported, p2wshTestnetAddresses...) + supported = append(supported, p2wshMainnetAddresses...) + supported = append(supported, taprootTestnetAddresses...) + supported = append(supported, taprootMainnetAddresses...) + supported = append(supported, p2wshRegtestAddresses...) + supported = append(supported, p2wpkhRegtestAddresses...) + supported = append(supported, p2trRegtestAddresses...) - for _, address := range notSuported { - assert.Falsef(t, blockchain.IsSupportedBtcAddress(address), "Address %s should not be supported", address) - } for _, address := range supported { assert.Truef(t, blockchain.IsSupportedBtcAddress(address), "Address %s should be supported", address) } @@ -325,12 +410,21 @@ func TestIsMainnetBtcAddress(t *testing.T) { var mainnetAddresses []string mainnetAddresses = append(mainnetAddresses, p2pkhMainnetAddresses...) mainnetAddresses = append(mainnetAddresses, p2shMainnetAddresses...) - mainnetAddresses = append(mainnetAddresses, nativeSegwitMainnetAddresses...) + mainnetAddresses = append(mainnetAddresses, p2wpkhMainnetAddresses...) + mainnetAddresses = append(mainnetAddresses, p2wshMainnetAddresses...) + mainnetAddresses = append(mainnetAddresses, taprootMainnetAddresses...) var testnetAddresses []string testnetAddresses = append(testnetAddresses, p2pkhTestnetAddresses...) testnetAddresses = append(testnetAddresses, p2shTestnetAddresses...) - testnetAddresses = append(testnetAddresses, nativeSegwitTestnetAddresses...) + testnetAddresses = append(testnetAddresses, p2wpkhTestnetAddresses...) + testnetAddresses = append(testnetAddresses, p2wshTestnetAddresses...) + testnetAddresses = append(testnetAddresses, taprootTestnetAddresses...) + + var regtestAddresses []string + regtestAddresses = append(regtestAddresses, p2wshRegtestAddresses...) + regtestAddresses = append(regtestAddresses, p2wpkhRegtestAddresses...) + regtestAddresses = append(regtestAddresses, p2trRegtestAddresses...) for _, address := range mainnetAddresses { assert.Truef(t, blockchain.IsMainnetBtcAddress(address), "IsMainnetBtcAddress should return true for address %s", address) @@ -338,18 +432,30 @@ func TestIsMainnetBtcAddress(t *testing.T) { for _, address := range testnetAddresses { assert.Falsef(t, blockchain.IsMainnetBtcAddress(address), "IsMainnetBtcAddress should return false for address %s", address) } + for _, address := range regtestAddresses { + assert.Falsef(t, blockchain.IsMainnetBtcAddress(address), "IsMainnetBtcAddress should return false for address %s", address) + } } func TestIsTestnetBtcAddress(t *testing.T) { var mainnetAddresses []string mainnetAddresses = append(mainnetAddresses, p2pkhMainnetAddresses...) mainnetAddresses = append(mainnetAddresses, p2shMainnetAddresses...) - mainnetAddresses = append(mainnetAddresses, nativeSegwitMainnetAddresses...) + mainnetAddresses = append(mainnetAddresses, p2wpkhMainnetAddresses...) + mainnetAddresses = append(mainnetAddresses, p2wshMainnetAddresses...) + mainnetAddresses = append(mainnetAddresses, taprootMainnetAddresses...) var testnetAddresses []string testnetAddresses = append(testnetAddresses, p2pkhTestnetAddresses...) testnetAddresses = append(testnetAddresses, p2shTestnetAddresses...) - testnetAddresses = append(testnetAddresses, nativeSegwitTestnetAddresses...) + testnetAddresses = append(testnetAddresses, p2wpkhTestnetAddresses...) + testnetAddresses = append(testnetAddresses, p2wshTestnetAddresses...) + testnetAddresses = append(testnetAddresses, taprootTestnetAddresses...) + + var regtestAddresses []string + regtestAddresses = append(regtestAddresses, p2wshRegtestAddresses...) + regtestAddresses = append(regtestAddresses, p2wpkhRegtestAddresses...) + regtestAddresses = append(regtestAddresses, p2trRegtestAddresses...) for _, address := range mainnetAddresses { assert.Falsef(t, blockchain.IsTestnetBtcAddress(address), "IsTestnetBtcAddress should return false for address %s", address) @@ -357,4 +463,178 @@ func TestIsTestnetBtcAddress(t *testing.T) { for _, address := range testnetAddresses { assert.Truef(t, blockchain.IsTestnetBtcAddress(address), "IsTestnetBtcAddress should return true for address %s", address) } + for _, address := range regtestAddresses { + assert.Falsef(t, blockchain.IsTestnetBtcAddress(address), "IsTestnetBtcAddress should return false for address %s", address) + } +} + +func TestIsRegtestBtcAddress(t *testing.T) { + var mainnetAddresses []string + mainnetAddresses = append(mainnetAddresses, p2pkhMainnetAddresses...) + mainnetAddresses = append(mainnetAddresses, p2shMainnetAddresses...) + mainnetAddresses = append(mainnetAddresses, p2wpkhMainnetAddresses...) + mainnetAddresses = append(mainnetAddresses, p2wshMainnetAddresses...) + mainnetAddresses = append(mainnetAddresses, taprootMainnetAddresses...) + + var testnetAddresses []string + testnetAddresses = append(testnetAddresses, p2wpkhTestnetAddresses...) + testnetAddresses = append(testnetAddresses, p2wshTestnetAddresses...) + testnetAddresses = append(testnetAddresses, taprootTestnetAddresses...) + + var regtestAddresses []string + regtestAddresses = append(regtestAddresses, p2wshRegtestAddresses...) + regtestAddresses = append(regtestAddresses, p2wpkhRegtestAddresses...) + regtestAddresses = append(regtestAddresses, p2trRegtestAddresses...) + regtestAddresses = append(regtestAddresses, p2pkhTestnetAddresses...) + regtestAddresses = append(regtestAddresses, p2shTestnetAddresses...) + + for _, address := range mainnetAddresses { + assert.Falsef(t, blockchain.IsRegtestBtcAddress(address), "IsRegtestBtcAddress should return false for address %s", address) + } + for _, address := range testnetAddresses { + assert.Falsef(t, blockchain.IsRegtestBtcAddress(address), "IsRegtestBtcAddress should return false for address %s", address) + } + for _, address := range regtestAddresses { + assert.Truef(t, blockchain.IsRegtestBtcAddress(address), "IsRegtestBtcAddress should return true for address %s", address) + } +} + +func TestIsP2PKHAddress(t *testing.T) { + var p2pkhAddresses []string + p2pkhAddresses = append(p2pkhAddresses, p2pkhMainnetAddresses...) + p2pkhAddresses = append(p2pkhAddresses, p2pkhTestnetAddresses...) + var others []string + others = append(others, p2shMainnetAddresses...) + others = append(others, p2shTestnetAddresses...) + others = append(others, p2wpkhMainnetAddresses...) + others = append(others, p2wpkhTestnetAddresses...) + others = append(others, p2wshMainnetAddresses...) + others = append(others, p2wshTestnetAddresses...) + others = append(others, taprootMainnetAddresses...) + others = append(others, taprootTestnetAddresses...) + others = append(others, p2wshRegtestAddresses...) + others = append(others, p2wpkhRegtestAddresses...) + others = append(others, p2trRegtestAddresses...) + + for _, address := range p2pkhAddresses { + assert.Truef(t, blockchain.IsBtcP2PKHAddress(address), "IsP2PKHAddress should return true for address %s", address) + } + for _, address := range others { + assert.Falsef(t, blockchain.IsBtcP2PKHAddress(address), "IsP2PKHAddress should return false for address %s", address) + } +} + +func TestIsP2SHAddress(t *testing.T) { + var p2shAddresses []string + p2shAddresses = append(p2shAddresses, p2shMainnetAddresses...) + p2shAddresses = append(p2shAddresses, p2shTestnetAddresses...) + var others []string + others = append(others, p2pkhMainnetAddresses...) + others = append(others, p2pkhTestnetAddresses...) + others = append(others, p2wpkhMainnetAddresses...) + others = append(others, p2wpkhTestnetAddresses...) + others = append(others, p2wshMainnetAddresses...) + others = append(others, p2wshTestnetAddresses...) + others = append(others, taprootMainnetAddresses...) + others = append(others, taprootTestnetAddresses...) + others = append(others, p2wshRegtestAddresses...) + others = append(others, p2wpkhRegtestAddresses...) + others = append(others, p2trRegtestAddresses...) + + for _, address := range p2shAddresses { + assert.Truef(t, blockchain.IsBtcP2SHAddress(address), "IsP2SHAddress should return true for address %s", address) + } + for _, address := range others { + assert.Falsef(t, blockchain.IsBtcP2SHAddress(address), "IsP2SHAddress should return false for address %s", address) + } +} + +func TestIsP2WPKHAddress(t *testing.T) { + var p2wpkhAddresses []string + p2wpkhAddresses = append(p2wpkhAddresses, p2wpkhMainnetAddresses...) + p2wpkhAddresses = append(p2wpkhAddresses, p2wpkhTestnetAddresses...) + p2wpkhAddresses = append(p2wpkhAddresses, p2wpkhRegtestAddresses...) + var others []string + others = append(others, p2pkhMainnetAddresses...) + others = append(others, p2pkhTestnetAddresses...) + others = append(others, p2shMainnetAddresses...) + others = append(others, p2shTestnetAddresses...) + others = append(others, p2wshMainnetAddresses...) + others = append(others, p2wshTestnetAddresses...) + others = append(others, taprootMainnetAddresses...) + others = append(others, taprootTestnetAddresses...) + others = append(others, p2wshRegtestAddresses...) + others = append(others, p2trRegtestAddresses...) + + for _, address := range p2wpkhAddresses { + assert.Truef(t, blockchain.IsBtcP2WPKHAddress(address), "IsP2WPKHAddress should return true for address %s", address) + } + for _, address := range others { + assert.Falsef(t, blockchain.IsBtcP2WPKHAddress(address), "IsP2WPKHAddress should return false for address %s", address) + } +} + +func TestIsP2WSHAddress(t *testing.T) { + var p2wshAddresses []string + p2wshAddresses = append(p2wshAddresses, p2wshMainnetAddresses...) + p2wshAddresses = append(p2wshAddresses, p2wshTestnetAddresses...) + p2wshAddresses = append(p2wshAddresses, p2wshRegtestAddresses...) + var others []string + others = append(others, p2pkhMainnetAddresses...) + others = append(others, p2pkhTestnetAddresses...) + others = append(others, p2shMainnetAddresses...) + others = append(others, p2shTestnetAddresses...) + others = append(others, p2wpkhMainnetAddresses...) + others = append(others, p2wpkhTestnetAddresses...) + others = append(others, taprootMainnetAddresses...) + others = append(others, taprootTestnetAddresses...) + others = append(others, p2wpkhRegtestAddresses...) + others = append(others, p2trRegtestAddresses...) + + for _, address := range p2wshAddresses { + assert.Truef(t, blockchain.IsBtcP2WSHAddress(address), "IsP2WSHAddress should return true for address %s", address) + } + for _, address := range others { + assert.Falsef(t, blockchain.IsBtcP2WSHAddress(address), "IsP2WSHAddress should return false for address %s", address) + } +} + +func TestIsTaprootAddress(t *testing.T) { + var taprootAddresses []string + taprootAddresses = append(taprootAddresses, taprootMainnetAddresses...) + taprootAddresses = append(taprootAddresses, taprootTestnetAddresses...) + taprootAddresses = append(taprootAddresses, p2trRegtestAddresses...) + var others []string + others = append(others, p2pkhMainnetAddresses...) + others = append(others, p2pkhTestnetAddresses...) + others = append(others, p2shMainnetAddresses...) + others = append(others, p2shTestnetAddresses...) + others = append(others, p2wpkhMainnetAddresses...) + others = append(others, p2wpkhTestnetAddresses...) + others = append(others, p2wshMainnetAddresses...) + others = append(others, p2wshTestnetAddresses...) + others = append(others, p2wshRegtestAddresses...) + others = append(others, p2wpkhRegtestAddresses...) + + for _, address := range taprootAddresses { + assert.Truef(t, blockchain.IsBtcP2TRAddress(address), "IsTaprootAddress should return true for address %s", address) + } + for _, address := range others { + assert.Falsef(t, blockchain.IsBtcP2TRAddress(address), "IsTaprootAddress should return false for address %s", address) + } +} + +func TestZeroAddresses(t *testing.T) { + t.Run("Mainnet zero address should be an array of zeros", func(t *testing.T) { + result, version, err := base58.CheckDecode(blockchain.BitcoinMainnetP2PKHZeroAddress) + require.NoError(t, err) + assert.Equal(t, make([]byte, 20), result) + assert.Equal(t, uint8(0x00), version) + }) + t.Run("Testnet zero address should be an array of zeros", func(t *testing.T) { + result, version, err := base58.CheckDecode(blockchain.BitcoinTestnetP2PKHZeroAddress) + require.NoError(t, err) + assert.Equal(t, make([]byte, 20), result) + assert.Equal(t, uint8(0x6f), version) + }) } diff --git a/internal/entities/blockchain/lbc.go b/internal/entities/blockchain/lbc.go index cc72a4e9..a4a1e5b9 100644 --- a/internal/entities/blockchain/lbc.go +++ b/internal/entities/blockchain/lbc.go @@ -80,6 +80,7 @@ type LiquidityBridgeContract interface { HashPeginQuote(peginQuote quote.PeginQuote) (string, error) HashPegoutQuote(pegoutQuote quote.PegoutQuote) (string, error) GetProviders() ([]liquidity_provider.RegisteredLiquidityProvider, error) + GetProvider(address string) (liquidity_provider.RegisteredLiquidityProvider, error) ProviderResign() error SetProviderStatus(id uint64, newStatus bool) error GetCollateral(address string) (*entities.Wei, error) diff --git a/internal/entities/blockchain/rootstock.go b/internal/entities/blockchain/rootstock.go index b715366c..d56d8fd2 100644 --- a/internal/entities/blockchain/rootstock.go +++ b/internal/entities/blockchain/rootstock.go @@ -4,6 +4,7 @@ import ( "context" "encoding/hex" "errors" + "fmt" "github.com/rsksmart/liquidity-provider-server/internal/entities" "math/big" "regexp" @@ -93,6 +94,28 @@ type FlyoverDerivation struct { RedeemScript string } +type BtcCoinbaseTransactionInformation struct { + BtcTxSerialized []byte + BlockHash [32]byte + BlockHeight *big.Int + SerializedPmt []byte + WitnessMerkleRoot [32]byte + WitnessReservedValue [32]byte +} + +func (params BtcCoinbaseTransactionInformation) String() string { + return fmt.Sprintf( + "RegisterPeginParams { BtcTxSerialized: %s, BlockHash: %s, BlockHeight: %d"+ + "SerializedPmt: %s, WitnessMerkleRoot: %s, WitnessReservedValue: %s }", + hex.EncodeToString(params.BtcTxSerialized), + hex.EncodeToString(params.BlockHash[:]), + params.BlockHeight.Uint64(), + hex.EncodeToString(params.SerializedPmt), + hex.EncodeToString(params.WitnessMerkleRoot[:]), + hex.EncodeToString(params.WitnessReservedValue[:]), + ) +} + type RootstockBridge interface { GetAddress() string GetFedAddress() (string, error) @@ -100,6 +123,7 @@ type RootstockBridge interface { GetFlyoverDerivationAddress(args FlyoverDerivationArgs) (FlyoverDerivation, error) GetRequiredTxConfirmations() uint64 FetchFederationInfo() (FederationInfo, error) + RegisterBtcCoinbaseTransaction(registrationParams BtcCoinbaseTransactionInformation) (string, error) } type FederationInfo struct { diff --git a/internal/entities/blockchain/rootstock_test.go b/internal/entities/blockchain/rootstock_test.go index 73b41d4d..41423ce5 100644 --- a/internal/entities/blockchain/rootstock_test.go +++ b/internal/entities/blockchain/rootstock_test.go @@ -1,11 +1,13 @@ package blockchain_test import ( + "encoding/hex" "github.com/rsksmart/liquidity-provider-server/internal/entities" "github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain" "github.com/rsksmart/liquidity-provider-server/test" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + "math/big" "testing" ) @@ -82,3 +84,24 @@ func TestDecodeStringTrim_Fail(t *testing.T) { require.Error(t, err) } } + +func TestBtcCoinbaseTransactionInformation_String(t *testing.T) { + var blockHash, witnessMerkleRoot, witnessReservedValue [32]byte + tx, _ := hex.DecodeString("020000000001018e1993e43f182c6966ac011f12d82c18ee2b2e292b23f206e5c55d518cded7e80100000000fdffffff0300879303000000001976a914d60c3f1e0a8e76dd5ea1470c968b87b9b0339c4988ac0000000000000000226a2042be5ef1f59c24d2715f6f4b803a2acc66515554447f1a3e0abb99a3317aa6afc11fa11900000000160014ddb677f36498f7a4901a74e882df68fd00cf473502473044022077657caef5a7692e3ac1dffca4cfebea98029a21dbf5247a044ef4d2a8f2fdfd02206342029f868122a7c2321b67cea2440c98925728450f28b3e443e80c4f95765e01210232858a5faa413101831afe7a880da9a8ac4de6bd5e25b4358d762ba450b03c2200000000") + blockHashBytes, _ := hex.DecodeString("8e1993e43f182c6966ac011f12d82c18ee2b2e292b23f206e5c55d518cded7e8") + copy(blockHash[:], blockHashBytes) + witnessMerkleRootBytes, _ := hex.DecodeString("42be5ef1f59c24d2715f6f4b803a2acc66515554447f1a3e0abb99a3317aa6af") + copy(witnessMerkleRoot[:], witnessMerkleRootBytes) + witnessReservedValueBytes, _ := hex.DecodeString("ddb677f36498f7a4901a74e882df68fd00cf4735") + copy(witnessReservedValue[:], witnessReservedValueBytes) + transaction := blockchain.BtcCoinbaseTransactionInformation{ + BtcTxSerialized: tx, + BlockHash: blockHash, + BlockHeight: big.NewInt(123456789), + SerializedPmt: []byte{1, 2, 3, 4, 5, 6, 7, 8, 9}, + WitnessMerkleRoot: witnessMerkleRoot, + WitnessReservedValue: witnessReservedValue, + } + expected := "RegisterPeginParams { BtcTxSerialized: 020000000001018e1993e43f182c6966ac011f12d82c18ee2b2e292b23f206e5c55d518cded7e80100000000fdffffff0300879303000000001976a914d60c3f1e0a8e76dd5ea1470c968b87b9b0339c4988ac0000000000000000226a2042be5ef1f59c24d2715f6f4b803a2acc66515554447f1a3e0abb99a3317aa6afc11fa11900000000160014ddb677f36498f7a4901a74e882df68fd00cf473502473044022077657caef5a7692e3ac1dffca4cfebea98029a21dbf5247a044ef4d2a8f2fdfd02206342029f868122a7c2321b67cea2440c98925728450f28b3e443e80c4f95765e01210232858a5faa413101831afe7a880da9a8ac4de6bd5e25b4358d762ba450b03c2200000000, BlockHash: 8e1993e43f182c6966ac011f12d82c18ee2b2e292b23f206e5c55d518cded7e8, BlockHeight: 123456789SerializedPmt: 010203040506070809, WitnessMerkleRoot: 42be5ef1f59c24d2715f6f4b803a2acc66515554447f1a3e0abb99a3317aa6af, WitnessReservedValue: ddb677f36498f7a4901a74e882df68fd00cf4735000000000000000000000000 }" + assert.Equal(t, expected, transaction.String()) +} diff --git a/internal/entities/liquidity_provider/liquidity_provider.go b/internal/entities/liquidity_provider/liquidity_provider.go index 7318bad0..4cbf9c6c 100644 --- a/internal/entities/liquidity_provider/liquidity_provider.go +++ b/internal/entities/liquidity_provider/liquidity_provider.go @@ -18,7 +18,10 @@ const ( DefaultCredentialsSetEventId entities.EventId = "CredentialsSet" ) -var InvalidProviderTypeError = errors.New("invalid liquidity provider type") +var ( + InvalidProviderTypeError = errors.New("invalid liquidity provider type") + ProviderNotFoundError = errors.New("liquidity provider not found") +) func (p ProviderType) IsValid() bool { switch p { diff --git a/internal/entities/utils/encoding.go b/internal/entities/utils/encoding.go index 3a329677..9429b296 100644 --- a/internal/entities/utils/encoding.go +++ b/internal/entities/utils/encoding.go @@ -16,3 +16,11 @@ func DecodeKey(key string, expectedBytes int) ([]byte, error) { } return bytes, nil } + +// To32Bytes utility to convert a byte slice to a fixed size byte array, if input has +// more than 32 bytes they won't be copied. +func To32Bytes(value []byte) [32]byte { + var bytes [32]byte + copy(bytes[:], value) + return bytes +} diff --git a/internal/entities/utils/encoding_test.go b/internal/entities/utils/encoding_test.go index cebcd92f..1e0a5a1d 100644 --- a/internal/entities/utils/encoding_test.go +++ b/internal/entities/utils/encoding_test.go @@ -65,3 +65,22 @@ func TestDecodeKey_DecodingError(t *testing.T) { require.Nil(t, result) } } + +func TestTo32Bytes(t *testing.T) { + shortSlice := []byte{0x1, 0x2, 0x3, 0x4} + expectedShortResult := [32]byte{0x1, 0x2, 0x3, 0x4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} + + longSlice := []byte{0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22} + expectedLongResult := [32]byte{0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20} + + exactSlice := []byte{0x20, 0x1f, 0x1e, 0x1d, 0x1c, 0x1b, 0x1a, 0x19, 0x18, 0x17, 0x16, 0x15, 0x14, 0x13, 0x12, 0x11, 0x10, 0xf, 0xe, 0xd, 0xc, 0xb, 0xa, 0x9, 0x8, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1} + expectedExactResult := [32]byte{0x20, 0x1f, 0x1e, 0x1d, 0x1c, 0x1b, 0x1a, 0x19, 0x18, 0x17, 0x16, 0x15, 0x14, 0x13, 0x12, 0x11, 0x10, 0xf, 0xe, 0xd, 0xc, 0xb, 0xa, 0x9, 0x8, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1} + + shortResult := utils.To32Bytes(shortSlice) + longResult := utils.To32Bytes(longSlice) + exactResult := utils.To32Bytes(exactSlice) + + require.Equal(t, expectedShortResult, shortResult) + require.Equal(t, expectedLongResult, longResult) + require.Equal(t, expectedExactResult, exactResult) +} diff --git a/internal/entities/utils/random.go b/internal/entities/utils/random.go index 8c121a6c..9a7274f3 100644 --- a/internal/entities/utils/random.go +++ b/internal/entities/utils/random.go @@ -14,6 +14,15 @@ func GetRandomInt() (int64, error) { return random.Int64(), nil } +// MustGetRandomInt same as GetRandomInt but panics if error +func MustGetRandomInt() int64 { + random, err := GetRandomInt() + if err != nil { + panic(err) + } + return random +} + func GetRandomBytes(numberOfBytes int64) ([]byte, error) { random := make([]byte, numberOfBytes) @@ -23,3 +32,12 @@ func GetRandomBytes(numberOfBytes int64) ([]byte, error) { } return random, nil } + +// MustGetRandomBytes same as GetRandomBytes but panics if error +func MustGetRandomBytes(numberOfBytes int64) []byte { + random, err := GetRandomBytes(numberOfBytes) + if err != nil { + panic(err) + } + return random +} diff --git a/internal/entities/utils/random_test.go b/internal/entities/utils/random_test.go index 2faec6c0..e503cd05 100644 --- a/internal/entities/utils/random_test.go +++ b/internal/entities/utils/random_test.go @@ -21,6 +21,17 @@ func TestGetRandomInt(t *testing.T) { } } +func TestMustGetRandomInt(t *testing.T) { + var numbers []int64 + var number int64 + for i := 0; i < 100; i++ { + number = utils.MustGetRandomInt() + assert.Positive(t, number) + assert.False(t, slices.Contains(numbers, number)) + numbers = append(numbers, number) + } +} + func TestGetRandomBytes_Size(t *testing.T) { sizes := []int64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512} for _, size := range sizes { @@ -43,3 +54,16 @@ func TestGetRandomBytes_Random(t *testing.T) { generatedBytes = append(generatedBytes, bytes) } } + +func TestMustGetRandomBytes(t *testing.T) { + const size = 32 + var generatedBytes [][]byte + for i := 0; i < 100; i++ { + bytes := utils.MustGetRandomBytes(size) + require.Len(t, bytes, size) + for _, generated := range generatedBytes { + assert.NotEqual(t, generated, bytes) + } + generatedBytes = append(generatedBytes, bytes) + } +} diff --git a/internal/usecases/common.go b/internal/usecases/common.go index 37ec254f..26cb9f8d 100644 --- a/internal/usecases/common.go +++ b/internal/usecases/common.go @@ -68,7 +68,6 @@ var ( ExpiredQuoteError = errors.New("expired quote") NoLiquidityError = errors.New("not enough liquidity") ProviderConfigurationError = errors.New("pegin and pegout providers are not using the same account") - ProviderNotFoundError = errors.New("liquidity provider not found") WrongStateError = errors.New("quote with wrong state") NoEnoughConfirmationsError = errors.New("not enough confirmations for transaction") InsufficientAmountError = errors.New("insufficient amount") @@ -173,3 +172,16 @@ func SignConfiguration[C liquidity_provider.ConfigurationType]( } return signedConfig, nil } + +func RegisterCoinbaseTransaction(btcRpc blockchain.BitcoinNetwork, bridgeContract blockchain.RootstockBridge, tx blockchain.BitcoinTransactionInformation) error { + if !tx.HasWitness { + return nil + } + + coinbaseInfo, err := btcRpc.GetCoinbaseInformation(tx.Hash) + if err != nil { + return err + } + _, err = bridgeContract.RegisterBtcCoinbaseTransaction(coinbaseInfo) + return err +} diff --git a/internal/usecases/common_test.go b/internal/usecases/common_test.go index d661d2ef..49c1c7e2 100644 --- a/internal/usecases/common_test.go +++ b/internal/usecases/common_test.go @@ -7,12 +7,14 @@ import ( "github.com/rsksmart/liquidity-provider-server/internal/entities" "github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain" "github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider" + "github.com/rsksmart/liquidity-provider-server/internal/entities/utils" u "github.com/rsksmart/liquidity-provider-server/internal/usecases" "github.com/rsksmart/liquidity-provider-server/test" "github.com/rsksmart/liquidity-provider-server/test/mocks" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" + "math/big" "testing" ) @@ -142,3 +144,59 @@ func TestSignConfiguration_SignatureError(t *testing.T) { require.Equal(t, entities.Signed[liquidity_provider.PeginConfiguration]{}, signed) require.Error(t, err) } + +func TestRegisterCoinbaseTransaction(t *testing.T) { + tx := blockchain.BitcoinTransactionInformation{ + Confirmations: 10, + Outputs: map[string][]*entities.Wei{test.AnyAddress: {entities.NewWei(1)}}, + HasWitness: true, + Hash: test.AnyHash, + } + coinbaseInfo := blockchain.BtcCoinbaseTransactionInformation{ + BtcTxSerialized: utils.MustGetRandomBytes(32), + BlockHash: utils.To32Bytes(utils.MustGetRandomBytes(32)), + BlockHeight: big.NewInt(500), + SerializedPmt: utils.MustGetRandomBytes(64), + WitnessMerkleRoot: utils.To32Bytes(utils.MustGetRandomBytes(32)), + WitnessReservedValue: utils.To32Bytes(utils.MustGetRandomBytes(32)), + } + t.Run("Should return if tx does not have witness data", func(t *testing.T) { + bridge := &mocks.BridgeMock{} + rpc := &mocks.BtcRpcMock{} + txWithoutWitness := tx + txWithoutWitness.HasWitness = false + err := u.RegisterCoinbaseTransaction(rpc, bridge, txWithoutWitness) + require.NoError(t, err) + bridge.AssertNotCalled(t, "RegisterCoinbaseTransaction") + rpc.AssertNotCalled(t, "GetCoinbaseInformation") + }) + t.Run("Should handle error fetching the coinbase information", func(t *testing.T) { + bridge := &mocks.BridgeMock{} + rpc := &mocks.BtcRpcMock{} + rpc.On("GetCoinbaseInformation", test.AnyHash).Return(blockchain.BtcCoinbaseTransactionInformation{}, assert.AnError) + err := u.RegisterCoinbaseTransaction(rpc, bridge, tx) + require.Error(t, err) + bridge.AssertNotCalled(t, "RegisterCoinbaseTransaction") + rpc.AssertExpectations(t) + }) + t.Run("Should handle error registering the transaction", func(t *testing.T) { + bridge := &mocks.BridgeMock{} + rpc := &mocks.BtcRpcMock{} + rpc.On("GetCoinbaseInformation", test.AnyHash).Return(coinbaseInfo, nil) + bridge.On("RegisterBtcCoinbaseTransaction", coinbaseInfo).Return("", assert.AnError) + err := u.RegisterCoinbaseTransaction(rpc, bridge, tx) + require.Error(t, err) + bridge.AssertExpectations(t) + rpc.AssertExpectations(t) + }) + t.Run("Should register a coinbase tx successfully", func(t *testing.T) { + bridge := &mocks.BridgeMock{} + rpc := &mocks.BtcRpcMock{} + rpc.On("GetCoinbaseInformation", test.AnyHash).Return(coinbaseInfo, nil) + bridge.On("RegisterBtcCoinbaseTransaction", coinbaseInfo).Return(test.AnyHash, nil) + err := u.RegisterCoinbaseTransaction(rpc, bridge, tx) + require.NoError(t, err) + bridge.AssertExpectations(t) + rpc.AssertExpectations(t) + }) +} diff --git a/internal/usecases/liquidity_provider/change_status.go b/internal/usecases/liquidity_provider/change_status.go index ec088d25..ecbe019f 100644 --- a/internal/usecases/liquidity_provider/change_status.go +++ b/internal/usecases/liquidity_provider/change_status.go @@ -17,14 +17,14 @@ func NewChangeStatusUseCase(contracts blockchain.RskContracts, provider liquidit func (useCase *ChangeStatusUseCase) Run(newStatus bool) error { var err error - var id uint64 + var registeredProvider liquidity_provider.RegisteredLiquidityProvider - id, err = ValidateConfiguredProvider(useCase.provider, useCase.contracts.Lbc) + registeredProvider, err = useCase.contracts.Lbc.GetProvider(useCase.provider.RskAddress()) if err != nil { return usecases.WrapUseCaseError(usecases.ChangeProviderStatusId, err) } - if err = useCase.contracts.Lbc.SetProviderStatus(id, newStatus); err != nil { + if err = useCase.contracts.Lbc.SetProviderStatus(registeredProvider.Id, newStatus); err != nil { return usecases.WrapUseCaseError(usecases.ChangeProviderStatusId, err) } return nil diff --git a/internal/usecases/liquidity_provider/change_status_test.go b/internal/usecases/liquidity_provider/change_status_test.go index 0d8ef536..fd86201b 100644 --- a/internal/usecases/liquidity_provider/change_status_test.go +++ b/internal/usecases/liquidity_provider/change_status_test.go @@ -6,31 +6,20 @@ import ( lp "github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider" "github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider" "github.com/rsksmart/liquidity-provider-server/test/mocks" + "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" "testing" ) func TestChangeStatusUseCase_Run(t *testing.T) { + const address = "0x02" lbc := &mocks.LbcMock{} - lbc.On("GetProviders").Return([]lp.RegisteredLiquidityProvider{ - { - Id: 1, - Address: "0x01", - }, - { - Id: 2, - Address: "0x02", - }, - { - Id: 3, - Address: "0x03", - }, - }, nil).Once() + lbc.On("GetProvider", address).Return(lp.RegisteredLiquidityProvider{Id: 2, Address: address}, nil).Once() lbc.On("SetProviderStatus", uint64(2), false).Return(nil).Once() provider := &mocks.ProviderMock{} - provider.On("RskAddress").Return("0x02") + provider.On("RskAddress").Return(address) contracts := blockchain.RskContracts{Lbc: lbc} err := liquidity_provider.NewChangeStatusUseCase(contracts, provider).Run(false) @@ -40,22 +29,22 @@ func TestChangeStatusUseCase_Run(t *testing.T) { } func TestChangeStatusUseCase_Run_Fail(t *testing.T) { + const address = "0x01" lbc := &mocks.LbcMock{} provider := &mocks.ProviderMock{} - lbc.On("GetProviders").Return( - []lp.RegisteredLiquidityProvider{}, - errors.New("some error"), + provider.On("RskAddress").Return(address).Once() + lbc.On("GetProvider", address).Return( + lp.RegisteredLiquidityProvider{}, + assert.AnError, ).Once() contracts := blockchain.RskContracts{Lbc: lbc} err := liquidity_provider.NewChangeStatusUseCase(contracts, provider).Run(false) lbc.AssertExpectations(t) require.Error(t, err) - lbc.On("GetProviders").Return([]lp.RegisteredLiquidityProvider{ - {Id: 1, Address: "0x01"}, - }, nil).Once() - provider.On("RskAddress").Return("0x01") + lbc.On("GetProvider", address).Return(lp.RegisteredLiquidityProvider{Id: 1, Address: address}, nil).Once() + provider.On("RskAddress").Return(address) lbc.On("SetProviderStatus", mock.Anything, mock.Anything).Return(errors.New("some error")).Once() err = liquidity_provider.NewChangeStatusUseCase(contracts, provider).Run(false) lbc.AssertExpectations(t) diff --git a/internal/usecases/liquidity_provider/common.go b/internal/usecases/liquidity_provider/common.go index 5687bf99..1d8f0e42 100644 --- a/internal/usecases/liquidity_provider/common.go +++ b/internal/usecases/liquidity_provider/common.go @@ -1,18 +1,13 @@ package liquidity_provider import ( - "cmp" "context" "crypto/subtle" "encoding/hex" "errors" "github.com/rsksmart/liquidity-provider-server/internal/entities" - "github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain" "github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider" "github.com/rsksmart/liquidity-provider-server/internal/entities/utils" - "github.com/rsksmart/liquidity-provider-server/internal/usecases" - "slices" - "strings" ) const ( @@ -25,30 +20,6 @@ var ( LiquidityCheckNotEnabledError = errors.New("public liquidity check is not enabled") ) -func ValidateConfiguredProvider( - provider liquidity_provider.LiquidityProvider, - lbc blockchain.LiquidityBridgeContract, -) (uint64, error) { - var err error - var providers []liquidity_provider.RegisteredLiquidityProvider - - if providers, err = lbc.GetProviders(); err != nil { - return 0, err - } - - index, found := slices.BinarySearchFunc( - providers, - liquidity_provider.RegisteredLiquidityProvider{Address: provider.RskAddress()}, - func(a, b liquidity_provider.RegisteredLiquidityProvider) int { - return cmp.Compare(strings.ToLower(a.Address), strings.ToLower(b.Address)) - }, - ) - if !found { - return 0, usecases.ProviderConfigurationError - } - return providers[index].Id, nil -} - // DefaultCredentialsProvider this is an interface to be implemented by those use case that require to use ValidateCredentials, // since that function requires a way to access to the default password set by the application type DefaultCredentialsProvider interface { diff --git a/internal/usecases/liquidity_provider/common_test.go b/internal/usecases/liquidity_provider/common_test.go index 41ee94d4..b910f03a 100644 --- a/internal/usecases/liquidity_provider/common_test.go +++ b/internal/usecases/liquidity_provider/common_test.go @@ -2,11 +2,9 @@ package liquidity_provider_test import ( "context" - "errors" "github.com/rsksmart/liquidity-provider-server/internal/entities" lpEntity "github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider" "github.com/rsksmart/liquidity-provider-server/internal/entities/quote" - "github.com/rsksmart/liquidity-provider-server/internal/usecases" "github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider" "github.com/rsksmart/liquidity-provider-server/test" "github.com/rsksmart/liquidity-provider-server/test/mocks" @@ -23,68 +21,6 @@ var hashedDefaultCredentialsMock = &lpEntity.HashedCredentials{ PasswordSalt: "9baf3a40312f39849f46dad1040f2f039f1cffa1238c41e9db675315cfad39b6", } -func TestValidateConfiguredProvider(t *testing.T) { - lbc := &mocks.LbcMock{} - lbc.On("GetProviders").Return([]lpEntity.RegisteredLiquidityProvider{ - { - Id: 1, - Address: "0x01", - Name: "one", - ApiBaseUrl: "api1.com", - Status: true, - ProviderType: "both", - }, - { - Id: 2, - Address: "0x02", - Name: "two", - ApiBaseUrl: "api2.com", - Status: true, - ProviderType: "pegin", - }, - { - Id: 3, - Address: "0x03", - Name: "three", - ApiBaseUrl: "api3.com", - Status: true, - ProviderType: "pegout", - }, - }, nil) - - provider := &mocks.ProviderMock{} - provider.On("RskAddress").Return("0x02") - - id, err := liquidity_provider.ValidateConfiguredProvider(provider, lbc) - assert.Equal(t, uint64(2), id) - require.NoError(t, err) -} - -func TestValidateConfiguredProvider_Fail(t *testing.T) { - lbc := &mocks.LbcMock{} - var provider *mocks.ProviderMock = nil - lbc.On("GetProviders").Return([]lpEntity.RegisteredLiquidityProvider{}, errors.New("some error")).Once() - id, err := liquidity_provider.ValidateConfiguredProvider(provider, lbc) - assert.Equal(t, uint64(0), id) - require.Error(t, err) - - provider = &mocks.ProviderMock{} - provider.On("RskAddress").Return("0x02") - lbc.On("GetProviders").Return([]lpEntity.RegisteredLiquidityProvider{ - { - Id: 3, - Address: "0x03", - Name: "three", - ApiBaseUrl: "api3.com", - Status: true, - ProviderType: "pegout", - }, - }, nil).Once() - id, err = liquidity_provider.ValidateConfiguredProvider(provider, lbc) - assert.Equal(t, uint64(0), id) - require.ErrorIs(t, err, usecases.ProviderConfigurationError) -} - func TestReadDefaultPassword_AlreadyRead(t *testing.T) { credentialsProvider := &mocks.DefaultCredentialsProviderMock{} credentials := &lpEntity.HashedCredentials{ diff --git a/internal/usecases/liquidity_provider/management_ui.go b/internal/usecases/liquidity_provider/management_ui.go index db2b6137..59e6f3f6 100644 --- a/internal/usecases/liquidity_provider/management_ui.go +++ b/internal/usecases/liquidity_provider/management_ui.go @@ -2,6 +2,7 @@ package liquidity_provider import ( "context" + "github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain" "github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider" "github.com/rsksmart/liquidity-provider-server/internal/usecases" ) @@ -19,6 +20,7 @@ type GetManagementUiDataUseCase struct { lp liquidity_provider.LiquidityProvider peginLp liquidity_provider.PeginLiquidityProvider pegoutLp liquidity_provider.PegoutLiquidityProvider + contracts blockchain.RskContracts baseUrl string } @@ -27,6 +29,7 @@ func NewGetManagementUiDataUseCase( lp liquidity_provider.LiquidityProvider, peginLp liquidity_provider.PeginLiquidityProvider, pegoutLp liquidity_provider.PegoutLiquidityProvider, + contracts blockchain.RskContracts, baseUrl string, ) *GetManagementUiDataUseCase { return &GetManagementUiDataUseCase{ @@ -34,6 +37,7 @@ func NewGetManagementUiDataUseCase( lp: lp, peginLp: peginLp, pegoutLp: pegoutLp, + contracts: contracts, baseUrl: baseUrl, } } @@ -46,6 +50,9 @@ type ManagementTemplate struct { type ManagementTemplateData struct { CredentialsSet bool BaseUrl string + BtcAddress string + RskAddress string + ProviderData liquidity_provider.RegisteredLiquidityProvider Configuration FullConfiguration } @@ -53,7 +60,7 @@ func (useCase *GetManagementUiDataUseCase) Run(ctx context.Context, loggedIn boo if !loggedIn { return useCase.getLoginTemplateData(ctx) } - return useCase.getManagementTemplateData(ctx), nil + return useCase.getManagementTemplateData(ctx) } func (useCase *GetManagementUiDataUseCase) getLoginTemplateData(ctx context.Context) (*ManagementTemplate, error) { @@ -71,21 +78,30 @@ func (useCase *GetManagementUiDataUseCase) getLoginTemplateData(ctx context.Cont }, nil } -func (useCase *GetManagementUiDataUseCase) getManagementTemplateData(ctx context.Context) *ManagementTemplate { +func (useCase *GetManagementUiDataUseCase) getManagementTemplateData(ctx context.Context) (*ManagementTemplate, error) { generalConfiguration := useCase.lp.GeneralConfiguration(ctx) peginConfiguration := useCase.peginLp.PeginConfiguration(ctx) pegoutConfiguration := useCase.pegoutLp.PegoutConfiguration(ctx) + rskAddress := useCase.lp.RskAddress() + providerInfo, err := useCase.contracts.Lbc.GetProvider(rskAddress) + if err != nil { + return nil, usecases.WrapUseCaseError(usecases.GetManagementUiId, err) + } + return &ManagementTemplate{ Name: ManagementUiTemplate, Data: ManagementTemplateData{ CredentialsSet: true, BaseUrl: useCase.baseUrl, + BtcAddress: useCase.lp.BtcAddress(), + RskAddress: rskAddress, + ProviderData: providerInfo, Configuration: FullConfiguration{ General: generalConfiguration, Pegin: peginConfiguration, Pegout: pegoutConfiguration, }, }, - } + }, nil } diff --git a/internal/usecases/liquidity_provider/management_ui_test.go b/internal/usecases/liquidity_provider/management_ui_test.go index 45dd348d..037277e1 100644 --- a/internal/usecases/liquidity_provider/management_ui_test.go +++ b/internal/usecases/liquidity_provider/management_ui_test.go @@ -2,6 +2,7 @@ package liquidity_provider_test import ( "context" + "github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain" lp "github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider" "github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider" "github.com/rsksmart/liquidity-provider-server/test" @@ -11,37 +12,53 @@ import ( "testing" ) +// nolint:funlen func TestGetManagementUiDataUseCase_Run(t *testing.T) { const testUrl = "http://localhost:8080" t.Run("Return correct data when not logged in and credentials not set", func(t *testing.T) { + lbcMock := &mocks.LbcMock{} lpMock := &mocks.ProviderMock{} lpRepository := &mocks.LiquidityProviderRepositoryMock{} lpRepository.On("GetCredentials", test.AnyCtx).Return(nil, nil).Once() - useCase := liquidity_provider.NewGetManagementUiDataUseCase(lpRepository, lpMock, lpMock, lpMock, testUrl) + useCase := liquidity_provider.NewGetManagementUiDataUseCase(lpRepository, lpMock, lpMock, lpMock, blockchain.RskContracts{Lbc: lbcMock}, testUrl) result, err := useCase.Run(context.Background(), false) require.NoError(t, err) assert.Equal(t, liquidity_provider.ManagementLoginTemplate, result.Name) assert.False(t, result.Data.CredentialsSet) assert.Equal(t, testUrl, result.Data.BaseUrl) assert.Empty(t, result.Data.Configuration) + assert.Empty(t, result.Data.ProviderData) + assert.Empty(t, result.Data.BtcAddress) + assert.Empty(t, result.Data.RskAddress) lpRepository.AssertExpectations(t) lpMock.AssertExpectations(t) + lbcMock.AssertNotCalled(t, "GetProvider") }) t.Run("Return correct data when not logged in and credentials set", func(t *testing.T) { + lbcMock := &mocks.LbcMock{} lpMock := &mocks.ProviderMock{} lpRepository := &mocks.LiquidityProviderRepositoryMock{} lpRepository.On("GetCredentials", test.AnyCtx).Return(storedCredentials, nil).Once() - useCase := liquidity_provider.NewGetManagementUiDataUseCase(lpRepository, lpMock, lpMock, lpMock, testUrl) + useCase := liquidity_provider.NewGetManagementUiDataUseCase(lpRepository, lpMock, lpMock, lpMock, blockchain.RskContracts{Lbc: lbcMock}, testUrl) result, err := useCase.Run(context.Background(), false) require.NoError(t, err) assert.Equal(t, liquidity_provider.ManagementLoginTemplate, result.Name) assert.True(t, result.Data.CredentialsSet) assert.Equal(t, testUrl, result.Data.BaseUrl) assert.Empty(t, result.Data.Configuration) + assert.Empty(t, result.Data.ProviderData) + assert.Empty(t, result.Data.BtcAddress) + assert.Empty(t, result.Data.RskAddress) lpRepository.AssertExpectations(t) lpMock.AssertExpectations(t) + lbcMock.AssertNotCalled(t, "GetProvider") }) t.Run("Return correct data when logged in", func(t *testing.T) { + const ( + btcAddress = test.AnyAddress + rskAddress = test.AnyHash + ) + lbcMock := &mocks.LbcMock{} lpMock := &mocks.ProviderMock{} lpRepository := &mocks.LiquidityProviderRepositoryMock{} fullConfig := liquidity_provider.FullConfiguration{ @@ -49,24 +66,40 @@ func TestGetManagementUiDataUseCase_Run(t *testing.T) { Pegin: lp.DefaultPeginConfiguration(), Pegout: lp.DefaultPegoutConfiguration(), } + lpInfo := lp.RegisteredLiquidityProvider{ + Id: 1, + Address: rskAddress, + Name: test.AnyString, + ApiBaseUrl: test.AnyUrl, + Status: true, + ProviderType: lp.FullProvider, + } + lbcMock.On("GetProvider", rskAddress).Return(lpInfo, nil) lpMock.On("GeneralConfiguration", test.AnyCtx).Return(fullConfig.General).Once() lpMock.On("PeginConfiguration", test.AnyCtx).Return(fullConfig.Pegin).Once() lpMock.On("PegoutConfiguration", test.AnyCtx).Return(fullConfig.Pegout).Once() - useCase := liquidity_provider.NewGetManagementUiDataUseCase(lpRepository, lpMock, lpMock, lpMock, testUrl) + lpMock.On("BtcAddress").Return(btcAddress).Once() + lpMock.On("RskAddress").Return(rskAddress).Once() + useCase := liquidity_provider.NewGetManagementUiDataUseCase(lpRepository, lpMock, lpMock, lpMock, blockchain.RskContracts{Lbc: lbcMock}, testUrl) result, err := useCase.Run(context.Background(), true) require.NoError(t, err) assert.Equal(t, liquidity_provider.ManagementUiTemplate, result.Name) assert.True(t, result.Data.CredentialsSet) assert.Equal(t, testUrl, result.Data.BaseUrl) assert.Equal(t, fullConfig, result.Data.Configuration) + assert.Equal(t, lpInfo, result.Data.ProviderData) + assert.Equal(t, btcAddress, result.Data.BtcAddress) + assert.Equal(t, rskAddress, result.Data.RskAddress) lpRepository.AssertExpectations(t) lpMock.AssertExpectations(t) + lbcMock.AssertExpectations(t) }) t.Run("Return error when repository fails", func(t *testing.T) { + lbcMock := &mocks.LbcMock{} lpMock := &mocks.ProviderMock{} lpRepository := &mocks.LiquidityProviderRepositoryMock{} lpRepository.On("GetCredentials", test.AnyCtx).Return(nil, assert.AnError).Once() - useCase := liquidity_provider.NewGetManagementUiDataUseCase(lpRepository, lpMock, lpMock, lpMock, testUrl) + useCase := liquidity_provider.NewGetManagementUiDataUseCase(lpRepository, lpMock, lpMock, lpMock, blockchain.RskContracts{Lbc: lbcMock}, testUrl) result, err := useCase.Run(context.Background(), false) require.Error(t, err) assert.Empty(t, result) diff --git a/internal/usecases/liquidity_provider/registration.go b/internal/usecases/liquidity_provider/registration.go index 2016d220..8a497059 100644 --- a/internal/usecases/liquidity_provider/registration.go +++ b/internal/usecases/liquidity_provider/registration.go @@ -56,29 +56,43 @@ func (useCase *RegistrationUseCase) Run(params blockchain.ProviderRegistrationPa } addedPeginCollateral, err = useCase.addPeginCollateral(params, operational, collateral) + if err != nil { + return 0, usecases.WrapUseCaseError(usecases.ProviderRegistrationId, err) + } addedCollateral.pegin = addedPeginCollateral - if useCase.isProviderReady(addedCollateral, params) { + if useCase.isProviderReady(addedCollateral, operational) { return 0, usecases.WrapUseCaseError(usecases.ProviderRegistrationId, usecases.AlreadyRegisteredError) - } else if err != nil { - return 0, err } addedPegoutCollateral, err = useCase.addPegoutCollateral(params, operational, collateral) + if err != nil { + return 0, usecases.WrapUseCaseError(usecases.ProviderRegistrationId, err) + } addedCollateral.pegout = addedPegoutCollateral - if useCase.isProviderReady(addedCollateral, params) { + if useCase.isProviderReady(addedCollateral, operational) { return 0, usecases.WrapUseCaseError(usecases.ProviderRegistrationId, usecases.AlreadyRegisteredError) - } else if err != nil { - return 0, err } log.Debug("Registering new provider...") return useCase.registerProvider(params, collateral) } -func (useCase *RegistrationUseCase) isProviderReady(addedCollateral addedCollateralInfo, providerParams blockchain.ProviderRegistrationParams) bool { - return (addedCollateral.pegin && providerParams.Type == liquidity_provider.PeginProvider) || - (addedCollateral.pegout && providerParams.Type == liquidity_provider.PegoutProvider) || - (addedCollateral.pegin && addedCollateral.pegout && providerParams.Type == liquidity_provider.FullProvider) +func (useCase *RegistrationUseCase) isProviderReady(addedCollateral addedCollateralInfo, operational operationalInfo) bool { + provider, err := useCase.contracts.Lbc.GetProvider(useCase.provider.RskAddress()) + if err != nil { + return false + } + + readyForPegin := operational.operationalForPegin || (!operational.operationalForPegin && addedCollateral.pegin) + if provider.ProviderType.AcceptsPegin() && !readyForPegin { + return false + } + + readyForPegout := operational.operationalForPegout || (!operational.operationalForPegout && addedCollateral.pegout) + if provider.ProviderType.AcceptsPegout() && !readyForPegout { + return false + } + return true } func (useCase *RegistrationUseCase) getCollateralInfo() (collateralInfo, error) { diff --git a/internal/usecases/liquidity_provider/registration_test.go b/internal/usecases/liquidity_provider/registration_test.go index e556bcb0..e216eec9 100644 --- a/internal/usecases/liquidity_provider/registration_test.go +++ b/internal/usecases/liquidity_provider/registration_test.go @@ -3,6 +3,7 @@ package liquidity_provider_test import ( "github.com/rsksmart/liquidity-provider-server/internal/entities" "github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain" + lp "github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider" "github.com/rsksmart/liquidity-provider-server/internal/usecases" "github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider" "github.com/rsksmart/liquidity-provider-server/test" @@ -13,6 +14,59 @@ import ( "testing" ) +func TestRegistrationUseCase_Run_RegisterAgain(t *testing.T) { + t.Run("should not register again if already registered", func(t *testing.T) { + t.Run("after adding pegin collateral", func(t *testing.T) { + lbc := &mocks.LbcMock{} + lbc.On("GetMinimumCollateral").Return(entities.NewWei(1000), nil) + lbc.On("GetCollateral", mock.Anything).Return(entities.NewWei(900), nil) + lbc.On("GetPegoutCollateral", mock.Anything).Return(entities.NewWei(1000), nil) + lbc.On("IsOperationalPegin", mock.Anything).Return(false, nil) + lbc.On("IsOperationalPegout", mock.Anything).Return(true, nil) + lbc.On("AddCollateral", entities.NewUWei(100)).Return(nil) + lbc.On("GetProvider", mock.Anything).Return(lp.RegisteredLiquidityProvider{ + Id: 1, Address: test.AnyAddress, Name: test.AnyString, + ApiBaseUrl: test.AnyUrl, Status: true, ProviderType: lp.FullProvider, + }, nil).Once() + provider := &mocks.ProviderMock{} + provider.On("RskAddress").Return("rskAddress") + contracts := blockchain.RskContracts{Lbc: lbc} + useCase := liquidity_provider.NewRegistrationUseCase(contracts, provider) + params := blockchain.NewProviderRegistrationParams("name", test.AnyUrl, true, "both") + id, err := useCase.Run(params) + lbc.AssertExpectations(t) + lbc.AssertNotCalled(t, "RegisterProvider") + provider.AssertExpectations(t) + assert.Equal(t, int64(0), id) + require.ErrorIs(t, err, usecases.AlreadyRegisteredError) + }) + t.Run("after adding pegout collateral", func(t *testing.T) { + lbc := &mocks.LbcMock{} + lbc.On("GetMinimumCollateral").Return(entities.NewWei(1000), nil) + lbc.On("GetCollateral", mock.Anything).Return(entities.NewWei(1000), nil) + lbc.On("GetPegoutCollateral", mock.Anything).Return(entities.NewWei(900), nil) + lbc.On("IsOperationalPegin", mock.Anything).Return(true, nil) + lbc.On("IsOperationalPegout", mock.Anything).Return(false, nil) + lbc.On("AddPegoutCollateral", entities.NewUWei(100)).Return(nil) + lbc.On("GetProvider", mock.Anything).Return(lp.RegisteredLiquidityProvider{ + Id: 1, Address: test.AnyAddress, Name: test.AnyString, + ApiBaseUrl: test.AnyUrl, Status: true, ProviderType: lp.FullProvider, + }, nil).Twice() + provider := &mocks.ProviderMock{} + provider.On("RskAddress").Return("rskAddress") + contracts := blockchain.RskContracts{Lbc: lbc} + useCase := liquidity_provider.NewRegistrationUseCase(contracts, provider) + params := blockchain.NewProviderRegistrationParams("name", test.AnyUrl, true, "both") + id, err := useCase.Run(params) + lbc.AssertExpectations(t) + lbc.AssertNotCalled(t, "RegisterProvider") + provider.AssertExpectations(t) + assert.Equal(t, int64(0), id) + require.ErrorIs(t, err, usecases.AlreadyRegisteredError) + }) + }) +} + func TestRegistrationUseCase_Run_AlreadyRegistered(t *testing.T) { lbc := &mocks.LbcMock{} lbc.On("GetMinimumCollateral").Return(entities.NewWei(1000), nil) @@ -61,6 +115,10 @@ func TestRegistrationUseCase_Run_AddPeginCollateralIfNotOperational(t *testing.T lbc.On("IsOperationalPegin", mock.Anything).Return(false, nil) lbc.On("IsOperationalPegout", mock.Anything).Return(false, nil) lbc.On("AddCollateral", test.AnyWei).Return(nil) + lbc.On("GetProvider", mock.Anything).Return(lp.RegisteredLiquidityProvider{ + Id: 1, Address: test.AnyAddress, Name: test.AnyString, + ApiBaseUrl: test.AnyUrl, Status: true, ProviderType: lp.PeginProvider, + }, nil).Once() provider := &mocks.ProviderMock{} provider.On("RskAddress").Return("rskAddress") contracts := blockchain.RskContracts{Lbc: lbc} @@ -82,6 +140,10 @@ func TestRegistrationUseCase_Run_AddPegoutCollateralIfNotOperational(t *testing. lbc.On("IsOperationalPegin", mock.Anything).Return(false, nil) lbc.On("IsOperationalPegout", mock.Anything).Return(false, nil) lbc.On("AddPegoutCollateral", test.AnyWei).Return(nil) + lbc.On("GetProvider", mock.Anything).Return(lp.RegisteredLiquidityProvider{ + Id: 1, Address: test.AnyAddress, Name: test.AnyString, + ApiBaseUrl: test.AnyUrl, Status: true, ProviderType: lp.PegoutProvider, + }, nil).Twice() provider := &mocks.ProviderMock{} provider.On("RskAddress").Return("rskAddress") contracts := blockchain.RskContracts{Lbc: lbc} @@ -104,6 +166,10 @@ func TestRegistrationUseCase_Run_AddCollateralIfNotOperational(t *testing.T) { lbc.On("IsOperationalPegout", mock.Anything).Return(false, nil) lbc.On("AddCollateral", test.AnyWei).Return(nil) lbc.On("AddPegoutCollateral", test.AnyWei).Return(nil) + lbc.On("GetProvider", mock.Anything).Return(lp.RegisteredLiquidityProvider{ + Id: 1, Address: test.AnyAddress, Name: test.AnyString, + ApiBaseUrl: test.AnyUrl, Status: true, ProviderType: lp.FullProvider, + }, nil).Twice() provider := &mocks.ProviderMock{} provider.On("RskAddress").Return("rskAddress") contracts := blockchain.RskContracts{Lbc: lbc} @@ -123,6 +189,7 @@ func TestRegistrationUseCase_Run(t *testing.T) { lbc.On("GetPegoutCollateral", mock.Anything).Return(entities.NewWei(0), nil) lbc.On("IsOperationalPegin", mock.Anything).Return(false, nil) lbc.On("IsOperationalPegout", mock.Anything).Return(false, nil) + lbc.On("GetProvider", mock.Anything).Return(lp.RegisteredLiquidityProvider{}, lp.ProviderNotFoundError).Twice() lbc.On( "RegisterProvider", mock.AnythingOfType("blockchain.TransactionConfig"), @@ -205,6 +272,7 @@ func registrationUseCaseUnexpectedErrorSetups() test.Table[func(mock *mocks.LbcM lbc.On("GetPegoutCollateral", mock.Anything).Return(entities.NewWei(0), nil) lbc.On("IsOperationalPegin", mock.Anything).Return(false, nil) lbc.On("IsOperationalPegout", mock.Anything).Return(false, nil) + lbc.On("GetProvider", mock.Anything).Return(lp.RegisteredLiquidityProvider{}, lp.ProviderNotFoundError) lbc.On( "RegisterProvider", mock.AnythingOfType("blockchain.TransactionConfig"), @@ -230,6 +298,10 @@ func registrationUseCaseUnexpectedErrorSetups() test.Table[func(mock *mocks.LbcM lbc.On("IsOperationalPegin", mock.Anything).Return(false, nil) lbc.On("IsOperationalPegout", mock.Anything).Return(false, nil) lbc.On("AddCollateral", test.AnyWei).Return(nil) + lbc.On("GetProvider", mock.Anything).Return(lp.RegisteredLiquidityProvider{ + Id: 1, Address: test.AnyAddress, Name: test.AnyString, + ApiBaseUrl: test.AnyUrl, Status: true, ProviderType: lp.FullProvider, + }, nil).Once() lbc.On("AddPegoutCollateral", test.AnyWei).Return(assert.AnError) }, }, diff --git a/internal/usecases/liquidity_provider/resign.go b/internal/usecases/liquidity_provider/resign.go index db936a48..09739c64 100644 --- a/internal/usecases/liquidity_provider/resign.go +++ b/internal/usecases/liquidity_provider/resign.go @@ -1,6 +1,7 @@ package liquidity_provider import ( + "errors" "github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain" "github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider" "github.com/rsksmart/liquidity-provider-server/internal/usecases" @@ -18,9 +19,9 @@ func NewResignUseCase(contracts blockchain.RskContracts, provider liquidity_prov func (useCase *ResignUseCase) Run() error { var err error - _, err = ValidateConfiguredProvider(useCase.provider, useCase.contracts.Lbc) + _, err = useCase.contracts.Lbc.GetProvider(useCase.provider.RskAddress()) if err != nil { - return usecases.WrapUseCaseError(usecases.ProviderResignId, err) + return usecases.WrapUseCaseError(usecases.ProviderResignId, errors.Join(err, usecases.ProviderConfigurationError)) } if err = useCase.contracts.Lbc.ProviderResign(); err != nil { diff --git a/internal/usecases/liquidity_provider/resign_test.go b/internal/usecases/liquidity_provider/resign_test.go index 777ef6d1..fc2ad09b 100644 --- a/internal/usecases/liquidity_provider/resign_test.go +++ b/internal/usecases/liquidity_provider/resign_test.go @@ -14,13 +14,9 @@ import ( func TestResignUseCase_Run(t *testing.T) { lbc := &mocks.LbcMock{} provider := &mocks.ProviderMock{} - provider.On("RskAddress").Return("0x01") - lbc.On("GetProviders").Return([]lp.RegisteredLiquidityProvider{ - { - Id: 1, - Address: "0x01", - }, - }, nil) + const address = "0x01" + provider.On("RskAddress").Return(address) + lbc.On("GetProvider", address).Return(lp.RegisteredLiquidityProvider{Id: 1, Address: address}, nil) lbc.On("ProviderResign").Return(nil).Once() contracts := blockchain.RskContracts{Lbc: lbc} useCase := liquidity_provider.NewResignUseCase(contracts, provider) @@ -32,13 +28,9 @@ func TestResignUseCase_Run(t *testing.T) { func TestResignUseCase_Run_NotRegistered(t *testing.T) { lbc := &mocks.LbcMock{} provider := &mocks.ProviderMock{} - provider.On("RskAddress").Return("0x01") - lbc.On("GetProviders").Return([]lp.RegisteredLiquidityProvider{ - { - Id: 2, - Address: "0x02", - }, - }, nil) + const address = "0x01" + provider.On("RskAddress").Return(address) + lbc.On("GetProvider", address).Return(lp.RegisteredLiquidityProvider{}, assert.AnError).Once() contracts := blockchain.RskContracts{Lbc: lbc} useCase := liquidity_provider.NewResignUseCase(contracts, provider) err := useCase.Run() @@ -49,13 +41,9 @@ func TestResignUseCase_Run_NotRegistered(t *testing.T) { func TestResignUseCase_Run_Error(t *testing.T) { lbc := &mocks.LbcMock{} provider := &mocks.ProviderMock{} - provider.On("RskAddress").Return("0x01") - lbc.On("GetProviders").Return([]lp.RegisteredLiquidityProvider{ - { - Id: 1, - Address: "0x01", - }, - }, nil) + const address = "0x01" + provider.On("RskAddress").Return(address) + lbc.On("GetProvider", address).Return(lp.RegisteredLiquidityProvider{Id: 1, Address: address}, nil) lbc.On("ProviderResign").Return(assert.AnError).Once() contracts := blockchain.RskContracts{Lbc: lbc} useCase := liquidity_provider.NewResignUseCase(contracts, provider) diff --git a/internal/usecases/pegin/accept_pegin_quote.go b/internal/usecases/pegin/accept_pegin_quote.go index d78ef2bb..c740180d 100644 --- a/internal/usecases/pegin/accept_pegin_quote.go +++ b/internal/usecases/pegin/accept_pegin_quote.go @@ -100,10 +100,10 @@ func (useCase *AcceptQuoteUseCase) calculateDerivationAddress(quoteHashBytes []b var fedInfo blockchain.FederationInfo var userBtcAddress, lpBtcAddress, lbcAddress []byte - if userBtcAddress, err = useCase.rpc.Btc.DecodeAddress(peginQuote.BtcRefundAddress, true); err != nil { + if userBtcAddress, err = useCase.rpc.Btc.DecodeAddress(peginQuote.BtcRefundAddress); err != nil { errorArgs["btcAddress"] = peginQuote.BtcRefundAddress return blockchain.FlyoverDerivation{}, usecases.WrapUseCaseErrorArgs(usecases.AcceptPeginQuoteId, err, errorArgs) - } else if lpBtcAddress, err = useCase.rpc.Btc.DecodeAddress(peginQuote.LpBtcAddress, true); err != nil { + } else if lpBtcAddress, err = useCase.rpc.Btc.DecodeAddress(peginQuote.LpBtcAddress); err != nil { errorArgs["btcAddress"] = peginQuote.LpBtcAddress return blockchain.FlyoverDerivation{}, usecases.WrapUseCaseErrorArgs(usecases.AcceptPeginQuoteId, err, errorArgs) } else if lbcAddress, err = blockchain.DecodeStringTrimPrefix(peginQuote.LbcAddress); err != nil { diff --git a/internal/usecases/pegin/accept_pegin_quote_test.go b/internal/usecases/pegin/accept_pegin_quote_test.go index b87dddc1..6b693c1d 100644 --- a/internal/usecases/pegin/accept_pegin_quote_test.go +++ b/internal/usecases/pegin/accept_pegin_quote_test.go @@ -82,8 +82,8 @@ func TestAcceptQuoteUseCase_Run(t *testing.T) { QuoteHash: parsedHash, }).Return(blockchain.FlyoverDerivation{Address: acceptPeginDerivationAddress, RedeemScript: anyScript}, nil) btc := new(mocks.BtcRpcMock) - btc.On("DecodeAddress", testPeginQuote.BtcRefundAddress, true).Return(refundParsedAddress, nil) - btc.On("DecodeAddress", testPeginQuote.LpBtcAddress, true).Return(lpParsedAddress, nil) + btc.On("DecodeAddress", testPeginQuote.BtcRefundAddress).Return(refundParsedAddress, nil) + btc.On("DecodeAddress", testPeginQuote.LpBtcAddress).Return(lpParsedAddress, nil) lp := new(mocks.ProviderMock) lp.On("HasPeginLiquidity", test.AnyCtx, requiredLiquidity).Return(nil) lp.On("SignQuote", acceptPeginQuoteHash).Return(acceptPeginSignature, nil) @@ -231,8 +231,8 @@ func TestAcceptQuoteUseCase_Run_NoLiquidity(t *testing.T) { RedeemScript: anyScript, }, nil) btc := new(mocks.BtcRpcMock) - btc.On("DecodeAddress", testPeginQuote.BtcRefundAddress, true).Return([]byte{4, 5, 6}, nil) - btc.On("DecodeAddress", testPeginQuote.LpBtcAddress, true).Return([]byte{7, 8, 9}, nil) + btc.On("DecodeAddress", testPeginQuote.BtcRefundAddress).Return([]byte{4, 5, 6}, nil) + btc.On("DecodeAddress", testPeginQuote.LpBtcAddress).Return([]byte{7, 8, 9}, nil) lp := new(mocks.ProviderMock) lp.On("HasPeginLiquidity", test.AnyCtx, requiredLiquidity).Return(assert.AnError) eventBus := new(mocks.EventBusMock) @@ -318,14 +318,14 @@ func acceptQuoteUseCaseUnexpectedErrorSetups() []func(quoteHash *string, quoteRe btc *mocks.BtcRpcMock, lp *mocks.ProviderMock, rsk *mocks.RootstockRpcServerMock) { quoteRepository.On("GetQuote", test.AnyCtx, mock.Anything).Return(&testPeginQuote, nil).Once() quoteRepository.On("GetRetainedQuote", test.AnyCtx, mock.Anything).Return(nil, nil).Once() - btc.On("DecodeAddress", mock.Anything, mock.Anything).Return(nil, assert.AnError).Once() + btc.On("DecodeAddress", mock.Anything).Return(nil, assert.AnError).Once() }, func(quoteHash *string, quoteRepository *mocks.PeginQuoteRepositoryMock, bridge *mocks.BridgeMock, btc *mocks.BtcRpcMock, lp *mocks.ProviderMock, rsk *mocks.RootstockRpcServerMock) { quoteRepository.On("GetQuote", test.AnyCtx, mock.Anything).Return(&testPeginQuote, nil).Once() quoteRepository.On("GetRetainedQuote", test.AnyCtx, mock.Anything).Return(nil, nil).Once() - btc.On("DecodeAddress", mock.Anything, mock.Anything).Return([]byte{1}, nil).Once() - btc.On("DecodeAddress", mock.Anything, mock.Anything).Return(nil, assert.AnError).Once() + btc.On("DecodeAddress", mock.Anything).Return([]byte{1}, nil).Once() + btc.On("DecodeAddress", mock.Anything).Return(nil, assert.AnError).Once() }, func(quoteHash *string, quoteRepository *mocks.PeginQuoteRepositoryMock, bridge *mocks.BridgeMock, btc *mocks.BtcRpcMock, lp *mocks.ProviderMock, rsk *mocks.RootstockRpcServerMock) { @@ -333,23 +333,23 @@ func acceptQuoteUseCaseUnexpectedErrorSetups() []func(quoteHash *string, quoteRe caseQuote.LbcAddress = "malformed address" quoteRepository.On("GetQuote", test.AnyCtx, mock.Anything).Return(&caseQuote, nil).Once() quoteRepository.On("GetRetainedQuote", test.AnyCtx, mock.Anything).Return(nil, nil).Once() - btc.On("DecodeAddress", mock.Anything, mock.Anything).Return([]byte{1}, nil).Once() - btc.On("DecodeAddress", mock.Anything, mock.Anything).Return([]byte{2}, nil).Once() + btc.On("DecodeAddress", mock.Anything).Return([]byte{1}, nil).Once() + btc.On("DecodeAddress", mock.Anything).Return([]byte{2}, nil).Once() }, func(quoteHash *string, quoteRepository *mocks.PeginQuoteRepositoryMock, bridge *mocks.BridgeMock, btc *mocks.BtcRpcMock, lp *mocks.ProviderMock, rsk *mocks.RootstockRpcServerMock) { quoteRepository.On("GetQuote", test.AnyCtx, mock.Anything).Return(&testPeginQuote, nil).Once() quoteRepository.On("GetRetainedQuote", test.AnyCtx, mock.Anything).Return(nil, nil).Once() - btc.On("DecodeAddress", mock.Anything, mock.Anything).Return([]byte{1}, nil).Once() - btc.On("DecodeAddress", mock.Anything, mock.Anything).Return([]byte{2}, nil).Once() + btc.On("DecodeAddress", mock.Anything).Return([]byte{1}, nil).Once() + btc.On("DecodeAddress", mock.Anything).Return([]byte{2}, nil).Once() bridge.On("FetchFederationInfo").Return(blockchain.FederationInfo{}, assert.AnError).Once() }, func(quoteHash *string, quoteRepository *mocks.PeginQuoteRepositoryMock, bridge *mocks.BridgeMock, btc *mocks.BtcRpcMock, lp *mocks.ProviderMock, rsk *mocks.RootstockRpcServerMock) { quoteRepository.On("GetQuote", test.AnyCtx, mock.Anything).Return(&testPeginQuote, nil).Once() quoteRepository.On("GetRetainedQuote", test.AnyCtx, mock.Anything).Return(nil, nil).Once() - btc.On("DecodeAddress", mock.Anything, mock.Anything).Return([]byte{1}, nil).Once() - btc.On("DecodeAddress", mock.Anything, mock.Anything).Return([]byte{2}, nil).Once() + btc.On("DecodeAddress", mock.Anything).Return([]byte{1}, nil).Once() + btc.On("DecodeAddress", mock.Anything).Return([]byte{2}, nil).Once() bridge.On("FetchFederationInfo").Return(federationInfo, nil).Once() bridge.On("GetFlyoverDerivationAddress", mock.Anything).Return(blockchain.FlyoverDerivation{}, assert.AnError).Once() }, @@ -357,8 +357,8 @@ func acceptQuoteUseCaseUnexpectedErrorSetups() []func(quoteHash *string, quoteRe btc *mocks.BtcRpcMock, lp *mocks.ProviderMock, rsk *mocks.RootstockRpcServerMock) { quoteRepository.On("GetQuote", test.AnyCtx, mock.Anything).Return(&testPeginQuote, nil).Once() quoteRepository.On("GetRetainedQuote", test.AnyCtx, mock.Anything).Return(nil, nil).Once() - btc.On("DecodeAddress", mock.Anything, mock.Anything).Return([]byte{1}, nil).Once() - btc.On("DecodeAddress", mock.Anything, mock.Anything).Return([]byte{2}, nil).Once() + btc.On("DecodeAddress", mock.Anything).Return([]byte{1}, nil).Once() + btc.On("DecodeAddress", mock.Anything).Return([]byte{2}, nil).Once() bridge.On("FetchFederationInfo").Return(federationInfo, nil).Once() bridge.On("GetFlyoverDerivationAddress", mock.Anything).Return(derivation, nil).Once() rsk.On("GasPrice", test.AnyCtx).Return(nil, assert.AnError).Once() @@ -367,8 +367,8 @@ func acceptQuoteUseCaseUnexpectedErrorSetups() []func(quoteHash *string, quoteRe btc *mocks.BtcRpcMock, lp *mocks.ProviderMock, rsk *mocks.RootstockRpcServerMock) { quoteRepository.On("GetQuote", test.AnyCtx, mock.Anything).Return(&testPeginQuote, nil).Once() quoteRepository.On("GetRetainedQuote", test.AnyCtx, mock.Anything).Return(nil, nil).Once() - btc.On("DecodeAddress", mock.Anything, mock.Anything).Return([]byte{1}, nil).Once() - btc.On("DecodeAddress", mock.Anything, mock.Anything).Return([]byte{2}, nil).Once() + btc.On("DecodeAddress", mock.Anything).Return([]byte{1}, nil).Once() + btc.On("DecodeAddress", mock.Anything).Return([]byte{2}, nil).Once() bridge.On("FetchFederationInfo").Return(federationInfo, nil).Once() bridge.On("GetFlyoverDerivationAddress", mock.Anything).Return(derivation, nil).Once() rsk.On("GasPrice", test.AnyCtx).Return(entities.NewWei(1), nil).Once() @@ -379,8 +379,8 @@ func acceptQuoteUseCaseUnexpectedErrorSetups() []func(quoteHash *string, quoteRe btc *mocks.BtcRpcMock, lp *mocks.ProviderMock, rsk *mocks.RootstockRpcServerMock) { quoteRepository.On("GetQuote", test.AnyCtx, mock.Anything).Return(&testPeginQuote, nil).Once() quoteRepository.On("GetRetainedQuote", test.AnyCtx, mock.Anything).Return(nil, nil).Once() - btc.On("DecodeAddress", mock.Anything, mock.Anything).Return([]byte{1}, nil).Once() - btc.On("DecodeAddress", mock.Anything, mock.Anything).Return([]byte{2}, nil).Once() + btc.On("DecodeAddress", mock.Anything).Return([]byte{1}, nil).Once() + btc.On("DecodeAddress", mock.Anything).Return([]byte{2}, nil).Once() bridge.On("FetchFederationInfo").Return(federationInfo, nil).Once() rsk.On("GasPrice", test.AnyCtx).Return(entities.NewWei(1), nil).Once() lp.On("HasPeginLiquidity", test.AnyCtx, mock.Anything).Return(nil).Once() @@ -392,8 +392,8 @@ func acceptQuoteUseCaseUnexpectedErrorSetups() []func(quoteHash *string, quoteRe btc *mocks.BtcRpcMock, lp *mocks.ProviderMock, rsk *mocks.RootstockRpcServerMock) { quoteRepository.On("GetQuote", test.AnyCtx, mock.Anything).Return(&testPeginQuote, nil).Once() quoteRepository.On("GetRetainedQuote", test.AnyCtx, mock.Anything).Return(nil, nil).Once() - btc.On("DecodeAddress", mock.Anything, mock.Anything).Return([]byte{1}, nil).Once() - btc.On("DecodeAddress", mock.Anything, mock.Anything).Return([]byte{2}, nil).Once() + btc.On("DecodeAddress", mock.Anything).Return([]byte{1}, nil).Once() + btc.On("DecodeAddress", mock.Anything).Return([]byte{2}, nil).Once() bridge.On("FetchFederationInfo").Return(federationInfo, nil).Once() bridge.On("GetFlyoverDerivationAddress", mock.Anything).Return(derivation, nil).Once() rsk.On("GasPrice", test.AnyCtx).Return(entities.NewWei(1), nil).Once() diff --git a/internal/usecases/pegin/get_pegin_quote.go b/internal/usecases/pegin/get_pegin_quote.go index afc5fd6b..13dc086b 100644 --- a/internal/usecases/pegin/get_pegin_quote.go +++ b/internal/usecases/pegin/get_pegin_quote.go @@ -3,6 +3,7 @@ package pegin import ( "context" "encoding/hex" + "errors" "github.com/rsksmart/liquidity-provider-server/internal/entities" "github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain" "github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider" @@ -44,7 +45,6 @@ type QuoteRequest struct { callContractArguments []byte valueToTransfer *entities.Wei rskRefundAddress string - bitcoinRefundAddress string } func NewQuoteRequest( @@ -52,14 +52,12 @@ func NewQuoteRequest( callContractArguments []byte, valueToTransfer *entities.Wei, rskRefundAddress string, - bitcoinRefundAddress string, ) QuoteRequest { return QuoteRequest{ callEoaOrContractAddress: callEoaOrContractAddress, callContractArguments: callContractArguments, valueToTransfer: valueToTransfer, rskRefundAddress: rskRefundAddress, - bitcoinRefundAddress: bitcoinRefundAddress, } } @@ -94,7 +92,7 @@ func (useCase *GetQuoteUseCase) Run(ctx context.Context, request QuoteRequest) ( return GetPeginQuoteResult{}, err } - if fedAddress, err = useCase.contracts.Bridge.GetFedAddress(); err != nil { + if fedAddress, err = useCase.getFederationAddress(); err != nil { return GetPeginQuoteResult{}, usecases.WrapUseCaseError(usecases.GetPeginQuoteId, err) } @@ -126,10 +124,6 @@ func (useCase *GetQuoteUseCase) Run(ctx context.Context, request QuoteRequest) ( func (useCase *GetQuoteUseCase) validateRequest(configuration liquidity_provider.PeginConfiguration, request QuoteRequest) (usecases.ErrorArgs, error) { var err error args := usecases.NewErrorArgs() - if err = useCase.rpc.Btc.ValidateAddress(request.bitcoinRefundAddress); err != nil { - args["btcAddress"] = request.bitcoinRefundAddress - return args, err - } if !blockchain.IsRskAddress(request.rskRefundAddress) { args["rskAddress"] = request.rskRefundAddress return args, usecases.RskAddressNotSupportedError @@ -154,16 +148,23 @@ func (useCase *GetQuoteUseCase) buildPeginQuote( ) (quote.PeginQuote, error) { var err error var nonce int64 + var btcRefundAddress string + const mainnet = "mainnet" if nonce, err = utils.GetRandomInt(); err != nil { return quote.PeginQuote{}, usecases.WrapUseCaseError(usecases.GetPeginQuoteId, err) } + if useCase.rpc.Btc.NetworkName() == mainnet { + btcRefundAddress = blockchain.BitcoinMainnetP2PKHZeroAddress + } else { + btcRefundAddress = blockchain.BitcoinTestnetP2PKHZeroAddress + } peginQuote := quote.PeginQuote{ FedBtcAddress: fedAddress, LbcAddress: useCase.contracts.Lbc.GetAddress(), LpRskAddress: useCase.lp.RskAddress(), - BtcRefundAddress: request.bitcoinRefundAddress, + BtcRefundAddress: btcRefundAddress, RskRefundAddress: request.rskRefundAddress, LpBtcAddress: useCase.lp.BtcAddress(), CallFee: fees.CallFee, @@ -201,3 +202,14 @@ func (useCase *GetQuoteUseCase) buildDaoAmounts(ctx context.Context, request Quo } return daoTxAmounts, nil } + +func (useCase *GetQuoteUseCase) getFederationAddress() (string, error) { + var fedAddress string + var err error + if fedAddress, err = useCase.contracts.Bridge.GetFedAddress(); err != nil { + return "", err + } else if !blockchain.IsBtcP2SHAddress(fedAddress) { + return "", errors.New("only P2SH addresses are supported for federation address") + } + return fedAddress, nil +} diff --git a/internal/usecases/pegin/get_pegin_quote_test.go b/internal/usecases/pegin/get_pegin_quote_test.go index 671e41b9..52f04c4c 100644 --- a/internal/usecases/pegin/get_pegin_quote_test.go +++ b/internal/usecases/pegin/get_pegin_quote_test.go @@ -7,6 +7,7 @@ import ( "github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain" lpEntity "github.com/rsksmart/liquidity-provider-server/internal/entities/liquidity_provider" "github.com/rsksmart/liquidity-provider-server/internal/entities/quote" + "github.com/rsksmart/liquidity-provider-server/internal/entities/utils" "github.com/rsksmart/liquidity-provider-server/internal/usecases" "github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin" "github.com/rsksmart/liquidity-provider-server/test" @@ -18,26 +19,29 @@ import ( ) var ( - fedAddress = "fed address" - lbcAddress = "lbc address" + fedAddress = "2MxdCCrmUaEG1Tk8dshdcTGKiA9LewNDVCb" + lbcAddress = "lbc address" + getPeginTestUserAddress = "0x79568c2989232dCa1840087D73d403602364c0D4" + getPeginTestBtcAddress = "mnYcQxCZBbmLzNfE9BhV7E8E2u7amdz5y6" + mainnetNetworkName = "mainnet" + testnetNetworkName = "testnet3" ) // nolint:funlen,cyclop func TestGetQuoteUseCase_Run(t *testing.T) { quoteHash := "0x9876543210" - lpBtcAddress := "mnYcQxCZBbmLzNfE9BhV7E8E2u7amdz5y6" - userRskAddress := "0x79568c2989232dCa1840087D73d403602364c0D4" + lpBtcAddress := getPeginTestBtcAddress + userRskAddress := getPeginTestUserAddress quoteValue := entities.NewWei(5000) quoteData := []byte{1} - userBtcAddress := "mnYcQxCZBbmLzNfE9BhV7E8E2u7amdz5y6" lpRskAddress := "0x4b5b6b" gasLimit := entities.NewWei(100) config := getPeginConfiguration() - request := pegin.NewQuoteRequest(userRskAddress, quoteData, quoteValue, userRskAddress, userBtcAddress) + request := pegin.NewQuoteRequest(userRskAddress, quoteData, quoteValue, userRskAddress) quoteMatchFunction := mock.MatchedBy(func(q quote.PeginQuote) bool { return q.FedBtcAddress == fedAddress && q.LbcAddress == lbcAddress && q.LpRskAddress == lpRskAddress && - q.BtcRefundAddress == userBtcAddress && q.RskRefundAddress == userRskAddress && q.LpBtcAddress == lpBtcAddress && + q.BtcRefundAddress == blockchain.BitcoinTestnetP2PKHZeroAddress && q.RskRefundAddress == userRskAddress && q.LpBtcAddress == lpBtcAddress && q.CallFee.Cmp(config.CallFee) == 0 && q.PenaltyFee.Cmp(config.PenaltyFee) == 0 && q.ContractAddress == userRskAddress && q.Data == hex.EncodeToString(quoteData) && q.GasLimit == uint32(gasLimit.Uint64()) && q.Value.Cmp(quoteValue) == 0 && q.Nonce > 0 && q.TimeForDeposit == config.TimeForDeposit && q.LpCallTime == config.CallTime && q.Confirmations == 10 && @@ -45,25 +49,25 @@ func TestGetQuoteUseCase_Run(t *testing.T) { }) rsk := new(mocks.RootstockRpcServerMock) - rsk.On("EstimateGas", mock.Anything, userRskAddress, quoteValue, quoteData).Return(gasLimit, nil) - rsk.On("GasPrice", test.AnyCtx).Return(entities.NewWei(100), nil) + rsk.On("EstimateGas", mock.Anything, userRskAddress, quoteValue, quoteData).Return(gasLimit, nil).Once() + rsk.On("GasPrice", test.AnyCtx).Return(entities.NewWei(100), nil).Once() feeCollector := new(mocks.FeeCollectorMock) - feeCollector.On("DaoFeePercentage").Return(uint64(0), nil) + feeCollector.On("DaoFeePercentage").Return(uint64(0), nil).Once() bridge := new(mocks.BridgeMock) - bridge.On("GetFedAddress").Return(fedAddress, nil) - bridge.On("GetMinimumLockTxValue").Return(entities.NewWei(200), nil) + bridge.On("GetFedAddress").Return(fedAddress, nil).Once() + bridge.On("GetMinimumLockTxValue").Return(entities.NewWei(200), nil).Once() lbc := new(mocks.LbcMock) lbc.On("GetAddress").Return(lbcAddress) - lbc.On("HashPeginQuote", quoteMatchFunction).Return(quoteHash, nil) + lbc.On("HashPeginQuote", quoteMatchFunction).Return(quoteHash, nil).Once() peginQuoteRepository := new(mocks.PeginQuoteRepositoryMock) peginQuoteRepository.On("InsertQuote", test.AnyCtx, quoteHash, quoteMatchFunction).Return(nil) lp := new(mocks.ProviderMock) - lp.On("PeginConfiguration", test.AnyCtx).Return(config) - lp.On("GeneralConfiguration", test.AnyCtx).Return(getGeneralConfiguration()) + lp.On("PeginConfiguration", test.AnyCtx).Return(config).Once() + lp.On("GeneralConfiguration", test.AnyCtx).Return(getGeneralConfiguration()).Once() lp.On("RskAddress").Return(lpRskAddress) lp.On("BtcAddress").Return(lpBtcAddress) btc := new(mocks.BtcRpcMock) - btc.On("ValidateAddress", mock.Anything).Return(nil) + btc.On("NetworkName").Return(testnetNetworkName).Once() contracts := blockchain.RskContracts{Lbc: lbc, FeeCollector: feeCollector, Bridge: bridge} rpc := blockchain.Rpc{Rsk: rsk, Btc: btc} useCase := pegin.NewGetQuoteUseCase(rpc, contracts, peginQuoteRepository, lp, lp, "feeCollectorAddress") @@ -75,6 +79,7 @@ func TestGetQuoteUseCase_Run(t *testing.T) { lbc.AssertExpectations(t) peginQuoteRepository.AssertExpectations(t) lp.AssertExpectations(t) + btc.AssertExpectations(t) assert.NotEmpty(t, result.Hash) require.NoError(t, entities.ValidateStruct(result.PeginQuote)) @@ -103,48 +108,59 @@ func TestGetQuoteUseCase_Run_ValidateRequest(t *testing.T) { } } +func TestGetQuoteUseCase_Run_ValidateFedAddress(t *testing.T) { + rsk := new(mocks.RootstockRpcServerMock) + rsk.On("EstimateGas", mock.Anything, mock.Anything, mock.Anything, mock.Anything).Return(entities.NewWei(100), nil) + rsk.On("GasPrice", test.AnyCtx).Return(entities.NewWei(100), nil) + lp := new(mocks.ProviderMock) + lp.On("PeginConfiguration", test.AnyCtx).Return(getPeginConfiguration()) + lp.On("GeneralConfiguration", test.AnyCtx).Return(getGeneralConfiguration()) + feeCollector := new(mocks.FeeCollectorMock) + feeCollector.On("DaoFeePercentage").Return(uint64(0), nil) + bridge := new(mocks.BridgeMock) + bridge.On("GetFedAddress").Return("bcrt1qtmm4qallkmnd2vl5y3w3an3uvq6w5v2ahqvfqm0mfxny8cnsdrashv8fsr", nil) + lbc := new(mocks.LbcMock) + peginQuoteRepository := new(mocks.PeginQuoteRepositoryMock) + btc := new(mocks.BtcRpcMock) + btc.On("ValidateAddress", mock.Anything).Return(nil) + contracts := blockchain.RskContracts{Lbc: lbc, FeeCollector: feeCollector, Bridge: bridge} + rpc := blockchain.Rpc{Rsk: rsk, Btc: btc} + useCase := pegin.NewGetQuoteUseCase(rpc, contracts, peginQuoteRepository, lp, lp, "feeCollectorAddress") + result, err := useCase.Run(context.Background(), pegin.NewQuoteRequest(getPeginTestUserAddress, []byte{1}, entities.NewWei(5000), getPeginTestUserAddress)) + assert.Empty(t, result) + require.ErrorContains(t, err, "only P2SH addresses are supported for federation address") +} + func validateRequestTestCases() test.Table[func(btc *mocks.BtcRpcMock) pegin.QuoteRequest, error] { return test.Table[func(btc *mocks.BtcRpcMock) pegin.QuoteRequest, error]{ - { - Value: func(btc *mocks.BtcRpcMock) pegin.QuoteRequest { - btc.On("ValidateAddress", test.AnyAddress).Return(blockchain.BtcAddressNotSupportedError) - return pegin.NewQuoteRequest("0x79568c2989232dCa1840087D73d403602364c0D4", []byte{1}, entities.NewWei(1000), "0x79568c2989232dCa1840087D73d403602364c0D4", test.AnyAddress) - }, Result: blockchain.BtcAddressNotSupportedError, - }, - { - Value: func(btc *mocks.BtcRpcMock) pegin.QuoteRequest { - btc.On("ValidateAddress", test.AnyAddress).Return(blockchain.BtcAddressInvalidNetworkError) - return pegin.NewQuoteRequest("0x79568c2989232dCa1840087D73d403602364c0D4", []byte{1}, entities.NewWei(1000), "0x79568c2989232dCa1840087D73d403602364c0D4", test.AnyAddress) - }, Result: blockchain.BtcAddressInvalidNetworkError, - }, { Value: func(btc *mocks.BtcRpcMock) pegin.QuoteRequest { btc.On("ValidateAddress", mock.Anything).Return(nil) - return pegin.NewQuoteRequest("any", []byte{1}, entities.NewWei(1000), "0x79568c2989232dCa1840087D73d403602364c0D4", "mvL2bVzGUeC9oqVyQWJ4PxQspFzKgjzAqe") + return pegin.NewQuoteRequest("any", []byte{1}, entities.NewWei(1000), getPeginTestUserAddress) }, Result: usecases.RskAddressNotSupportedError, }, { Value: func(btc *mocks.BtcRpcMock) pegin.QuoteRequest { btc.On("ValidateAddress", mock.Anything).Return(nil) - return pegin.NewQuoteRequest("0x79568c2989232dCa1840087D73d403602364c0D4", []byte{1}, entities.NewWei(1000), "any", "mvL2bVzGUeC9oqVyQWJ4PxQspFzKgjzAqe") + return pegin.NewQuoteRequest(getPeginTestUserAddress, []byte{1}, entities.NewWei(1000), "any") }, Result: usecases.RskAddressNotSupportedError, }, { Value: func(btc *mocks.BtcRpcMock) pegin.QuoteRequest { btc.On("ValidateAddress", mock.Anything).Return(nil) - return pegin.NewQuoteRequest("0x79568c2989232dCa1840087D73d403602364c0D4", []byte{1}, entities.NewWei(1000), "0x79568c2989232dCa1840087D73d403602364c0D41", "mvL2bVzGUeC9oqVyQWJ4PxQspFzKgjzAqe") + return pegin.NewQuoteRequest(getPeginTestUserAddress, []byte{1}, entities.NewWei(1000), getPeginTestUserAddress+"1") }, Result: usecases.RskAddressNotSupportedError, }, { Value: func(btc *mocks.BtcRpcMock) pegin.QuoteRequest { btc.On("ValidateAddress", mock.Anything).Return(nil) - return pegin.NewQuoteRequest("0x79568c2989232dCa1840087D73d403602364c0D41", []byte{1}, entities.NewWei(1000), "0x79568c2989232dCa1840087D73d403602364c0D4", "mvL2bVzGUeC9oqVyQWJ4PxQspFzKgjzAqe") + return pegin.NewQuoteRequest(getPeginTestUserAddress+"1", []byte{1}, entities.NewWei(1000), getPeginTestUserAddress) }, Result: usecases.RskAddressNotSupportedError, }, { Value: func(btc *mocks.BtcRpcMock) pegin.QuoteRequest { btc.On("ValidateAddress", mock.Anything).Return(nil) - return pegin.NewQuoteRequest("0x79568c2989232dCa1840087D73d403602364c0D4", []byte{1}, entities.NewWei(999), "0x79568c2989232dCa1840087D73d403602364c0D4", "mvL2bVzGUeC9oqVyQWJ4PxQspFzKgjzAqe") + return pegin.NewQuoteRequest(getPeginTestUserAddress, []byte{1}, entities.NewWei(999), getPeginTestUserAddress) }, Result: lpEntity.AmountOutOfRangeError, }, } @@ -162,7 +178,7 @@ func TestGetQuoteUseCase_Run_BridgeMinimum(t *testing.T) { rpc := blockchain.Rpc{Rsk: rsk, Btc: btc} lbc.On("GetAddress").Return(lbcAddress).Once() - btc.On("ValidateAddress", mock.Anything).Return(nil).Once() + btc.On("NetworkName").Return(testnetNetworkName).Once() bridge.On("GetMinimumLockTxValue").Return(entities.NewWei(2000), nil).Once() lp.On("PeginConfiguration", test.AnyCtx).Return(getPeginConfiguration()).Once() lp.On("GeneralConfiguration", test.AnyCtx).Return(getGeneralConfiguration()).Once() @@ -176,7 +192,7 @@ func TestGetQuoteUseCase_Run_BridgeMinimum(t *testing.T) { t.Run("Should compare bridge minimum against quote value", func(t *testing.T) { // we compare 1999 of the quote value with the 2000 of the minimum, so the total is higher than the minimum due to the fees quoteValue := entities.NewWei(1999) - request := pegin.NewQuoteRequest(test.AnyRskAddress, []byte{1}, quoteValue, test.AnyRskAddress, test.AnyBtcAddress) + request := pegin.NewQuoteRequest(test.AnyRskAddress, []byte{1}, quoteValue, test.AnyRskAddress) result, err := useCase.Run(context.Background(), request) assert.Empty(t, result) require.ErrorIs(t, err, usecases.TxBelowMinimumError) @@ -191,8 +207,8 @@ func TestGetQuoteUseCase_Run_BridgeMinimum(t *testing.T) { } func TestGetQuoteUseCase_Run_ErrorHandling(t *testing.T) { - userRskAddress := "0x79568c2989232dCa1840087D73d403602364c0D4" - request := pegin.NewQuoteRequest(userRskAddress, []byte{1}, entities.NewWei(5000), userRskAddress, "mnYcQxCZBbmLzNfE9BhV7E8E2u7amdz5y6") + userRskAddress := getPeginTestUserAddress + request := pegin.NewQuoteRequest(userRskAddress, []byte{1}, entities.NewWei(5000), userRskAddress) setups := getQuoteUseCaseUnexpectedErrorSetups() @@ -204,7 +220,7 @@ func TestGetQuoteUseCase_Run_ErrorHandling(t *testing.T) { peginQuoteRepository := new(mocks.PeginQuoteRepositoryMock) lp := new(mocks.ProviderMock) btc := new(mocks.BtcRpcMock) - btc.On("ValidateAddress", mock.Anything).Return(nil) + btc.On("NetworkName").Return(mainnetNetworkName) setup(rsk, feeCollector, bridge, lbc, lp, peginQuoteRepository) contracts := blockchain.RskContracts{Lbc: lbc, FeeCollector: feeCollector, Bridge: bridge} @@ -266,7 +282,7 @@ func getQuoteUseCaseUnexpectedErrorSetups() []func( bridge.On("GetMinimumLockTxValue").Return(nil, assert.AnError) lbc.On("GetAddress").Return(lbcAddress) lp.On("RskAddress").Return("0x4b5b6b") - lp.On("BtcAddress").Return("mnYcQxCZBbmLzNfE9BhV7E8E2u7amdz5y6") + lp.On("BtcAddress").Return(getPeginTestBtcAddress) lp.On("PeginConfiguration", test.AnyCtx).Return(getPeginConfiguration()) lp.On("GeneralConfiguration", test.AnyCtx).Return(getGeneralConfiguration()) }, @@ -282,7 +298,7 @@ func getQuoteUseCaseUnexpectedErrorSetups() []func( lp.On("PeginConfiguration", test.AnyCtx).Return(getPeginConfiguration()) lp.On("GeneralConfiguration", test.AnyCtx).Return(getGeneralConfiguration()) lp.On("RskAddress").Return("0x4b5b6b") - lp.On("BtcAddress").Return("mnYcQxCZBbmLzNfE9BhV7E8E2u7amdz5y6") + lp.On("BtcAddress").Return(getPeginTestBtcAddress) }, func(rsk *mocks.RootstockRpcServerMock, feeCollector *mocks.FeeCollectorMock, bridge *mocks.BridgeMock, lbc *mocks.LbcMock, lp *mocks.ProviderMock, peginQuoteRepository *mocks.PeginQuoteRepositoryMock) { @@ -295,7 +311,7 @@ func getQuoteUseCaseUnexpectedErrorSetups() []func( lbc.On("GetAddress").Return(lbcAddress) peginQuoteRepository.On("InsertQuote", test.AnyCtx, mock.Anything, mock.Anything).Return(assert.AnError) lp.On("RskAddress").Return("0x4b5b6b") - lp.On("BtcAddress").Return("mnYcQxCZBbmLzNfE9BhV7E8E2u7amdz5y6") + lp.On("BtcAddress").Return(getPeginTestBtcAddress) lp.On("PeginConfiguration", test.AnyCtx).Return(getPeginConfiguration()) lp.On("GeneralConfiguration", test.AnyCtx).Return(getGeneralConfiguration()) }, @@ -346,3 +362,63 @@ func getGeneralConfiguration() lpEntity.GeneralConfiguration { BtcConfirmations: map[int]uint16{1: 10}, } } + +func TestGetQuoteUseCase_Run_RefundAddress(t *testing.T) { + quoteHash := hex.EncodeToString(utils.MustGetRandomBytes(32)) + lpBtcAddress := getPeginTestBtcAddress + userRskAddress := getPeginTestUserAddress + quoteValue := entities.NewWei(5000) + quoteData := []byte{1} + lpRskAddress := "0x4b5b6b" + config := getPeginConfiguration() + request := pegin.NewQuoteRequest(userRskAddress, quoteData, quoteValue, userRskAddress) + + rsk := new(mocks.RootstockRpcServerMock) + rsk.On("EstimateGas", mock.Anything, mock.Anything, mock.Anything, mock.Anything).Return(entities.NewWei(100), nil).Twice() + rsk.On("GasPrice", test.AnyCtx).Return(entities.NewWei(100), nil).Twice() + feeCollector := new(mocks.FeeCollectorMock) + feeCollector.On("DaoFeePercentage").Return(uint64(0), nil).Twice() + bridge := new(mocks.BridgeMock) + bridge.On("GetFedAddress").Return(fedAddress, nil).Twice() + bridge.On("GetMinimumLockTxValue").Return(entities.NewWei(200), nil).Twice() + lbc := new(mocks.LbcMock) + lbc.On("GetAddress").Return(lbcAddress) + lbc.On("HashPeginQuote", mock.Anything).Return(quoteHash, nil).Twice() + peginQuoteRepository := new(mocks.PeginQuoteRepositoryMock) + peginQuoteRepository.On("InsertQuote", test.AnyCtx, quoteHash, mock.Anything).Return(nil).Twice() + lp := new(mocks.ProviderMock) + lp.On("PeginConfiguration", test.AnyCtx).Return(config).Twice() + lp.On("GeneralConfiguration", test.AnyCtx).Return(getGeneralConfiguration()).Twice() + lp.On("RskAddress").Return(lpRskAddress) + lp.On("BtcAddress").Return(lpBtcAddress) + + t.Run("Should use mainnet refund address", func(t *testing.T) { + btc := new(mocks.BtcRpcMock) + btc.On("NetworkName").Return(mainnetNetworkName).Once() + contracts := blockchain.RskContracts{Lbc: lbc, FeeCollector: feeCollector, Bridge: bridge} + rpc := blockchain.Rpc{Rsk: rsk, Btc: btc} + useCase := pegin.NewGetQuoteUseCase(rpc, contracts, peginQuoteRepository, lp, lp, "feeCollectorAddress") + result, err := useCase.Run(context.Background(), request) + btc.AssertExpectations(t) + require.NoError(t, err) + assert.Equal(t, blockchain.BitcoinMainnetP2PKHZeroAddress, result.PeginQuote.BtcRefundAddress) + }) + t.Run("Should use testnet refund address", func(t *testing.T) { + btc := new(mocks.BtcRpcMock) + btc.On("NetworkName").Return(testnetNetworkName).Once() + contracts := blockchain.RskContracts{Lbc: lbc, FeeCollector: feeCollector, Bridge: bridge} + rpc := blockchain.Rpc{Rsk: rsk, Btc: btc} + useCase := pegin.NewGetQuoteUseCase(rpc, contracts, peginQuoteRepository, lp, lp, "feeCollectorAddress") + result, err := useCase.Run(context.Background(), request) + btc.AssertExpectations(t) + require.NoError(t, err) + assert.Equal(t, blockchain.BitcoinTestnetP2PKHZeroAddress, result.PeginQuote.BtcRefundAddress) + }) + + rsk.AssertExpectations(t) + feeCollector.AssertExpectations(t) + bridge.AssertExpectations(t) + lbc.AssertExpectations(t) + peginQuoteRepository.AssertExpectations(t) + lp.AssertExpectations(t) +} diff --git a/internal/usecases/pegin/register_pegin.go b/internal/usecases/pegin/register_pegin.go index 5ba9700c..c630baea 100644 --- a/internal/usecases/pegin/register_pegin.go +++ b/internal/usecases/pegin/register_pegin.go @@ -39,8 +39,7 @@ func (useCase *RegisterPeginUseCase) Run(ctx context.Context, retainedQuote quot var err error var peginQuote *quote.PeginQuote var params blockchain.RegisterPeginParams - var newState quote.PeginState - var registerPeginTxHash string + var userBtcTx blockchain.BitcoinTransactionInformation if retainedQuote.State != quote.PeginStateCallForUserSucceeded { return useCase.publishErrorEvent(ctx, retainedQuote, usecases.WrongStateError, true) @@ -52,7 +51,7 @@ func (useCase *RegisterPeginUseCase) Run(ctx context.Context, retainedQuote quot return useCase.publishErrorEvent(ctx, retainedQuote, usecases.QuoteNotFoundError, false) } - if err = useCase.validateTransaction(ctx, retainedQuote); err != nil { + if userBtcTx, err = useCase.getUserBtcTransactionIfValid(ctx, retainedQuote); err != nil { return err } @@ -62,30 +61,12 @@ func (useCase *RegisterPeginUseCase) Run(ctx context.Context, retainedQuote quot useCase.rskWalletMutex.Lock() defer useCase.rskWalletMutex.Unlock() - if registerPeginTxHash, err = useCase.contracts.Lbc.RegisterPegin(params); errors.Is(err, blockchain.WaitingForBridgeError) { - return useCase.publishErrorEvent(ctx, retainedQuote, err, true) - } else if err != nil { - newState = quote.PeginStateRegisterPegInFailed - } else { - newState = quote.PeginStateRegisterPegInSucceeded - } - - retainedQuote.State = newState - retainedQuote.RegisterPeginTxHash = registerPeginTxHash - useCase.eventBus.Publish(quote.RegisterPeginCompletedEvent{ - Event: entities.NewBaseEvent(quote.RegisterPeginCompletedEventId), - RetainedQuote: retainedQuote, - Error: err, - }) - if updateError := useCase.quoteRepository.UpdateRetainedQuote(ctx, retainedQuote); updateError != nil { - err = errors.Join(err, updateError) - } - if err != nil { - err = errors.Join(err, usecases.NonRecoverableError) - return usecases.WrapUseCaseErrorArgs(usecases.RegisterPeginId, err, usecases.ErrorArg("quoteHash", retainedQuote.QuoteHash)) + if err = usecases.RegisterCoinbaseTransaction(useCase.rpc.Btc, useCase.contracts.Bridge, userBtcTx); err != nil { + return useCase.publishErrorEvent(ctx, retainedQuote, err, errors.Is(err, blockchain.WaitingForBridgeError)) } - return nil + + return useCase.performRegisterPegin(ctx, params, retainedQuote) } func (useCase *RegisterPeginUseCase) publishErrorEvent(ctx context.Context, retainedQuote quote.RetainedPeginQuote, err error, recoverable bool) error { @@ -95,8 +76,9 @@ func (useCase *RegisterPeginUseCase) publishErrorEvent(ctx context.Context, reta wrappedError := usecases.WrapUseCaseErrorArgs(usecases.RegisterPeginId, err, errorArgs) if !recoverable { retainedQuote.State = quote.PeginStateRegisterPegInFailed + wrappedError = errors.Join(wrappedError, usecases.NonRecoverableError) if err = useCase.quoteRepository.UpdateRetainedQuote(ctx, retainedQuote); err != nil { - wrappedError = errors.Join(wrappedError, err, usecases.NonRecoverableError) + wrappedError = errors.Join(wrappedError, err) } useCase.eventBus.Publish(quote.RegisterPeginCompletedEvent{ Event: entities.NewBaseEvent(quote.RegisterPeginCompletedEventId), @@ -137,13 +119,44 @@ func (useCase *RegisterPeginUseCase) buildRegisterPeginParams(peginQuote quote.P }, nil } -func (useCase *RegisterPeginUseCase) validateTransaction(ctx context.Context, retainedQuote quote.RetainedPeginQuote) error { +func (useCase *RegisterPeginUseCase) getUserBtcTransactionIfValid(ctx context.Context, retainedQuote quote.RetainedPeginQuote) (blockchain.BitcoinTransactionInformation, error) { var txInfo blockchain.BitcoinTransactionInformation var err error if txInfo, err = useCase.rpc.Btc.GetTransactionInfo(retainedQuote.UserBtcTxHash); err != nil { - return useCase.publishErrorEvent(ctx, retainedQuote, err, true) + return blockchain.BitcoinTransactionInformation{}, useCase.publishErrorEvent(ctx, retainedQuote, err, true) } else if txInfo.Confirmations < useCase.contracts.Bridge.GetRequiredTxConfirmations() { - return useCase.publishErrorEvent(ctx, retainedQuote, usecases.NoEnoughConfirmationsError, true) + return blockchain.BitcoinTransactionInformation{}, useCase.publishErrorEvent(ctx, retainedQuote, usecases.NoEnoughConfirmationsError, true) + } + return txInfo, nil +} + +func (useCase *RegisterPeginUseCase) performRegisterPegin(ctx context.Context, params blockchain.RegisterPeginParams, retainedQuote quote.RetainedPeginQuote) error { + var registerPeginTxHash string + var newState quote.PeginState + var err error + + if registerPeginTxHash, err = useCase.contracts.Lbc.RegisterPegin(params); errors.Is(err, blockchain.WaitingForBridgeError) { + return useCase.publishErrorEvent(ctx, retainedQuote, err, true) + } else if err != nil { + newState = quote.PeginStateRegisterPegInFailed + } else { + newState = quote.PeginStateRegisterPegInSucceeded + } + + retainedQuote.State = newState + retainedQuote.RegisterPeginTxHash = registerPeginTxHash + useCase.eventBus.Publish(quote.RegisterPeginCompletedEvent{ + Event: entities.NewBaseEvent(quote.RegisterPeginCompletedEventId), + RetainedQuote: retainedQuote, + Error: err, + }) + + if updateError := useCase.quoteRepository.UpdateRetainedQuote(ctx, retainedQuote); updateError != nil { + err = errors.Join(err, updateError) + } + if err != nil { + err = errors.Join(err, usecases.NonRecoverableError) + return usecases.WrapUseCaseErrorArgs(usecases.RegisterPeginId, err, usecases.ErrorArg("quoteHash", retainedQuote.QuoteHash)) } return nil } diff --git a/internal/usecases/pegin/register_pegin_test.go b/internal/usecases/pegin/register_pegin_test.go index d4873f7f..19ca4c2a 100644 --- a/internal/usecases/pegin/register_pegin_test.go +++ b/internal/usecases/pegin/register_pegin_test.go @@ -2,10 +2,13 @@ package pegin_test import ( "context" + "encoding/hex" + "errors" "fmt" "github.com/rsksmart/liquidity-provider-server/internal/entities" "github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain" "github.com/rsksmart/liquidity-provider-server/internal/entities/quote" + "github.com/rsksmart/liquidity-provider-server/internal/entities/utils" "github.com/rsksmart/liquidity-provider-server/internal/usecases" "github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin" "github.com/rsksmart/liquidity-provider-server/test" @@ -490,3 +493,66 @@ func registerPeginUpdateErrorSetups(t *testing.T, registerPeginTx string, retain }, } } + +func TestRegisterPeginUseCase_Run_RegisterCoinbase(t *testing.T) { + retainedPeginQuote := quote.RetainedPeginQuote{ + QuoteHash: hex.EncodeToString(utils.MustGetRandomBytes(32)), + Signature: hex.EncodeToString(utils.MustGetRandomBytes(32)), + DepositAddress: test.AnyAddress, RequiredLiquidity: entities.NewWei(1500), + State: quote.PeginStateCallForUserSucceeded, + UserBtcTxHash: userBtcTx, CallForUserTxHash: cfuTx, + } + lbc := new(mocks.LbcMock) + quoteRepository := new(mocks.PeginQuoteRepositoryMock) + eventBus := new(mocks.EventBusMock) + bridge := new(mocks.BridgeMock) + btc := new(mocks.BtcRpcMock) + mutex := new(mocks.MutexMock) + coinbaseInfo := blockchain.BtcCoinbaseTransactionInformation{BlockHash: utils.To32Bytes(utils.MustGetRandomBytes(32))} + // Mocks that don't change per test + mutex.On("Lock").Return().Times(3) + mutex.On("Unlock").Return().Times(3) + quoteRepository.EXPECT().GetQuote(test.AnyCtx, mock.Anything).Return(&testPeginQuote, nil).Times(3) + quoteRepository.EXPECT().UpdateRetainedQuote(test.AnyCtx, mock.Anything).Return(nil).Twice() + btc.On("GetRawTransaction", retainedPeginQuote.UserBtcTxHash).Return(btcRawTxMock, nil).Times(3) + btc.On("GetPartialMerkleTree", retainedPeginQuote.UserBtcTxHash).Return(pmtMock, nil).Times(3) + btc.On("GetTransactionBlockInfo", retainedPeginQuote.UserBtcTxHash).Return(btcBlockInfoMock, nil).Times(3) + bridge.On("GetRequiredTxConfirmations").Return(uint64(10)).Times(3) + btc.On("GetTransactionInfo", retainedPeginQuote.UserBtcTxHash).Return(blockchain.BitcoinTransactionInformation{ + Hash: retainedPeginQuote.UserBtcTxHash, Confirmations: 10, HasWitness: true, + Outputs: map[string][]*entities.Wei{retainedPeginQuote.DepositAddress: {entities.NewWei(1)}}, + }, nil).Times(3) + btc.On("GetCoinbaseInformation", retainedPeginQuote.UserBtcTxHash).Return(coinbaseInfo, nil).Times(3) + // once as it'll be called only on 1st test + lbc.On("RegisterPegin", mock.Anything).Return(registerPeginTx, nil).Once() + + useCase := pegin.NewRegisterPeginUseCase(blockchain.RskContracts{Lbc: lbc, Bridge: bridge}, quoteRepository, eventBus, blockchain.Rpc{Btc: btc}, mutex) + t.Run("Should call RegisterCoinbaseTransaction", func(t *testing.T) { + bridge.On("RegisterBtcCoinbaseTransaction", coinbaseInfo).Return(test.AnyHash, nil).Once() + eventBus.On("Publish", mock.MatchedBy(func(e quote.RegisterPeginCompletedEvent) bool { + return e.Error == nil + })).Return().Once() + err := useCase.Run(context.Background(), retainedPeginQuote) + require.NoError(t, err) + }) + t.Run("Should return recoverable error if tx wasn't registered due to waiting for the bridge", func(t *testing.T) { + bridge.On("RegisterBtcCoinbaseTransaction", coinbaseInfo).Return("", blockchain.WaitingForBridgeError).Once() + err := useCase.Run(context.Background(), retainedPeginQuote) + require.Error(t, err) + require.NotErrorIs(t, err, usecases.NonRecoverableError) + }) + t.Run("Should return non recoverable error if tx wasn't registered due to any other error", func(t *testing.T) { + bridge.On("RegisterBtcCoinbaseTransaction", coinbaseInfo).Return("", assert.AnError).Once() + eventBus.On("Publish", mock.MatchedBy(func(e quote.RegisterPeginCompletedEvent) bool { + return errors.Is(e.Error, usecases.NonRecoverableError) + })).Return().Once() + err := useCase.Run(context.Background(), retainedPeginQuote) + require.ErrorIs(t, err, usecases.NonRecoverableError) + }) + mutex.AssertExpectations(t) + lbc.AssertExpectations(t) + bridge.AssertExpectations(t) + btc.AssertExpectations(t) + quoteRepository.AssertExpectations(t) + eventBus.AssertExpectations(t) +} diff --git a/internal/usecases/pegout/bridge_pegout.go b/internal/usecases/pegout/bridge_pegout.go index 05d79d97..d18d6bf1 100644 --- a/internal/usecases/pegout/bridge_pegout.go +++ b/internal/usecases/pegout/bridge_pegout.go @@ -115,9 +115,15 @@ func (useCase *BridgePegoutUseCase) calculateTotalToPegout(watchedQuotes []quote if watchedQuote.RetainedQuote.State != quote.PegoutStateRefundPegOutSucceeded { return nil, errors.New("not all quotes were refunded successfully") } - totalValue.Add(totalValue, watchedQuote.PegoutQuote.Value) - totalValue.Add(totalValue, watchedQuote.PegoutQuote.CallFee) - totalValue.Add(totalValue, watchedQuote.PegoutQuote.GasFee) + if watchedQuote.PegoutQuote.Value != nil { + totalValue.Add(totalValue, watchedQuote.PegoutQuote.Value) + } + if watchedQuote.PegoutQuote.CallFee != nil { + totalValue.Add(totalValue, watchedQuote.PegoutQuote.CallFee) + } + if watchedQuote.PegoutQuote.GasFee != nil { + totalValue.Add(totalValue, watchedQuote.PegoutQuote.GasFee) + } } return totalValue, nil } diff --git a/internal/usecases/pegout/get_pegout_quote.go b/internal/usecases/pegout/get_pegout_quote.go index 88e761e4..7750f24c 100644 --- a/internal/usecases/pegout/get_pegout_quote.go +++ b/internal/usecases/pegout/get_pegout_quote.go @@ -43,23 +43,20 @@ func NewGetQuoteUseCase( } type QuoteRequest struct { - to string - valueToTransfer *entities.Wei - rskRefundAddress string - bitcoinRefundAddress string + to string + valueToTransfer *entities.Wei + rskRefundAddress string } func NewQuoteRequest( to string, valueToTransfer *entities.Wei, rskRefundAddress string, - bitcoinRefundAddress string, ) QuoteRequest { return QuoteRequest{ - to: to, - valueToTransfer: valueToTransfer, - rskRefundAddress: rskRefundAddress, - bitcoinRefundAddress: bitcoinRefundAddress, + to: to, + valueToTransfer: valueToTransfer, + rskRefundAddress: rskRefundAddress, } } @@ -122,10 +119,6 @@ func (useCase *GetQuoteUseCase) validateRequest(configuration liquidity_provider errorArgs["btcAddress"] = request.to return errorArgs, err } - if err = useCase.rpc.Btc.ValidateAddress(request.bitcoinRefundAddress); err != nil { - errorArgs["btcAddress"] = request.bitcoinRefundAddress - return errorArgs, err - } if !blockchain.IsRskAddress(request.rskRefundAddress) { errorArgs["rskAddress"] = request.rskRefundAddress return errorArgs, usecases.RskAddressNotSupportedError @@ -161,7 +154,7 @@ func (useCase *GetQuoteUseCase) buildPegoutQuote( pegoutQuote := quote.PegoutQuote{ LbcAddress: useCase.contracts.Lbc.GetAddress(), LpRskAddress: useCase.lp.RskAddress(), - BtcRefundAddress: request.bitcoinRefundAddress, + BtcRefundAddress: request.to, RskRefundAddress: request.rskRefundAddress, LpBtcAddress: useCase.lp.BtcAddress(), CallFee: fees.CallFee, diff --git a/internal/usecases/pegout/get_pegout_quote_test.go b/internal/usecases/pegout/get_pegout_quote_test.go index 0d4ef8a7..e71f8620 100644 --- a/internal/usecases/pegout/get_pegout_quote_test.go +++ b/internal/usecases/pegout/get_pegout_quote_test.go @@ -16,7 +16,15 @@ import ( "testing" ) +// nolint:funlen func TestGetQuoteUseCase_Run(t *testing.T) { + const ( + toAddress = "mvL2bVzGUeC9oqVyQWJ4PxQspFzKgjzAqe" + rskRefundAddress = "0x79568c2989232dCa1840087D73d403602364c0D4" + lbcAddress = "0x1234" + lpRskAddress = "0x12ab" + lpBtcAddress = "address" + ) rsk := new(mocks.RootstockRpcServerMock) rsk.On("GasPrice", test.AnyCtx).Return(entities.NewWei(50000000), nil) rsk.On("GetHeight", test.AnyCtx).Return(uint64(100), nil) @@ -24,15 +32,15 @@ func TestGetQuoteUseCase_Run(t *testing.T) { feeCollector.On("DaoFeePercentage").Return(uint64(0), nil) bridge := new(mocks.BridgeMock) lbc := new(mocks.LbcMock) - lbc.On("GetAddress").Return("0x1234") + lbc.On("GetAddress").Return(lbcAddress) lbc.On("HashPegoutQuote", mock.Anything).Return("0x9876543210", nil) pegoutQuoteRepository := new(mocks.PegoutQuoteRepositoryMock) pegoutQuoteRepository.On("InsertQuote", test.AnyCtx, mock.Anything, mock.Anything).Return(nil) lp := new(mocks.ProviderMock) lp.On("PegoutConfiguration", test.AnyCtx).Return(getPegoutConfiguration()) lp.On("GeneralConfiguration", test.AnyCtx).Return(getGeneralConfiguration()) - lp.On("RskAddress").Return("0x1234") - lp.On("BtcAddress").Return("address") + lp.On("RskAddress").Return(lpRskAddress) + lp.On("BtcAddress").Return(lpBtcAddress) btcWallet := new(mocks.BtcWalletMock) btcWallet.On("EstimateTxFees", mock.Anything, mock.Anything).Return(entities.NewWei(1000000000000000), nil) btc := new(mocks.BtcRpcMock) @@ -41,12 +49,7 @@ func TestGetQuoteUseCase_Run(t *testing.T) { contracts := blockchain.RskContracts{Lbc: lbc, FeeCollector: feeCollector, Bridge: bridge} rpc := blockchain.Rpc{Btc: btc, Rsk: rsk} useCase := pegout.NewGetQuoteUseCase(rpc, contracts, pegoutQuoteRepository, lp, lp, btcWallet, feeCollectorAddress) - request := pegout.NewQuoteRequest( - "mvL2bVzGUeC9oqVyQWJ4PxQspFzKgjzAqe", - entities.NewWei(1000000000000000000), - "0x79568c2989232dCa1840087D73d403602364c0D4", - "mvL2bVzGUeC9oqVyQWJ4PxQspFzKgjzAqe", - ) + request := pegout.NewQuoteRequest(toAddress, entities.NewWei(1000000000000000000), rskRefundAddress) result, err := useCase.Run(context.Background(), request) rsk.AssertExpectations(t) feeCollector.AssertExpectations(t) @@ -58,6 +61,26 @@ func TestGetQuoteUseCase_Run(t *testing.T) { assert.NotEmpty(t, result.Hash) require.NoError(t, entities.ValidateStruct(result.PegoutQuote)) require.NoError(t, err) + assert.Equal(t, toAddress, result.PegoutQuote.DepositAddress) + assert.Equal(t, toAddress, result.PegoutQuote.BtcRefundAddress) + assert.Equal(t, entities.NewWei(1000000000000000000), result.PegoutQuote.Value) + assert.Equal(t, entities.NewWei(200), result.PegoutQuote.CallFee) + assert.Equal(t, uint64(20), result.PegoutQuote.PenaltyFee) + assert.Equal(t, "0x1234", result.PegoutQuote.LbcAddress) + assert.NotEmpty(t, result.PegoutQuote.Nonce) + assert.NotEmpty(t, result.PegoutQuote.AgreementTimestamp) + assert.Zero(t, result.PegoutQuote.ProductFeeAmount) + assert.Equal(t, uint16(10), result.PegoutQuote.DepositConfirmations) + assert.Equal(t, uint16(10), result.PegoutQuote.TransferConfirmations) + assert.Equal(t, uint32(60000), result.PegoutQuote.TransferTime) + assert.Equal(t, 60000+result.PegoutQuote.AgreementTimestamp, result.PegoutQuote.DepositDateLimit) + assert.Equal(t, 600+result.PegoutQuote.AgreementTimestamp, result.PegoutQuote.ExpireDate) + assert.Equal(t, uint32(70100), result.PegoutQuote.ExpireBlock) + assert.Equal(t, entities.NewWei(1000000000000000), result.PegoutQuote.GasFee) + assert.Equal(t, rskRefundAddress, result.PegoutQuote.RskRefundAddress) + assert.Equal(t, lbcAddress, result.PegoutQuote.LbcAddress) + assert.Equal(t, lpBtcAddress, result.PegoutQuote.LpBtcAddress) + assert.Equal(t, lpRskAddress, result.PegoutQuote.LpRskAddress) } func TestGetQuoteUseCase_Run_ValidateRequest(t *testing.T) { @@ -90,7 +113,7 @@ func getQuoteUseCaseErrorSetups() test.Table[func(btc *mocks.BtcRpcMock, lp *moc btc.On("ValidateAddress", wrongAddress).Return(blockchain.BtcAddressInvalidNetworkError).Once() btc.On("ValidateAddress", mock.Anything).Return(nil).Once() lp.On("PegoutConfiguration", test.AnyCtx).Return(getPegoutConfiguration()) - return pegout.NewQuoteRequest(wrongAddress, entities.NewWei(100000000000000000), "0x79568c2989232dCa1840087D73d403602364c0D4", "mvL2bVzGUeC9oqVyQWJ4PxQspFzKgjzAqe") + return pegout.NewQuoteRequest(wrongAddress, entities.NewWei(100000000000000000), "0x79568c2989232dCa1840087D73d403602364c0D4") }, Result: blockchain.BtcAddressInvalidNetworkError, }, @@ -99,45 +122,29 @@ func getQuoteUseCaseErrorSetups() test.Table[func(btc *mocks.BtcRpcMock, lp *moc btc.On("ValidateAddress", wrongAddress).Return(blockchain.BtcAddressNotSupportedError).Once() btc.On("ValidateAddress", mock.Anything).Return(nil).Once() lp.On("PegoutConfiguration", test.AnyCtx).Return(getPegoutConfiguration()) - return pegout.NewQuoteRequest(wrongAddress, entities.NewWei(100000000000000000), "0x79568c2989232dCa1840087D73d403602364c0D4", "mvL2bVzGUeC9oqVyQWJ4PxQspFzKgjzAqe") + return pegout.NewQuoteRequest(wrongAddress, entities.NewWei(100000000000000000), "0x79568c2989232dCa1840087D73d403602364c0D4") }, Result: blockchain.BtcAddressNotSupportedError, }, { Value: func(btc *mocks.BtcRpcMock, lp *mocks.ProviderMock) pegout.QuoteRequest { btc.On("ValidateAddress", mock.Anything).Return(nil) lp.On("PegoutConfiguration", test.AnyCtx).Return(getPegoutConfiguration()) - return pegout.NewQuoteRequest("mvL2bVzGUeC9oqVyQWJ4PxQspFzKgjzAqe", nil, "anything", "mvL2bVzGUeC9oqVyQWJ4PxQspFzKgjzAqe") + return pegout.NewQuoteRequest("mvL2bVzGUeC9oqVyQWJ4PxQspFzKgjzAqe", nil, "anything") }, Result: usecases.RskAddressNotSupportedError, }, { Value: func(btc *mocks.BtcRpcMock, lp *mocks.ProviderMock) pegout.QuoteRequest { btc.On("ValidateAddress", mock.Anything).Return(nil) lp.On("PegoutConfiguration", test.AnyCtx).Return(getPegoutConfiguration()) - return pegout.NewQuoteRequest("mvL2bVzGUeC9oqVyQWJ4PxQspFzKgjzAqe", entities.NewWei(100000000000000000), "0x79568c2989232dCa1840087D73d403602364c0D41", "mvL2bVzGUeC9oqVyQWJ4PxQspFzKgjzAqe") + return pegout.NewQuoteRequest("mvL2bVzGUeC9oqVyQWJ4PxQspFzKgjzAqe", entities.NewWei(100000000000000000), "0x79568c2989232dCa1840087D73d403602364c0D41") }, Result: usecases.RskAddressNotSupportedError, }, - { - Value: func(btc *mocks.BtcRpcMock, lp *mocks.ProviderMock) pegout.QuoteRequest { - btc.On("ValidateAddress", wrongAddress).Return(blockchain.BtcAddressInvalidNetworkError).Once() - btc.On("ValidateAddress", mock.Anything).Return(nil).Once() - lp.On("PegoutConfiguration", test.AnyCtx).Return(getPegoutConfiguration()) - return pegout.NewQuoteRequest("mvL2bVzGUeC9oqVyQWJ4PxQspFzKgjzAqe", entities.NewWei(100000000000000000), "0x79568c2989232dCa1840087D73d403602364c0D4", wrongAddress) - }, Result: blockchain.BtcAddressInvalidNetworkError, - }, - { - Value: func(btc *mocks.BtcRpcMock, lp *mocks.ProviderMock) pegout.QuoteRequest { - btc.On("ValidateAddress", wrongAddress).Return(blockchain.BtcAddressNotSupportedError).Once() - btc.On("ValidateAddress", mock.Anything).Return(nil).Once() - lp.On("PegoutConfiguration", test.AnyCtx).Return(getPegoutConfiguration()) - return pegout.NewQuoteRequest("mvL2bVzGUeC9oqVyQWJ4PxQspFzKgjzAqe", entities.NewWei(100000000000000000), "0x79568c2989232dCa1840087D73d403602364c0D4", wrongAddress) - }, Result: blockchain.BtcAddressNotSupportedError, - }, { Value: func(btc *mocks.BtcRpcMock, lp *mocks.ProviderMock) pegout.QuoteRequest { btc.On("ValidateAddress", mock.Anything).Return(nil).Once() btc.On("ValidateAddress", mock.Anything).Return(nil).Once() lp.On("PegoutConfiguration", test.AnyCtx).Return(getPegoutConfiguration()) - return pegout.NewQuoteRequest("mvL2bVzGUeC9oqVyQWJ4PxQspFzKgjzAqe", entities.NewWei(99999999999999999), "0x79568c2989232dCa1840087D73d403602364c0D4", "mvL2bVzGUeC9oqVyQWJ4PxQspFzKgjzAqe") + return pegout.NewQuoteRequest("mvL2bVzGUeC9oqVyQWJ4PxQspFzKgjzAqe", entities.NewWei(99999999999999999), "0x79568c2989232dCa1840087D73d403602364c0D4") }, Result: lpEntity.AmountOutOfRangeError, }, } @@ -150,7 +157,6 @@ func TestGetQuoteUseCase_Run_ErrorHandling(t *testing.T) { "mvL2bVzGUeC9oqVyQWJ4PxQspFzKgjzAqe", entities.NewWei(1000000000000000000), "0x79568c2989232dCa1840087D73d403602364c0D4", - "mvL2bVzGUeC9oqVyQWJ4PxQspFzKgjzAqe", ) feeCollectorAddress := "feeCollectorAddress" for _, testCase := range cases { @@ -323,7 +329,7 @@ func getPegoutConfiguration() lpEntity.PegoutConfiguration { CallFee: entities.NewWei(200), MaxValue: entities.NewUWei(10000000000000000000), MinValue: entities.NewWei(100000000000000000), - ExpireBlocks: 60000, + ExpireBlocks: 70000, } } diff --git a/internal/usecases/pegout/refund_pegout.go b/internal/usecases/pegout/refund_pegout.go index a9a1ff75..baf3e2bb 100644 --- a/internal/usecases/pegout/refund_pegout.go +++ b/internal/usecases/pegout/refund_pegout.go @@ -8,6 +8,7 @@ import ( "github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain" "github.com/rsksmart/liquidity-provider-server/internal/entities/quote" "github.com/rsksmart/liquidity-provider-server/internal/usecases" + "sync" ) const ( @@ -20,6 +21,7 @@ type RefundPegoutUseCase struct { contracts blockchain.RskContracts eventBus entities.EventBus rpc blockchain.Rpc + rskWalletMutex sync.Locker } func NewRefundPegoutUseCase( @@ -27,18 +29,21 @@ func NewRefundPegoutUseCase( contracts blockchain.RskContracts, eventBus entities.EventBus, rpc blockchain.Rpc, + rskWalletMutex sync.Locker, ) *RefundPegoutUseCase { return &RefundPegoutUseCase{ quoteRepository: quoteRepository, contracts: contracts, eventBus: eventBus, rpc: rpc, + rskWalletMutex: rskWalletMutex, } } func (useCase *RefundPegoutUseCase) Run(ctx context.Context, retainedQuote quote.RetainedPegoutQuote) error { var params blockchain.RefundPegoutParams var pegoutQuote *quote.PegoutQuote + var lpBtcTransaction blockchain.BitcoinTransactionInformation var err error if retainedQuote.State != quote.PegoutStateSendPegoutSucceeded { @@ -51,7 +56,7 @@ func (useCase *RefundPegoutUseCase) Run(ctx context.Context, retainedQuote quote return useCase.publishErrorEvent(ctx, retainedQuote, usecases.QuoteNotFoundError, false) } - if err = useCase.validateBtcTransaction(ctx, *pegoutQuote, retainedQuote); err != nil { + if lpBtcTransaction, err = useCase.getLpBtcTransactionIfValid(ctx, *pegoutQuote, retainedQuote); err != nil { return err } @@ -60,6 +65,13 @@ func (useCase *RefundPegoutUseCase) Run(ctx context.Context, retainedQuote quote } txConfig := blockchain.NewTransactionConfig(nil, refundPegoutGasLimit, nil) + useCase.rskWalletMutex.Lock() + defer useCase.rskWalletMutex.Unlock() + + if err = usecases.RegisterCoinbaseTransaction(useCase.rpc.Btc, useCase.contracts.Bridge, lpBtcTransaction); err != nil { + return useCase.publishErrorEvent(ctx, retainedQuote, err, errors.Is(err, blockchain.WaitingForBridgeError)) + } + if retainedQuote, err = useCase.performRefundPegout(ctx, retainedQuote, txConfig, params); err != nil { return err } @@ -70,8 +82,9 @@ func (useCase *RefundPegoutUseCase) publishErrorEvent(ctx context.Context, retai wrappedError := usecases.WrapUseCaseErrorArgs(usecases.RefundPegoutId, err, usecases.ErrorArg("quoteHash", retainedQuote.QuoteHash)) if !recoverable { retainedQuote.State = quote.PegoutStateRefundPegOutFailed + wrappedError = errors.Join(wrappedError, usecases.NonRecoverableError) if err = useCase.quoteRepository.UpdateRetainedQuote(ctx, retainedQuote); err != nil { - wrappedError = errors.Join(wrappedError, err, usecases.NonRecoverableError) + wrappedError = errors.Join(wrappedError, err) } useCase.eventBus.Publish(quote.PegoutQuoteCompletedEvent{ Event: entities.NewBaseEvent(quote.PegoutQuoteCompletedEventId), @@ -151,17 +164,17 @@ func (useCase *RefundPegoutUseCase) performRefundPegout( return retainedQuote, nil } -func (useCase *RefundPegoutUseCase) validateBtcTransaction( +func (useCase *RefundPegoutUseCase) getLpBtcTransactionIfValid( ctx context.Context, pegoutQuote quote.PegoutQuote, retainedQuote quote.RetainedPegoutQuote, -) error { +) (blockchain.BitcoinTransactionInformation, error) { var txInfo blockchain.BitcoinTransactionInformation var err error if txInfo, err = useCase.rpc.Btc.GetTransactionInfo(retainedQuote.LpBtcTxHash); err != nil { - return useCase.publishErrorEvent(ctx, retainedQuote, err, true) + return blockchain.BitcoinTransactionInformation{}, useCase.publishErrorEvent(ctx, retainedQuote, err, true) } else if txInfo.Confirmations < uint64(pegoutQuote.TransferConfirmations) { - return useCase.publishErrorEvent(ctx, retainedQuote, usecases.NoEnoughConfirmationsError, true) + return blockchain.BitcoinTransactionInformation{}, useCase.publishErrorEvent(ctx, retainedQuote, usecases.NoEnoughConfirmationsError, true) } - return nil + return txInfo, nil } diff --git a/internal/usecases/pegout/refund_pegout_test.go b/internal/usecases/pegout/refund_pegout_test.go index 5ff3a098..afbd6ccd 100644 --- a/internal/usecases/pegout/refund_pegout_test.go +++ b/internal/usecases/pegout/refund_pegout_test.go @@ -6,6 +6,7 @@ import ( "github.com/rsksmart/liquidity-provider-server/internal/entities" "github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain" "github.com/rsksmart/liquidity-provider-server/internal/entities/quote" + "github.com/rsksmart/liquidity-provider-server/internal/entities/utils" "github.com/rsksmart/liquidity-provider-server/internal/usecases" "github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout" "github.com/rsksmart/liquidity-provider-server/test" @@ -30,7 +31,7 @@ var retainedQuote = quote.RetainedPegoutQuote{ RequiredLiquidity: entities.NewWei(1000), State: quote.PegoutStateSendPegoutSucceeded, UserRskTxHash: "0x3c2b1a", - LpBtcTxHash: "0x3c2b1a", + LpBtcTxHash: "0x3c2b1b", RefundPegoutTxHash: "", BridgeRefundTxHash: "", } @@ -71,7 +72,7 @@ var merkleBranchMock = blockchain.MerkleBranch{ } var btcTxInfoMock = blockchain.BitcoinTransactionInformation{ - Hash: "0x1c2b3a", + Hash: "0x3c2b1b", Confirmations: 11, Outputs: map[string][]*entities.Wei{test.AnyAddress: {entities.NewWei(1000)}}, } @@ -107,10 +108,13 @@ func TestRefundPegoutUseCase_Run(t *testing.T) { btc.On("BuildMerkleBranch", mock.Anything).Return(merkleBranchMock, nil) btc.On("GetRawTransaction", mock.Anything).Return(btcRawTxMock, nil) btc.On("GetTransactionBlockInfo", mock.Anything).Return(btcBlockInfoMock, nil) + mutex := new(mocks.MutexMock) + mutex.On("Lock").Return().Once() + mutex.On("Unlock").Return().Once() contracts := blockchain.RskContracts{Lbc: lbc} rpc := blockchain.Rpc{Btc: btc} - useCase := pegout.NewRefundPegoutUseCase(quoteRepository, contracts, eventBus, rpc) + useCase := pegout.NewRefundPegoutUseCase(quoteRepository, contracts, eventBus, rpc, mutex) err := useCase.Run(context.Background(), retainedQuote) quoteRepository.AssertExpectations(t) lbc.AssertExpectations(t) @@ -139,10 +143,13 @@ func TestRefundPegoutUseCase_Run_UpdateError(t *testing.T) { btc.On("BuildMerkleBranch", mock.Anything).Return(merkleBranchMock, nil) btc.On("GetRawTransaction", mock.Anything).Return(btcRawTxMock, nil) btc.On("GetTransactionBlockInfo", mock.Anything).Return(btcBlockInfoMock, nil) + mutex := new(mocks.MutexMock) + mutex.On("Lock").Return().Once() + mutex.On("Unlock").Return().Once() contracts := blockchain.RskContracts{Lbc: lbc} rpc := blockchain.Rpc{Btc: btc} - useCase := pegout.NewRefundPegoutUseCase(quoteRepository, contracts, eventBus, rpc) + useCase := pegout.NewRefundPegoutUseCase(quoteRepository, contracts, eventBus, rpc, mutex) err := useCase.Run(context.Background(), retainedQuote) quoteRepository.AssertExpectations(t) @@ -191,13 +198,16 @@ func TestRefundPegoutUseCase_Run_NotPublishRecoverableError(t *testing.T) { } for _, setup := range recoverableSetups { eventBus := new(mocks.EventBusMock) + mutex := new(mocks.MutexMock) + mutex.On("Lock").Return() + mutex.On("Unlock").Return() quoteRepository := new(mocks.PegoutQuoteRepositoryMock) lbc := new(mocks.LbcMock) btc := new(mocks.BtcRpcMock) setup(quoteRepository, lbc, btc) contracts := blockchain.RskContracts{Lbc: lbc} rpc := blockchain.Rpc{Btc: btc} - useCase := pegout.NewRefundPegoutUseCase(quoteRepository, contracts, eventBus, rpc) + useCase := pegout.NewRefundPegoutUseCase(quoteRepository, contracts, eventBus, rpc, mutex) err := useCase.Run(context.Background(), retainedQuote) lbc.AssertExpectations(t) btc.AssertExpectations(t) @@ -236,6 +246,9 @@ func TestRefundPegoutUseCase_Run_PublishUnrecoverableError(t *testing.T) { btc := new(mocks.BtcRpcMock) caseQuote := retainedQuote setup(&caseQuote, quoteRepository, lbc, btc) + mutex := new(mocks.MutexMock) + mutex.On("Lock").Return() + mutex.On("Unlock").Return() eventBus := new(mocks.EventBusMock) eventBus.On("Publish", mock.MatchedBy(func(event quote.PegoutQuoteCompletedEvent) bool { require.Error(t, event.Error) @@ -252,7 +265,7 @@ func TestRefundPegoutUseCase_Run_PublishUnrecoverableError(t *testing.T) { })).Return(nil).Once() contracts := blockchain.RskContracts{Lbc: lbc} rpc := blockchain.Rpc{Btc: btc} - useCase := pegout.NewRefundPegoutUseCase(quoteRepository, contracts, eventBus, rpc) + useCase := pegout.NewRefundPegoutUseCase(quoteRepository, contracts, eventBus, rpc, mutex) err := useCase.Run(context.Background(), caseQuote) lbc.AssertExpectations(t) btc.AssertExpectations(t) @@ -271,10 +284,11 @@ func TestRefundPegoutUseCase_Run_NoConfirmations(t *testing.T) { eventBus := new(mocks.EventBusMock) btc := new(mocks.BtcRpcMock) btc.On("GetTransactionInfo", retainedQuote.LpBtcTxHash).Return(unconfirmedBlockInfo, nil).Once() + mutex := new(mocks.MutexMock) contracts := blockchain.RskContracts{Lbc: lbc} rpc := blockchain.Rpc{Btc: btc} - useCase := pegout.NewRefundPegoutUseCase(quoteRepository, contracts, eventBus, rpc) + useCase := pegout.NewRefundPegoutUseCase(quoteRepository, contracts, eventBus, rpc, mutex) err := useCase.Run(context.Background(), retainedQuote) quoteRepository.AssertExpectations(t) @@ -282,6 +296,8 @@ func TestRefundPegoutUseCase_Run_NoConfirmations(t *testing.T) { eventBus.AssertNotCalled(t, "Publish") lbc.AssertNotCalled(t, "RefundPegout") lbc.AssertNotCalled(t, "GetAddress") + mutex.AssertNotCalled(t, "Lock") + mutex.AssertNotCalled(t, "Unlock") require.ErrorIs(t, err, usecases.NoEnoughConfirmationsError) } @@ -292,10 +308,11 @@ func TestRefundPegoutUseCase_Run_WrongState(t *testing.T) { lbc := new(mocks.LbcMock) eventBus := new(mocks.EventBusMock) btc := new(mocks.BtcRpcMock) + mutex := new(mocks.MutexMock) contracts := blockchain.RskContracts{Lbc: lbc} rpc := blockchain.Rpc{Btc: btc} - useCase := pegout.NewRefundPegoutUseCase(quoteRepository, contracts, eventBus, rpc) + useCase := pegout.NewRefundPegoutUseCase(quoteRepository, contracts, eventBus, rpc, mutex) err := useCase.Run(context.Background(), wrongStateQuote) @@ -306,5 +323,63 @@ func TestRefundPegoutUseCase_Run_WrongState(t *testing.T) { eventBus.AssertNotCalled(t, "Publish") lbc.AssertNotCalled(t, "RefundPegout") lbc.AssertNotCalled(t, "GetAddress") + mutex.AssertNotCalled(t, "Lock") + mutex.AssertNotCalled(t, "Unlock") require.ErrorIs(t, err, usecases.WrongStateError) } + +func TestRefundPegoutUseCase_Run_RegisterCoinbase(t *testing.T) { + quoteRepository := new(mocks.PegoutQuoteRepositoryMock) + lbc := new(mocks.LbcMock) + bridge := new(mocks.BridgeMock) + eventBus := new(mocks.EventBusMock) + btc := new(mocks.BtcRpcMock) + mutex := new(mocks.MutexMock) + coinbaseInfo := blockchain.BtcCoinbaseTransactionInformation{BlockHash: utils.To32Bytes(utils.MustGetRandomBytes(32))} + // Mocks that don't change per test + mutex.On("Lock").Return().Times(3) + mutex.On("Unlock").Return().Times(3) + quoteRepository.EXPECT().UpdateRetainedQuote(test.AnyCtx, mock.Anything).Return(nil).Twice() + quoteRepository.EXPECT().GetQuote(test.AnyCtx, retainedQuote.QuoteHash).Return(&pegoutQuote, nil).Times(3) + tx := btcTxInfoMock + tx.HasWitness = true + btc.On("GetTransactionInfo", retainedQuote.LpBtcTxHash).Return(tx, nil).Times(3) + btc.On("GetCoinbaseInformation", retainedQuote.LpBtcTxHash).Return(coinbaseInfo, nil).Times(3) + btc.On("BuildMerkleBranch", mock.Anything).Return(merkleBranchMock, nil).Times(3) + btc.On("GetRawTransaction", mock.Anything).Return(btcRawTxMock, nil).Times(3) + btc.On("GetTransactionBlockInfo", mock.Anything).Return(btcBlockInfoMock, nil).Times(3) + // once as it'll be called only on 1st test + lbc.On("RefundPegout", mock.Anything, mock.Anything).Return(refundPegoutTxHash, nil).Once() + + contracts := blockchain.RskContracts{Lbc: lbc, Bridge: bridge} + rpc := blockchain.Rpc{Btc: btc} + useCase := pegout.NewRefundPegoutUseCase(quoteRepository, contracts, eventBus, rpc, mutex) + t.Run("Should call RegisterCoinbaseTransaction", func(t *testing.T) { + bridge.On("RegisterBtcCoinbaseTransaction", coinbaseInfo).Return(test.AnyHash, nil).Once() + eventBus.On("Publish", mock.MatchedBy(func(e quote.PegoutQuoteCompletedEvent) bool { + return e.Error == nil + })).Return().Once() + err := useCase.Run(context.Background(), retainedQuote) + require.NoError(t, err) + }) + t.Run("Should return recoverable error if tx wasn't registered due to waiting for the bridge", func(t *testing.T) { + bridge.On("RegisterBtcCoinbaseTransaction", coinbaseInfo).Return("", blockchain.WaitingForBridgeError).Once() + err := useCase.Run(context.Background(), retainedQuote) + require.Error(t, err) + require.NotErrorIs(t, err, usecases.NonRecoverableError) + }) + t.Run("Should return non recoverable error if tx wasn't registered due to any other error", func(t *testing.T) { + bridge.On("RegisterBtcCoinbaseTransaction", coinbaseInfo).Return("", assert.AnError).Once() + eventBus.On("Publish", mock.MatchedBy(func(e quote.PegoutQuoteCompletedEvent) bool { + return errors.Is(e.Error, usecases.NonRecoverableError) + })).Return().Once() + err := useCase.Run(context.Background(), retainedQuote) + require.ErrorIs(t, err, usecases.NonRecoverableError) + }) + mutex.AssertExpectations(t) + lbc.AssertExpectations(t) + bridge.AssertExpectations(t) + btc.AssertExpectations(t) + quoteRepository.AssertExpectations(t) + eventBus.AssertExpectations(t) +} diff --git a/internal/usecases/pegout/send_pegout_test.go b/internal/usecases/pegout/send_pegout_test.go index d8832117..fa215ac0 100644 --- a/internal/usecases/pegout/send_pegout_test.go +++ b/internal/usecases/pegout/send_pegout_test.go @@ -1,4 +1,4 @@ -package pegout +package pegout_test import ( "context" @@ -7,6 +7,7 @@ import ( "github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain" "github.com/rsksmart/liquidity-provider-server/internal/entities/quote" "github.com/rsksmart/liquidity-provider-server/internal/usecases" + "github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout" "github.com/rsksmart/liquidity-provider-server/test" "github.com/rsksmart/liquidity-provider-server/test/mocks" "github.com/stretchr/testify/assert" @@ -17,14 +18,12 @@ import ( "time" ) -var now = uint32(time.Now().Unix()) - const ( blockHash = "0x6e6f6a" blockNumber uint64 = 440 ) -var retainedQuote = quote.RetainedPegoutQuote{ +var sendPegoutRetainedQuote = quote.RetainedPegoutQuote{ QuoteHash: "e64215867af36cad04e8c2e3e8336618b358f68923529f2a1e5dbc6dd4af4df1", DepositAddress: "0x654321", Signature: "0x112a3b", @@ -36,7 +35,7 @@ var retainedQuote = quote.RetainedPegoutQuote{ BridgeRefundTxHash: "", } -var pegoutQuote = quote.PegoutQuote{ +var sendPegoutTestQuote = quote.PegoutQuote{ LbcAddress: "0x5678", LpRskAddress: "0x1234", BtcRefundAddress: test.AnyAddress, @@ -45,7 +44,7 @@ var pegoutQuote = quote.PegoutQuote{ CallFee: entities.NewWei(3000), PenaltyFee: 2, Nonce: 3, - DepositAddress: retainedQuote.DepositAddress, + DepositAddress: sendPegoutRetainedQuote.DepositAddress, Value: entities.NewWei(4000), AgreementTimestamp: now, DepositDateLimit: now + 60, @@ -62,16 +61,16 @@ func TestSendPegoutUseCase_Run(t *testing.T) { btcTxHash := "0x5b5c5d" btcWallet := new(mocks.BtcWalletMock) btcWallet.On("GetBalance").Return(entities.NewWei(10000), nil).Once() - quoteHash, _ := hex.DecodeString(retainedQuote.QuoteHash) - btcWallet.On("SendWithOpReturn", retainedQuote.DepositAddress, pegoutQuote.Value, quoteHash).Return(btcTxHash, nil).Once() + quoteHash, _ := hex.DecodeString(sendPegoutRetainedQuote.QuoteHash) + btcWallet.On("SendWithOpReturn", sendPegoutRetainedQuote.DepositAddress, sendPegoutTestQuote.Value, quoteHash).Return(btcTxHash, nil).Once() rsk := new(mocks.RootstockRpcServerMock) eventBus := new(mocks.EventBusMock) eventBus.On("Publish", mock.MatchedBy(func(event quote.PegoutBtcSentToUserEvent) bool { - expected := retainedQuote + expected := sendPegoutRetainedQuote expected.LpBtcTxHash = btcTxHash expected.State = quote.PegoutStateSendPegoutSucceeded require.NoError(t, event.Error) - return assert.Equal(t, pegoutQuote, event.PegoutQuote) && + return assert.Equal(t, sendPegoutTestQuote, event.PegoutQuote) && assert.Equal(t, expected, event.RetainedQuote) && assert.Equal(t, quote.PegoutBtcSentEventId, event.Event.Id()) })).Return().Once() @@ -79,7 +78,7 @@ func TestSendPegoutUseCase_Run(t *testing.T) { mutex.On("Lock").Return().Once() mutex.On("Unlock").Return().Once() rsk.On("GetHeight", test.AnyCtx).Return(uint64(450), nil).Once() - rsk.On("GetTransactionReceipt", test.AnyCtx, retainedQuote.UserRskTxHash).Return(blockchain.TransactionReceipt{ + rsk.On("GetTransactionReceipt", test.AnyCtx, sendPegoutRetainedQuote.UserRskTxHash).Return(blockchain.TransactionReceipt{ TransactionHash: "0x5b5c5d", BlockHash: blockHash, BlockNumber: blockNumber, @@ -96,17 +95,17 @@ func TestSendPegoutUseCase_Run(t *testing.T) { Nonce: 1, }, nil).Once() quoteRepository := new(mocks.PegoutQuoteRepositoryMock) - quoteRepository.On("GetQuote", test.AnyCtx, retainedQuote.QuoteHash).Return(&pegoutQuote, nil).Once() - updatedQuote := retainedQuote + quoteRepository.On("GetQuote", test.AnyCtx, sendPegoutRetainedQuote.QuoteHash).Return(&sendPegoutTestQuote, nil).Once() + updatedQuote := sendPegoutRetainedQuote updatedQuote.LpBtcTxHash = btcTxHash updatedQuote.State = quote.PegoutStateSendPegoutSucceeded quoteRepository.On("UpdateRetainedQuote", test.AnyCtx, updatedQuote).Return(nil).Once() rpc := blockchain.Rpc{Rsk: rsk} lbc := new(mocks.LbcMock) - lbc.On("IsPegOutQuoteCompleted", retainedQuote.QuoteHash).Return(false, nil).Once() + lbc.On("IsPegOutQuoteCompleted", sendPegoutRetainedQuote.QuoteHash).Return(false, nil).Once() - useCase := NewSendPegoutUseCase(btcWallet, quoteRepository, rpc, eventBus, blockchain.RskContracts{Lbc: lbc}, mutex) - err := useCase.Run(context.Background(), retainedQuote) + useCase := pegout.NewSendPegoutUseCase(btcWallet, quoteRepository, rpc, eventBus, blockchain.RskContracts{Lbc: lbc}, mutex) + err := useCase.Run(context.Background(), sendPegoutRetainedQuote) require.NoError(t, err) btcWallet.AssertExpectations(t) @@ -131,11 +130,11 @@ func TestSendPegoutUseCase_Run_ShouldNotPublishRecoverableError(t *testing.T) { quoteRepository := new(mocks.PegoutQuoteRepositoryMock) btcWallet := new(mocks.BtcWalletMock) rsk := new(mocks.RootstockRpcServerMock) - caseQuote := retainedQuote + caseQuote := sendPegoutRetainedQuote lbc := new(mocks.LbcMock) setup(&caseQuote, btcWallet, rsk, quoteRepository, lbc) rpc := blockchain.Rpc{Rsk: rsk} - useCase := NewSendPegoutUseCase(btcWallet, quoteRepository, rpc, eventBus, blockchain.RskContracts{Lbc: lbc}, mutex) + useCase := pegout.NewSendPegoutUseCase(btcWallet, quoteRepository, rpc, eventBus, blockchain.RskContracts{Lbc: lbc}, mutex) err := useCase.Run(context.Background(), caseQuote) btcWallet.AssertExpectations(t) rsk.AssertExpectations(t) @@ -147,30 +146,30 @@ func TestSendPegoutUseCase_Run_ShouldNotPublishRecoverableError(t *testing.T) { } // nolint:funlen -func getRecoverableSetups() []func(retainedQuote *quote.RetainedPegoutQuote, btcWallet *mocks.BtcWalletMock, rsk *mocks.RootstockRpcServerMock, quoteRepository *mocks.PegoutQuoteRepositoryMock, lbc *mocks.LbcMock) { - return []func(retainedQuote *quote.RetainedPegoutQuote, btcWallet *mocks.BtcWalletMock, rsk *mocks.RootstockRpcServerMock, quoteRepository *mocks.PegoutQuoteRepositoryMock, lbc *mocks.LbcMock){ - func(retainedQuote *quote.RetainedPegoutQuote, btcWallet *mocks.BtcWalletMock, rsk *mocks.RootstockRpcServerMock, quoteRepository *mocks.PegoutQuoteRepositoryMock, lbc *mocks.LbcMock) { - retainedQuote.State = quote.PegoutStateWaitingForDeposit +func getRecoverableSetups() []func(sendPegoutRetainedQuote *quote.RetainedPegoutQuote, btcWallet *mocks.BtcWalletMock, rsk *mocks.RootstockRpcServerMock, quoteRepository *mocks.PegoutQuoteRepositoryMock, lbc *mocks.LbcMock) { + return []func(sendPegoutRetainedQuote *quote.RetainedPegoutQuote, btcWallet *mocks.BtcWalletMock, rsk *mocks.RootstockRpcServerMock, quoteRepository *mocks.PegoutQuoteRepositoryMock, lbc *mocks.LbcMock){ + func(sendPegoutRetainedQuote *quote.RetainedPegoutQuote, btcWallet *mocks.BtcWalletMock, rsk *mocks.RootstockRpcServerMock, quoteRepository *mocks.PegoutQuoteRepositoryMock, lbc *mocks.LbcMock) { + sendPegoutRetainedQuote.State = quote.PegoutStateWaitingForDeposit }, - func(retainedQuote *quote.RetainedPegoutQuote, btcWallet *mocks.BtcWalletMock, rsk *mocks.RootstockRpcServerMock, quoteRepository *mocks.PegoutQuoteRepositoryMock, lbc *mocks.LbcMock) { - retainedQuote.UserRskTxHash = "" + func(sendPegoutRetainedQuote *quote.RetainedPegoutQuote, btcWallet *mocks.BtcWalletMock, rsk *mocks.RootstockRpcServerMock, quoteRepository *mocks.PegoutQuoteRepositoryMock, lbc *mocks.LbcMock) { + sendPegoutRetainedQuote.UserRskTxHash = "" }, - func(retainedQuote *quote.RetainedPegoutQuote, btcWallet *mocks.BtcWalletMock, rsk *mocks.RootstockRpcServerMock, quoteRepository *mocks.PegoutQuoteRepositoryMock, lbc *mocks.LbcMock) { - quoteRepository.On("GetQuote", test.AnyCtx, retainedQuote.QuoteHash).Return(nil, assert.AnError).Once() + func(sendPegoutRetainedQuote *quote.RetainedPegoutQuote, btcWallet *mocks.BtcWalletMock, rsk *mocks.RootstockRpcServerMock, quoteRepository *mocks.PegoutQuoteRepositoryMock, lbc *mocks.LbcMock) { + quoteRepository.On("GetQuote", test.AnyCtx, sendPegoutRetainedQuote.QuoteHash).Return(nil, assert.AnError).Once() }, - func(retainedQuote *quote.RetainedPegoutQuote, btcWallet *mocks.BtcWalletMock, rsk *mocks.RootstockRpcServerMock, quoteRepository *mocks.PegoutQuoteRepositoryMock, lbc *mocks.LbcMock) { - quoteRepository.On("GetQuote", test.AnyCtx, retainedQuote.QuoteHash).Return(&pegoutQuote, nil).Once() + func(sendPegoutRetainedQuote *quote.RetainedPegoutQuote, btcWallet *mocks.BtcWalletMock, rsk *mocks.RootstockRpcServerMock, quoteRepository *mocks.PegoutQuoteRepositoryMock, lbc *mocks.LbcMock) { + quoteRepository.On("GetQuote", test.AnyCtx, sendPegoutRetainedQuote.QuoteHash).Return(&sendPegoutTestQuote, nil).Once() rsk.On("GetHeight", test.AnyCtx).Return(uint64(0), assert.AnError).Once() }, - func(retainedQuote *quote.RetainedPegoutQuote, btcWallet *mocks.BtcWalletMock, rsk *mocks.RootstockRpcServerMock, quoteRepository *mocks.PegoutQuoteRepositoryMock, lbc *mocks.LbcMock) { - quoteRepository.On("GetQuote", test.AnyCtx, retainedQuote.QuoteHash).Return(&pegoutQuote, nil).Once() + func(sendPegoutRetainedQuote *quote.RetainedPegoutQuote, btcWallet *mocks.BtcWalletMock, rsk *mocks.RootstockRpcServerMock, quoteRepository *mocks.PegoutQuoteRepositoryMock, lbc *mocks.LbcMock) { + quoteRepository.On("GetQuote", test.AnyCtx, sendPegoutRetainedQuote.QuoteHash).Return(&sendPegoutTestQuote, nil).Once() rsk.On("GetHeight", test.AnyCtx).Return(uint64(450), nil).Once() rsk.On("GetTransactionReceipt", test.AnyCtx, mock.Anything).Return(blockchain.TransactionReceipt{}, assert.AnError).Once() }, - func(retainedQuote *quote.RetainedPegoutQuote, btcWallet *mocks.BtcWalletMock, rsk *mocks.RootstockRpcServerMock, quoteRepository *mocks.PegoutQuoteRepositoryMock, lbc *mocks.LbcMock) { - quoteRepository.On("GetQuote", test.AnyCtx, retainedQuote.QuoteHash).Return(&pegoutQuote, nil).Once() + func(sendPegoutRetainedQuote *quote.RetainedPegoutQuote, btcWallet *mocks.BtcWalletMock, rsk *mocks.RootstockRpcServerMock, quoteRepository *mocks.PegoutQuoteRepositoryMock, lbc *mocks.LbcMock) { + quoteRepository.On("GetQuote", test.AnyCtx, sendPegoutRetainedQuote.QuoteHash).Return(&sendPegoutTestQuote, nil).Once() rsk.On("GetHeight", test.AnyCtx).Return(uint64(450), nil).Once() - rsk.On("GetTransactionReceipt", test.AnyCtx, retainedQuote.UserRskTxHash).Return(blockchain.TransactionReceipt{ + rsk.On("GetTransactionReceipt", test.AnyCtx, sendPegoutRetainedQuote.UserRskTxHash).Return(blockchain.TransactionReceipt{ TransactionHash: "0x5b5c5d", BlockHash: "0x6e6f6a", BlockNumber: blockNumber, @@ -182,10 +181,10 @@ func getRecoverableSetups() []func(retainedQuote *quote.RetainedPegoutQuote, btc }, nil).Once() rsk.On("GetBlockByHash", test.AnyCtx, mock.Anything).Return(blockchain.BlockInfo{}, assert.AnError).Once() }, - func(retainedQuote *quote.RetainedPegoutQuote, btcWallet *mocks.BtcWalletMock, rsk *mocks.RootstockRpcServerMock, quoteRepository *mocks.PegoutQuoteRepositoryMock, lbc *mocks.LbcMock) { - quoteRepository.On("GetQuote", test.AnyCtx, retainedQuote.QuoteHash).Return(&pegoutQuote, nil).Once() + func(sendPegoutRetainedQuote *quote.RetainedPegoutQuote, btcWallet *mocks.BtcWalletMock, rsk *mocks.RootstockRpcServerMock, quoteRepository *mocks.PegoutQuoteRepositoryMock, lbc *mocks.LbcMock) { + quoteRepository.On("GetQuote", test.AnyCtx, sendPegoutRetainedQuote.QuoteHash).Return(&sendPegoutTestQuote, nil).Once() rsk.On("GetHeight", test.AnyCtx).Return(uint64(450), nil).Once() - rsk.On("GetTransactionReceipt", test.AnyCtx, retainedQuote.UserRskTxHash).Return(blockchain.TransactionReceipt{ + rsk.On("GetTransactionReceipt", test.AnyCtx, sendPegoutRetainedQuote.UserRskTxHash).Return(blockchain.TransactionReceipt{ TransactionHash: "0x5b5c5d", BlockHash: "0x6e6f6a", BlockNumber: blockNumber, @@ -197,12 +196,12 @@ func getRecoverableSetups() []func(retainedQuote *quote.RetainedPegoutQuote, btc }, nil).Once() rsk.On("GetBlockByHash", test.AnyCtx, mock.Anything). Return(blockchain.BlockInfo{Timestamp: time.Unix(int64(now), 0)}, nil).Once() - lbc.On("IsPegOutQuoteCompleted", retainedQuote.QuoteHash).Return(false, assert.AnError).Once() + lbc.On("IsPegOutQuoteCompleted", sendPegoutRetainedQuote.QuoteHash).Return(false, assert.AnError).Once() }, - func(retainedQuote *quote.RetainedPegoutQuote, btcWallet *mocks.BtcWalletMock, rsk *mocks.RootstockRpcServerMock, quoteRepository *mocks.PegoutQuoteRepositoryMock, lbc *mocks.LbcMock) { - quoteRepository.On("GetQuote", test.AnyCtx, retainedQuote.QuoteHash).Return(&pegoutQuote, nil).Once() + func(sendPegoutRetainedQuote *quote.RetainedPegoutQuote, btcWallet *mocks.BtcWalletMock, rsk *mocks.RootstockRpcServerMock, quoteRepository *mocks.PegoutQuoteRepositoryMock, lbc *mocks.LbcMock) { + quoteRepository.On("GetQuote", test.AnyCtx, sendPegoutRetainedQuote.QuoteHash).Return(&sendPegoutTestQuote, nil).Once() rsk.On("GetHeight", test.AnyCtx).Return(uint64(450), nil).Once() - rsk.On("GetTransactionReceipt", test.AnyCtx, retainedQuote.UserRskTxHash).Return(blockchain.TransactionReceipt{ + rsk.On("GetTransactionReceipt", test.AnyCtx, sendPegoutRetainedQuote.UserRskTxHash).Return(blockchain.TransactionReceipt{ TransactionHash: "0x5b5c5d", BlockHash: "0x6e6f6a", BlockNumber: blockNumber, @@ -214,7 +213,7 @@ func getRecoverableSetups() []func(retainedQuote *quote.RetainedPegoutQuote, btc }, nil).Once() rsk.On("GetBlockByHash", test.AnyCtx, mock.Anything). Return(blockchain.BlockInfo{Timestamp: time.Unix(int64(now), 0)}, nil).Once() - lbc.On("IsPegOutQuoteCompleted", retainedQuote.QuoteHash).Return(false, nil).Once() + lbc.On("IsPegOutQuoteCompleted", sendPegoutRetainedQuote.QuoteHash).Return(false, nil).Once() btcWallet.On("GetBalance").Return(entities.NewWei(0), assert.AnError).Once() }, } @@ -225,17 +224,17 @@ func TestSendPegoutUseCase_Run_InsufficientAmount(t *testing.T) { rsk := new(mocks.RootstockRpcServerMock) eventBus := new(mocks.EventBusMock) eventBus.On("Publish", mock.MatchedBy(func(event quote.PegoutBtcSentToUserEvent) bool { - expected := retainedQuote + expected := sendPegoutRetainedQuote expected.State = quote.PegoutStateSendPegoutFailed require.ErrorIs(t, event.Error, usecases.InsufficientAmountError) - return assert.Equal(t, pegoutQuote, event.PegoutQuote) && + return assert.Equal(t, sendPegoutTestQuote, event.PegoutQuote) && assert.Equal(t, expected, event.RetainedQuote) && assert.Equal(t, quote.PegoutBtcSentEventId, event.Event.Id()) })).Return().Once() mutex := new(mocks.MutexMock) rsk.On("GetHeight", test.AnyCtx).Return(uint64(450), nil).Once() - rsk.On("GetTransactionReceipt", test.AnyCtx, retainedQuote.UserRskTxHash).Return(blockchain.TransactionReceipt{ - TransactionHash: retainedQuote.UserRskTxHash, + rsk.On("GetTransactionReceipt", test.AnyCtx, sendPegoutRetainedQuote.UserRskTxHash).Return(blockchain.TransactionReceipt{ + TransactionHash: sendPegoutRetainedQuote.UserRskTxHash, BlockHash: "0x6e6f6a", BlockNumber: blockNumber, From: "0x1234", @@ -245,15 +244,15 @@ func TestSendPegoutUseCase_Run_InsufficientAmount(t *testing.T) { Value: entities.NewWei(8000), }, nil).Once() quoteRepository := new(mocks.PegoutQuoteRepositoryMock) - quoteRepository.On("GetQuote", test.AnyCtx, retainedQuote.QuoteHash).Return(&pegoutQuote, nil).Once() - updatedQuote := retainedQuote + quoteRepository.On("GetQuote", test.AnyCtx, sendPegoutRetainedQuote.QuoteHash).Return(&sendPegoutTestQuote, nil).Once() + updatedQuote := sendPegoutRetainedQuote updatedQuote.State = quote.PegoutStateSendPegoutFailed quoteRepository.On("UpdateRetainedQuote", test.AnyCtx, updatedQuote).Return(nil).Once() lbc := new(mocks.LbcMock) rpc := blockchain.Rpc{Rsk: rsk} - useCase := NewSendPegoutUseCase(btcWallet, quoteRepository, rpc, eventBus, blockchain.RskContracts{Lbc: lbc}, mutex) - err := useCase.Run(context.Background(), retainedQuote) + useCase := pegout.NewSendPegoutUseCase(btcWallet, quoteRepository, rpc, eventBus, blockchain.RskContracts{Lbc: lbc}, mutex) + err := useCase.Run(context.Background(), sendPegoutRetainedQuote) require.ErrorIs(t, err, usecases.InsufficientAmountError) quoteRepository.AssertExpectations(t) @@ -272,8 +271,8 @@ func TestSendPegoutUseCase_Run_NoConfirmations(t *testing.T) { eventBus := new(mocks.EventBusMock) mutex := new(mocks.MutexMock) rsk.On("GetHeight", test.AnyCtx).Return(uint64(450), nil).Once() - rsk.On("GetTransactionReceipt", test.AnyCtx, retainedQuote.UserRskTxHash).Return(blockchain.TransactionReceipt{ - TransactionHash: retainedQuote.UserRskTxHash, + rsk.On("GetTransactionReceipt", test.AnyCtx, sendPegoutRetainedQuote.UserRskTxHash).Return(blockchain.TransactionReceipt{ + TransactionHash: sendPegoutRetainedQuote.UserRskTxHash, BlockHash: "0x6e6f6a", BlockNumber: 445, From: "0x1234", @@ -283,12 +282,12 @@ func TestSendPegoutUseCase_Run_NoConfirmations(t *testing.T) { Value: entities.NewWei(8500), }, nil).Once() quoteRepository := new(mocks.PegoutQuoteRepositoryMock) - quoteRepository.On("GetQuote", test.AnyCtx, retainedQuote.QuoteHash).Return(&pegoutQuote, nil).Once() + quoteRepository.On("GetQuote", test.AnyCtx, sendPegoutRetainedQuote.QuoteHash).Return(&sendPegoutTestQuote, nil).Once() lbc := new(mocks.LbcMock) rpc := blockchain.Rpc{Rsk: rsk} - useCase := NewSendPegoutUseCase(btcWallet, quoteRepository, rpc, eventBus, blockchain.RskContracts{Lbc: lbc}, mutex) - err := useCase.Run(context.Background(), retainedQuote) + useCase := pegout.NewSendPegoutUseCase(btcWallet, quoteRepository, rpc, eventBus, blockchain.RskContracts{Lbc: lbc}, mutex) + err := useCase.Run(context.Background(), sendPegoutRetainedQuote) require.ErrorIs(t, err, usecases.NoEnoughConfirmationsError) quoteRepository.AssertExpectations(t) @@ -303,15 +302,15 @@ func TestSendPegoutUseCase_Run_ExpiredQuote(t *testing.T) { rsk := new(mocks.RootstockRpcServerMock) eventBus := new(mocks.EventBusMock) mutex := new(mocks.MutexMock) - expiredQuote := pegoutQuote + expiredQuote := sendPegoutTestQuote expiredQuote.ExpireDate = now - 60 quoteRepository := new(mocks.PegoutQuoteRepositoryMock) - quoteRepository.On("GetQuote", test.AnyCtx, retainedQuote.QuoteHash).Return(&expiredQuote, nil).Once() - updatedQuote := retainedQuote + quoteRepository.On("GetQuote", test.AnyCtx, sendPegoutRetainedQuote.QuoteHash).Return(&expiredQuote, nil).Once() + updatedQuote := sendPegoutRetainedQuote updatedQuote.State = quote.PegoutStateSendPegoutFailed quoteRepository.On("UpdateRetainedQuote", test.AnyCtx, updatedQuote).Return(nil).Once() eventBus.On("Publish", mock.MatchedBy(func(event quote.PegoutBtcSentToUserEvent) bool { - expected := retainedQuote + expected := sendPegoutRetainedQuote expected.State = quote.PegoutStateSendPegoutFailed require.ErrorIs(t, event.Error, usecases.ExpiredQuoteError) return assert.Equal(t, expiredQuote, event.PegoutQuote) && @@ -319,7 +318,7 @@ func TestSendPegoutUseCase_Run_ExpiredQuote(t *testing.T) { assert.Equal(t, quote.PegoutBtcSentEventId, event.Event.Id()) })).Return().Once() rsk.On("GetHeight", test.AnyCtx).Return(uint64(450), nil).Once() - rsk.On("GetTransactionReceipt", test.AnyCtx, retainedQuote.UserRskTxHash).Return(blockchain.TransactionReceipt{ + rsk.On("GetTransactionReceipt", test.AnyCtx, sendPegoutRetainedQuote.UserRskTxHash).Return(blockchain.TransactionReceipt{ TransactionHash: "0x5b5c5d", BlockHash: blockHash, BlockNumber: blockNumber, @@ -338,8 +337,8 @@ func TestSendPegoutUseCase_Run_ExpiredQuote(t *testing.T) { lbc := new(mocks.LbcMock) rpc := blockchain.Rpc{Rsk: rsk} - useCase := NewSendPegoutUseCase(btcWallet, quoteRepository, rpc, eventBus, blockchain.RskContracts{Lbc: lbc}, mutex) - err := useCase.Run(context.Background(), retainedQuote) + useCase := pegout.NewSendPegoutUseCase(btcWallet, quoteRepository, rpc, eventBus, blockchain.RskContracts{Lbc: lbc}, mutex) + err := useCase.Run(context.Background(), sendPegoutRetainedQuote) require.ErrorIs(t, err, usecases.ExpiredQuoteError) quoteRepository.AssertExpectations(t) @@ -354,8 +353,8 @@ func TestSendPegoutUseCase_Run_NoLiquidity(t *testing.T) { btcWallet.On("GetBalance").Return(entities.NewWei(100), nil).Once() rsk := new(mocks.RootstockRpcServerMock) rsk.On("GetHeight", test.AnyCtx).Return(uint64(450), nil).Once() - rsk.On("GetTransactionReceipt", test.AnyCtx, retainedQuote.UserRskTxHash).Return(blockchain.TransactionReceipt{ - TransactionHash: retainedQuote.UserRskTxHash, + rsk.On("GetTransactionReceipt", test.AnyCtx, sendPegoutRetainedQuote.UserRskTxHash).Return(blockchain.TransactionReceipt{ + TransactionHash: sendPegoutRetainedQuote.UserRskTxHash, BlockHash: blockHash, BlockNumber: blockNumber, From: "0x1234", @@ -375,13 +374,13 @@ func TestSendPegoutUseCase_Run_NoLiquidity(t *testing.T) { mutex.On("Lock").Return().Once() mutex.On("Unlock").Return().Once() quoteRepository := new(mocks.PegoutQuoteRepositoryMock) - quoteRepository.On("GetQuote", test.AnyCtx, retainedQuote.QuoteHash).Return(&pegoutQuote, nil).Once() + quoteRepository.On("GetQuote", test.AnyCtx, sendPegoutRetainedQuote.QuoteHash).Return(&sendPegoutTestQuote, nil).Once() lbc := new(mocks.LbcMock) - lbc.On("IsPegOutQuoteCompleted", retainedQuote.QuoteHash).Return(false, nil).Once() + lbc.On("IsPegOutQuoteCompleted", sendPegoutRetainedQuote.QuoteHash).Return(false, nil).Once() rpc := blockchain.Rpc{Rsk: rsk} - useCase := NewSendPegoutUseCase(btcWallet, quoteRepository, rpc, eventBus, blockchain.RskContracts{Lbc: lbc}, mutex) - err := useCase.Run(context.Background(), retainedQuote) + useCase := pegout.NewSendPegoutUseCase(btcWallet, quoteRepository, rpc, eventBus, blockchain.RskContracts{Lbc: lbc}, mutex) + err := useCase.Run(context.Background(), sendPegoutRetainedQuote) require.ErrorIs(t, err, usecases.NoLiquidityError) quoteRepository.AssertExpectations(t) @@ -398,12 +397,12 @@ func TestSendPegoutUseCase_Run_QuoteNotFound(t *testing.T) { eventBus := new(mocks.EventBusMock) mutex := new(mocks.MutexMock) quoteRepository := new(mocks.PegoutQuoteRepositoryMock) - quoteRepository.On("GetQuote", test.AnyCtx, retainedQuote.QuoteHash).Return(nil, nil).Once() - updatedQuote := retainedQuote + quoteRepository.On("GetQuote", test.AnyCtx, sendPegoutRetainedQuote.QuoteHash).Return(nil, nil).Once() + updatedQuote := sendPegoutRetainedQuote updatedQuote.State = quote.PegoutStateSendPegoutFailed quoteRepository.On("UpdateRetainedQuote", test.AnyCtx, updatedQuote).Return(nil).Once() eventBus.On("Publish", mock.MatchedBy(func(event quote.PegoutBtcSentToUserEvent) bool { - expected := retainedQuote + expected := sendPegoutRetainedQuote expected.State = quote.PegoutStateSendPegoutFailed require.ErrorIs(t, event.Error, usecases.QuoteNotFoundError) return assert.Equal(t, quote.PegoutQuote{}, event.PegoutQuote) && assert.Equal(t, expected, event.RetainedQuote) && assert.Equal(t, quote.PegoutBtcSentEventId, event.Event.Id()) @@ -411,8 +410,8 @@ func TestSendPegoutUseCase_Run_QuoteNotFound(t *testing.T) { lbc := new(mocks.LbcMock) rpc := blockchain.Rpc{Rsk: rsk} - useCase := NewSendPegoutUseCase(btcWallet, quoteRepository, rpc, eventBus, blockchain.RskContracts{Lbc: lbc}, mutex) - err := useCase.Run(context.Background(), retainedQuote) + useCase := pegout.NewSendPegoutUseCase(btcWallet, quoteRepository, rpc, eventBus, blockchain.RskContracts{Lbc: lbc}, mutex) + err := useCase.Run(context.Background(), sendPegoutRetainedQuote) require.ErrorIs(t, err, usecases.QuoteNotFoundError) quoteRepository.AssertExpectations(t) @@ -427,21 +426,21 @@ func TestSendPegoutUseCase_Run_QuoteNotFound(t *testing.T) { func TestSendPegoutUseCase_Run_BtcTxFail(t *testing.T) { btcWallet := new(mocks.BtcWalletMock) btcWallet.On("GetBalance").Return(entities.NewWei(10000), nil).Once() - quoteHash, _ := hex.DecodeString(retainedQuote.QuoteHash) - btcWallet.On("SendWithOpReturn", retainedQuote.DepositAddress, pegoutQuote.Value, quoteHash).Return("", assert.AnError).Once() + quoteHash, _ := hex.DecodeString(sendPegoutRetainedQuote.QuoteHash) + btcWallet.On("SendWithOpReturn", sendPegoutRetainedQuote.DepositAddress, sendPegoutTestQuote.Value, quoteHash).Return("", assert.AnError).Once() rsk := new(mocks.RootstockRpcServerMock) eventBus := new(mocks.EventBusMock) eventBus.On("Publish", mock.MatchedBy(func(event quote.PegoutBtcSentToUserEvent) bool { - expected := retainedQuote + expected := sendPegoutRetainedQuote expected.State = quote.PegoutStateSendPegoutFailed require.Error(t, event.Error) - return assert.Equal(t, pegoutQuote, event.PegoutQuote) && assert.Equal(t, expected, event.RetainedQuote) && assert.Equal(t, quote.PegoutBtcSentEventId, event.Event.Id()) + return assert.Equal(t, sendPegoutTestQuote, event.PegoutQuote) && assert.Equal(t, expected, event.RetainedQuote) && assert.Equal(t, quote.PegoutBtcSentEventId, event.Event.Id()) })).Return().Once() mutex := new(mocks.MutexMock) mutex.On("Lock").Return().Once() mutex.On("Unlock").Return().Once() rsk.On("GetHeight", test.AnyCtx).Return(uint64(450), nil).Once() - rsk.On("GetTransactionReceipt", test.AnyCtx, retainedQuote.UserRskTxHash).Return(blockchain.TransactionReceipt{ + rsk.On("GetTransactionReceipt", test.AnyCtx, sendPegoutRetainedQuote.UserRskTxHash).Return(blockchain.TransactionReceipt{ TransactionHash: "0x5b5c5d", BlockHash: blockHash, BlockNumber: blockNumber, @@ -458,16 +457,16 @@ func TestSendPegoutUseCase_Run_BtcTxFail(t *testing.T) { Nonce: 1, }, nil).Once() quoteRepository := new(mocks.PegoutQuoteRepositoryMock) - quoteRepository.On("GetQuote", test.AnyCtx, retainedQuote.QuoteHash).Return(&pegoutQuote, nil).Once() - updatedQuote := retainedQuote + quoteRepository.On("GetQuote", test.AnyCtx, sendPegoutRetainedQuote.QuoteHash).Return(&sendPegoutTestQuote, nil).Once() + updatedQuote := sendPegoutRetainedQuote updatedQuote.State = quote.PegoutStateSendPegoutFailed quoteRepository.On("UpdateRetainedQuote", test.AnyCtx, updatedQuote).Return(nil).Once() lbc := new(mocks.LbcMock) - lbc.On("IsPegOutQuoteCompleted", retainedQuote.QuoteHash).Return(false, nil).Once() + lbc.On("IsPegOutQuoteCompleted", sendPegoutRetainedQuote.QuoteHash).Return(false, nil).Once() rpc := blockchain.Rpc{Rsk: rsk} - useCase := NewSendPegoutUseCase(btcWallet, quoteRepository, rpc, eventBus, blockchain.RskContracts{Lbc: lbc}, mutex) - err := useCase.Run(context.Background(), retainedQuote) + useCase := pegout.NewSendPegoutUseCase(btcWallet, quoteRepository, rpc, eventBus, blockchain.RskContracts{Lbc: lbc}, mutex) + err := useCase.Run(context.Background(), sendPegoutRetainedQuote) require.Error(t, err) btcWallet.AssertExpectations(t) @@ -482,15 +481,15 @@ func TestSendPegoutUseCase_Run_UpdateError(t *testing.T) { btcTxHash := "0x5b5c5d" btcWallet := new(mocks.BtcWalletMock) btcWallet.On("GetBalance").Return(entities.NewWei(10000), nil) - quoteHash, _ := hex.DecodeString(retainedQuote.QuoteHash) - btcWallet.On("SendWithOpReturn", retainedQuote.DepositAddress, pegoutQuote.Value, quoteHash).Return(btcTxHash, nil) + quoteHash, _ := hex.DecodeString(sendPegoutRetainedQuote.QuoteHash) + btcWallet.On("SendWithOpReturn", sendPegoutRetainedQuote.DepositAddress, sendPegoutTestQuote.Value, quoteHash).Return(btcTxHash, nil) rsk := new(mocks.RootstockRpcServerMock) mutex := new(mocks.MutexMock) mutex.On("Lock").Return() mutex.On("Unlock").Return() rsk.On("GetHeight", test.AnyCtx).Return(uint64(450), nil) - rsk.On("GetTransactionReceipt", test.AnyCtx, retainedQuote.UserRskTxHash).Return(blockchain.TransactionReceipt{ - TransactionHash: retainedQuote.UserRskTxHash, Value: entities.NewWei(8500), + rsk.On("GetTransactionReceipt", test.AnyCtx, sendPegoutRetainedQuote.UserRskTxHash).Return(blockchain.TransactionReceipt{ + TransactionHash: sendPegoutRetainedQuote.UserRskTxHash, Value: entities.NewWei(8500), BlockHash: blockHash, BlockNumber: blockNumber, From: "0x1234", To: "0x5678", CumulativeGasUsed: big.NewInt(500), GasUsed: big.NewInt(500), }, nil) @@ -500,37 +499,37 @@ func TestSendPegoutUseCase_Run_UpdateError(t *testing.T) { lbc := new(mocks.LbcMock) lbc.On("IsPegOutQuoteCompleted", mock.Anything).Return(false, nil) - setups := []func(retainedQuote *quote.RetainedPegoutQuote, quoteRepository *mocks.PegoutQuoteRepositoryMock, eventBus *mocks.EventBusMock){ - func(retainedQuote *quote.RetainedPegoutQuote, quoteRepository *mocks.PegoutQuoteRepositoryMock, eventBus *mocks.EventBusMock) { - quoteRepository.On("GetQuote", test.AnyCtx, retainedQuote.QuoteHash).Return(&pegoutQuote, nil).Once() + setups := []func(sendPegoutRetainedQuote *quote.RetainedPegoutQuote, quoteRepository *mocks.PegoutQuoteRepositoryMock, eventBus *mocks.EventBusMock){ + func(sendPegoutRetainedQuote *quote.RetainedPegoutQuote, quoteRepository *mocks.PegoutQuoteRepositoryMock, eventBus *mocks.EventBusMock) { + quoteRepository.On("GetQuote", test.AnyCtx, sendPegoutRetainedQuote.QuoteHash).Return(&sendPegoutTestQuote, nil).Once() quoteRepository.On("UpdateRetainedQuote", test.AnyCtx, mock.Anything).Return(assert.AnError).Once() eventBus.On("Publish", mock.MatchedBy(func(event quote.PegoutBtcSentToUserEvent) bool { - expected := *retainedQuote + expected := *sendPegoutRetainedQuote expected.LpBtcTxHash = btcTxHash expected.State = quote.PegoutStateSendPegoutSucceeded require.NoError(t, event.Error) - return assert.Equal(t, pegoutQuote, event.PegoutQuote) && assert.Equal(t, expected, event.RetainedQuote) && assert.Equal(t, quote.PegoutBtcSentEventId, event.Event.Id()) + return assert.Equal(t, sendPegoutTestQuote, event.PegoutQuote) && assert.Equal(t, expected, event.RetainedQuote) && assert.Equal(t, quote.PegoutBtcSentEventId, event.Event.Id()) })).Return().Once() }, - func(retainedQuote *quote.RetainedPegoutQuote, quoteRepository *mocks.PegoutQuoteRepositoryMock, eventBus *mocks.EventBusMock) { - retainedQuote.QuoteHash = "no hex" - quoteRepository.On("GetQuote", test.AnyCtx, retainedQuote.QuoteHash).Return(&pegoutQuote, nil).Once() + func(sendPegoutRetainedQuote *quote.RetainedPegoutQuote, quoteRepository *mocks.PegoutQuoteRepositoryMock, eventBus *mocks.EventBusMock) { + sendPegoutRetainedQuote.QuoteHash = "no hex" + quoteRepository.On("GetQuote", test.AnyCtx, sendPegoutRetainedQuote.QuoteHash).Return(&sendPegoutTestQuote, nil).Once() quoteRepository.On("UpdateRetainedQuote", test.AnyCtx, mock.Anything).Return(assert.AnError).Once() eventBus.On("Publish", mock.MatchedBy(func(event quote.PegoutBtcSentToUserEvent) bool { - expected := *retainedQuote + expected := *sendPegoutRetainedQuote expected.State = quote.PegoutStateSendPegoutFailed require.Error(t, event.Error) - return assert.Equal(t, pegoutQuote, event.PegoutQuote) && assert.Equal(t, expected, event.RetainedQuote) && assert.Equal(t, quote.PegoutBtcSentEventId, event.Event.Id()) + return assert.Equal(t, sendPegoutTestQuote, event.PegoutQuote) && assert.Equal(t, expected, event.RetainedQuote) && assert.Equal(t, quote.PegoutBtcSentEventId, event.Event.Id()) })).Return().Once() }, } for _, setup := range setups { - caseQuote := retainedQuote + caseQuote := sendPegoutRetainedQuote quoteRepository := new(mocks.PegoutQuoteRepositoryMock) eventBus := new(mocks.EventBusMock) setup(&caseQuote, quoteRepository, eventBus) rpc := blockchain.Rpc{Rsk: rsk} - useCase := NewSendPegoutUseCase(btcWallet, quoteRepository, rpc, eventBus, blockchain.RskContracts{Lbc: lbc}, mutex) + useCase := pegout.NewSendPegoutUseCase(btcWallet, quoteRepository, rpc, eventBus, blockchain.RskContracts{Lbc: lbc}, mutex) err := useCase.Run(context.Background(), caseQuote) quoteRepository.AssertExpectations(t) require.Error(t, err) @@ -548,20 +547,20 @@ func TestSendPegoutUseCase_Run_QuoteAlreadyCompleted(t *testing.T) { eventBus := new(mocks.EventBusMock) mutex := new(mocks.MutexMock) quoteRepository := new(mocks.PegoutQuoteRepositoryMock) - quoteRepository.On("GetQuote", test.AnyCtx, retainedQuote.QuoteHash).Return(&pegoutQuote, nil).Once() - updatedQuote := retainedQuote + quoteRepository.On("GetQuote", test.AnyCtx, sendPegoutRetainedQuote.QuoteHash).Return(&sendPegoutTestQuote, nil).Once() + updatedQuote := sendPegoutRetainedQuote updatedQuote.State = quote.PegoutStateSendPegoutFailed quoteRepository.On("UpdateRetainedQuote", test.AnyCtx, updatedQuote).Return(nil).Once() eventBus.On("Publish", mock.MatchedBy(func(event quote.PegoutBtcSentToUserEvent) bool { - expected := retainedQuote + expected := sendPegoutRetainedQuote expected.State = quote.PegoutStateSendPegoutFailed require.ErrorContains(t, event.Error, errorMsg) - return assert.Equal(t, pegoutQuote, event.PegoutQuote) && + return assert.Equal(t, sendPegoutTestQuote, event.PegoutQuote) && assert.Equal(t, expected, event.RetainedQuote) && assert.Equal(t, quote.PegoutBtcSentEventId, event.Event.Id()) })).Return().Once() rsk.On("GetHeight", test.AnyCtx).Return(uint64(450), nil).Once() - rsk.On("GetTransactionReceipt", test.AnyCtx, retainedQuote.UserRskTxHash).Return(blockchain.TransactionReceipt{ + rsk.On("GetTransactionReceipt", test.AnyCtx, sendPegoutRetainedQuote.UserRskTxHash).Return(blockchain.TransactionReceipt{ TransactionHash: "0x5b5c5d", BlockHash: blockHash, BlockNumber: blockNumber, @@ -578,11 +577,11 @@ func TestSendPegoutUseCase_Run_QuoteAlreadyCompleted(t *testing.T) { Nonce: 1, }, nil).Once() lbc := new(mocks.LbcMock) - lbc.On("IsPegOutQuoteCompleted", retainedQuote.QuoteHash).Return(true, nil).Once() + lbc.On("IsPegOutQuoteCompleted", sendPegoutRetainedQuote.QuoteHash).Return(true, nil).Once() rpc := blockchain.Rpc{Rsk: rsk} - useCase := NewSendPegoutUseCase(btcWallet, quoteRepository, rpc, eventBus, blockchain.RskContracts{Lbc: lbc}, mutex) - err := useCase.Run(context.Background(), retainedQuote) + useCase := pegout.NewSendPegoutUseCase(btcWallet, quoteRepository, rpc, eventBus, blockchain.RskContracts{Lbc: lbc}, mutex) + err := useCase.Run(context.Background(), sendPegoutRetainedQuote) require.ErrorContains(t, err, errorMsg) quoteRepository.AssertExpectations(t) diff --git a/pkg/pegin.go b/pkg/pegin.go index 028ebd29..38a3039f 100644 --- a/pkg/pegin.go +++ b/pkg/pegin.go @@ -10,7 +10,6 @@ type PeginQuoteRequest struct { CallContractArguments string `json:"callContractArguments" required:"" validate:"" example:"0x0" description:"Contract data"` ValueToTransfer uint64 `json:"valueToTransfer" required:"" validate:"required" example:"0x0" description:"Value to send in the call"` RskRefundAddress string `json:"rskRefundAddress" required:"" validate:"required,eth_addr" example:"0x0" description:"User RSK refund address"` - BitcoinRefundAddress string `json:"bitcoinRefundAddress" required:"" validate:"required" example:"0x0" description:"User Bitcoin refund address. Note: Must be a legacy address, segwit addresses are not accepted"` } type PeginQuoteDTO struct { diff --git a/pkg/pegout.go b/pkg/pegout.go index 7c5250ac..801702e3 100644 --- a/pkg/pegout.go +++ b/pkg/pegout.go @@ -7,10 +7,9 @@ import ( ) type PegoutQuoteRequest struct { - To string `json:"to" required:"" validate:"required" description:"Bitcoin address that will receive the BTC amount"` - ValueToTransfer uint64 `json:"valueToTransfer" required:"" validate:"required" example:"10000000000000" description:"ValueToTransfer"` - RskRefundAddress string `json:"rskRefundAddress" required:"" validate:"required,eth_addr" example:"0x0" description:"RskRefundAddress"` - BitcoinRefundAddress string `json:"bitcoinRefundAddress" required:"" validate:"required" example:"0x0" description:"BitcoinRefundAddress"` + To string `json:"to" required:"" validate:"required" description:"Bitcoin address that will receive the BTC amount"` + ValueToTransfer uint64 `json:"valueToTransfer" required:"" validate:"required" example:"10000000000000" description:"ValueToTransfer"` + RskRefundAddress string `json:"rskRefundAddress" required:"" validate:"required,eth_addr" example:"0x0" description:"RskRefundAddress"` } type PegoutQuoteDTO struct { diff --git a/test/integration/pegin_test.go b/test/integration/pegin_test.go index 7cab1651..d12cade1 100644 --- a/test/integration/pegin_test.go +++ b/test/integration/pegin_test.go @@ -74,7 +74,6 @@ func getPeginQuoteTest(s *IntegrationTestSuite, url string, quoteResponse *pkg.G CallContractArguments: "", ValueToTransfer: 600000000000000000, RskRefundAddress: "0x79568c2989232dCa1840087D73d403602364c0D4", - BitcoinRefundAddress: "n1zjV3WxJgA4dBfS5aMiEHtZsjTUvAL7p7", } result, err := execute[[]pkg.GetPeginQuoteResponse](Execution{ diff --git a/test/integration/pegout_test.go b/test/integration/pegout_test.go index 8f0e0df5..c21c5f61 100644 --- a/test/integration/pegout_test.go +++ b/test/integration/pegout_test.go @@ -35,10 +35,9 @@ func (s *IntegrationTestSuite) TestSuccessfulPegOutFlow() { s.Run("Should be able to get pegout quote", func() { body := pkg.PegoutQuoteRequest{ - To: "n1zjV3WxJgA4dBfS5aMiEHtZsjTUvAL7p7", - ValueToTransfer: 600000000000000000, - RskRefundAddress: "0x79568c2989232dCa1840087D73d403602364c0D4", - BitcoinRefundAddress: "n1zjV3WxJgA4dBfS5aMiEHtZsjTUvAL7p7", + To: "n1zjV3WxJgA4dBfS5aMiEHtZsjTUvAL7p7", + ValueToTransfer: 600000000000000000, + RskRefundAddress: "0x79568c2989232dCa1840087D73d403602364c0D4", } result, err := execute[[]pkg.GetPegoutQuoteResponse](Execution{ @@ -196,11 +195,11 @@ func lookForTxToAddress(block *wire.MsgBlock, target btcutil.Address, params *ch } func parseLbcPegoutQuote(s *IntegrationTestSuite, originalQuote pkg.PegoutQuoteDTO) bindings.QuotesPegOutQuote { - lpBtcAddress, err := bitcoin.DecodeAddressBase58OnlyLegacy(originalQuote.LpBTCAddr, true) + lpBtcAddress, err := bitcoin.DecodeAddress(originalQuote.LpBTCAddr) s.NoError(err) - btcRefundAddress, err := bitcoin.DecodeAddressBase58OnlyLegacy(originalQuote.BtcRefundAddr, true) + btcRefundAddress, err := bitcoin.DecodeAddress(originalQuote.BtcRefundAddr) s.NoError(err) - depositAddress, err := bitcoin.DecodeAddressBase58OnlyLegacy(originalQuote.DepositAddr, true) + depositAddress, err := bitcoin.DecodeAddress(originalQuote.DepositAddr) s.NoError(err) return bindings.QuotesPegOutQuote{ LbcAddress: common.HexToAddress(originalQuote.LBCAddr), diff --git a/test/mocks/bridge_mock.go b/test/mocks/bridge_mock.go index f1705b46..180d9123 100644 --- a/test/mocks/bridge_mock.go +++ b/test/mocks/bridge_mock.go @@ -42,3 +42,8 @@ func (m *BridgeMock) FetchFederationInfo() (blockchain.FederationInfo, error) { func (m *BridgeMock) GetRequiredTxConfirmations() uint64 { return m.Called().Get(0).(uint64) } + +func (m *BridgeMock) RegisterBtcCoinbaseTransaction(registrationParams blockchain.BtcCoinbaseTransactionInformation) (string, error) { + args := m.Called(registrationParams) + return args.String(0), args.Error(1) +} diff --git a/test/mocks/btc_rpc_mock.go b/test/mocks/btc_rpc_mock.go index 2c319a9e..ba7ffa75 100644 --- a/test/mocks/btc_rpc_mock.go +++ b/test/mocks/btc_rpc_mock.go @@ -3,6 +3,7 @@ package mocks import ( "github.com/rsksmart/liquidity-provider-server/internal/entities/blockchain" "github.com/stretchr/testify/mock" + "math/big" ) type BtcRpcMock struct { @@ -33,8 +34,8 @@ func (m *BtcRpcMock) GetTransactionBlockInfo(txHash string) (blockchain.BitcoinB return args.Get(0).(blockchain.BitcoinBlockInformation), args.Error(1) } -func (m *BtcRpcMock) DecodeAddress(address string, keepVersion bool) ([]byte, error) { - args := m.Called(address, keepVersion) +func (m *BtcRpcMock) DecodeAddress(address string) ([]byte, error) { + args := m.Called(address) if args.Get(0) == nil { return nil, args.Error(1) } @@ -50,3 +51,21 @@ func (m *BtcRpcMock) ValidateAddress(address string) error { args := m.Called(address) return args.Error(0) } + +func (m *BtcRpcMock) GetHeight() (*big.Int, error) { + args := m.Called() + if args.Get(0) == nil { + return nil, args.Error(1) + } + return args.Get(0).(*big.Int), args.Error(1) +} + +func (m *BtcRpcMock) GetCoinbaseInformation(txHash string) (blockchain.BtcCoinbaseTransactionInformation, error) { + args := m.Called(txHash) + return args.Get(0).(blockchain.BtcCoinbaseTransactionInformation), args.Error(1) +} + +func (m *BtcRpcMock) NetworkName() string { + args := m.Called() + return args.String(0) +} diff --git a/test/mocks/btc_wallet_mock.go b/test/mocks/btc_wallet_mock.go index 08037a2b..fecbc1ce 100644 --- a/test/mocks/btc_wallet_mock.go +++ b/test/mocks/btc_wallet_mock.go @@ -25,3 +25,16 @@ func (m *BtcWalletMock) SendWithOpReturn(address string, value *entities.Wei, op args := m.Called(address, value, opReturnContent) return args.String(0), args.Error(1) } + +func (m *BtcWalletMock) ImportAddress(address string) error { + args := m.Called(address) + return args.Error(0) +} + +func (m *BtcWalletMock) GetTransactions(address string) ([]blockchain.BitcoinTransactionInformation, error) { + args := m.Called(address) + if args.Get(0) == nil { + return nil, args.Error(1) + } + return args.Get(0).([]blockchain.BitcoinTransactionInformation), args.Error(1) +} diff --git a/test/mocks/getRawTransactionVerboseWitness.json b/test/mocks/getRawTransactionVerboseWitness.json new file mode 100644 index 00000000..2f19863e --- /dev/null +++ b/test/mocks/getRawTransactionVerboseWitness.json @@ -0,0 +1,66 @@ +{ + "txid": "0b9b2c99aa47b7effdd1d945a9ebad5374666ed13883960e80f2e8ff92088687", + "hash": "e5f769006bae0a3ecd525eddd3179e8669b6759919f47b842b20452e3b4b2484", + "version": 1, + "size": 370, + "vsize": 208, + "weight": 832, + "locktime": 0, + "vin": [ + { + "txid": "1b4026be9772303db1522d9dee594f70e9d419b2471c70048cb9bfc12e12b78a", + "vout": 0, + "scriptSig": { + "asm": "", + "hex": "" + }, + "txinwitness": [ + "3044022025182309094bd616f3780f1a90095c3b1ae18fbf941699f759c292058c87a08a02206275a870dec4aa296578927552733e643c6eb621443c986541c4390b269390b901", + "0371f8deb4872e62048c3f997d640b9a3e55a893415d868b5a474d8258e8532da9" + ], + "sequence": 4294967295 + }, + { + "txid": "1b4026be9772303db1522d9dee594f70e9d419b2471c70048cb9bfc12e12b78a", + "vout": 1, + "scriptSig": { + "asm": "", + "hex": "" + }, + "txinwitness": [ + "304402206c31cf2118248bebcf7d41d977dffe0dca124fd07b884bc25750e94ac64c4b100220709c8373977a4a93b33841a9b865be4cb83c172a8ce86a07461104011e275b3801", + "0371f8deb4872e62048c3f997d640b9a3e55a893415d868b5a474d8258e8532da9" + ], + "sequence": 4294967295 + } + ], + "vout": [ + { + "value": 0.00049899, + "n": 0, + "scriptPubKey": { + "asm": "0 a2e12c105e36f2b7f8865f37db2fd129291be16b", + "desc": "addr(tb1q5tsjcyz7xmet07yxtumakt739y53hcttmntajq)#k2em09k8", + "hex": "0014a2e12c105e36f2b7f8865f37db2fd129291be16b", + "address": "tb1q5tsjcyz7xmet07yxtumakt739y53hcttmntajq", + "type": "witness_v0_keyhash" + } + }, + { + "value": 0.03220659, + "n": 1, + "scriptPubKey": { + "asm": "0 ae9e1975f3782cfebf62fbfbb6e69fd84bd9d1d8", + "desc": "addr(tb1q460pja0n0qk0a0mzl0amde5lmp9an5wc9tv9yz)#kyw670rk", + "hex": "0014ae9e1975f3782cfebf62fbfbb6e69fd84bd9d1d8", + "address": "tb1q460pja0n0qk0a0mzl0amde5lmp9an5wc9tv9yz", + "type": "witness_v0_keyhash" + } + } + ], + "hex": "010000000001028ab7122ec1bfb98c04701c47b219d4e9704f59ee9d2d52b13d307297be26401b0000000000ffffffff8ab7122ec1bfb98c04701c47b219d4e9704f59ee9d2d52b13d307297be26401b0100000000ffffffff02ebc2000000000000160014a2e12c105e36f2b7f8865f37db2fd129291be16bb324310000000000160014ae9e1975f3782cfebf62fbfbb6e69fd84bd9d1d802473044022025182309094bd616f3780f1a90095c3b1ae18fbf941699f759c292058c87a08a02206275a870dec4aa296578927552733e643c6eb621443c986541c4390b269390b901210371f8deb4872e62048c3f997d640b9a3e55a893415d868b5a474d8258e8532da90247304402206c31cf2118248bebcf7d41d977dffe0dca124fd07b884bc25750e94ac64c4b100220709c8373977a4a93b33841a9b865be4cb83c172a8ce86a07461104011e275b3801210371f8deb4872e62048c3f997d640b9a3e55a893415d868b5a474d8258e8532da900000000", + "blockhash": "00000000001e94d85c3e736aa4071d36d26547713820a27af9edbe97489c696f", + "confirmations": 286342, + "time": 1710931198, + "blocktime": 1710931198 +} \ No newline at end of file diff --git a/test/mocks/lbc_adapter_mock.go b/test/mocks/lbc_adapter_mock.go index baeadabe..31ce2a55 100644 --- a/test/mocks/lbc_adapter_mock.go +++ b/test/mocks/lbc_adapter_mock.go @@ -205,19 +205,19 @@ func (_c *LbcAdapterMock_CallForUser_Call) RunAndReturn(run func(*bind.TransactO } // Caller provides a mock function with given fields: -func (_m *LbcAdapterMock) Caller() rootstock.LbcCallerBinding { +func (_m *LbcAdapterMock) Caller() rootstock.ContractCallerBinding { ret := _m.Called() if len(ret) == 0 { panic("no return value specified for Caller") } - var r0 rootstock.LbcCallerBinding - if rf, ok := ret.Get(0).(func() rootstock.LbcCallerBinding); ok { + var r0 rootstock.ContractCallerBinding + if rf, ok := ret.Get(0).(func() rootstock.ContractCallerBinding); ok { r0 = rf() } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(rootstock.LbcCallerBinding) + r0 = ret.Get(0).(rootstock.ContractCallerBinding) } } @@ -241,12 +241,12 @@ func (_c *LbcAdapterMock_Caller_Call) Run(run func()) *LbcAdapterMock_Caller_Cal return _c } -func (_c *LbcAdapterMock_Caller_Call) Return(_a0 rootstock.LbcCallerBinding) *LbcAdapterMock_Caller_Call { +func (_c *LbcAdapterMock_Caller_Call) Return(_a0 rootstock.ContractCallerBinding) *LbcAdapterMock_Caller_Call { _c.Call.Return(_a0) return _c } -func (_c *LbcAdapterMock_Caller_Call) RunAndReturn(run func() rootstock.LbcCallerBinding) *LbcAdapterMock_Caller_Call { +func (_c *LbcAdapterMock_Caller_Call) RunAndReturn(run func() rootstock.ContractCallerBinding) *LbcAdapterMock_Caller_Call { _c.Call.Return(run) return _c } @@ -652,6 +652,63 @@ func (_c *LbcAdapterMock_GetPegoutCollateral_Call) RunAndReturn(run func(*bind.C return _c } +// GetProvider provides a mock function with given fields: opts, providerAddress +func (_m *LbcAdapterMock) GetProvider(opts *bind.CallOpts, providerAddress common.Address) (bindings.LiquidityBridgeContractLiquidityProvider, error) { + ret := _m.Called(opts, providerAddress) + + if len(ret) == 0 { + panic("no return value specified for GetProvider") + } + + var r0 bindings.LiquidityBridgeContractLiquidityProvider + var r1 error + if rf, ok := ret.Get(0).(func(*bind.CallOpts, common.Address) (bindings.LiquidityBridgeContractLiquidityProvider, error)); ok { + return rf(opts, providerAddress) + } + if rf, ok := ret.Get(0).(func(*bind.CallOpts, common.Address) bindings.LiquidityBridgeContractLiquidityProvider); ok { + r0 = rf(opts, providerAddress) + } else { + r0 = ret.Get(0).(bindings.LiquidityBridgeContractLiquidityProvider) + } + + if rf, ok := ret.Get(1).(func(*bind.CallOpts, common.Address) error); ok { + r1 = rf(opts, providerAddress) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// LbcAdapterMock_GetProvider_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProvider' +type LbcAdapterMock_GetProvider_Call struct { + *mock.Call +} + +// GetProvider is a helper method to define mock.On call +// - opts *bind.CallOpts +// - providerAddress common.Address +func (_e *LbcAdapterMock_Expecter) GetProvider(opts interface{}, providerAddress interface{}) *LbcAdapterMock_GetProvider_Call { + return &LbcAdapterMock_GetProvider_Call{Call: _e.mock.On("GetProvider", opts, providerAddress)} +} + +func (_c *LbcAdapterMock_GetProvider_Call) Run(run func(opts *bind.CallOpts, providerAddress common.Address)) *LbcAdapterMock_GetProvider_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*bind.CallOpts), args[1].(common.Address)) + }) + return _c +} + +func (_c *LbcAdapterMock_GetProvider_Call) Return(_a0 bindings.LiquidityBridgeContractLiquidityProvider, _a1 error) *LbcAdapterMock_GetProvider_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *LbcAdapterMock_GetProvider_Call) RunAndReturn(run func(*bind.CallOpts, common.Address) (bindings.LiquidityBridgeContractLiquidityProvider, error)) *LbcAdapterMock_GetProvider_Call { + _c.Call.Return(run) + return _c +} + // GetProviderIds provides a mock function with given fields: opts func (_m *LbcAdapterMock) GetProviderIds(opts *bind.CallOpts) (*big.Int, error) { ret := _m.Called(opts) @@ -710,9 +767,9 @@ func (_c *LbcAdapterMock_GetProviderIds_Call) RunAndReturn(run func(*bind.CallOp return _c } -// GetProviders provides a mock function with given fields: opts, providerIds -func (_m *LbcAdapterMock) GetProviders(opts *bind.CallOpts, providerIds []*big.Int) ([]bindings.LiquidityBridgeContractLiquidityProvider, error) { - ret := _m.Called(opts, providerIds) +// GetProviders provides a mock function with given fields: opts +func (_m *LbcAdapterMock) GetProviders(opts *bind.CallOpts) ([]bindings.LiquidityBridgeContractLiquidityProvider, error) { + ret := _m.Called(opts) if len(ret) == 0 { panic("no return value specified for GetProviders") @@ -720,19 +777,19 @@ func (_m *LbcAdapterMock) GetProviders(opts *bind.CallOpts, providerIds []*big.I var r0 []bindings.LiquidityBridgeContractLiquidityProvider var r1 error - if rf, ok := ret.Get(0).(func(*bind.CallOpts, []*big.Int) ([]bindings.LiquidityBridgeContractLiquidityProvider, error)); ok { - return rf(opts, providerIds) + if rf, ok := ret.Get(0).(func(*bind.CallOpts) ([]bindings.LiquidityBridgeContractLiquidityProvider, error)); ok { + return rf(opts) } - if rf, ok := ret.Get(0).(func(*bind.CallOpts, []*big.Int) []bindings.LiquidityBridgeContractLiquidityProvider); ok { - r0 = rf(opts, providerIds) + if rf, ok := ret.Get(0).(func(*bind.CallOpts) []bindings.LiquidityBridgeContractLiquidityProvider); ok { + r0 = rf(opts) } else { if ret.Get(0) != nil { r0 = ret.Get(0).([]bindings.LiquidityBridgeContractLiquidityProvider) } } - if rf, ok := ret.Get(1).(func(*bind.CallOpts, []*big.Int) error); ok { - r1 = rf(opts, providerIds) + if rf, ok := ret.Get(1).(func(*bind.CallOpts) error); ok { + r1 = rf(opts) } else { r1 = ret.Error(1) } @@ -747,14 +804,13 @@ type LbcAdapterMock_GetProviders_Call struct { // GetProviders is a helper method to define mock.On call // - opts *bind.CallOpts -// - providerIds []*big.Int -func (_e *LbcAdapterMock_Expecter) GetProviders(opts interface{}, providerIds interface{}) *LbcAdapterMock_GetProviders_Call { - return &LbcAdapterMock_GetProviders_Call{Call: _e.mock.On("GetProviders", opts, providerIds)} +func (_e *LbcAdapterMock_Expecter) GetProviders(opts interface{}) *LbcAdapterMock_GetProviders_Call { + return &LbcAdapterMock_GetProviders_Call{Call: _e.mock.On("GetProviders", opts)} } -func (_c *LbcAdapterMock_GetProviders_Call) Run(run func(opts *bind.CallOpts, providerIds []*big.Int)) *LbcAdapterMock_GetProviders_Call { +func (_c *LbcAdapterMock_GetProviders_Call) Run(run func(opts *bind.CallOpts)) *LbcAdapterMock_GetProviders_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*bind.CallOpts), args[1].([]*big.Int)) + run(args[0].(*bind.CallOpts)) }) return _c } @@ -764,7 +820,7 @@ func (_c *LbcAdapterMock_GetProviders_Call) Return(_a0 []bindings.LiquidityBridg return _c } -func (_c *LbcAdapterMock_GetProviders_Call) RunAndReturn(run func(*bind.CallOpts, []*big.Int) ([]bindings.LiquidityBridgeContractLiquidityProvider, error)) *LbcAdapterMock_GetProviders_Call { +func (_c *LbcAdapterMock_GetProviders_Call) RunAndReturn(run func(*bind.CallOpts) ([]bindings.LiquidityBridgeContractLiquidityProvider, error)) *LbcAdapterMock_GetProviders_Call { _c.Call.Return(run) return _c } diff --git a/test/mocks/lbc_binding_mock.go b/test/mocks/lbc_binding_mock.go index a9ca8ffc..56d4ff0f 100644 --- a/test/mocks/lbc_binding_mock.go +++ b/test/mocks/lbc_binding_mock.go @@ -555,6 +555,63 @@ func (_c *LbcBindingMock_GetPegoutCollateral_Call) RunAndReturn(run func(*bind.C return _c } +// GetProvider provides a mock function with given fields: opts, providerAddress +func (_m *LbcBindingMock) GetProvider(opts *bind.CallOpts, providerAddress common.Address) (bindings.LiquidityBridgeContractLiquidityProvider, error) { + ret := _m.Called(opts, providerAddress) + + if len(ret) == 0 { + panic("no return value specified for GetProvider") + } + + var r0 bindings.LiquidityBridgeContractLiquidityProvider + var r1 error + if rf, ok := ret.Get(0).(func(*bind.CallOpts, common.Address) (bindings.LiquidityBridgeContractLiquidityProvider, error)); ok { + return rf(opts, providerAddress) + } + if rf, ok := ret.Get(0).(func(*bind.CallOpts, common.Address) bindings.LiquidityBridgeContractLiquidityProvider); ok { + r0 = rf(opts, providerAddress) + } else { + r0 = ret.Get(0).(bindings.LiquidityBridgeContractLiquidityProvider) + } + + if rf, ok := ret.Get(1).(func(*bind.CallOpts, common.Address) error); ok { + r1 = rf(opts, providerAddress) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// LbcBindingMock_GetProvider_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProvider' +type LbcBindingMock_GetProvider_Call struct { + *mock.Call +} + +// GetProvider is a helper method to define mock.On call +// - opts *bind.CallOpts +// - providerAddress common.Address +func (_e *LbcBindingMock_Expecter) GetProvider(opts interface{}, providerAddress interface{}) *LbcBindingMock_GetProvider_Call { + return &LbcBindingMock_GetProvider_Call{Call: _e.mock.On("GetProvider", opts, providerAddress)} +} + +func (_c *LbcBindingMock_GetProvider_Call) Run(run func(opts *bind.CallOpts, providerAddress common.Address)) *LbcBindingMock_GetProvider_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*bind.CallOpts), args[1].(common.Address)) + }) + return _c +} + +func (_c *LbcBindingMock_GetProvider_Call) Return(_a0 bindings.LiquidityBridgeContractLiquidityProvider, _a1 error) *LbcBindingMock_GetProvider_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *LbcBindingMock_GetProvider_Call) RunAndReturn(run func(*bind.CallOpts, common.Address) (bindings.LiquidityBridgeContractLiquidityProvider, error)) *LbcBindingMock_GetProvider_Call { + _c.Call.Return(run) + return _c +} + // GetProviderIds provides a mock function with given fields: opts func (_m *LbcBindingMock) GetProviderIds(opts *bind.CallOpts) (*big.Int, error) { ret := _m.Called(opts) @@ -613,9 +670,9 @@ func (_c *LbcBindingMock_GetProviderIds_Call) RunAndReturn(run func(*bind.CallOp return _c } -// GetProviders provides a mock function with given fields: opts, providerIds -func (_m *LbcBindingMock) GetProviders(opts *bind.CallOpts, providerIds []*big.Int) ([]bindings.LiquidityBridgeContractLiquidityProvider, error) { - ret := _m.Called(opts, providerIds) +// GetProviders provides a mock function with given fields: opts +func (_m *LbcBindingMock) GetProviders(opts *bind.CallOpts) ([]bindings.LiquidityBridgeContractLiquidityProvider, error) { + ret := _m.Called(opts) if len(ret) == 0 { panic("no return value specified for GetProviders") @@ -623,19 +680,19 @@ func (_m *LbcBindingMock) GetProviders(opts *bind.CallOpts, providerIds []*big.I var r0 []bindings.LiquidityBridgeContractLiquidityProvider var r1 error - if rf, ok := ret.Get(0).(func(*bind.CallOpts, []*big.Int) ([]bindings.LiquidityBridgeContractLiquidityProvider, error)); ok { - return rf(opts, providerIds) + if rf, ok := ret.Get(0).(func(*bind.CallOpts) ([]bindings.LiquidityBridgeContractLiquidityProvider, error)); ok { + return rf(opts) } - if rf, ok := ret.Get(0).(func(*bind.CallOpts, []*big.Int) []bindings.LiquidityBridgeContractLiquidityProvider); ok { - r0 = rf(opts, providerIds) + if rf, ok := ret.Get(0).(func(*bind.CallOpts) []bindings.LiquidityBridgeContractLiquidityProvider); ok { + r0 = rf(opts) } else { if ret.Get(0) != nil { r0 = ret.Get(0).([]bindings.LiquidityBridgeContractLiquidityProvider) } } - if rf, ok := ret.Get(1).(func(*bind.CallOpts, []*big.Int) error); ok { - r1 = rf(opts, providerIds) + if rf, ok := ret.Get(1).(func(*bind.CallOpts) error); ok { + r1 = rf(opts) } else { r1 = ret.Error(1) } @@ -650,14 +707,13 @@ type LbcBindingMock_GetProviders_Call struct { // GetProviders is a helper method to define mock.On call // - opts *bind.CallOpts -// - providerIds []*big.Int -func (_e *LbcBindingMock_Expecter) GetProviders(opts interface{}, providerIds interface{}) *LbcBindingMock_GetProviders_Call { - return &LbcBindingMock_GetProviders_Call{Call: _e.mock.On("GetProviders", opts, providerIds)} +func (_e *LbcBindingMock_Expecter) GetProviders(opts interface{}) *LbcBindingMock_GetProviders_Call { + return &LbcBindingMock_GetProviders_Call{Call: _e.mock.On("GetProviders", opts)} } -func (_c *LbcBindingMock_GetProviders_Call) Run(run func(opts *bind.CallOpts, providerIds []*big.Int)) *LbcBindingMock_GetProviders_Call { +func (_c *LbcBindingMock_GetProviders_Call) Run(run func(opts *bind.CallOpts)) *LbcBindingMock_GetProviders_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*bind.CallOpts), args[1].([]*big.Int)) + run(args[0].(*bind.CallOpts)) }) return _c } @@ -667,7 +723,7 @@ func (_c *LbcBindingMock_GetProviders_Call) Return(_a0 []bindings.LiquidityBridg return _c } -func (_c *LbcBindingMock_GetProviders_Call) RunAndReturn(run func(*bind.CallOpts, []*big.Int) ([]bindings.LiquidityBridgeContractLiquidityProvider, error)) *LbcBindingMock_GetProviders_Call { +func (_c *LbcBindingMock_GetProviders_Call) RunAndReturn(run func(*bind.CallOpts) ([]bindings.LiquidityBridgeContractLiquidityProvider, error)) *LbcBindingMock_GetProviders_Call { _c.Call.Return(run) return _c } diff --git a/test/mocks/lbc_mock.go b/test/mocks/lbc_mock.go index 460ea117..fdecc090 100644 --- a/test/mocks/lbc_mock.go +++ b/test/mocks/lbc_mock.go @@ -78,6 +78,11 @@ func (m *LbcMock) GetProviders() ([]liquidity_provider.RegisteredLiquidityProvid return args.Get(0).([]liquidity_provider.RegisteredLiquidityProvider), args.Error(1) } +func (m *LbcMock) GetProvider(address string) (liquidity_provider.RegisteredLiquidityProvider, error) { + args := m.Called(address) + return args.Get(0).(liquidity_provider.RegisteredLiquidityProvider), args.Error(1) +} + func (m *LbcMock) SetProviderStatus(id uint64, status bool) error { args := m.Called(id, status) return args.Error(0) @@ -85,6 +90,9 @@ func (m *LbcMock) SetProviderStatus(id uint64, status bool) error { func (m *LbcMock) GetPeginPunishmentEvents(ctx context.Context, fromBlock uint64, toBlock *uint64) ([]liquidity_provider.PunishmentEvent, error) { args := m.Called(ctx, fromBlock, toBlock) + if args.Get(0) == nil { + return nil, args.Error(1) + } return args.Get(0).([]liquidity_provider.PunishmentEvent), args.Error(1) } diff --git a/test/mocks/rawTxVerbose-2ba6da53badd14349c5d6379e88c345e88193598aad714815d4b57c691a9fbdf.json b/test/mocks/rawTxVerbose-2ba6da53badd14349c5d6379e88c345e88193598aad714815d4b57c691a9fbdf.json new file mode 100644 index 00000000..cbab7f72 --- /dev/null +++ b/test/mocks/rawTxVerbose-2ba6da53badd14349c5d6379e88c345e88193598aad714815d4b57c691a9fbdf.json @@ -0,0 +1,59 @@ +{ + "txid": "2ba6da53badd14349c5d6379e88c345e88193598aad714815d4b57c691a9fbdf", + "hash": "2ba6da53badd14349c5d6379e88c345e88193598aad714815d4b57c691a9fbdf", + "version": 2, + "size": 268, + "vsize": 268, + "weight": 1072, + "locktime": 0, + "vin": [ + { + "txid": "0db41ca6bc9576e65f4c4be32b0edeba6b5bf4a0b66de06f4e6ca0759a59cd36", + "vout": 2, + "scriptSig": { + "asm": "30440220056facfa8f0165865c0a945fa9ced821dbde4bf16b34dae365058dbd3715f30302201517904ace89e3bfefaeac284ba11d27458580e9fd5f3dda0b876dd9f2ec08ba[ALL] 02c50e934b46f215be07dbf4c5c030b7a4035374c99c529270df1451a5a1a200cf", + "hex": "4730440220056facfa8f0165865c0a945fa9ced821dbde4bf16b34dae365058dbd3715f30302201517904ace89e3bfefaeac284ba11d27458580e9fd5f3dda0b876dd9f2ec08ba012102c50e934b46f215be07dbf4c5c030b7a4035374c99c529270df1451a5a1a200cf" + }, + "sequence": 4294967293 + } + ], + "vout": [ + { + "value": 0.00600000, + "n": 0, + "scriptPubKey": { + "asm": "OP_DUP OP_HASH160 6e84f2d601c6742a94bf9ba32bea7e3f3e377fbb OP_EQUALVERIFY OP_CHECKSIG", + "desc": "addr(mqbKtarYKnoEdPheFFDGRjksvEpb2vJGNh)#g4ymaeqj", + "hex": "76a9146e84f2d601c6742a94bf9ba32bea7e3f3e377fbb88ac", + "address": "mqbKtarYKnoEdPheFFDGRjksvEpb2vJGNh", + "type": "pubkeyhash" + } + }, + { + "value": 0.00000000, + "n": 1, + "scriptPubKey": { + "asm": "OP_RETURN 6dbec2088e39320564496be6e013f7f6e32736ac7373053cafdc7dd4d945eac4", + "desc": "raw(6a206dbec2088e39320564496be6e013f7f6e32736ac7373053cafdc7dd4d945eac4)#r0sc65n8", + "hex": "6a206dbec2088e39320564496be6e013f7f6e32736ac7373053cafdc7dd4d945eac4", + "type": "nulldata" + } + }, + { + "value": 0.00253100, + "n": 2, + "scriptPubKey": { + "asm": "OP_DUP OP_HASH160 eebde2e5b79139fe6e2fc209a90a2348abb4b195 OP_EQUALVERIFY OP_CHECKSIG", + "desc": "addr(n3HJbF1Ps5c9ZE3UvLyjGFDvyAfjzDEBkS)#cv2h8a9h", + "hex": "76a914eebde2e5b79139fe6e2fc209a90a2348abb4b19588ac", + "address": "n3HJbF1Ps5c9ZE3UvLyjGFDvyAfjzDEBkS", + "type": "pubkeyhash" + } + } + ], + "hex": "020000000136cd599a75a06c4e6fe06db6a0f45b6bbade0e2be34b4c5fe67695bca61cb40d020000006a4730440220056facfa8f0165865c0a945fa9ced821dbde4bf16b34dae365058dbd3715f30302201517904ace89e3bfefaeac284ba11d27458580e9fd5f3dda0b876dd9f2ec08ba012102c50e934b46f215be07dbf4c5c030b7a4035374c99c529270df1451a5a1a200cffdffffff03c0270900000000001976a9146e84f2d601c6742a94bf9ba32bea7e3f3e377fbb88ac0000000000000000226a206dbec2088e39320564496be6e013f7f6e32736ac7373053cafdc7dd4d945eac4acdc0300000000001976a914eebde2e5b79139fe6e2fc209a90a2348abb4b19588ac00000000", + "blockhash": "0000000000000000b29a23f4bbb1a8829602fbb9d4b221fa03d21632d3682848", + "confirmations": 288434, + "time": 1709645043, + "blocktime": 1709645043 +} \ No newline at end of file diff --git a/test/mocks/rawTxVerbose-586c51dc94452aed9a373b0f52936c3e343c0db90f1155e985fd60e3c2e5c2b2.json b/test/mocks/rawTxVerbose-586c51dc94452aed9a373b0f52936c3e343c0db90f1155e985fd60e3c2e5c2b2.json new file mode 100644 index 00000000..0f50a3e2 --- /dev/null +++ b/test/mocks/rawTxVerbose-586c51dc94452aed9a373b0f52936c3e343c0db90f1155e985fd60e3c2e5c2b2.json @@ -0,0 +1,49 @@ +{ + "txid": "586c51dc94452aed9a373b0f52936c3e343c0db90f1155e985fd60e3c2e5c2b2", + "hash": "586c51dc94452aed9a373b0f52936c3e343c0db90f1155e985fd60e3c2e5c2b2", + "version": 2, + "size": 225, + "vsize": 225, + "weight": 900, + "locktime": 2583052, + "vin": [ + { + "txid": "246797fcd3fa5b73281844ff57cf8cd169ad65dd9ee420199096d2da7ffd4ee9", + "vout": 1, + "scriptSig": { + "asm": "3044022030c0a2d3fe1ca65ba8f7fe9954a0323ce6760371eee7e2009d87a9ac0d89004d02203e26f1c77e18efae10d2a851ff92c16faa8f748114530806dcf7cb960faa3502[ALL] 03268fbcde07bafc9b32966e4a5ce6b5d8900555688abee89e230ccce94f485b0f", + "hex": "473044022030c0a2d3fe1ca65ba8f7fe9954a0323ce6760371eee7e2009d87a9ac0d89004d02203e26f1c77e18efae10d2a851ff92c16faa8f748114530806dcf7cb960faa3502012103268fbcde07bafc9b32966e4a5ce6b5d8900555688abee89e230ccce94f485b0f" + }, + "sequence": 4294967293 + } + ], + "vout": [ + { + "value": 0.00099200, + "n": 0, + "scriptPubKey": { + "asm": "OP_DUP OP_HASH160 bb7ef8f8e243b309fb8249aa24414f6861a5b5e3 OP_EQUALVERIFY OP_CHECKSIG", + "desc": "addr(mxcLm8hdhfJ1cutzeq6zdwcUohKVfmRhPu)#l89lgk9k", + "hex": "76a914bb7ef8f8e243b309fb8249aa24414f6861a5b5e388ac", + "address": "mxcLm8hdhfJ1cutzeq6zdwcUohKVfmRhPu", + "type": "pubkeyhash" + } + }, + { + "value": 0.00200000, + "n": 1, + "scriptPubKey": { + "asm": "OP_DUP OP_HASH160 eebde2e5b79139fe6e2fc209a90a2348abb4b195 OP_EQUALVERIFY OP_CHECKSIG", + "desc": "addr(n3HJbF1Ps5c9ZE3UvLyjGFDvyAfjzDEBkS)#cv2h8a9h", + "hex": "76a914eebde2e5b79139fe6e2fc209a90a2348abb4b19588ac", + "address": "n3HJbF1Ps5c9ZE3UvLyjGFDvyAfjzDEBkS", + "type": "pubkeyhash" + } + } + ], + "hex": "0200000001e94efd7fdad296901920e49edd65ad69d18ccf57ff441828735bfad3fc976724010000006a473044022030c0a2d3fe1ca65ba8f7fe9954a0323ce6760371eee7e2009d87a9ac0d89004d02203e26f1c77e18efae10d2a851ff92c16faa8f748114530806dcf7cb960faa3502012103268fbcde07bafc9b32966e4a5ce6b5d8900555688abee89e230ccce94f485b0ffdffffff0280830100000000001976a914bb7ef8f8e243b309fb8249aa24414f6861a5b5e388ac400d0300000000001976a914eebde2e5b79139fe6e2fc209a90a2348abb4b19588ac0c6a2700", + "blockhash": "000000000000001ae7d2caee3ed20409e35c1a8c847c5f9e919e93856fb79d5c", + "confirmations": 286001, + "time": 1711123214, + "blocktime": 1711123214 +} \ No newline at end of file diff --git a/test/mocks/rawTxVerbose-da28401c76d618e8c3b1c3e15dfe1c10d4b24875f23768f30bcc26c99b9c82d4.json b/test/mocks/rawTxVerbose-da28401c76d618e8c3b1c3e15dfe1c10d4b24875f23768f30bcc26c99b9c82d4.json new file mode 100644 index 00000000..5728c178 --- /dev/null +++ b/test/mocks/rawTxVerbose-da28401c76d618e8c3b1c3e15dfe1c10d4b24875f23768f30bcc26c99b9c82d4.json @@ -0,0 +1,79 @@ +{ "txid": "da28401c76d618e8c3b1c3e15dfe1c10d4b24875f23768f30bcc26c99b9c82d4", + "hash": "da28401c76d618e8c3b1c3e15dfe1c10d4b24875f23768f30bcc26c99b9c82d4", + "version": 2, + "size": 440, + "vsize": 440, + "weight": 1760, + "locktime": 2583056, + "vin": [ + { + "txid": "a93ff9afbc02e0f24195b7f2befdb4335fa462d116a8d97198cef3759900ffbb", + "vout": 0, + "scriptSig": { + "asm": "3044022026feb93027d9a026faa3a006698d215c6eafa06aade1a06bc4fc1dc25658741c022044d7b325f08eb807064d6320f749ce32a558d93fc17ab737956a7464d32716a7[ALL] 0269cd111c5101e3bbca14f325c8dc32887372dde0b7b63e8fdb9f3425ddddd1e6", + "hex": "473044022026feb93027d9a026faa3a006698d215c6eafa06aade1a06bc4fc1dc25658741c022044d7b325f08eb807064d6320f749ce32a558d93fc17ab737956a7464d32716a701210269cd111c5101e3bbca14f325c8dc32887372dde0b7b63e8fdb9f3425ddddd1e6" + }, + "sequence": 4294967293 + }, + { + "txid": "fda421ccdff7324a382067d1746f6a387132435de6af336a0ebbf3f720eaae4d", + "vout": 0, + "scriptSig": { + "asm": "304402202e2a2ba939e194d68725cae4c0c4b6ed037b0464e534b7b1326ecc38796cdb6702202142a64fc6ffb041a65e5ef819586099e953ae77a43aea6144eded3aeb562e35[ALL] 02b6393e486ceb7d7b13e2c4da4ca5cd6ef97c47671ef89341a43fba24dcc0e905", + "hex": "47304402202e2a2ba939e194d68725cae4c0c4b6ed037b0464e534b7b1326ecc38796cdb6702202142a64fc6ffb041a65e5ef819586099e953ae77a43aea6144eded3aeb562e35012102b6393e486ceb7d7b13e2c4da4ca5cd6ef97c47671ef89341a43fba24dcc0e905" + }, + "sequence": 4294967293 + } + ], + "vout": [ + { + "value": 0.00009300, + "n": 0, + "scriptPubKey": { + "asm": "OP_DUP OP_HASH160 58bd2e490494f2a3c170eff065376075ea09e050 OP_EQUALVERIFY OP_CHECKSIG", + "desc": "addr(mocAPSv6trAJoZRoqcn18kvXEjcxvXc9m5)#zxa2dvh0", + "hex": "76a91458bd2e490494f2a3c170eff065376075ea09e05088ac", + "address": "mocAPSv6trAJoZRoqcn18kvXEjcxvXc9m5", + "type": "pubkeyhash" + } + }, + { + "value": 0.00020000, + "n": 1, + "scriptPubKey": { + "asm": "OP_DUP OP_HASH160 eebde2e5b79139fe6e2fc209a90a2348abb4b195 OP_EQUALVERIFY OP_CHECKSIG", + "desc": "addr(n3HJbF1Ps5c9ZE3UvLyjGFDvyAfjzDEBkS)#cv2h8a9h", + "hex": "76a914eebde2e5b79139fe6e2fc209a90a2348abb4b19588ac", + "address": "n3HJbF1Ps5c9ZE3UvLyjGFDvyAfjzDEBkS", + "type": "pubkeyhash" + } + }, + { + "value": 0.00100000, + "n": 2, + "scriptPubKey": { + "asm": "OP_DUP OP_HASH160 eebde2e5b79139fe6e2fc209a90a2348abb4b195 OP_EQUALVERIFY OP_CHECKSIG", + "desc": "addr(n3HJbF1Ps5c9ZE3UvLyjGFDvyAfjzDEBkS)#cv2h8a9h", + "hex": "76a914eebde2e5b79139fe6e2fc209a90a2348abb4b19588ac", + "address": "n3HJbF1Ps5c9ZE3UvLyjGFDvyAfjzDEBkS", + "type": "pubkeyhash" + } + }, + { + "value": 0.00100000, + "n": 3, + "scriptPubKey": { + "asm": "OP_DUP OP_HASH160 eebde2e5b79139fe6e2fc209a90a2348abb4b195 OP_EQUALVERIFY OP_CHECKSIG", + "desc": "addr(n3HJbF1Ps5c9ZE3UvLyjGFDvyAfjzDEBkS)#cv2h8a9h", + "hex": "76a914eebde2e5b79139fe6e2fc209a90a2348abb4b19588ac", + "address": "n3HJbF1Ps5c9ZE3UvLyjGFDvyAfjzDEBkS", + "type": "pubkeyhash" + } + } + ], + "hex": "0200000002bbff009975f3ce9871d9a816d162a45f33b4fdbef2b79541f2e002bcaff93fa9000000006a473044022026feb93027d9a026faa3a006698d215c6eafa06aade1a06bc4fc1dc25658741c022044d7b325f08eb807064d6320f749ce32a558d93fc17ab737956a7464d32716a701210269cd111c5101e3bbca14f325c8dc32887372dde0b7b63e8fdb9f3425ddddd1e6fdffffff4daeea20f7f3bb0e6a33afe65d433271386a6f74d16720384a32f7dfcc21a4fd000000006a47304402202e2a2ba939e194d68725cae4c0c4b6ed037b0464e534b7b1326ecc38796cdb6702202142a64fc6ffb041a65e5ef819586099e953ae77a43aea6144eded3aeb562e35012102b6393e486ceb7d7b13e2c4da4ca5cd6ef97c47671ef89341a43fba24dcc0e905fdffffff0454240000000000001976a91458bd2e490494f2a3c170eff065376075ea09e05088ac204e0000000000001976a914eebde2e5b79139fe6e2fc209a90a2348abb4b19588aca0860100000000001976a914eebde2e5b79139fe6e2fc209a90a2348abb4b19588aca0860100000000001976a914eebde2e5b79139fe6e2fc209a90a2348abb4b19588ac106a2700", + "blockhash": "000000000000000cc3a83117af2c50ff0c8c553fb340cf30912c2e7a4b4abb50", + "confirmations": 285997, + "time": 1711126232, + "blocktime": 1711126232 +} \ No newline at end of file diff --git a/test/mocks/rawTxVerbose-fda421ccdff7324a382067d1746f6a387132435de6af336a0ebbf3f720eaae4d.json b/test/mocks/rawTxVerbose-fda421ccdff7324a382067d1746f6a387132435de6af336a0ebbf3f720eaae4d.json new file mode 100644 index 00000000..e57f73ff --- /dev/null +++ b/test/mocks/rawTxVerbose-fda421ccdff7324a382067d1746f6a387132435de6af336a0ebbf3f720eaae4d.json @@ -0,0 +1,85 @@ +{ + "txid": "fda421ccdff7324a382067d1746f6a387132435de6af336a0ebbf3f720eaae4d", + "hash": "fda421ccdff7324a382067d1746f6a387132435de6af336a0ebbf3f720eaae4d", + "version": 2, + "size": 813, + "vsize": 813, + "weight": 3252, + "locktime": 2583052, + "vin": [ + { + "txid": "246797fcd3fa5b73281844ff57cf8cd169ad65dd9ee420199096d2da7ffd4ee9", + "vout": 0, + "scriptSig": { + "asm": "30440220592a82ec3bb7c0aba1eadb2e737801bd62e327fa586d48e70463063db25a223a02202ca1c398922b452368c5b85449157b7f9be39f4ff0f1d5844dc3f0d958f30809[ALL] 035e2c1ab556d102e9266d9621e12e19b88bb91f6a2c31229ddce088225f70731a", + "hex": "4730440220592a82ec3bb7c0aba1eadb2e737801bd62e327fa586d48e70463063db25a223a02202ca1c398922b452368c5b85449157b7f9be39f4ff0f1d5844dc3f0d958f308090121035e2c1ab556d102e9266d9621e12e19b88bb91f6a2c31229ddce088225f70731a" + }, + "sequence": 4294967293 + }, + { + "txid": "3c0f0a734a6b5d6153575437de69cb2dc4192277568a1ab20e18037233767002", + "vout": 0, + "scriptSig": { + "asm": "3044022078e6bc1506c6bec1158b5d968df06a3a14d2b30d41968ac14cd2956665a3296002205d71107493f085e30b6a2e5e2e227f3373158144928848e93ab5aaeb14a703ad[ALL] 02badb23094c1cf5b1e07327c36eb747f2253aaab1bda09e22976cdeccb6a478a5", + "hex": "473044022078e6bc1506c6bec1158b5d968df06a3a14d2b30d41968ac14cd2956665a3296002205d71107493f085e30b6a2e5e2e227f3373158144928848e93ab5aaeb14a703ad012102badb23094c1cf5b1e07327c36eb747f2253aaab1bda09e22976cdeccb6a478a5" + }, + "sequence": 4294967293 + }, + { + "txid": "693a946f49c542fef4b8f66852f3523073160395fc6a9c7e2d306e51fcb4104d", + "vout": 0, + "scriptSig": { + "asm": "304402206439f5e80af6d11f2bec68903df3f3c167618a23be956be0f104bd4abededd2b02207b7e4af7206481d6ce253b4387ad5d24f37501965ebbbd6422e3dbd389b3d649[ALL] 030f30f2a81f2ff7d79e6f177f07210fd0d636e1a65fb90650e11f36349783ad23", + "hex": "47304402206439f5e80af6d11f2bec68903df3f3c167618a23be956be0f104bd4abededd2b02207b7e4af7206481d6ce253b4387ad5d24f37501965ebbbd6422e3dbd389b3d6490121030f30f2a81f2ff7d79e6f177f07210fd0d636e1a65fb90650e11f36349783ad23" + }, + "sequence": 4294967293 + }, + { + "txid": "9f0706c2717fc77bf0f225a4223933a7decb8d36902ddbb0accab8ea894f8b29", + "vout": 0, + "scriptSig": { + "asm": "3044022042986a4ead6e54f54b11c238a5cf405fb4b14d10eb4b78d3ddae82a4e34cd7cd022046754e565a735cd81868d9ce6479f01c6c338aaba0850fce8be8c1fe79abf447[ALL] 03315f277a852472bdddb0ae8177d83fe044fec5bac38eb94f1dad5333c5de2888", + "hex": "473044022042986a4ead6e54f54b11c238a5cf405fb4b14d10eb4b78d3ddae82a4e34cd7cd022046754e565a735cd81868d9ce6479f01c6c338aaba0850fce8be8c1fe79abf447012103315f277a852472bdddb0ae8177d83fe044fec5bac38eb94f1dad5333c5de2888" + }, + "sequence": 4294967293 + }, + { + "txid": "aca1aa822c62405e570a63d359e21d79218d12e278083b08aea011459e3ab0fd", + "vout": 0, + "scriptSig": { + "asm": "3044022052b967f06b2057c9a93191c10e210189b9a67ae45971b4763d293b08baf45356022043739b70503a2cdb932422478cdf52aa440bb7ec5a846ce925651f43cea8c83b[ALL] 0387c01fd758a9ee98f05eab81d93aae2eb9641cc9fbbb8812c45b50f7d2bcc25e", + "hex": "473044022052b967f06b2057c9a93191c10e210189b9a67ae45971b4763d293b08baf45356022043739b70503a2cdb932422478cdf52aa440bb7ec5a846ce925651f43cea8c83b01210387c01fd758a9ee98f05eab81d93aae2eb9641cc9fbbb8812c45b50f7d2bcc25e" + }, + "sequence": 4294967293 + } + ], + "vout": [ + { + "value": 0.00187300, + "n": 0, + "scriptPubKey": { + "asm": "OP_DUP OP_HASH160 df42890907b79ae9a27d5a91cc20ebec0f1da386 OP_EQUALVERIFY OP_CHECKSIG", + "desc": "addr(n1sSgnWcHU8AeHTVFez9RQ8HxMdAVHJXui)#ttedklmm", + "hex": "76a914df42890907b79ae9a27d5a91cc20ebec0f1da38688ac", + "address": "n1sSgnWcHU8AeHTVFez9RQ8HxMdAVHJXui", + "type": "pubkeyhash" + } + }, + { + "value": 0.02000000, + "n": 1, + "scriptPubKey": { + "asm": "OP_DUP OP_HASH160 eebde2e5b79139fe6e2fc209a90a2348abb4b195 OP_EQUALVERIFY OP_CHECKSIG", + "desc": "addr(n3HJbF1Ps5c9ZE3UvLyjGFDvyAfjzDEBkS)#cv2h8a9h", + "hex": "76a914eebde2e5b79139fe6e2fc209a90a2348abb4b19588ac", + "address": "n3HJbF1Ps5c9ZE3UvLyjGFDvyAfjzDEBkS", + "type": "pubkeyhash" + } + } + ], + "hex": "0200000005e94efd7fdad296901920e49edd65ad69d18ccf57ff441828735bfad3fc976724000000006a4730440220592a82ec3bb7c0aba1eadb2e737801bd62e327fa586d48e70463063db25a223a02202ca1c398922b452368c5b85449157b7f9be39f4ff0f1d5844dc3f0d958f308090121035e2c1ab556d102e9266d9621e12e19b88bb91f6a2c31229ddce088225f70731afdffffff027076337203180eb21a8a56772219c42dcb69de37545753615d6b4a730a0f3c000000006a473044022078e6bc1506c6bec1158b5d968df06a3a14d2b30d41968ac14cd2956665a3296002205d71107493f085e30b6a2e5e2e227f3373158144928848e93ab5aaeb14a703ad012102badb23094c1cf5b1e07327c36eb747f2253aaab1bda09e22976cdeccb6a478a5fdffffff4d10b4fc516e302d7e9c6afc950316733052f35268f6b8f4fe42c5496f943a69000000006a47304402206439f5e80af6d11f2bec68903df3f3c167618a23be956be0f104bd4abededd2b02207b7e4af7206481d6ce253b4387ad5d24f37501965ebbbd6422e3dbd389b3d6490121030f30f2a81f2ff7d79e6f177f07210fd0d636e1a65fb90650e11f36349783ad23fdffffff298b4f89eab8caacb0db2d90368dcbdea7333922a425f2f07bc77f71c206079f000000006a473044022042986a4ead6e54f54b11c238a5cf405fb4b14d10eb4b78d3ddae82a4e34cd7cd022046754e565a735cd81868d9ce6479f01c6c338aaba0850fce8be8c1fe79abf447012103315f277a852472bdddb0ae8177d83fe044fec5bac38eb94f1dad5333c5de2888fdfffffffdb03a9e4511a0ae083b0878e2128d21791de259d3630a575e40622c82aaa1ac000000006a473044022052b967f06b2057c9a93191c10e210189b9a67ae45971b4763d293b08baf45356022043739b70503a2cdb932422478cdf52aa440bb7ec5a846ce925651f43cea8c83b01210387c01fd758a9ee98f05eab81d93aae2eb9641cc9fbbb8812c45b50f7d2bcc25efdffffff02a4db0200000000001976a914df42890907b79ae9a27d5a91cc20ebec0f1da38688ac80841e00000000001976a914eebde2e5b79139fe6e2fc209a90a2348abb4b19588ac0c6a2700", + "blockhash": "000000000000001ae7d2caee3ed20409e35c1a8c847c5f9e919e93856fb79d5c", + "confirmations": 286001, + "time": 1711123214, + "blocktime": 1711123214 +} \ No newline at end of file diff --git a/test/mocks/rsk_bridge_binding_mock.go b/test/mocks/rsk_bridge_binding_mock.go index 4c947176..f6e47d2f 100644 --- a/test/mocks/rsk_bridge_binding_mock.go +++ b/test/mocks/rsk_bridge_binding_mock.go @@ -7,6 +7,8 @@ import ( bind "github.com/ethereum/go-ethereum/accounts/abi/bind" mock "github.com/stretchr/testify/mock" + + types "github.com/ethereum/go-ethereum/core/types" ) // RskBridgeBindingMock is an autogenerated mock type for the RskBridgeBinding type @@ -138,6 +140,64 @@ func (_c *RskBridgeBindingMock_GetActivePowpegRedeemScript_Call) RunAndReturn(ru return _c } +// GetBtcBlockchainBestChainHeight provides a mock function with given fields: opts +func (_m *RskBridgeBindingMock) GetBtcBlockchainBestChainHeight(opts *bind.CallOpts) (*big.Int, error) { + ret := _m.Called(opts) + + if len(ret) == 0 { + panic("no return value specified for GetBtcBlockchainBestChainHeight") + } + + var r0 *big.Int + var r1 error + if rf, ok := ret.Get(0).(func(*bind.CallOpts) (*big.Int, error)); ok { + return rf(opts) + } + if rf, ok := ret.Get(0).(func(*bind.CallOpts) *big.Int); ok { + r0 = rf(opts) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*big.Int) + } + } + + if rf, ok := ret.Get(1).(func(*bind.CallOpts) error); ok { + r1 = rf(opts) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// RskBridgeBindingMock_GetBtcBlockchainBestChainHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBtcBlockchainBestChainHeight' +type RskBridgeBindingMock_GetBtcBlockchainBestChainHeight_Call struct { + *mock.Call +} + +// GetBtcBlockchainBestChainHeight is a helper method to define mock.On call +// - opts *bind.CallOpts +func (_e *RskBridgeBindingMock_Expecter) GetBtcBlockchainBestChainHeight(opts interface{}) *RskBridgeBindingMock_GetBtcBlockchainBestChainHeight_Call { + return &RskBridgeBindingMock_GetBtcBlockchainBestChainHeight_Call{Call: _e.mock.On("GetBtcBlockchainBestChainHeight", opts)} +} + +func (_c *RskBridgeBindingMock_GetBtcBlockchainBestChainHeight_Call) Run(run func(opts *bind.CallOpts)) *RskBridgeBindingMock_GetBtcBlockchainBestChainHeight_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*bind.CallOpts)) + }) + return _c +} + +func (_c *RskBridgeBindingMock_GetBtcBlockchainBestChainHeight_Call) Return(_a0 *big.Int, _a1 error) *RskBridgeBindingMock_GetBtcBlockchainBestChainHeight_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *RskBridgeBindingMock_GetBtcBlockchainBestChainHeight_Call) RunAndReturn(run func(*bind.CallOpts) (*big.Int, error)) *RskBridgeBindingMock_GetBtcBlockchainBestChainHeight_Call { + _c.Call.Return(run) + return _c +} + // GetFederationAddress provides a mock function with given fields: opts func (_m *RskBridgeBindingMock) GetFederationAddress(opts *bind.CallOpts) (string, error) { ret := _m.Called(opts) @@ -428,6 +488,183 @@ func (_c *RskBridgeBindingMock_GetMinimumLockTxValue_Call) RunAndReturn(run func return _c } +// HasBtcBlockCoinbaseTransactionInformation provides a mock function with given fields: opts, blockHash +func (_m *RskBridgeBindingMock) HasBtcBlockCoinbaseTransactionInformation(opts *bind.CallOpts, blockHash [32]byte) (bool, error) { + ret := _m.Called(opts, blockHash) + + if len(ret) == 0 { + panic("no return value specified for HasBtcBlockCoinbaseTransactionInformation") + } + + var r0 bool + var r1 error + if rf, ok := ret.Get(0).(func(*bind.CallOpts, [32]byte) (bool, error)); ok { + return rf(opts, blockHash) + } + if rf, ok := ret.Get(0).(func(*bind.CallOpts, [32]byte) bool); ok { + r0 = rf(opts, blockHash) + } else { + r0 = ret.Get(0).(bool) + } + + if rf, ok := ret.Get(1).(func(*bind.CallOpts, [32]byte) error); ok { + r1 = rf(opts, blockHash) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// RskBridgeBindingMock_HasBtcBlockCoinbaseTransactionInformation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasBtcBlockCoinbaseTransactionInformation' +type RskBridgeBindingMock_HasBtcBlockCoinbaseTransactionInformation_Call struct { + *mock.Call +} + +// HasBtcBlockCoinbaseTransactionInformation is a helper method to define mock.On call +// - opts *bind.CallOpts +// - blockHash [32]byte +func (_e *RskBridgeBindingMock_Expecter) HasBtcBlockCoinbaseTransactionInformation(opts interface{}, blockHash interface{}) *RskBridgeBindingMock_HasBtcBlockCoinbaseTransactionInformation_Call { + return &RskBridgeBindingMock_HasBtcBlockCoinbaseTransactionInformation_Call{Call: _e.mock.On("HasBtcBlockCoinbaseTransactionInformation", opts, blockHash)} +} + +func (_c *RskBridgeBindingMock_HasBtcBlockCoinbaseTransactionInformation_Call) Run(run func(opts *bind.CallOpts, blockHash [32]byte)) *RskBridgeBindingMock_HasBtcBlockCoinbaseTransactionInformation_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*bind.CallOpts), args[1].([32]byte)) + }) + return _c +} + +func (_c *RskBridgeBindingMock_HasBtcBlockCoinbaseTransactionInformation_Call) Return(_a0 bool, _a1 error) *RskBridgeBindingMock_HasBtcBlockCoinbaseTransactionInformation_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *RskBridgeBindingMock_HasBtcBlockCoinbaseTransactionInformation_Call) RunAndReturn(run func(*bind.CallOpts, [32]byte) (bool, error)) *RskBridgeBindingMock_HasBtcBlockCoinbaseTransactionInformation_Call { + _c.Call.Return(run) + return _c +} + +// IsBtcTxHashAlreadyProcessed provides a mock function with given fields: opts, hash +func (_m *RskBridgeBindingMock) IsBtcTxHashAlreadyProcessed(opts *bind.CallOpts, hash string) (bool, error) { + ret := _m.Called(opts, hash) + + if len(ret) == 0 { + panic("no return value specified for IsBtcTxHashAlreadyProcessed") + } + + var r0 bool + var r1 error + if rf, ok := ret.Get(0).(func(*bind.CallOpts, string) (bool, error)); ok { + return rf(opts, hash) + } + if rf, ok := ret.Get(0).(func(*bind.CallOpts, string) bool); ok { + r0 = rf(opts, hash) + } else { + r0 = ret.Get(0).(bool) + } + + if rf, ok := ret.Get(1).(func(*bind.CallOpts, string) error); ok { + r1 = rf(opts, hash) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// RskBridgeBindingMock_IsBtcTxHashAlreadyProcessed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsBtcTxHashAlreadyProcessed' +type RskBridgeBindingMock_IsBtcTxHashAlreadyProcessed_Call struct { + *mock.Call +} + +// IsBtcTxHashAlreadyProcessed is a helper method to define mock.On call +// - opts *bind.CallOpts +// - hash string +func (_e *RskBridgeBindingMock_Expecter) IsBtcTxHashAlreadyProcessed(opts interface{}, hash interface{}) *RskBridgeBindingMock_IsBtcTxHashAlreadyProcessed_Call { + return &RskBridgeBindingMock_IsBtcTxHashAlreadyProcessed_Call{Call: _e.mock.On("IsBtcTxHashAlreadyProcessed", opts, hash)} +} + +func (_c *RskBridgeBindingMock_IsBtcTxHashAlreadyProcessed_Call) Run(run func(opts *bind.CallOpts, hash string)) *RskBridgeBindingMock_IsBtcTxHashAlreadyProcessed_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*bind.CallOpts), args[1].(string)) + }) + return _c +} + +func (_c *RskBridgeBindingMock_IsBtcTxHashAlreadyProcessed_Call) Return(_a0 bool, _a1 error) *RskBridgeBindingMock_IsBtcTxHashAlreadyProcessed_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *RskBridgeBindingMock_IsBtcTxHashAlreadyProcessed_Call) RunAndReturn(run func(*bind.CallOpts, string) (bool, error)) *RskBridgeBindingMock_IsBtcTxHashAlreadyProcessed_Call { + _c.Call.Return(run) + return _c +} + +// RegisterBtcCoinbaseTransaction provides a mock function with given fields: opts, btcTxSerialized, blockHash, pmtSerialized, witnessMerkleRoot, witnessReservedValue +func (_m *RskBridgeBindingMock) RegisterBtcCoinbaseTransaction(opts *bind.TransactOpts, btcTxSerialized []byte, blockHash [32]byte, pmtSerialized []byte, witnessMerkleRoot [32]byte, witnessReservedValue [32]byte) (*types.Transaction, error) { + ret := _m.Called(opts, btcTxSerialized, blockHash, pmtSerialized, witnessMerkleRoot, witnessReservedValue) + + if len(ret) == 0 { + panic("no return value specified for RegisterBtcCoinbaseTransaction") + } + + var r0 *types.Transaction + var r1 error + if rf, ok := ret.Get(0).(func(*bind.TransactOpts, []byte, [32]byte, []byte, [32]byte, [32]byte) (*types.Transaction, error)); ok { + return rf(opts, btcTxSerialized, blockHash, pmtSerialized, witnessMerkleRoot, witnessReservedValue) + } + if rf, ok := ret.Get(0).(func(*bind.TransactOpts, []byte, [32]byte, []byte, [32]byte, [32]byte) *types.Transaction); ok { + r0 = rf(opts, btcTxSerialized, blockHash, pmtSerialized, witnessMerkleRoot, witnessReservedValue) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*types.Transaction) + } + } + + if rf, ok := ret.Get(1).(func(*bind.TransactOpts, []byte, [32]byte, []byte, [32]byte, [32]byte) error); ok { + r1 = rf(opts, btcTxSerialized, blockHash, pmtSerialized, witnessMerkleRoot, witnessReservedValue) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// RskBridgeBindingMock_RegisterBtcCoinbaseTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegisterBtcCoinbaseTransaction' +type RskBridgeBindingMock_RegisterBtcCoinbaseTransaction_Call struct { + *mock.Call +} + +// RegisterBtcCoinbaseTransaction is a helper method to define mock.On call +// - opts *bind.TransactOpts +// - btcTxSerialized []byte +// - blockHash [32]byte +// - pmtSerialized []byte +// - witnessMerkleRoot [32]byte +// - witnessReservedValue [32]byte +func (_e *RskBridgeBindingMock_Expecter) RegisterBtcCoinbaseTransaction(opts interface{}, btcTxSerialized interface{}, blockHash interface{}, pmtSerialized interface{}, witnessMerkleRoot interface{}, witnessReservedValue interface{}) *RskBridgeBindingMock_RegisterBtcCoinbaseTransaction_Call { + return &RskBridgeBindingMock_RegisterBtcCoinbaseTransaction_Call{Call: _e.mock.On("RegisterBtcCoinbaseTransaction", opts, btcTxSerialized, blockHash, pmtSerialized, witnessMerkleRoot, witnessReservedValue)} +} + +func (_c *RskBridgeBindingMock_RegisterBtcCoinbaseTransaction_Call) Run(run func(opts *bind.TransactOpts, btcTxSerialized []byte, blockHash [32]byte, pmtSerialized []byte, witnessMerkleRoot [32]byte, witnessReservedValue [32]byte)) *RskBridgeBindingMock_RegisterBtcCoinbaseTransaction_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*bind.TransactOpts), args[1].([]byte), args[2].([32]byte), args[3].([]byte), args[4].([32]byte), args[5].([32]byte)) + }) + return _c +} + +func (_c *RskBridgeBindingMock_RegisterBtcCoinbaseTransaction_Call) Return(_a0 *types.Transaction, _a1 error) *RskBridgeBindingMock_RegisterBtcCoinbaseTransaction_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *RskBridgeBindingMock_RegisterBtcCoinbaseTransaction_Call) RunAndReturn(run func(*bind.TransactOpts, []byte, [32]byte, []byte, [32]byte, [32]byte) (*types.Transaction, error)) *RskBridgeBindingMock_RegisterBtcCoinbaseTransaction_Call { + _c.Call.Return(run) + return _c +} + // NewRskBridgeBindingMock creates a new instance of RskBridgeBindingMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. // The first argument is typically a *testing.T value. func NewRskBridgeBindingMock(t interface { diff --git a/test/mocks/store_mock.go b/test/mocks/store_mock.go new file mode 100644 index 00000000..ebddeb17 --- /dev/null +++ b/test/mocks/store_mock.go @@ -0,0 +1,203 @@ +// Code generated by mockery v2.42.1. DO NOT EDIT. + +package mocks + +import ( + http "net/http" + + sessions "github.com/gorilla/sessions" + mock "github.com/stretchr/testify/mock" +) + +// StoreMock is an autogenerated mock type for the Store type +type StoreMock struct { + mock.Mock +} + +type StoreMock_Expecter struct { + mock *mock.Mock +} + +func (_m *StoreMock) EXPECT() *StoreMock_Expecter { + return &StoreMock_Expecter{mock: &_m.Mock} +} + +// Get provides a mock function with given fields: r, name +func (_m *StoreMock) Get(r *http.Request, name string) (*sessions.Session, error) { + ret := _m.Called(r, name) + + if len(ret) == 0 { + panic("no return value specified for Get") + } + + var r0 *sessions.Session + var r1 error + if rf, ok := ret.Get(0).(func(*http.Request, string) (*sessions.Session, error)); ok { + return rf(r, name) + } + if rf, ok := ret.Get(0).(func(*http.Request, string) *sessions.Session); ok { + r0 = rf(r, name) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sessions.Session) + } + } + + if rf, ok := ret.Get(1).(func(*http.Request, string) error); ok { + r1 = rf(r, name) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StoreMock_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get' +type StoreMock_Get_Call struct { + *mock.Call +} + +// Get is a helper method to define mock.On call +// - r *http.Request +// - name string +func (_e *StoreMock_Expecter) Get(r interface{}, name interface{}) *StoreMock_Get_Call { + return &StoreMock_Get_Call{Call: _e.mock.On("Get", r, name)} +} + +func (_c *StoreMock_Get_Call) Run(run func(r *http.Request, name string)) *StoreMock_Get_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*http.Request), args[1].(string)) + }) + return _c +} + +func (_c *StoreMock_Get_Call) Return(_a0 *sessions.Session, _a1 error) *StoreMock_Get_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *StoreMock_Get_Call) RunAndReturn(run func(*http.Request, string) (*sessions.Session, error)) *StoreMock_Get_Call { + _c.Call.Return(run) + return _c +} + +// New provides a mock function with given fields: r, name +func (_m *StoreMock) New(r *http.Request, name string) (*sessions.Session, error) { + ret := _m.Called(r, name) + + if len(ret) == 0 { + panic("no return value specified for New") + } + + var r0 *sessions.Session + var r1 error + if rf, ok := ret.Get(0).(func(*http.Request, string) (*sessions.Session, error)); ok { + return rf(r, name) + } + if rf, ok := ret.Get(0).(func(*http.Request, string) *sessions.Session); ok { + r0 = rf(r, name) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sessions.Session) + } + } + + if rf, ok := ret.Get(1).(func(*http.Request, string) error); ok { + r1 = rf(r, name) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StoreMock_New_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'New' +type StoreMock_New_Call struct { + *mock.Call +} + +// New is a helper method to define mock.On call +// - r *http.Request +// - name string +func (_e *StoreMock_Expecter) New(r interface{}, name interface{}) *StoreMock_New_Call { + return &StoreMock_New_Call{Call: _e.mock.On("New", r, name)} +} + +func (_c *StoreMock_New_Call) Run(run func(r *http.Request, name string)) *StoreMock_New_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*http.Request), args[1].(string)) + }) + return _c +} + +func (_c *StoreMock_New_Call) Return(_a0 *sessions.Session, _a1 error) *StoreMock_New_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *StoreMock_New_Call) RunAndReturn(run func(*http.Request, string) (*sessions.Session, error)) *StoreMock_New_Call { + _c.Call.Return(run) + return _c +} + +// Save provides a mock function with given fields: r, w, s +func (_m *StoreMock) Save(r *http.Request, w http.ResponseWriter, s *sessions.Session) error { + ret := _m.Called(r, w, s) + + if len(ret) == 0 { + panic("no return value specified for Save") + } + + var r0 error + if rf, ok := ret.Get(0).(func(*http.Request, http.ResponseWriter, *sessions.Session) error); ok { + r0 = rf(r, w, s) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// StoreMock_Save_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Save' +type StoreMock_Save_Call struct { + *mock.Call +} + +// Save is a helper method to define mock.On call +// - r *http.Request +// - w http.ResponseWriter +// - s *sessions.Session +func (_e *StoreMock_Expecter) Save(r interface{}, w interface{}, s interface{}) *StoreMock_Save_Call { + return &StoreMock_Save_Call{Call: _e.mock.On("Save", r, w, s)} +} + +func (_c *StoreMock_Save_Call) Run(run func(r *http.Request, w http.ResponseWriter, s *sessions.Session)) *StoreMock_Save_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*http.Request), args[1].(http.ResponseWriter), args[2].(*sessions.Session)) + }) + return _c +} + +func (_c *StoreMock_Save_Call) Return(_a0 error) *StoreMock_Save_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *StoreMock_Save_Call) RunAndReturn(run func(*http.Request, http.ResponseWriter, *sessions.Session) error) *StoreMock_Save_Call { + _c.Call.Return(run) + return _c +} + +// NewStoreMock creates a new instance of StoreMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +// The first argument is typically a *testing.T value. +func NewStoreMock(t interface { + mock.TestingT + Cleanup(func()) +}) *StoreMock { + mock := &StoreMock{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/test/mocks/ticker_mock.go b/test/mocks/ticker_mock.go new file mode 100644 index 00000000..e2bd052d --- /dev/null +++ b/test/mocks/ticker_mock.go @@ -0,0 +1,115 @@ +// Code generated by mockery v2.42.1. DO NOT EDIT. + +package mocks + +import ( + time "time" + + mock "github.com/stretchr/testify/mock" +) + +// TickerMock is an autogenerated mock type for the Ticker type +type TickerMock struct { + mock.Mock +} + +type TickerMock_Expecter struct { + mock *mock.Mock +} + +func (_m *TickerMock) EXPECT() *TickerMock_Expecter { + return &TickerMock_Expecter{mock: &_m.Mock} +} + +// C provides a mock function with given fields: +func (_m *TickerMock) C() <-chan time.Time { + ret := _m.Called() + + if len(ret) == 0 { + panic("no return value specified for C") + } + + var r0 <-chan time.Time + if rf, ok := ret.Get(0).(func() <-chan time.Time); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(<-chan time.Time) + } + } + + return r0 +} + +// TickerMock_C_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'C' +type TickerMock_C_Call struct { + *mock.Call +} + +// C is a helper method to define mock.On call +func (_e *TickerMock_Expecter) C() *TickerMock_C_Call { + return &TickerMock_C_Call{Call: _e.mock.On("C")} +} + +func (_c *TickerMock_C_Call) Run(run func()) *TickerMock_C_Call { + _c.Call.Run(func(args mock.Arguments) { + run() + }) + return _c +} + +func (_c *TickerMock_C_Call) Return(_a0 <-chan time.Time) *TickerMock_C_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *TickerMock_C_Call) RunAndReturn(run func() <-chan time.Time) *TickerMock_C_Call { + _c.Call.Return(run) + return _c +} + +// Stop provides a mock function with given fields: +func (_m *TickerMock) Stop() { + _m.Called() +} + +// TickerMock_Stop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stop' +type TickerMock_Stop_Call struct { + *mock.Call +} + +// Stop is a helper method to define mock.On call +func (_e *TickerMock_Expecter) Stop() *TickerMock_Stop_Call { + return &TickerMock_Stop_Call{Call: _e.mock.On("Stop")} +} + +func (_c *TickerMock_Stop_Call) Run(run func()) *TickerMock_Stop_Call { + _c.Call.Run(func(args mock.Arguments) { + run() + }) + return _c +} + +func (_c *TickerMock_Stop_Call) Return() *TickerMock_Stop_Call { + _c.Call.Return() + return _c +} + +func (_c *TickerMock_Stop_Call) RunAndReturn(run func()) *TickerMock_Stop_Call { + _c.Call.Return(run) + return _c +} + +// NewTickerMock creates a new instance of TickerMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +// The first argument is typically a *testing.T value. +func NewTickerMock(t interface { + mock.TestingT + Cleanup(func()) +}) *TickerMock { + mock := &TickerMock{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/test/mocks/use_case_registry_mock.go b/test/mocks/use_case_registry_mock.go new file mode 100644 index 00000000..e71071d3 --- /dev/null +++ b/test/mocks/use_case_registry_mock.go @@ -0,0 +1,1263 @@ +// Code generated by mockery v2.42.1. DO NOT EDIT. + +package mocks + +import ( + liquidity_provider "github.com/rsksmart/liquidity-provider-server/internal/usecases/liquidity_provider" + mock "github.com/stretchr/testify/mock" + + pegin "github.com/rsksmart/liquidity-provider-server/internal/usecases/pegin" + + pegout "github.com/rsksmart/liquidity-provider-server/internal/usecases/pegout" + + usecases "github.com/rsksmart/liquidity-provider-server/internal/usecases" +) + +// UseCaseRegistryMock is an autogenerated mock type for the UseCaseRegistry type +type UseCaseRegistryMock struct { + mock.Mock +} + +type UseCaseRegistryMock_Expecter struct { + mock *mock.Mock +} + +func (_m *UseCaseRegistryMock) EXPECT() *UseCaseRegistryMock_Expecter { + return &UseCaseRegistryMock_Expecter{mock: &_m.Mock} +} + +// AddPeginCollateralUseCase provides a mock function with given fields: +func (_m *UseCaseRegistryMock) AddPeginCollateralUseCase() *pegin.AddCollateralUseCase { + ret := _m.Called() + + if len(ret) == 0 { + panic("no return value specified for AddPeginCollateralUseCase") + } + + var r0 *pegin.AddCollateralUseCase + if rf, ok := ret.Get(0).(func() *pegin.AddCollateralUseCase); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*pegin.AddCollateralUseCase) + } + } + + return r0 +} + +// UseCaseRegistryMock_AddPeginCollateralUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddPeginCollateralUseCase' +type UseCaseRegistryMock_AddPeginCollateralUseCase_Call struct { + *mock.Call +} + +// AddPeginCollateralUseCase is a helper method to define mock.On call +func (_e *UseCaseRegistryMock_Expecter) AddPeginCollateralUseCase() *UseCaseRegistryMock_AddPeginCollateralUseCase_Call { + return &UseCaseRegistryMock_AddPeginCollateralUseCase_Call{Call: _e.mock.On("AddPeginCollateralUseCase")} +} + +func (_c *UseCaseRegistryMock_AddPeginCollateralUseCase_Call) Run(run func()) *UseCaseRegistryMock_AddPeginCollateralUseCase_Call { + _c.Call.Run(func(args mock.Arguments) { + run() + }) + return _c +} + +func (_c *UseCaseRegistryMock_AddPeginCollateralUseCase_Call) Return(_a0 *pegin.AddCollateralUseCase) *UseCaseRegistryMock_AddPeginCollateralUseCase_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *UseCaseRegistryMock_AddPeginCollateralUseCase_Call) RunAndReturn(run func() *pegin.AddCollateralUseCase) *UseCaseRegistryMock_AddPeginCollateralUseCase_Call { + _c.Call.Return(run) + return _c +} + +// AddPegoutCollateralUseCase provides a mock function with given fields: +func (_m *UseCaseRegistryMock) AddPegoutCollateralUseCase() *pegout.AddCollateralUseCase { + ret := _m.Called() + + if len(ret) == 0 { + panic("no return value specified for AddPegoutCollateralUseCase") + } + + var r0 *pegout.AddCollateralUseCase + if rf, ok := ret.Get(0).(func() *pegout.AddCollateralUseCase); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*pegout.AddCollateralUseCase) + } + } + + return r0 +} + +// UseCaseRegistryMock_AddPegoutCollateralUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddPegoutCollateralUseCase' +type UseCaseRegistryMock_AddPegoutCollateralUseCase_Call struct { + *mock.Call +} + +// AddPegoutCollateralUseCase is a helper method to define mock.On call +func (_e *UseCaseRegistryMock_Expecter) AddPegoutCollateralUseCase() *UseCaseRegistryMock_AddPegoutCollateralUseCase_Call { + return &UseCaseRegistryMock_AddPegoutCollateralUseCase_Call{Call: _e.mock.On("AddPegoutCollateralUseCase")} +} + +func (_c *UseCaseRegistryMock_AddPegoutCollateralUseCase_Call) Run(run func()) *UseCaseRegistryMock_AddPegoutCollateralUseCase_Call { + _c.Call.Run(func(args mock.Arguments) { + run() + }) + return _c +} + +func (_c *UseCaseRegistryMock_AddPegoutCollateralUseCase_Call) Return(_a0 *pegout.AddCollateralUseCase) *UseCaseRegistryMock_AddPegoutCollateralUseCase_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *UseCaseRegistryMock_AddPegoutCollateralUseCase_Call) RunAndReturn(run func() *pegout.AddCollateralUseCase) *UseCaseRegistryMock_AddPegoutCollateralUseCase_Call { + _c.Call.Return(run) + return _c +} + +// ChangeStatusUseCase provides a mock function with given fields: +func (_m *UseCaseRegistryMock) ChangeStatusUseCase() *liquidity_provider.ChangeStatusUseCase { + ret := _m.Called() + + if len(ret) == 0 { + panic("no return value specified for ChangeStatusUseCase") + } + + var r0 *liquidity_provider.ChangeStatusUseCase + if rf, ok := ret.Get(0).(func() *liquidity_provider.ChangeStatusUseCase); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*liquidity_provider.ChangeStatusUseCase) + } + } + + return r0 +} + +// UseCaseRegistryMock_ChangeStatusUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ChangeStatusUseCase' +type UseCaseRegistryMock_ChangeStatusUseCase_Call struct { + *mock.Call +} + +// ChangeStatusUseCase is a helper method to define mock.On call +func (_e *UseCaseRegistryMock_Expecter) ChangeStatusUseCase() *UseCaseRegistryMock_ChangeStatusUseCase_Call { + return &UseCaseRegistryMock_ChangeStatusUseCase_Call{Call: _e.mock.On("ChangeStatusUseCase")} +} + +func (_c *UseCaseRegistryMock_ChangeStatusUseCase_Call) Run(run func()) *UseCaseRegistryMock_ChangeStatusUseCase_Call { + _c.Call.Run(func(args mock.Arguments) { + run() + }) + return _c +} + +func (_c *UseCaseRegistryMock_ChangeStatusUseCase_Call) Return(_a0 *liquidity_provider.ChangeStatusUseCase) *UseCaseRegistryMock_ChangeStatusUseCase_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *UseCaseRegistryMock_ChangeStatusUseCase_Call) RunAndReturn(run func() *liquidity_provider.ChangeStatusUseCase) *UseCaseRegistryMock_ChangeStatusUseCase_Call { + _c.Call.Return(run) + return _c +} + +// GenerateDefaultCredentialsUseCase provides a mock function with given fields: +func (_m *UseCaseRegistryMock) GenerateDefaultCredentialsUseCase() *liquidity_provider.GenerateDefaultCredentialsUseCase { + ret := _m.Called() + + if len(ret) == 0 { + panic("no return value specified for GenerateDefaultCredentialsUseCase") + } + + var r0 *liquidity_provider.GenerateDefaultCredentialsUseCase + if rf, ok := ret.Get(0).(func() *liquidity_provider.GenerateDefaultCredentialsUseCase); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*liquidity_provider.GenerateDefaultCredentialsUseCase) + } + } + + return r0 +} + +// UseCaseRegistryMock_GenerateDefaultCredentialsUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenerateDefaultCredentialsUseCase' +type UseCaseRegistryMock_GenerateDefaultCredentialsUseCase_Call struct { + *mock.Call +} + +// GenerateDefaultCredentialsUseCase is a helper method to define mock.On call +func (_e *UseCaseRegistryMock_Expecter) GenerateDefaultCredentialsUseCase() *UseCaseRegistryMock_GenerateDefaultCredentialsUseCase_Call { + return &UseCaseRegistryMock_GenerateDefaultCredentialsUseCase_Call{Call: _e.mock.On("GenerateDefaultCredentialsUseCase")} +} + +func (_c *UseCaseRegistryMock_GenerateDefaultCredentialsUseCase_Call) Run(run func()) *UseCaseRegistryMock_GenerateDefaultCredentialsUseCase_Call { + _c.Call.Run(func(args mock.Arguments) { + run() + }) + return _c +} + +func (_c *UseCaseRegistryMock_GenerateDefaultCredentialsUseCase_Call) Return(_a0 *liquidity_provider.GenerateDefaultCredentialsUseCase) *UseCaseRegistryMock_GenerateDefaultCredentialsUseCase_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *UseCaseRegistryMock_GenerateDefaultCredentialsUseCase_Call) RunAndReturn(run func() *liquidity_provider.GenerateDefaultCredentialsUseCase) *UseCaseRegistryMock_GenerateDefaultCredentialsUseCase_Call { + _c.Call.Return(run) + return _c +} + +// GetAcceptPeginQuoteUseCase provides a mock function with given fields: +func (_m *UseCaseRegistryMock) GetAcceptPeginQuoteUseCase() *pegin.AcceptQuoteUseCase { + ret := _m.Called() + + if len(ret) == 0 { + panic("no return value specified for GetAcceptPeginQuoteUseCase") + } + + var r0 *pegin.AcceptQuoteUseCase + if rf, ok := ret.Get(0).(func() *pegin.AcceptQuoteUseCase); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*pegin.AcceptQuoteUseCase) + } + } + + return r0 +} + +// UseCaseRegistryMock_GetAcceptPeginQuoteUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAcceptPeginQuoteUseCase' +type UseCaseRegistryMock_GetAcceptPeginQuoteUseCase_Call struct { + *mock.Call +} + +// GetAcceptPeginQuoteUseCase is a helper method to define mock.On call +func (_e *UseCaseRegistryMock_Expecter) GetAcceptPeginQuoteUseCase() *UseCaseRegistryMock_GetAcceptPeginQuoteUseCase_Call { + return &UseCaseRegistryMock_GetAcceptPeginQuoteUseCase_Call{Call: _e.mock.On("GetAcceptPeginQuoteUseCase")} +} + +func (_c *UseCaseRegistryMock_GetAcceptPeginQuoteUseCase_Call) Run(run func()) *UseCaseRegistryMock_GetAcceptPeginQuoteUseCase_Call { + _c.Call.Run(func(args mock.Arguments) { + run() + }) + return _c +} + +func (_c *UseCaseRegistryMock_GetAcceptPeginQuoteUseCase_Call) Return(_a0 *pegin.AcceptQuoteUseCase) *UseCaseRegistryMock_GetAcceptPeginQuoteUseCase_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *UseCaseRegistryMock_GetAcceptPeginQuoteUseCase_Call) RunAndReturn(run func() *pegin.AcceptQuoteUseCase) *UseCaseRegistryMock_GetAcceptPeginQuoteUseCase_Call { + _c.Call.Return(run) + return _c +} + +// GetAcceptPegoutQuoteUseCase provides a mock function with given fields: +func (_m *UseCaseRegistryMock) GetAcceptPegoutQuoteUseCase() *pegout.AcceptQuoteUseCase { + ret := _m.Called() + + if len(ret) == 0 { + panic("no return value specified for GetAcceptPegoutQuoteUseCase") + } + + var r0 *pegout.AcceptQuoteUseCase + if rf, ok := ret.Get(0).(func() *pegout.AcceptQuoteUseCase); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*pegout.AcceptQuoteUseCase) + } + } + + return r0 +} + +// UseCaseRegistryMock_GetAcceptPegoutQuoteUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAcceptPegoutQuoteUseCase' +type UseCaseRegistryMock_GetAcceptPegoutQuoteUseCase_Call struct { + *mock.Call +} + +// GetAcceptPegoutQuoteUseCase is a helper method to define mock.On call +func (_e *UseCaseRegistryMock_Expecter) GetAcceptPegoutQuoteUseCase() *UseCaseRegistryMock_GetAcceptPegoutQuoteUseCase_Call { + return &UseCaseRegistryMock_GetAcceptPegoutQuoteUseCase_Call{Call: _e.mock.On("GetAcceptPegoutQuoteUseCase")} +} + +func (_c *UseCaseRegistryMock_GetAcceptPegoutQuoteUseCase_Call) Run(run func()) *UseCaseRegistryMock_GetAcceptPegoutQuoteUseCase_Call { + _c.Call.Run(func(args mock.Arguments) { + run() + }) + return _c +} + +func (_c *UseCaseRegistryMock_GetAcceptPegoutQuoteUseCase_Call) Return(_a0 *pegout.AcceptQuoteUseCase) *UseCaseRegistryMock_GetAcceptPegoutQuoteUseCase_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *UseCaseRegistryMock_GetAcceptPegoutQuoteUseCase_Call) RunAndReturn(run func() *pegout.AcceptQuoteUseCase) *UseCaseRegistryMock_GetAcceptPegoutQuoteUseCase_Call { + _c.Call.Return(run) + return _c +} + +// GetAvailableLiquidityUseCase provides a mock function with given fields: +func (_m *UseCaseRegistryMock) GetAvailableLiquidityUseCase() *liquidity_provider.GetAvailableLiquidityUseCase { + ret := _m.Called() + + if len(ret) == 0 { + panic("no return value specified for GetAvailableLiquidityUseCase") + } + + var r0 *liquidity_provider.GetAvailableLiquidityUseCase + if rf, ok := ret.Get(0).(func() *liquidity_provider.GetAvailableLiquidityUseCase); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*liquidity_provider.GetAvailableLiquidityUseCase) + } + } + + return r0 +} + +// UseCaseRegistryMock_GetAvailableLiquidityUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAvailableLiquidityUseCase' +type UseCaseRegistryMock_GetAvailableLiquidityUseCase_Call struct { + *mock.Call +} + +// GetAvailableLiquidityUseCase is a helper method to define mock.On call +func (_e *UseCaseRegistryMock_Expecter) GetAvailableLiquidityUseCase() *UseCaseRegistryMock_GetAvailableLiquidityUseCase_Call { + return &UseCaseRegistryMock_GetAvailableLiquidityUseCase_Call{Call: _e.mock.On("GetAvailableLiquidityUseCase")} +} + +func (_c *UseCaseRegistryMock_GetAvailableLiquidityUseCase_Call) Run(run func()) *UseCaseRegistryMock_GetAvailableLiquidityUseCase_Call { + _c.Call.Run(func(args mock.Arguments) { + run() + }) + return _c +} + +func (_c *UseCaseRegistryMock_GetAvailableLiquidityUseCase_Call) Return(_a0 *liquidity_provider.GetAvailableLiquidityUseCase) *UseCaseRegistryMock_GetAvailableLiquidityUseCase_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *UseCaseRegistryMock_GetAvailableLiquidityUseCase_Call) RunAndReturn(run func() *liquidity_provider.GetAvailableLiquidityUseCase) *UseCaseRegistryMock_GetAvailableLiquidityUseCase_Call { + _c.Call.Return(run) + return _c +} + +// GetConfigurationUseCase provides a mock function with given fields: +func (_m *UseCaseRegistryMock) GetConfigurationUseCase() *liquidity_provider.GetConfigUseCase { + ret := _m.Called() + + if len(ret) == 0 { + panic("no return value specified for GetConfigurationUseCase") + } + + var r0 *liquidity_provider.GetConfigUseCase + if rf, ok := ret.Get(0).(func() *liquidity_provider.GetConfigUseCase); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*liquidity_provider.GetConfigUseCase) + } + } + + return r0 +} + +// UseCaseRegistryMock_GetConfigurationUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetConfigurationUseCase' +type UseCaseRegistryMock_GetConfigurationUseCase_Call struct { + *mock.Call +} + +// GetConfigurationUseCase is a helper method to define mock.On call +func (_e *UseCaseRegistryMock_Expecter) GetConfigurationUseCase() *UseCaseRegistryMock_GetConfigurationUseCase_Call { + return &UseCaseRegistryMock_GetConfigurationUseCase_Call{Call: _e.mock.On("GetConfigurationUseCase")} +} + +func (_c *UseCaseRegistryMock_GetConfigurationUseCase_Call) Run(run func()) *UseCaseRegistryMock_GetConfigurationUseCase_Call { + _c.Call.Run(func(args mock.Arguments) { + run() + }) + return _c +} + +func (_c *UseCaseRegistryMock_GetConfigurationUseCase_Call) Return(_a0 *liquidity_provider.GetConfigUseCase) *UseCaseRegistryMock_GetConfigurationUseCase_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *UseCaseRegistryMock_GetConfigurationUseCase_Call) RunAndReturn(run func() *liquidity_provider.GetConfigUseCase) *UseCaseRegistryMock_GetConfigurationUseCase_Call { + _c.Call.Return(run) + return _c +} + +// GetManagementUiDataUseCase provides a mock function with given fields: +func (_m *UseCaseRegistryMock) GetManagementUiDataUseCase() *liquidity_provider.GetManagementUiDataUseCase { + ret := _m.Called() + + if len(ret) == 0 { + panic("no return value specified for GetManagementUiDataUseCase") + } + + var r0 *liquidity_provider.GetManagementUiDataUseCase + if rf, ok := ret.Get(0).(func() *liquidity_provider.GetManagementUiDataUseCase); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*liquidity_provider.GetManagementUiDataUseCase) + } + } + + return r0 +} + +// UseCaseRegistryMock_GetManagementUiDataUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetManagementUiDataUseCase' +type UseCaseRegistryMock_GetManagementUiDataUseCase_Call struct { + *mock.Call +} + +// GetManagementUiDataUseCase is a helper method to define mock.On call +func (_e *UseCaseRegistryMock_Expecter) GetManagementUiDataUseCase() *UseCaseRegistryMock_GetManagementUiDataUseCase_Call { + return &UseCaseRegistryMock_GetManagementUiDataUseCase_Call{Call: _e.mock.On("GetManagementUiDataUseCase")} +} + +func (_c *UseCaseRegistryMock_GetManagementUiDataUseCase_Call) Run(run func()) *UseCaseRegistryMock_GetManagementUiDataUseCase_Call { + _c.Call.Run(func(args mock.Arguments) { + run() + }) + return _c +} + +func (_c *UseCaseRegistryMock_GetManagementUiDataUseCase_Call) Return(_a0 *liquidity_provider.GetManagementUiDataUseCase) *UseCaseRegistryMock_GetManagementUiDataUseCase_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *UseCaseRegistryMock_GetManagementUiDataUseCase_Call) RunAndReturn(run func() *liquidity_provider.GetManagementUiDataUseCase) *UseCaseRegistryMock_GetManagementUiDataUseCase_Call { + _c.Call.Return(run) + return _c +} + +// GetPeginCollateralUseCase provides a mock function with given fields: +func (_m *UseCaseRegistryMock) GetPeginCollateralUseCase() *pegin.GetCollateralUseCase { + ret := _m.Called() + + if len(ret) == 0 { + panic("no return value specified for GetPeginCollateralUseCase") + } + + var r0 *pegin.GetCollateralUseCase + if rf, ok := ret.Get(0).(func() *pegin.GetCollateralUseCase); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*pegin.GetCollateralUseCase) + } + } + + return r0 +} + +// UseCaseRegistryMock_GetPeginCollateralUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPeginCollateralUseCase' +type UseCaseRegistryMock_GetPeginCollateralUseCase_Call struct { + *mock.Call +} + +// GetPeginCollateralUseCase is a helper method to define mock.On call +func (_e *UseCaseRegistryMock_Expecter) GetPeginCollateralUseCase() *UseCaseRegistryMock_GetPeginCollateralUseCase_Call { + return &UseCaseRegistryMock_GetPeginCollateralUseCase_Call{Call: _e.mock.On("GetPeginCollateralUseCase")} +} + +func (_c *UseCaseRegistryMock_GetPeginCollateralUseCase_Call) Run(run func()) *UseCaseRegistryMock_GetPeginCollateralUseCase_Call { + _c.Call.Run(func(args mock.Arguments) { + run() + }) + return _c +} + +func (_c *UseCaseRegistryMock_GetPeginCollateralUseCase_Call) Return(_a0 *pegin.GetCollateralUseCase) *UseCaseRegistryMock_GetPeginCollateralUseCase_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *UseCaseRegistryMock_GetPeginCollateralUseCase_Call) RunAndReturn(run func() *pegin.GetCollateralUseCase) *UseCaseRegistryMock_GetPeginCollateralUseCase_Call { + _c.Call.Return(run) + return _c +} + +// GetPeginQuoteUseCase provides a mock function with given fields: +func (_m *UseCaseRegistryMock) GetPeginQuoteUseCase() *pegin.GetQuoteUseCase { + ret := _m.Called() + + if len(ret) == 0 { + panic("no return value specified for GetPeginQuoteUseCase") + } + + var r0 *pegin.GetQuoteUseCase + if rf, ok := ret.Get(0).(func() *pegin.GetQuoteUseCase); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*pegin.GetQuoteUseCase) + } + } + + return r0 +} + +// UseCaseRegistryMock_GetPeginQuoteUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPeginQuoteUseCase' +type UseCaseRegistryMock_GetPeginQuoteUseCase_Call struct { + *mock.Call +} + +// GetPeginQuoteUseCase is a helper method to define mock.On call +func (_e *UseCaseRegistryMock_Expecter) GetPeginQuoteUseCase() *UseCaseRegistryMock_GetPeginQuoteUseCase_Call { + return &UseCaseRegistryMock_GetPeginQuoteUseCase_Call{Call: _e.mock.On("GetPeginQuoteUseCase")} +} + +func (_c *UseCaseRegistryMock_GetPeginQuoteUseCase_Call) Run(run func()) *UseCaseRegistryMock_GetPeginQuoteUseCase_Call { + _c.Call.Run(func(args mock.Arguments) { + run() + }) + return _c +} + +func (_c *UseCaseRegistryMock_GetPeginQuoteUseCase_Call) Return(_a0 *pegin.GetQuoteUseCase) *UseCaseRegistryMock_GetPeginQuoteUseCase_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *UseCaseRegistryMock_GetPeginQuoteUseCase_Call) RunAndReturn(run func() *pegin.GetQuoteUseCase) *UseCaseRegistryMock_GetPeginQuoteUseCase_Call { + _c.Call.Return(run) + return _c +} + +// GetPeginStatusUseCase provides a mock function with given fields: +func (_m *UseCaseRegistryMock) GetPeginStatusUseCase() *pegin.StatusUseCase { + ret := _m.Called() + + if len(ret) == 0 { + panic("no return value specified for GetPeginStatusUseCase") + } + + var r0 *pegin.StatusUseCase + if rf, ok := ret.Get(0).(func() *pegin.StatusUseCase); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*pegin.StatusUseCase) + } + } + + return r0 +} + +// UseCaseRegistryMock_GetPeginStatusUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPeginStatusUseCase' +type UseCaseRegistryMock_GetPeginStatusUseCase_Call struct { + *mock.Call +} + +// GetPeginStatusUseCase is a helper method to define mock.On call +func (_e *UseCaseRegistryMock_Expecter) GetPeginStatusUseCase() *UseCaseRegistryMock_GetPeginStatusUseCase_Call { + return &UseCaseRegistryMock_GetPeginStatusUseCase_Call{Call: _e.mock.On("GetPeginStatusUseCase")} +} + +func (_c *UseCaseRegistryMock_GetPeginStatusUseCase_Call) Run(run func()) *UseCaseRegistryMock_GetPeginStatusUseCase_Call { + _c.Call.Run(func(args mock.Arguments) { + run() + }) + return _c +} + +func (_c *UseCaseRegistryMock_GetPeginStatusUseCase_Call) Return(_a0 *pegin.StatusUseCase) *UseCaseRegistryMock_GetPeginStatusUseCase_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *UseCaseRegistryMock_GetPeginStatusUseCase_Call) RunAndReturn(run func() *pegin.StatusUseCase) *UseCaseRegistryMock_GetPeginStatusUseCase_Call { + _c.Call.Return(run) + return _c +} + +// GetPegoutCollateralUseCase provides a mock function with given fields: +func (_m *UseCaseRegistryMock) GetPegoutCollateralUseCase() *pegout.GetCollateralUseCase { + ret := _m.Called() + + if len(ret) == 0 { + panic("no return value specified for GetPegoutCollateralUseCase") + } + + var r0 *pegout.GetCollateralUseCase + if rf, ok := ret.Get(0).(func() *pegout.GetCollateralUseCase); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*pegout.GetCollateralUseCase) + } + } + + return r0 +} + +// UseCaseRegistryMock_GetPegoutCollateralUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPegoutCollateralUseCase' +type UseCaseRegistryMock_GetPegoutCollateralUseCase_Call struct { + *mock.Call +} + +// GetPegoutCollateralUseCase is a helper method to define mock.On call +func (_e *UseCaseRegistryMock_Expecter) GetPegoutCollateralUseCase() *UseCaseRegistryMock_GetPegoutCollateralUseCase_Call { + return &UseCaseRegistryMock_GetPegoutCollateralUseCase_Call{Call: _e.mock.On("GetPegoutCollateralUseCase")} +} + +func (_c *UseCaseRegistryMock_GetPegoutCollateralUseCase_Call) Run(run func()) *UseCaseRegistryMock_GetPegoutCollateralUseCase_Call { + _c.Call.Run(func(args mock.Arguments) { + run() + }) + return _c +} + +func (_c *UseCaseRegistryMock_GetPegoutCollateralUseCase_Call) Return(_a0 *pegout.GetCollateralUseCase) *UseCaseRegistryMock_GetPegoutCollateralUseCase_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *UseCaseRegistryMock_GetPegoutCollateralUseCase_Call) RunAndReturn(run func() *pegout.GetCollateralUseCase) *UseCaseRegistryMock_GetPegoutCollateralUseCase_Call { + _c.Call.Return(run) + return _c +} + +// GetPegoutQuoteUseCase provides a mock function with given fields: +func (_m *UseCaseRegistryMock) GetPegoutQuoteUseCase() *pegout.GetQuoteUseCase { + ret := _m.Called() + + if len(ret) == 0 { + panic("no return value specified for GetPegoutQuoteUseCase") + } + + var r0 *pegout.GetQuoteUseCase + if rf, ok := ret.Get(0).(func() *pegout.GetQuoteUseCase); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*pegout.GetQuoteUseCase) + } + } + + return r0 +} + +// UseCaseRegistryMock_GetPegoutQuoteUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPegoutQuoteUseCase' +type UseCaseRegistryMock_GetPegoutQuoteUseCase_Call struct { + *mock.Call +} + +// GetPegoutQuoteUseCase is a helper method to define mock.On call +func (_e *UseCaseRegistryMock_Expecter) GetPegoutQuoteUseCase() *UseCaseRegistryMock_GetPegoutQuoteUseCase_Call { + return &UseCaseRegistryMock_GetPegoutQuoteUseCase_Call{Call: _e.mock.On("GetPegoutQuoteUseCase")} +} + +func (_c *UseCaseRegistryMock_GetPegoutQuoteUseCase_Call) Run(run func()) *UseCaseRegistryMock_GetPegoutQuoteUseCase_Call { + _c.Call.Run(func(args mock.Arguments) { + run() + }) + return _c +} + +func (_c *UseCaseRegistryMock_GetPegoutQuoteUseCase_Call) Return(_a0 *pegout.GetQuoteUseCase) *UseCaseRegistryMock_GetPegoutQuoteUseCase_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *UseCaseRegistryMock_GetPegoutQuoteUseCase_Call) RunAndReturn(run func() *pegout.GetQuoteUseCase) *UseCaseRegistryMock_GetPegoutQuoteUseCase_Call { + _c.Call.Return(run) + return _c +} + +// GetPegoutStatusUseCase provides a mock function with given fields: +func (_m *UseCaseRegistryMock) GetPegoutStatusUseCase() *pegout.StatusUseCase { + ret := _m.Called() + + if len(ret) == 0 { + panic("no return value specified for GetPegoutStatusUseCase") + } + + var r0 *pegout.StatusUseCase + if rf, ok := ret.Get(0).(func() *pegout.StatusUseCase); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*pegout.StatusUseCase) + } + } + + return r0 +} + +// UseCaseRegistryMock_GetPegoutStatusUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPegoutStatusUseCase' +type UseCaseRegistryMock_GetPegoutStatusUseCase_Call struct { + *mock.Call +} + +// GetPegoutStatusUseCase is a helper method to define mock.On call +func (_e *UseCaseRegistryMock_Expecter) GetPegoutStatusUseCase() *UseCaseRegistryMock_GetPegoutStatusUseCase_Call { + return &UseCaseRegistryMock_GetPegoutStatusUseCase_Call{Call: _e.mock.On("GetPegoutStatusUseCase")} +} + +func (_c *UseCaseRegistryMock_GetPegoutStatusUseCase_Call) Run(run func()) *UseCaseRegistryMock_GetPegoutStatusUseCase_Call { + _c.Call.Run(func(args mock.Arguments) { + run() + }) + return _c +} + +func (_c *UseCaseRegistryMock_GetPegoutStatusUseCase_Call) Return(_a0 *pegout.StatusUseCase) *UseCaseRegistryMock_GetPegoutStatusUseCase_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *UseCaseRegistryMock_GetPegoutStatusUseCase_Call) RunAndReturn(run func() *pegout.StatusUseCase) *UseCaseRegistryMock_GetPegoutStatusUseCase_Call { + _c.Call.Return(run) + return _c +} + +// GetProviderDetailUseCase provides a mock function with given fields: +func (_m *UseCaseRegistryMock) GetProviderDetailUseCase() *liquidity_provider.GetDetailUseCase { + ret := _m.Called() + + if len(ret) == 0 { + panic("no return value specified for GetProviderDetailUseCase") + } + + var r0 *liquidity_provider.GetDetailUseCase + if rf, ok := ret.Get(0).(func() *liquidity_provider.GetDetailUseCase); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*liquidity_provider.GetDetailUseCase) + } + } + + return r0 +} + +// UseCaseRegistryMock_GetProviderDetailUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProviderDetailUseCase' +type UseCaseRegistryMock_GetProviderDetailUseCase_Call struct { + *mock.Call +} + +// GetProviderDetailUseCase is a helper method to define mock.On call +func (_e *UseCaseRegistryMock_Expecter) GetProviderDetailUseCase() *UseCaseRegistryMock_GetProviderDetailUseCase_Call { + return &UseCaseRegistryMock_GetProviderDetailUseCase_Call{Call: _e.mock.On("GetProviderDetailUseCase")} +} + +func (_c *UseCaseRegistryMock_GetProviderDetailUseCase_Call) Run(run func()) *UseCaseRegistryMock_GetProviderDetailUseCase_Call { + _c.Call.Run(func(args mock.Arguments) { + run() + }) + return _c +} + +func (_c *UseCaseRegistryMock_GetProviderDetailUseCase_Call) Return(_a0 *liquidity_provider.GetDetailUseCase) *UseCaseRegistryMock_GetProviderDetailUseCase_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *UseCaseRegistryMock_GetProviderDetailUseCase_Call) RunAndReturn(run func() *liquidity_provider.GetDetailUseCase) *UseCaseRegistryMock_GetProviderDetailUseCase_Call { + _c.Call.Return(run) + return _c +} + +// GetProvidersUseCase provides a mock function with given fields: +func (_m *UseCaseRegistryMock) GetProvidersUseCase() *liquidity_provider.GetProvidersUseCase { + ret := _m.Called() + + if len(ret) == 0 { + panic("no return value specified for GetProvidersUseCase") + } + + var r0 *liquidity_provider.GetProvidersUseCase + if rf, ok := ret.Get(0).(func() *liquidity_provider.GetProvidersUseCase); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*liquidity_provider.GetProvidersUseCase) + } + } + + return r0 +} + +// UseCaseRegistryMock_GetProvidersUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProvidersUseCase' +type UseCaseRegistryMock_GetProvidersUseCase_Call struct { + *mock.Call +} + +// GetProvidersUseCase is a helper method to define mock.On call +func (_e *UseCaseRegistryMock_Expecter) GetProvidersUseCase() *UseCaseRegistryMock_GetProvidersUseCase_Call { + return &UseCaseRegistryMock_GetProvidersUseCase_Call{Call: _e.mock.On("GetProvidersUseCase")} +} + +func (_c *UseCaseRegistryMock_GetProvidersUseCase_Call) Run(run func()) *UseCaseRegistryMock_GetProvidersUseCase_Call { + _c.Call.Run(func(args mock.Arguments) { + run() + }) + return _c +} + +func (_c *UseCaseRegistryMock_GetProvidersUseCase_Call) Return(_a0 *liquidity_provider.GetProvidersUseCase) *UseCaseRegistryMock_GetProvidersUseCase_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *UseCaseRegistryMock_GetProvidersUseCase_Call) RunAndReturn(run func() *liquidity_provider.GetProvidersUseCase) *UseCaseRegistryMock_GetProvidersUseCase_Call { + _c.Call.Return(run) + return _c +} + +// GetUserDepositsUseCase provides a mock function with given fields: +func (_m *UseCaseRegistryMock) GetUserDepositsUseCase() *pegout.GetUserDepositsUseCase { + ret := _m.Called() + + if len(ret) == 0 { + panic("no return value specified for GetUserDepositsUseCase") + } + + var r0 *pegout.GetUserDepositsUseCase + if rf, ok := ret.Get(0).(func() *pegout.GetUserDepositsUseCase); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*pegout.GetUserDepositsUseCase) + } + } + + return r0 +} + +// UseCaseRegistryMock_GetUserDepositsUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUserDepositsUseCase' +type UseCaseRegistryMock_GetUserDepositsUseCase_Call struct { + *mock.Call +} + +// GetUserDepositsUseCase is a helper method to define mock.On call +func (_e *UseCaseRegistryMock_Expecter) GetUserDepositsUseCase() *UseCaseRegistryMock_GetUserDepositsUseCase_Call { + return &UseCaseRegistryMock_GetUserDepositsUseCase_Call{Call: _e.mock.On("GetUserDepositsUseCase")} +} + +func (_c *UseCaseRegistryMock_GetUserDepositsUseCase_Call) Run(run func()) *UseCaseRegistryMock_GetUserDepositsUseCase_Call { + _c.Call.Run(func(args mock.Arguments) { + run() + }) + return _c +} + +func (_c *UseCaseRegistryMock_GetUserDepositsUseCase_Call) Return(_a0 *pegout.GetUserDepositsUseCase) *UseCaseRegistryMock_GetUserDepositsUseCase_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *UseCaseRegistryMock_GetUserDepositsUseCase_Call) RunAndReturn(run func() *pegout.GetUserDepositsUseCase) *UseCaseRegistryMock_GetUserDepositsUseCase_Call { + _c.Call.Return(run) + return _c +} + +// HealthUseCase provides a mock function with given fields: +func (_m *UseCaseRegistryMock) HealthUseCase() *usecases.HealthUseCase { + ret := _m.Called() + + if len(ret) == 0 { + panic("no return value specified for HealthUseCase") + } + + var r0 *usecases.HealthUseCase + if rf, ok := ret.Get(0).(func() *usecases.HealthUseCase); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*usecases.HealthUseCase) + } + } + + return r0 +} + +// UseCaseRegistryMock_HealthUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HealthUseCase' +type UseCaseRegistryMock_HealthUseCase_Call struct { + *mock.Call +} + +// HealthUseCase is a helper method to define mock.On call +func (_e *UseCaseRegistryMock_Expecter) HealthUseCase() *UseCaseRegistryMock_HealthUseCase_Call { + return &UseCaseRegistryMock_HealthUseCase_Call{Call: _e.mock.On("HealthUseCase")} +} + +func (_c *UseCaseRegistryMock_HealthUseCase_Call) Run(run func()) *UseCaseRegistryMock_HealthUseCase_Call { + _c.Call.Run(func(args mock.Arguments) { + run() + }) + return _c +} + +func (_c *UseCaseRegistryMock_HealthUseCase_Call) Return(_a0 *usecases.HealthUseCase) *UseCaseRegistryMock_HealthUseCase_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *UseCaseRegistryMock_HealthUseCase_Call) RunAndReturn(run func() *usecases.HealthUseCase) *UseCaseRegistryMock_HealthUseCase_Call { + _c.Call.Return(run) + return _c +} + +// LoginUseCase provides a mock function with given fields: +func (_m *UseCaseRegistryMock) LoginUseCase() *liquidity_provider.LoginUseCase { + ret := _m.Called() + + if len(ret) == 0 { + panic("no return value specified for LoginUseCase") + } + + var r0 *liquidity_provider.LoginUseCase + if rf, ok := ret.Get(0).(func() *liquidity_provider.LoginUseCase); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*liquidity_provider.LoginUseCase) + } + } + + return r0 +} + +// UseCaseRegistryMock_LoginUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LoginUseCase' +type UseCaseRegistryMock_LoginUseCase_Call struct { + *mock.Call +} + +// LoginUseCase is a helper method to define mock.On call +func (_e *UseCaseRegistryMock_Expecter) LoginUseCase() *UseCaseRegistryMock_LoginUseCase_Call { + return &UseCaseRegistryMock_LoginUseCase_Call{Call: _e.mock.On("LoginUseCase")} +} + +func (_c *UseCaseRegistryMock_LoginUseCase_Call) Run(run func()) *UseCaseRegistryMock_LoginUseCase_Call { + _c.Call.Run(func(args mock.Arguments) { + run() + }) + return _c +} + +func (_c *UseCaseRegistryMock_LoginUseCase_Call) Return(_a0 *liquidity_provider.LoginUseCase) *UseCaseRegistryMock_LoginUseCase_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *UseCaseRegistryMock_LoginUseCase_Call) RunAndReturn(run func() *liquidity_provider.LoginUseCase) *UseCaseRegistryMock_LoginUseCase_Call { + _c.Call.Return(run) + return _c +} + +// ResignationUseCase provides a mock function with given fields: +func (_m *UseCaseRegistryMock) ResignationUseCase() *liquidity_provider.ResignUseCase { + ret := _m.Called() + + if len(ret) == 0 { + panic("no return value specified for ResignationUseCase") + } + + var r0 *liquidity_provider.ResignUseCase + if rf, ok := ret.Get(0).(func() *liquidity_provider.ResignUseCase); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*liquidity_provider.ResignUseCase) + } + } + + return r0 +} + +// UseCaseRegistryMock_ResignationUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResignationUseCase' +type UseCaseRegistryMock_ResignationUseCase_Call struct { + *mock.Call +} + +// ResignationUseCase is a helper method to define mock.On call +func (_e *UseCaseRegistryMock_Expecter) ResignationUseCase() *UseCaseRegistryMock_ResignationUseCase_Call { + return &UseCaseRegistryMock_ResignationUseCase_Call{Call: _e.mock.On("ResignationUseCase")} +} + +func (_c *UseCaseRegistryMock_ResignationUseCase_Call) Run(run func()) *UseCaseRegistryMock_ResignationUseCase_Call { + _c.Call.Run(func(args mock.Arguments) { + run() + }) + return _c +} + +func (_c *UseCaseRegistryMock_ResignationUseCase_Call) Return(_a0 *liquidity_provider.ResignUseCase) *UseCaseRegistryMock_ResignationUseCase_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *UseCaseRegistryMock_ResignationUseCase_Call) RunAndReturn(run func() *liquidity_provider.ResignUseCase) *UseCaseRegistryMock_ResignationUseCase_Call { + _c.Call.Return(run) + return _c +} + +// SetCredentialsUseCase provides a mock function with given fields: +func (_m *UseCaseRegistryMock) SetCredentialsUseCase() *liquidity_provider.SetCredentialsUseCase { + ret := _m.Called() + + if len(ret) == 0 { + panic("no return value specified for SetCredentialsUseCase") + } + + var r0 *liquidity_provider.SetCredentialsUseCase + if rf, ok := ret.Get(0).(func() *liquidity_provider.SetCredentialsUseCase); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*liquidity_provider.SetCredentialsUseCase) + } + } + + return r0 +} + +// UseCaseRegistryMock_SetCredentialsUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetCredentialsUseCase' +type UseCaseRegistryMock_SetCredentialsUseCase_Call struct { + *mock.Call +} + +// SetCredentialsUseCase is a helper method to define mock.On call +func (_e *UseCaseRegistryMock_Expecter) SetCredentialsUseCase() *UseCaseRegistryMock_SetCredentialsUseCase_Call { + return &UseCaseRegistryMock_SetCredentialsUseCase_Call{Call: _e.mock.On("SetCredentialsUseCase")} +} + +func (_c *UseCaseRegistryMock_SetCredentialsUseCase_Call) Run(run func()) *UseCaseRegistryMock_SetCredentialsUseCase_Call { + _c.Call.Run(func(args mock.Arguments) { + run() + }) + return _c +} + +func (_c *UseCaseRegistryMock_SetCredentialsUseCase_Call) Return(_a0 *liquidity_provider.SetCredentialsUseCase) *UseCaseRegistryMock_SetCredentialsUseCase_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *UseCaseRegistryMock_SetCredentialsUseCase_Call) RunAndReturn(run func() *liquidity_provider.SetCredentialsUseCase) *UseCaseRegistryMock_SetCredentialsUseCase_Call { + _c.Call.Return(run) + return _c +} + +// SetGeneralConfigUseCase provides a mock function with given fields: +func (_m *UseCaseRegistryMock) SetGeneralConfigUseCase() *liquidity_provider.SetGeneralConfigUseCase { + ret := _m.Called() + + if len(ret) == 0 { + panic("no return value specified for SetGeneralConfigUseCase") + } + + var r0 *liquidity_provider.SetGeneralConfigUseCase + if rf, ok := ret.Get(0).(func() *liquidity_provider.SetGeneralConfigUseCase); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*liquidity_provider.SetGeneralConfigUseCase) + } + } + + return r0 +} + +// UseCaseRegistryMock_SetGeneralConfigUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetGeneralConfigUseCase' +type UseCaseRegistryMock_SetGeneralConfigUseCase_Call struct { + *mock.Call +} + +// SetGeneralConfigUseCase is a helper method to define mock.On call +func (_e *UseCaseRegistryMock_Expecter) SetGeneralConfigUseCase() *UseCaseRegistryMock_SetGeneralConfigUseCase_Call { + return &UseCaseRegistryMock_SetGeneralConfigUseCase_Call{Call: _e.mock.On("SetGeneralConfigUseCase")} +} + +func (_c *UseCaseRegistryMock_SetGeneralConfigUseCase_Call) Run(run func()) *UseCaseRegistryMock_SetGeneralConfigUseCase_Call { + _c.Call.Run(func(args mock.Arguments) { + run() + }) + return _c +} + +func (_c *UseCaseRegistryMock_SetGeneralConfigUseCase_Call) Return(_a0 *liquidity_provider.SetGeneralConfigUseCase) *UseCaseRegistryMock_SetGeneralConfigUseCase_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *UseCaseRegistryMock_SetGeneralConfigUseCase_Call) RunAndReturn(run func() *liquidity_provider.SetGeneralConfigUseCase) *UseCaseRegistryMock_SetGeneralConfigUseCase_Call { + _c.Call.Return(run) + return _c +} + +// SetPeginConfigUseCase provides a mock function with given fields: +func (_m *UseCaseRegistryMock) SetPeginConfigUseCase() *liquidity_provider.SetPeginConfigUseCase { + ret := _m.Called() + + if len(ret) == 0 { + panic("no return value specified for SetPeginConfigUseCase") + } + + var r0 *liquidity_provider.SetPeginConfigUseCase + if rf, ok := ret.Get(0).(func() *liquidity_provider.SetPeginConfigUseCase); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*liquidity_provider.SetPeginConfigUseCase) + } + } + + return r0 +} + +// UseCaseRegistryMock_SetPeginConfigUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetPeginConfigUseCase' +type UseCaseRegistryMock_SetPeginConfigUseCase_Call struct { + *mock.Call +} + +// SetPeginConfigUseCase is a helper method to define mock.On call +func (_e *UseCaseRegistryMock_Expecter) SetPeginConfigUseCase() *UseCaseRegistryMock_SetPeginConfigUseCase_Call { + return &UseCaseRegistryMock_SetPeginConfigUseCase_Call{Call: _e.mock.On("SetPeginConfigUseCase")} +} + +func (_c *UseCaseRegistryMock_SetPeginConfigUseCase_Call) Run(run func()) *UseCaseRegistryMock_SetPeginConfigUseCase_Call { + _c.Call.Run(func(args mock.Arguments) { + run() + }) + return _c +} + +func (_c *UseCaseRegistryMock_SetPeginConfigUseCase_Call) Return(_a0 *liquidity_provider.SetPeginConfigUseCase) *UseCaseRegistryMock_SetPeginConfigUseCase_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *UseCaseRegistryMock_SetPeginConfigUseCase_Call) RunAndReturn(run func() *liquidity_provider.SetPeginConfigUseCase) *UseCaseRegistryMock_SetPeginConfigUseCase_Call { + _c.Call.Return(run) + return _c +} + +// SetPegoutConfigUseCase provides a mock function with given fields: +func (_m *UseCaseRegistryMock) SetPegoutConfigUseCase() *liquidity_provider.SetPegoutConfigUseCase { + ret := _m.Called() + + if len(ret) == 0 { + panic("no return value specified for SetPegoutConfigUseCase") + } + + var r0 *liquidity_provider.SetPegoutConfigUseCase + if rf, ok := ret.Get(0).(func() *liquidity_provider.SetPegoutConfigUseCase); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*liquidity_provider.SetPegoutConfigUseCase) + } + } + + return r0 +} + +// UseCaseRegistryMock_SetPegoutConfigUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetPegoutConfigUseCase' +type UseCaseRegistryMock_SetPegoutConfigUseCase_Call struct { + *mock.Call +} + +// SetPegoutConfigUseCase is a helper method to define mock.On call +func (_e *UseCaseRegistryMock_Expecter) SetPegoutConfigUseCase() *UseCaseRegistryMock_SetPegoutConfigUseCase_Call { + return &UseCaseRegistryMock_SetPegoutConfigUseCase_Call{Call: _e.mock.On("SetPegoutConfigUseCase")} +} + +func (_c *UseCaseRegistryMock_SetPegoutConfigUseCase_Call) Run(run func()) *UseCaseRegistryMock_SetPegoutConfigUseCase_Call { + _c.Call.Run(func(args mock.Arguments) { + run() + }) + return _c +} + +func (_c *UseCaseRegistryMock_SetPegoutConfigUseCase_Call) Return(_a0 *liquidity_provider.SetPegoutConfigUseCase) *UseCaseRegistryMock_SetPegoutConfigUseCase_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *UseCaseRegistryMock_SetPegoutConfigUseCase_Call) RunAndReturn(run func() *liquidity_provider.SetPegoutConfigUseCase) *UseCaseRegistryMock_SetPegoutConfigUseCase_Call { + _c.Call.Return(run) + return _c +} + +// WithdrawCollateralUseCase provides a mock function with given fields: +func (_m *UseCaseRegistryMock) WithdrawCollateralUseCase() *liquidity_provider.WithdrawCollateralUseCase { + ret := _m.Called() + + if len(ret) == 0 { + panic("no return value specified for WithdrawCollateralUseCase") + } + + var r0 *liquidity_provider.WithdrawCollateralUseCase + if rf, ok := ret.Get(0).(func() *liquidity_provider.WithdrawCollateralUseCase); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*liquidity_provider.WithdrawCollateralUseCase) + } + } + + return r0 +} + +// UseCaseRegistryMock_WithdrawCollateralUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithdrawCollateralUseCase' +type UseCaseRegistryMock_WithdrawCollateralUseCase_Call struct { + *mock.Call +} + +// WithdrawCollateralUseCase is a helper method to define mock.On call +func (_e *UseCaseRegistryMock_Expecter) WithdrawCollateralUseCase() *UseCaseRegistryMock_WithdrawCollateralUseCase_Call { + return &UseCaseRegistryMock_WithdrawCollateralUseCase_Call{Call: _e.mock.On("WithdrawCollateralUseCase")} +} + +func (_c *UseCaseRegistryMock_WithdrawCollateralUseCase_Call) Run(run func()) *UseCaseRegistryMock_WithdrawCollateralUseCase_Call { + _c.Call.Run(func(args mock.Arguments) { + run() + }) + return _c +} + +func (_c *UseCaseRegistryMock_WithdrawCollateralUseCase_Call) Return(_a0 *liquidity_provider.WithdrawCollateralUseCase) *UseCaseRegistryMock_WithdrawCollateralUseCase_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *UseCaseRegistryMock_WithdrawCollateralUseCase_Call) RunAndReturn(run func() *liquidity_provider.WithdrawCollateralUseCase) *UseCaseRegistryMock_WithdrawCollateralUseCase_Call { + _c.Call.Return(run) + return _c +} + +// NewUseCaseRegistryMock creates a new instance of UseCaseRegistryMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +// The first argument is typically a *testing.T value. +func NewUseCaseRegistryMock(t interface { + mock.TestingT + Cleanup(func()) +}) *UseCaseRegistryMock { + mock := &UseCaseRegistryMock{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/test/utils.go b/test/utils.go index ba16b7b0..b2d094a2 100644 --- a/test/utils.go +++ b/test/utils.go @@ -14,6 +14,7 @@ import ( "path/filepath" "reflect" "runtime" + "sync" "testing" "time" ) @@ -62,6 +63,29 @@ func CountNonZeroValues(aStruct any) int { return count } +type ThreadSafeBuffer struct { + bytes.Buffer + mutex sync.RWMutex +} + +func (b *ThreadSafeBuffer) Write(p []byte) (n int, err error) { + b.mutex.Lock() + defer b.mutex.Unlock() + return b.Buffer.Write(p) +} + +func (b *ThreadSafeBuffer) Read(p []byte) (n int, err error) { + b.mutex.RLock() + defer b.mutex.RUnlock() + return b.Buffer.Read(p) +} + +func (b *ThreadSafeBuffer) Len() int { + b.mutex.RLock() + defer b.mutex.RUnlock() + return b.Buffer.Len() +} + func AssertNoLog(t *testing.T) (assertFunc func()) { buff := new(bytes.Buffer) log.SetOutput(buff) @@ -70,14 +94,17 @@ func AssertNoLog(t *testing.T) (assertFunc func()) { } } -func AssertLogContains(t *testing.T, expected string) (assertFunc func()) { +func AssertLogContains(t *testing.T, expected string) (assertFunc func() bool) { message := make([]byte, 1024) - buff := new(bytes.Buffer) + buff := new(ThreadSafeBuffer) log.SetOutput(buff) - return func() { + return func() bool { + if buff.Len() == 0 { + return false + } _, err := buff.Read(message) require.NoError(t, err, "Error reading log message") - assert.Contains(t, string(message), expected, "Expected message not found") + return assert.Contains(t, string(message), expected, "Expected message not found") } } @@ -126,3 +153,18 @@ func OpenWalletForTest(t *testing.T, testRef string) *account.RskAccount { require.NoError(t, err) return testAccount } + +func ReadFile(t *testing.T, path string) []byte { + _, currentPackageDir, _, _ := runtime.Caller(0) + file, err := os.Open(filepath.Join(currentPackageDir, "../../", path)) + require.NoError(t, err) + + defer func(file *os.File) { + closingErr := file.Close() + require.NoError(t, closingErr) + }(file) + + fileBytes, err := io.ReadAll(file) + require.NoError(t, err) + return fileBytes +}