TradeIssuerV2

Verified contract

Active on Ethereum with 19 txns
Deployed by via 0x32ccbc90 at 16743664
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
ERC-20
Value $10.16
ERC-20
Value $6.61
ERC-20
Value $6.58
ERC-20
Value $6.58
ERC-20
Value $5.61
ERC-20
Value $3.21
ERC-20
Value $2.61
ERC-20
Value $0.49
ERC-20
Value $0.33
ERC-20
Value $0.06
0xf759c1ee019411b8c6dd101c8dffb3fe389c6ae7b8da6e63aef2cebf17c75037
0xe772503ae2f3ed084df633abe4e073da0f7abca6071426ae983f59f4bf546c70
0xd555bc0251d2828eccc464a8bef7fb0221fa36114f3d2eea7cc9e028c08d5c22
0xf1a99d56296c8a3d9626c39c21d474378de3e96466c171f4349423f6be350d64
0xe47350ee46faa073feaa642d1fd0e0500023e6b5eddf18b9c281fbf743a7c29b
0x90d0ddb42048261c902e1efd4fc24ba4bfa6ae76e747a08ca59fed2d997e1688
0xb4ca3562f7cb1c72aa86a4f70c7f972c5e12b70f9d7661d080d0cb456b7940b0
0x9159adea9c3e3a8208534b253f9a1ef900a27b2d4cfa9c89d1e470e1a7e56476
0x402c1b8f3ff47c44214cfe869fed93334c2150f624695f696b4706e8336cf55f
0x6cdd7c635d21df71e244df5cc5f1e6e006cce7377b93334849cd15638dc9700c

Functions
Getter at block 21330008
getAllowedTargets(view returns (address[])
[0xDef1C0ded9bec7F1a1670819833240f027b25EfF, 0xdA816459F1AB5631232FE5e97a05BBBb94970c95, 0xa354F35829Ae975e850e23e9615b11Da1B3dC4DE, 0x3B27F92C0e212C671EA351827EDF93DB27cc0c65, 0xa258C4606Ca8206D8aA700cE2143D7db854D168c, 0xac3E018457B222d93114458476f3E3416Abbe38F, 0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45]
owner(view returns (address)
0xa3268730d162fa422cd575dfbc35349409e6badb
wrappedNativeToken(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
isAllowedTarget(address _targetview returns (bool)
State-modifying
addTarget(address _target
mintChamberFromNativeToken(ITradeIssuerV2ContractCallInstruction[] _contractCallInstructionsaddress _chamberaddress _issuerWizarduint256 _mintAmountpayable returns (uint256 wrappedNativeTokenUsed)
mintChamberFromToken(ITradeIssuerV2ContractCallInstruction[] _contractCallInstructionsaddress _chamberaddress _issuerWizardaddress _baseTokenuint256 _maxPayAmountuint256 _mintAmountreturns (uint256 baseTokenUsed)
redeemChamberToNativeToken(ITradeIssuerV2ContractCallInstruction[] _contractCallInstructionsaddress _chamberaddress _issuerWizarduint256 _minReceiveAmountuint256 _redeemAmountreturns (uint256 wrappedNativeTokenReturned)
redeemChamberToToken(ITradeIssuerV2ContractCallInstruction[] _contractCallInstructionsaddress _chamberaddress _issuerWizardaddress _baseTokenuint256 _minReceiveAmountuint256 _redeemAmountreturns (uint256 baseTokenReturned)
removeTarget(address _target
renounceOwnership(
transferERC20ToOwner(address _tokenToWithdraw
transferEthToOwner(
transferOwnership(address newOwner
Events
AllowedTargetAdded(address indexed _target
AllowedTargetRemoved(address indexed _targer
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
TradeIssuerTokenMinted(address indexed chamberaddress indexed recipientaddress indexed inputTokenuint256 totalTokensUseduint256 mintAmount
TradeIssuerTokenRedeemed(address indexed chamberaddress indexed recipientaddress indexed outputTokenuint256 totalTokensReturneduint256 redeemAmount
Constructor
constructor(address _wrappedNativeToken
Fallback and receive
receive(
Errors
CannotAllowTarget(
CannotRemoveTarget(
InvalidTarget(address target
LowLevelFunctionCallFailed(
OversoldBaseToken(
RedeemedForLessTokens(
TargetAlreadyAllowed(
UnderboughtAsset(address assetuint256 buyAmount
UnderboughtConstituent(address assetuint256 buyAmount
ZeroBalanceAsset(
ZeroChamberAmount(
ZeroNativeTokenSent(
ZeroRequiredAmount(