UsdgMarket

Verified contract

Active on Ethereum with 733 txns
Deployed by via 0x6d65b38d at 12186354
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $49.81
ERC-20
--
0x7a5b771ca43de0fb67e9f3b2ac0cede1c0e6efddd8741a8bb03c6f0b2c228d96
0x619aed5f02c703016bd89a6d5d162fdfdbd42873ab661e85e5ef7e079fd18ac5
0x8956d41bb9a87d4a236d9a246e0c8f076a7ac47d5f055a4b7bf081340ce2abe2
0x23cf595a41bbb380fa15594a22116a58c59beda93cd947752860ecc609df3081
0xad69be33dbc88725f883e50f129ff72c2dfc369facacd4ed73368e54ce678490
0x84f4c9ac68f806caaa53dbcb3595a75801c688b43b013999d8146c1a755431f1
0x9d25dfe5ba62c26d088fc4db8cc06975885feab056131222ed9f9139c96b132f
0xe504d254bb0538cfc90564a071f249777a04af8321d1006bab3a6f2e945860bf
0xcf30ee785a3fec08fb766386afad30b31e34421aee0d5e2a463dbb484dad7875
0xbd11679dcebafcbdddfe36e1bb717e54ce58162bec42fd107cce1179c0fe712d

Functions
Getter at block 21261215
buyTokenRate(view returns (uint8)
108
getEthPrice(view returns (uint256 balance)
3347976138
owner(view returns (address)
0x60ff427a15963e313f935e761412f5f40e7633ee
saleTokenRate(view returns (uint8)
92
uniswapRouter(view returns (address)
0x7a250d5630b4cf539739df2c5dacb4c659f2488d
upgraded(view returns (bool)
false
upgradedAddress(view returns (address)
0x0000000000000000000000000000000000000000
usdg(view returns (address)
0xbd62253c8033f3907c0800780662eab7378a4b96
Read-only
getAmountsOutEth(uint256 _valueview returns (uint256 balance)
getAmountsOutToken(uint256 _valueview returns (uint256 balance)
State-modifying
buyToken(payable 
buyTokenSafe(uint256 amountOutMinuint256 deadlinepayable 
changeRates(uint8 _buyTokenRateuint8 _saleTokenRate
govWithdrawEth(uint256 _amount
govWithdrawToken(uint256 _amount
saleToken(uint256 _value
saleTokenSafe(uint256 _valueuint256 amountOutMinuint256 deadline
transferOwnership(address newOwner
Events
BuyToken(address indexed fromuint256 inValueuint256 outValue
GovWithdrawEth(address indexed touint256 value
GovWithdrawToken(address indexed touint256 value
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
SaleToken(address indexed fromuint256 inValueuint256 outValue
Constructor
constructor(address _usdgaddress _usdtaddress _uniswap
Fallback and receive
fallback(
Errors

This contract contains no error objects.