Releases: Azuro-protocol/toolkit
Releases · Azuro-protocol/toolkit
v4.5.3
v4.5.2
Changed bet token address for base chain
v4.5.1
Added base and base sepolia networks
v4.5.0
Added implementation of Cashouts
New utils:
getPrecalculatedCashouts
- Provides approximate precalculated cashout values, intended for use in the client's bets viewgetCalculatedCashout
- Returns the calculated cashout, intended to provide the exact cashout value for a specific betgetCashoutTypedData
- Returns a typed data for cashout typed signaturecreateCashout
- Submits a cashout ordergetCashout
- Returns the details of the created cashout order
New constants:
CASHOUT_DATA_TYPES
CASHOUT_TYPED_DATA_DOMAIN_NAME
CASHOUT_TYPED_DATA_DOMAIN_VERSION
v4.4.1
Upgrade peerDependencies
packages
v4.4.0
New utils for live bets:
getLiveBetTypedData
- generates a typed data for signcreateLiveBet
- creates a live betgetLiveBet
- returns a created live bet
New constants:
LIVE_BET_DATA_TYPES
LIVE_TYPED_DATA_DOMAIN_NAME
LIVE_TYPED_DATA_DOMAIN_VERSION
v4.3.3
Increased decimals for the calcPrematchOdds
v4.3.2
orderBy
andorderDirection
forPrematchConditions
andLiveConditions
queries- added
margin
field for thePrematchCondition
fragment - added
margin
field for theMarketOutcome
type
v4.3.1
v4.3.0
where
=>gameFilter
and newsportFilter
filed forNavigation
querywhere
=>gameFilter
and newsportFilter
filed forSportsNavigation
querysportId
field forSports
query