LiquidityBakingData

public struct LiquidityBakingData : Codable

Wrapper object to hold onto all the necessary data in order to work with liquidity baking contract (swap, add or remove liqudity)

  • The total amount of XTZ in the contract

    Declaration

    Swift

    public let xtzPool: XTZAmount
  • The total amount of the token in the contract (currently tzBTC)

    Declaration

    Swift

    public let tokenPool: TokenAmount
  • The total amount of liquidity tokens in circulation

    Declaration

    Swift

    public let totalLiquidity: TokenAmount
  • The address of the dex contract

    Declaration

    Swift

    public let tokenContractAddress: String
  • The address of the liquidty token contract

    Declaration

    Swift

    public let liquidityTokenContractAddress: String