Erc20PiptSwap

Verified contract

Active on Ethereum with 476 txns
Deployed by via 0x8ab73c3a at 11368128
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
0x4f146e97bfcc3e9e19cd82323370887788dcf91d70c0b16a07c7939b76f5cf86
0x47f717957767603228ae819d08844c21f9dd51cae9edf7aee6415bde3b4f40fe
0x404509aa5b1a7498ae38feb120095c8e44c1ca2a7802a9bb4a1633e6cce4f816
0x8b03f5db81232d83c3371ba61ace412ad2428e3948d88cf5947337951f39da72
0x55ee0ab2f00fe3232d4ee48e95d59312b549392f526f9f840a64136c0dfa3134
0xd04562aac575bf8e7951621641e9e53d7ead4f309188eb0bebe06e37d9bc3596
0x594530737fcadd1ae20c081fcc1ee7c45fae0c4105549afb3fca72d3ac8d3841
0x70b04e47279049b4ed45b62ef0e16d0c79ede1870c202e1eaa117cdd46f6c446
0x5114ac811badf6b6ce99dc8334629a81d219fb1430adf4f7c6ee19a2b541a11e
0xd9d91ca1acc2839cefd8c0a54f2d30cda6a26afd9c1c12ca20c7795fda0cce74

Functions
Getter at block 21307157
cvp(view returns (address)
0x38e4adb44ef08f22f5b5b76a8f0c2d0dcbe7dca1
defaultSlippage(view returns (uint256)
20000000000000000
feeManager(view returns (address)
0xb258302c3f209491d604165549079680708581cc
feePayout(view returns (address)
0x0000000000000000000000000000000000000000
getFeeAmounts(view returns (uint256[])
[]
getFeeLevels(view returns (uint256[])
[]
owner(view returns (address)
0xb258302c3f209491d604165549079680708581cc
pipt(view returns (address)
0x26607ac599266b21d13c7acf7942c7701a8b699c
weth(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
calcErc20Fee(address _swapTokenuint256 _swapAmountview returns (uint256 erc20Feeuint256 erc20AfterFeeuint256 ethFeeuint256 ethAfterFee)
calcEthFee(uint256 ethAmountview returns (uint256 ethFeeuint256 ethAfterFee)
calcSwapErc20ToPiptInputs(address _swapTokenuint256 _swapAmountaddress[] _tokensuint256 _slippagebool _withFeeview returns (uint256[] tokensInPiptuint256[] ethInUniswapuint256 poolOut)
calcSwapEthToPiptInputs(uint256 _ethValueaddress[] _tokensuint256 _slippageview returns (uint256[] tokensInPiptuint256[] ethInUniswapuint256 poolOut)
calcSwapPiptToErc20Inputs(address _swapTokenuint256 _poolAmountInaddress[] _tokensbool _withFeeview returns (uint256[] tokensOutPiptuint256[] ethOutUniswapuint256 totalErc20Outuint256 poolAmountFee)
calcSwapPiptToEthInputs(uint256 _poolAmountInaddress[] _tokensview returns (uint256[] tokensOutPiptuint256[] ethOutUniswapuint256 totalEthOutuint256 poolAmountFee)
feeAmounts(uint256view returns (uint256)
feeLevels(uint256view returns (uint256)
reApproveTokens(addressview returns (bool)
uniswapEthPairByTokenAddress(addressview returns (address)
uniswapFactoryAllowed(addressview returns (bool)
State-modifying
convertOddToCvpAndSendToPayout(address[] oddTokens
fetchUnswapPairsFromFactory(address _factoryaddress[] _tokens
renounceOwnership(
setDefaultSlippage(uint256 _defaultSlippage
setFees(uint256[] _feeLevelsuint256[] _feeAmountsaddress _feePayoutaddress _feeManager
setTokensSettings(address[] _tokensaddress[] _pairsbool[] _reapprove
setUniswapFactoryAllowed(address[] _factoriesbool[] _allowed
swapErc20ToPipt(address _swapTokenuint256 _swapAmountuint256 _slippage
swapEthToPipt(uint256 _slippagepayable 
swapEthToPiptByPoolOut(uint256 _poolAmountOutpayable 
swapPiptToErc20(address _swapTokenuint256 _poolAmountIn
swapPiptToEth(uint256 _poolAmountIn
transferOwnership(address newOwner
Events
Erc20ToPiptSwap(address indexed useraddress indexed swapTokenuint256 erc20InAmountuint256 ethInAmountuint256 poolOutAmount
EthToPiptSwap(address indexed useruint256 ethInAmountuint256 ethSwapFeeuint256 poolOutAmountuint256 poolCommunityFee
OddEth(address indexed useruint256 amount
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PayoutCVP(address indexed receiveruint256 wethAmountuint256 cvpAmount
PiptToErc20Swap(address indexed useraddress indexed swapTokenuint256 poolInAmountuint256 ethOutAmountuint256 erc20OutAmount
PiptToEthSwap(address indexed useruint256 poolInAmountuint256 poolCommunityFeeuint256 ethOutAmountuint256 ethSwapFee
SetDefaultSlippage(uint256 newDefaultSlippage
SetFees(address indexed senderuint256[] newFeeLevelsuint256[] newFeeAmountsaddress indexed feePayoutaddress indexed feeManager
SetTokenSetting(address indexed tokenbool indexed reApproveaddress indexed uniswapPair
SetUniswapFactoryAllowed(address indexed factorybool indexed allowed
Constructor
constructor(address _wethaddress _cvpaddress _piptaddress _feeManager
Fallback and receive
receive(
Errors

This contract contains no error objects.