Skip to content

Releases: Lumina-DEX/lumina

@lumina-dex/[email protected]

23 Jul 08:07
bf84c98
Compare
Choose a tag to compare

Minor Changes

  • 50b59a8: add server-side pool creation

@lumina-dex/[email protected]

17 Jul 16:47
2ce1d6b
Compare
Choose a tag to compare

Minor Changes

  • c88ed07: add tokenId to LuminaPool

@lumina-dex/[email protected]

29 Jun 09:34
72e7621
Compare
Choose a tag to compare

Minor Changes

  • 0694cae: Move multisig from pool to factory
    Update sdk to integrate the new contracts
    Correct a calculation bug on add liquidity

Patch Changes

@lumina-dex/[email protected]

29 Jun 09:34
72e7621
Compare
Choose a tag to compare

Minor Changes

  • 0694cae: Move multisig from pool to factory
    Update sdk to integrate the new contracts
    Correct a calculation bug on add liquidity

@lumina-dex/[email protected]

05 Jun 15:40
2320890
Compare
Choose a tag to compare

Minor Changes

  • 049a173: ## Add debugging flags to control caching and debugging output

    localStorage.setItem("disableCache", "true") // default false
    localStorage.setItem("debugLogs", "true") // default false in prod

    Fix blockscan explorer domain in transaction hash

    Now points to the correct url and network.

    Rework Contract Compilation

    Contracts are now loaded and compiled on demand, behind the following feature flags :

    • Swap (enabled by default)
    • DeployPool
    • DeployToken
    • Claim

    When initializing the SDK, you can specify which features to load:

    const Dex = createDex({
    	input: {
    		wallet: Wallet,
    		features: ["Swap", "DeployPool"], // Load specific features
    		frontendFee: {
    			destination: "B62qmdQRb8FKaKA7cwaujmuTBbpp5NXTJFQqL1X9ya5nkvHSuWsiQ1H",
    			amount: 1
    		}
    	}
    })

    You can load additional features dynamically after initialization:

    Dex.send({ type: "LoadFeatures", features: ["DeployPool", "Claim"] })

@lumina-dex/[email protected]

28 May 18:04
2c164af
Compare
Choose a tag to compare

Minor Changes

  • 8098bc5: Add multisig in the pools contracts
    Update contract address in the sdk
    Remove faucet and token admin contract from sdk compile list (you can't deploy a new token)

Patch Changes

@lumina-dex/[email protected]

28 May 18:04
2c164af
Compare
Choose a tag to compare

Minor Changes

  • 8098bc5: Add multisig in the pools contracts
    Update contract address in the sdk
    Remove faucet and token admin contract from sdk compile list (you can't deploy a new token)

@lumina-dex/[email protected]

05 May 15:10
43e7015
Compare
Choose a tag to compare

Patch Changes

  • bed7d24: fix dataclone errors while loading contracts

@lumina-dex/[email protected]

05 May 14:48
6a1a238
Compare
Choose a tag to compare

Minor Changes

  • a72aab2: - Implement fetchPoolList, which fetches pools from the CDN and returns LuminaPool[]
    • Change fetchTokenList return type to LuminaToken[]. This is a breaking change.
    • Remove poolAddress from LuminaToken. This is a breaking change.

Patch Changes

  • 952aa9e: Minor interface change for LuminaToken and LuminaPool.

@lumina-dex/[email protected]

01 May 15:39
e199661
Compare
Choose a tag to compare

Minor Changes

  • 731fa10: This patch introduces new functions to fetch pools and refactor the existing fetch token logic. This is a breaking change.

    • New Interface: LuminaPool, PoolDbList

    • Renamed interface: TokenDbToken => LuminaToken

    • New functions : fetchAllFromPoolFactory, fetchAllPoolsFromPoolFactory, fetchPoolList

    • Renamed function : fetchPoolTokenList => fetchTokenList

    The return type of the fetchAll* functions has changed : It's now a Map instead of an array.

    Additionally, concurrency limits are introduced in several parts of the SDK.

    Note that fetchPoolList is not implemented yet.