Dex3
Merchant DashboardHome
  • 👋Introduction
    • Dex3 API
    • Payment Gateway
    • Payout System
  • 🌟Getting Started
    • Create merchant
  • ⚙️Connect to API
    • Connect API
  • 🚩Merchant Status
    • Get Merchant Status
  • 🪙Payment Gateway
    • Create New Payment
      • Create Signature
    • Get Payment Status
    • Get Payment Data
    • Payment Success Webhook
      • Verify Webhook Signature
  • 🫴Payout System
    • Create New Payout
      • Create Signature
    • Get Payout Status
    • Get Payout Data
    • Payout Success Webhook
      • Verify Webhook Signature
    • Payout Contracts
Powered by GitBook
On this page
  • Sample approval function :
  • Dex3 Payout Contracts :

Was this helpful?

  1. Payout System

Payout Contracts

Payout contracts from different chains is listed here.

If you want to handle payouts directly from your project's smart contract then you can simply create an approval function in your smart contract that will grant approval for all your preferred tokens to be spent by our payout smart contracts.

Sample approval function :

address public DEX3_PAYOUT_CONTRACT; //Get the contract address from below tableaddress public EMERGENCY_ADDR;
uint MAX_UINT;

//_tokenAddr is the address of the token like USDT, USDC for which you want to grant approval.
function approveForDex3Payout(address _tokenAddr) external onlyOwner {
    IERC20(_tokenAddr).approve(DEX3_PAYOUT_CONTRACT, MAX_UINT);
}

Dex3 Payout Contracts :

Chain
Smart Contract Address

Binance Smart Chain

0x0F9604506F04d668f019909623DA325eaA3eAecE

Binance Smart Chain (Testnet)

0x074EeC00AAcaD36c546889076eb2AA562B98b141

Polygon

0x3C50c9148b5Ff65155039485dF4Ef2c46711B8da

PreviousVerify Webhook Signature

Last updated 9 months ago

Was this helpful?

🫴