The purpose of this contract is to change ETH or other ERC20 token into VegasONE. In order to achieve the goal, there are various settings in the contract, such as exchange rates, switches, etc.
The following are some explanation for the function or user scenario.
This function is provided for administrators to add an erc20 token that can be exchanged for VegasONE. Also, admins set the exchange rate and decide whether to open the exchange through this function.
Convert the selected erc20 token to VEGASONE according to the exchange rate.
This function is for the administrator to withdraw the selected erc20 token within the contract to whoever he wants.
Convert ETH to VEGASONE according to the exchange rate.
This function is for the administrator to withdraw the ETH within the contract to whoever he wants.
This function is provided for administrators to modify whether the contract is open to exchange VegasONE.
This function is provided for administrators to modify exchange rates for selected erc20 token.
This function is provided for administrators to modify exchange rates for ETH.
This function is provided for administrators to modify the minimum amount to exchange VegasONE.
This function is provided for administrators to modify whether the selected erc20 tokens are open to exchange for VegasONE.