Mechanism
WePiggy’s price feed system is composed of multiple channels. According to different assets, the number of channels enabled and the priority order for each channel are different.
Basically, WePiggy will give priority to using Chainlink’s price feed. At the same time, we have set up a warning system. Once a failure of the ChainLink oracle is found, it will automatically switch channels according to the priority.
The warning system will also feed back abnormal situations to the risk control team of the core development team so that the risk control team can make timely judgments based on changes in the market environment to minimize the loss of user assets in extreme environments.
Oracle Settings for New Assets
More assets will be added into WePiggy’s lending market in the future.
For any new assets, WePiggy will give priority to using Chainlink’s price feed
For some emerging assets, since there is no price feed from Chainlink, use WePiggy’s self-developed oracle.
Address Details
The main price channels include: ChainLink and WePiggy oracles, etc.
Chainlink
Asset Name | Address |
---|---|
BUSD | - |
USDC | 0xA45A41be2D8419B60A6CE2Bc393A0B086b8B3bda |
USDT | 0x5CaAeBE5C69a8287bffB9d00b5231bf7254145bf |
DAI | - |
ETH | 0xbaf7C8149D586055ed02c286367A41E0aDA96b7C |
WBTC | 0x3C41439Eb1bF3BA3b2C3f8C921088b267f8d11f4 |
ONE | 0xdCD81FbbD6c4572A69a534D8b8152c562dA8AbEF |
WePiggy Price Oracle
Contract Name: WE_PIGGY_PRICE_ORACLE_V1
Address: 0xFfceAcfD39117030314A07b2C86dA36E51787948
Other price feed channels
Under review…