White-Whale-Defi-Platform / white-whale-core

Core contracts for White Whale, The Interchain Liquidity Protocol for the Cosmos.
https://whitewhale.money
MIT License
36 stars 23 forks source link

feat(smart-contracts): use response structs on all queries #331

Closed nseguias closed 5 months ago

nseguias commented 5 months ago

Description and Motivation

This PR refactors some queries to return response structs instead of plain data.

Related Issues

319


Checklist:

github-actions[bot] commented 5 months ago

Schema generation had missing jobs:

contracts/liquidity_hub/pool-manager/schema/pool-manager.json
contracts/liquidity_hub/pool-manager/schema/raw/response_to_config.json
contracts/liquidity_hub/pool-manager/schema/raw/response_to_pair.json
contracts/liquidity_hub/pool-manager/schema/raw/response_to_swap_route.json
contracts/liquidity_hub/pool-manager/schema/raw/response_to_swap_routes.json

Please run just schemas locally and upload the generated schemas.

github-actions[bot] commented 5 months ago

Schema generation had missing jobs:

contracts/liquidity_hub/pool-manager/schema/pool-manager.json
contracts/liquidity_hub/pool-manager/schema/raw/response_to_config.json
contracts/liquidity_hub/pool-manager/schema/raw/response_to_pair.json
contracts/liquidity_hub/pool-manager/schema/raw/response_to_swap_route.json
contracts/liquidity_hub/pool-manager/schema/raw/response_to_swap_routes.json

Please run just schemas locally and upload the generated schemas.