mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
* Remove publish (#1451) * gitignore Next.js stuff * remove publish * remove pricing creation components * Remove Trade (#1453) * Add market version dropdown (#1185) * Add market version dropdown and disable publish Signed-off-by: Pablo Maldonado <pablo@oceanprotocol.com> * Remove old tests and forms Signed-off-by: Pablo Maldonado <pablo@oceanprotocol.com> * Update dropdown design * roll back Pool button change * new iteration Co-authored-by: Matthias Kretschmann <m@kretschmann.io> * put up announcement banner (#1455) * Migration v3-v4 interface (#1146) * Adding start migration component * Adding styles and updating text * Conditional rendering - only showing start migration to the owner of the asset * Removing unused imports * creating Migration context provider * Importing types from local v4-migration-lib package * Adding migration contract addesses * Setting migration contract address and creating fetchMigrationStatus function * Updating MigrationStatusProvider interface & exports * Updating the statMigration function * Passing token name and symbol to smart contract * creating lockPoolShares component * Adding getUserPoolShareBalance * Showing lockPoolShares component on asset detail page * Adding migration context component * Setting encrypted files * Passing through dtAddress and poolAddress when starting migration * Fixing build issues * fixing type issues * Updating the DT and NFT names / symbols * Removing add / remove liquidity option when the pool migration is in progress * Using useMigrationStatus in pool tab * Lock pool shares not shown for pool owner * Adding i-progress message * Checking if threshold has been met * Fixing approvals on lock pool shares * Adding CreateV4Pool component * Checking if deadline has passed * Creating Cancel Migration component * Updating Migration provider to fetch poolShares for user * First draft migration Signed-off-by: Pablo Maldonado <pablo@oceanprotocol.com> * Install test v4-migration-lib Signed-off-by: Pablo Maldonado <pablo@oceanprotocol.com> * Fix linting and apollo errors Signed-off-by: Pablo Maldonado <pablo@oceanprotocol.com> * Remove test component Signed-off-by: Pablo Maldonado <pablo@oceanprotocol.com> * Update v4-migration-lib version Signed-off-by: Pablo Maldonado <pablo@oceanprotocol.com> * Cover more emigration cases Signed-off-by: Pablo Maldonado <pablo@oceanprotocol.com> * Fix migration message * Update market migration with new workflow Signed-off-by: Pablo Maldonado <pablo@oceanprotocol.com> * Update migration contract address * Clean up console.logs * add more networks * Removing migration not started message + updating gitignore * Refactoring to remove the migration not started yet message * Fixing - hide lock poolshares button when shares are already locked * Removing console log * Adjusting message logic to create default message * Removing block counter * Removing threshold met contract call * Updating message content for the migration * Simplifying MigrationAction enum * Removing console.log * fix package-lock * don't use old npm versions as it adds git+ssh all over the place, making Node.js v14 CI runs fail * Simplifying logic for showing message and action * Fixing getMessageAndAction() * Removing unused state variable * Removing unused state variables from Migration context provider * more cleanup, leave only Rinkeby as test network Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com> Co-authored-by: alexcos20 <alex.coseru@gmail.com> Co-authored-by: Matthias Kretschmann <m@kretschmann.io> * Updating locked shares message + ensuring the message changes when the shares are locked (#1457) * Adding start migration component * Adding styles and updating text * Conditional rendering - only showing start migration to the owner of the asset * Removing unused imports * creating Migration context provider * Importing types from local v4-migration-lib package * Adding migration contract addesses * Setting migration contract address and creating fetchMigrationStatus function * Updating MigrationStatusProvider interface & exports * Updating the statMigration function * Passing token name and symbol to smart contract * creating lockPoolShares component * Adding getUserPoolShareBalance * Showing lockPoolShares component on asset detail page * Adding migration context component * Setting encrypted files * Passing through dtAddress and poolAddress when starting migration * Fixing build issues * fixing type issues * Updating the DT and NFT names / symbols * Removing add / remove liquidity option when the pool migration is in progress * Using useMigrationStatus in pool tab * Lock pool shares not shown for pool owner * Adding i-progress message * Checking if threshold has been met * Fixing approvals on lock pool shares * Adding CreateV4Pool component * Checking if deadline has passed * Creating Cancel Migration component * Updating Migration provider to fetch poolShares for user * First draft migration Signed-off-by: Pablo Maldonado <pablo@oceanprotocol.com> * Install test v4-migration-lib Signed-off-by: Pablo Maldonado <pablo@oceanprotocol.com> * Fix linting and apollo errors Signed-off-by: Pablo Maldonado <pablo@oceanprotocol.com> * Remove test component Signed-off-by: Pablo Maldonado <pablo@oceanprotocol.com> * Update v4-migration-lib version Signed-off-by: Pablo Maldonado <pablo@oceanprotocol.com> * Cover more emigration cases Signed-off-by: Pablo Maldonado <pablo@oceanprotocol.com> * Fix migration message * Update market migration with new workflow Signed-off-by: Pablo Maldonado <pablo@oceanprotocol.com> * Update migration contract address * Clean up console.logs * add more networks * Removing migration not started message + updating gitignore * Refactoring to remove the migration not started yet message * Fixing - hide lock poolshares button when shares are already locked * Removing console log * Adjusting message logic to create default message * Removing block counter * Removing threshold met contract call * Updating message content for the migration * Simplifying MigrationAction enum * Removing console.log * fix package-lock * don't use old npm versions as it adds git+ssh all over the place, making Node.js v14 CI runs fail * Simplifying logic for showing message and action * Fixing getMessageAndAction() * Removing unused state variable * Removing unused state variables from Migration context provider * Adding startMigration function in for testing + updating refreshMigration function * Updating locked shares message Co-authored-by: Pablo Maldonado <pablo@oceanprotocol.com> Co-authored-by: alexcos20 <alex.coseru@gmail.com> Co-authored-by: Matthias Kretschmann <m@kretschmann.io> * Checking if adding shares is allowed for Asset (#1458) * fix dark mode banner text color (#1459) * Update V4 Migration smartcontract address (#1460) Update V4 Migration smartcontract address on Rinkeby * Removing all code that was in V3 branch for testing (#1461) * Removing all code that was in place for testing * Removing complete migration function * remove unused CSS files (#1462) * remove Add/Remove for good (#1463) * alert color tweaks, effect dependencies (#1464) * V3 fix pool shares rounding (#1466) * Changing UI to show pool shares rounded to 3 decimal places * Fixing NaN shown in the UI when changing account * Displaying locked pool shares to 3 decimals (#1467) * Displaying locked pool shares to 3 decimals * Removing else condition * Updating text - removing mentions of migration (#1468) * V3 fixes (#1469) * Fixing - making sure migration status is not shown after changing accounts * Updating text to remove V4 migration status+ fix typo + renaming data pool to datatoken pool * Fixing typo - Please note * Making title shorter * Update title (#1470) * Update MIGRATION_CONTRACT_ADDRESS for production (#1472) * update banner: (#1474) Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro> Co-authored-by: md0x <pablomaldonadoturci@gmail.com> Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com> Co-authored-by: alexcos20 <alex.coseru@gmail.com> Co-authored-by: Pablo Maldonado <pablo@oceanprotocol.com> Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
17 lines
816 B
JSON
17 lines
816 B
JSON
{
|
|
"liquidityProvider": {
|
|
"migrationStarted": {
|
|
"title": "Lock Your Pool Shares",
|
|
"text": "**The Datatoken Pool Lock is in progress** \n\nYou can now lock your liquidity pool tokens in the smart contract. Please note that you can only lock pool shares once. At the end of the locking period there will be an airdrop."
|
|
},
|
|
"poolSharesLocked": {
|
|
"title": "Your pool shares have been locked",
|
|
"text": "You have successfully locked your pool shares, you cannot lock anymore tokens.\n\nThe locking period ends at 10:00 UTC 15th June 2022 and there will be an airdrop shortly after."
|
|
},
|
|
"deadlineMet": {
|
|
"title": "Ocean V3 Airdrop Will be Completed Soon",
|
|
"text": "**You can no longer lock pool shares** The deadline for locking pool shares has passed."
|
|
}
|
|
}
|
|
}
|