diff --git a/.changeset/itchy-jobs-end.md b/.changeset/itchy-jobs-end.md new file mode 100644 index 0000000..cdb55df --- /dev/null +++ b/.changeset/itchy-jobs-end.md @@ -0,0 +1,5 @@ +--- +"@shadeprotocol/shadejs": patch +--- + +update the reward token staking response type since we had a duplicate type diff --git a/src/types/contracts/swap/response.ts b/src/types/contracts/swap/response.ts index 53be769..2fd5421 100644 --- a/src/types/contracts/swap/response.ts +++ b/src/types/contracts/swap/response.ts @@ -113,7 +113,7 @@ type PairInfoResponse = { } } -type RewardTokenInfo = { +type RewardTokenInfoResponse = { token: Contract, decimals: number, reward_per_second: string, @@ -128,7 +128,7 @@ type StakingConfigResponse = { admin_auth: Contract, query_auth: Contract | null, total_amount_staked: string, - reward_tokens: RewardTokenInfo[], + reward_tokens: RewardTokenInfoResponse[], } export type {