ActionSwapPTV3

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x11afc2af at 18809962
Slot Value
0x0000000000000000000000000000000000000000000000000000000000000000 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000001 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000002 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000003 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000004 0x0000000000000000000000000000000000000000000000000000000000000000

No balances found for "ActionSwapPTV3"

No transactions found for "ActionSwapPTV3"


Functions
Getter at block 20791792

This contract contains no getter function objects.

Read-only

This contract contains no read-only function objects.

State-modifying
swapExactPtForSy(address receiveraddress marketuint256 exactPtInuint256 minSyOutstruct LimitOrderData limitreturns (uint256 netSyOutuint256 netSyFee)
swapExactPtForToken(address receiveraddress marketuint256 exactPtInstruct TokenOutput outputstruct LimitOrderData limitreturns (uint256 netTokenOutuint256 netSyFeeuint256 netSyInterm)
swapExactSyForPt(address receiveraddress marketuint256 exactSyInuint256 minPtOutstruct ApproxParams guessPtOutstruct LimitOrderData limitreturns (uint256 netPtOutuint256 netSyFee)
swapExactTokenForPt(address receiveraddress marketuint256 minPtOutstruct ApproxParams guessPtOutstruct TokenInput inputstruct LimitOrderData limitpayable returns (uint256 netPtOutuint256 netSyFeeuint256 netSyInterm)
Events
SwapPtAndSy(address indexed calleraddress indexed marketaddress indexed receiverint256 netPtToAccountint256 netSyToAccount
SwapPtAndToken(address indexed calleraddress indexed marketaddress indexed tokenaddress receiverint256 netPtToAccountint256 netTokenToAccountuint256 netSyInterm
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
ApproxFail(
ApproxParamsInvalid(uint256 guessMinuint256 guessMaxuint256 eps
MarketExchangeRateBelowOne(int256 exchangeRate
MarketExpired(
MarketProportionMustNotEqualOne(
MarketProportionTooHigh(int256 proportionint256 maxProportion
MarketRateScalarBelowZero(int256 rateScalar
MarketZeroTotalPtOrTotalAsset(int256 totalPtint256 totalAsset
RouterInsufficientPtOut(uint256 actualPtOutuint256 requiredPtOut
RouterInsufficientSyOut(uint256 actualSyOutuint256 requiredSyOut
RouterInsufficientTokenOut(uint256 actualTokenOutuint256 requiredTokenOut