Skip to main content

FeSwap Contracts on Heco


Governance Token Contract #

FESW@H is the FeSwap DAO governance token on Heco. Its total supply is 1,000,000,000 FESW@H, and is distributed to FeSwap community members based on their contribution to FeSwap DAO. Please refer to Governance on Heco for the distribution rules.

Heco NetworkFESW@H On-Chain Information
Heco MainnetAvailable soon
Heco Testnet0x31C6ba28f9692564a6ebd516676f2D49ac8C0dba

** Github Code: Governance Token Contract


Liquidity Pool Factory Contract #

The FeSwap Factory contract is the manager of all FeSwap liquidity pools on Heco. Factory is responsible to create all the asset pair liquidity pools, and to store the listing information of these pools.

Only NFT owners of the asset pairs have the right to create the corresponding liquidity pool. Two correlated sub-pools are created for each token pair. Factory contract, together with NFT contract, provides the interface for the NFT owners to config the liquidity pool, mainly including the arbitrage trigger rate, swapping profit receiver address, and price oracle on-off swicth.

Heco NetworkOn-Chain Liquidity Pool Factory Contract
Heco MainnetAvailable soon
Heco Testnet0x69752367a0720963Aec78760EeAa208aFcF09122

** Github Code: Liquidity Pool Factory Contract


Exchange Router Contract #

Exchange Router is the contract that users mostly interact with, which provides to users the interface of liquidity-adding, liquidity-removing and token-swapping.

Heco NetworkContract Address
Heco MainnetAvailable soon
Heco Testnet0x364cD4f1202a48e9e6C6De502B2dde572Ef57281

** Github Code: Exchange Router Contract


Asset Pair NFT Contract #

Asset Pair NFT is the contract that handles user's NFT bidding process, and provides interface for NFT owners to create the liquidity pool, buy/sell the liquidity pool NFTs. Please refer to NFT bidding on Heco for the detailed bidding rules.

The NFT owner may earn 60% of the protocol profit of the underlying crypto asset liquidity pool.

Heco NetworkOn-Chain Asset Pair NFT Contract
Heco MainnetAvailable soon
Heco Testnet0x928d6F271F4CdEa1A544F40898350d1Ba55018D4

** Github Code: Asset Pair NFT Contract


Timelock contract #

TimeLock is the contract used to finally execute the proposals that pass the FeSwap governance voting successfully. Only the FeSwap Governor contract can call TimeLock to queue/excute the proposals.

Heco NetworkOn-Chain Timelock contract
Heco MainnetAvailable soon
Heco Testnet0xC2078563d1cE2B8fF241A087B37344A7Ea0a07Dd

** Github Code: Timelock contract


FeSwap Governor Contract #

FeswGovernor is the contract that users can call to submit governance proposals and vote on these proposals. Anyone owning more than 10,000,000 FESW@H voting-weight can submit proposals, and one proposal that gets more than 40,000,000 FESW@H votes and no more against votes will pass the vote. Anyone can call FeswGovernor to execute the succeeded proposals.

Heco NetworkOn-Chain Governor Contract
Heco MainnetAvailable soon
Heco Testnet0x7725f9A802E1612eC5e5Bf65A73D4318cdA0C4a9

** Github Code: FeSwap Governor Contract


Staking Reward Factory Contract #

Staking Reward Factory is used to feul FESW@H tokens to the staking reward contracts for liquidity mining.

Heco NetworkOn-Chain Staking Reward Factory Contract
Heco MainnetAvailable soon
Heco Testnet0x9B592DbCf45F8260657BC9Ac8BB3bCFE2C83d99C

** Github Code: Staking Reward Factory Contract

Patch Factory Contract #

Patch Factory contract is used to manage the patch of the core FeSwap protocol contract. Patch can be used to add new features to the current contract, or to replace part of the feature of current cantract. Patch activating and deactivating is strictly controlled by the manager of Patch Factory

Heco NetworkOn-Chain Patch Factory Contract
Heco MainnetAvailable soon
Heco Testnet0x6A8FE4753AB456e85E1379432d92ABF1fB49B5Df

** Github Code: Patch Factory Contract