๐ŸŽฑ
Separly
  • general
    • ๐Ÿ‘‹Intro
    • ๐Ÿ–ฅ๏ธWho is Separly for?
  • separly groups
    • ๐Ÿ”ŽSeparly Groups Overview
    • ๐Ÿ”‘Authentication
    • โฌ‡๏ธInstallation
    • โ›๏ธImplemetation
      • ๐Ÿ‘ฉโ€๐Ÿ’ปGroup Buy Flow
      • ๐Ÿ‘จโ€๐Ÿ’ปSmart Contract Interface
  • roadmap
    • ๐Ÿ—บ๏ธGeneral Roadmap
  • tokenomics
    • ๐Ÿช™Native token
  • documents
    • ๐ŸชCookie Policy
  • contacts
    • ๐Ÿง Team
    • ๐Ÿ“ฑSocial media
    • ๐ŸšSupport
Powered by GitBook
On this page
  1. separly groups
  2. โ›๏ธImplemetation

๐Ÿ‘จโ€๐Ÿ’ปSmart Contract Interface

PreviousGroup Buy FlowNextGeneral Roadmap

Last updated 1 year ago

CtrlK
  • To support post backs for successful Blockchain transaction, the following endpoints should be implemented:
  • ๐Ÿ”นBuy transaction complete
  • ๐Ÿ”นList for sale transaction complete
  • ๐Ÿ”นCancel listing transaction complete

To support post backs for successful Blockchain transaction, the following endpoints should be implemented:

๐Ÿ”นBuy transaction complete

TypeScript

async postBuyExecuted(body: {
  nftAddress: string;
  tokenId: string;
  daoAddress: string;
  payload?: any;
}): Promise<bool> {
      <YOUR IMPLEMENTATION GOES HERE>
}

๐Ÿ”นList for sale transaction complete

TypeScript

async postListedForSellExecuted(body: {
  nftAddress: string;
  tokenId: string;
  daoAddress: string;
  payload?: any;
}): Promise<bool> {
      <YOUR IMPLEMENTATION GOES HERE>
}

๐Ÿ”นCancel listing transaction complete

TypeScript

async postCancelListedForSaleExecuted(body: {
  nftAddress: string;
  tokenId: string;
  daoAddress: string;
  payload?: any;
}): Promise<bool> {
      <YOUR IMPLEMENTATION GOES HERE>
}

โœ‰๏ธ Talk to us!

Our product evolves and improves as you build on top of it, iterating quickly to help support new use cases and constantly optimising for value. To do so effectively, we want your feedback. Any feedback is welcomed - good, bad, or neutral. You can share your input via email to info@separly.com