diff --git a/idls/ido_pool.json b/idls/ido_pool.json index 3ad9ad2..a4a8959 100644 --- a/idls/ido_pool.json +++ b/idls/ido_pool.json @@ -394,9 +394,14 @@ "code": 309, "name": "InvalidNonce", "msg": "Given nonce is invalid" + }, + { + "code": 310, + "name": "InvalidPoolAccount", + "msg": "Invalid pool account" } ], "metadata": { - "address": "6QXNNAPkPsWjd1j3qQJTvRFgSNPARMhF2tE8g1WeGyrM" + "address": "AgGftdn4t6Ws2hEwYmpjPdSHve7QiqhLY3WQyA689kCt" } -} +} \ No newline at end of file diff --git a/pages/index.tsx b/pages/index.tsx index 1d56d3d..982cfec 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -1,6 +1,6 @@ import ContributionPage from './ContributionPage' import LeadPage from './LeadPage' -//import RedeemPage from './RedeemPage' +import RedeemPage from './RedeemPage' import Notifications from '../components/Notification' import NavBarBeta from '../components/NavBarBeta' @@ -16,7 +16,7 @@ const Index = () => { {startIdo?.isAfter() && } {startIdo?.isBefore() && endIdo?.isAfter() && } - {/* {endIdo?.isBefore() && } */} + {endIdo?.isBefore() && }
) diff --git a/stores/useWalletStore.tsx b/stores/useWalletStore.tsx index 15e7157..b267620 100644 --- a/stores/useWalletStore.tsx +++ b/stores/useWalletStore.tsx @@ -28,8 +28,8 @@ export const ENDPOINTS: EndpointInfo[] = [ name: 'mainnet-beta', url: 'https://mango.rpcpool.com', websocket: 'https://mango.rpcpool.com', - programId: '6QXNNAPkPsWjd1j3qQJTvRFgSNPARMhF2tE8g1WeGyrM', - poolKey: 'AHBj9LAjxStT2YQHN6QdfHKpZLtEVr8ACqeFgYcPsTnr', + programId: 'AgGftdn4t6Ws2hEwYmpjPdSHve7QiqhLY3WQyA689kCt', + poolKey: 'D5tRvh6dUeerHVwM5DAEnq3Pv2njGEaZoMX9qHfo4HoF', }, { name: 'devnet',