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 Network | FESW@H On-Chain Information |
---|---|
Heco Mainnet | Available soon |
Heco Testnet | 0x31C6ba28f9692564a6ebd516676f2D49ac8C0dba |
** 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 Network | On-Chain Liquidity Pool Factory Contract |
---|---|
Heco Mainnet | Available soon |
Heco Testnet | 0x69752367a0720963Aec78760EeAa208aFcF09122 |
** 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 Network | Contract Address |
---|---|
Heco Mainnet | Available soon |
Heco Testnet | 0x364cD4f1202a48e9e6C6De502B2dde572Ef57281 |
** 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 Network | On-Chain Asset Pair NFT Contract |
---|---|
Heco Mainnet | Available soon |
Heco Testnet | 0x928d6F271F4CdEa1A544F40898350d1Ba55018D4 |
** 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 Network | On-Chain Timelock contract |
---|---|
Heco Mainnet | Available soon |
Heco Testnet | 0xC2078563d1cE2B8fF241A087B37344A7Ea0a07Dd |
** 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 Network | On-Chain Governor Contract |
---|---|
Heco Mainnet | Available soon |
Heco Testnet | 0x7725f9A802E1612eC5e5Bf65A73D4318cdA0C4a9 |
** 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 Network | On-Chain Staking Reward Factory Contract |
---|---|
Heco Mainnet | Available soon |
Heco Testnet | 0x9B592DbCf45F8260657BC9Ac8BB3bCFE2C83d99C |
** 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 Network | On-Chain Patch Factory Contract |
---|---|
Heco Mainnet | Available soon |
Heco Testnet | 0x6A8FE4753AB456e85E1379432d92ABF1fB49B5Df |
** Github Code: Patch Factory Contract