package
Version:
v0.0.0-...-5323c5f
Opens a new window with list of versions in this module.
Published: Mar 15, 2022
License: MIT
Opens a new window with license information.
Imports: 22
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Type 2: Gas Refund
- triggered on 00:00 UTC+0
- User has to wait for 1 day
- User to transfer more than 200 USD from BSC or Ethereum
- Pick Min price from the previous day, No need for reducing factor.
- the lowest BNB_USTD price
- the highest FRA_USTD price
- actions:
- get bnb/usdt, fra/usdt, btc/usdt, eth/usdt price from gate.io regularly (every 10 mins)
- every 24 hours get transfer to address value more than 200 usd
- send him XXX * price(bnb/usdt) / price(fra/usdt) FRA
- XXX = 0**.**00053251 * 0.5 (2.66255e+14 wei)
Max Cap :
Documentation
¶
Close stops the fork out goroutines from Start method
Start spawns two goroutines:
1. a crawler ---> crawling gate.io to get the usdt price
2. a refund ---> do the refunding action to recipients
Source Files
¶
Click to show internal directories.
Click to hide internal directories.