TradeIssuerV3

Verified contract

Active on Ethereum with 45 txns
Deployed by via 0x63b686e9 at 19671089
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 $216.06
ERC-20
Value $7.12
ERC-20
Value $6.85
ERC-20
Value $5.32
ERC-20
Value $5.15
ERC-20
Value $5.1
ERC-20
Value $4.28
ERC-20
Value $2.98
ERC-20
Value $2.7
ERC-20
Value $1.11
0x42c3bf6079daeffda00eb9de645f7eff70ada11ceb8031f1e4fde9af64deb00d
0x079072918f6125d8801ddf655487a2f0d711df5d44c939b7b8e56af3e0732cbf
0xe3825ad300242e1a0ae9bc78690013acf3fb8d3e2047c1de9f1738d4b57995ba
0x76709b9d5c2b5abf255c68868e239398623134952d2eaba3c349811c5ce59673
0x022c47e3df6a4a8e3b2b803115cc54223ea0c5de478da3624aeeb9aa1232529f
0x5508b19ec2a52f0e4ee739c019a48888d2241c957a08a3ece02106b0d37004b6
0xce58bd46d2edd6dba59fe761921a2c340fac268f99460375605005604c6ad56a
0x90e8be5075fca7515fa4c7edd223cac195ad8b02c53bcba82b8aa0779160654b
0xb3a474ea11874948578dd5f16f8790e3d5eb6a9ad227267baf523aae2182e1eb
0x78156f194a6e1277607e730e9a043806ad8e2b0c1a6d562dfe35dfe17a4065f9

Functions
Getter at block 21247922
chamberGod(view returns (address)
0x0c9aa1e4b4e39da01b7459607995368e4c38cfef
getAllowedTargets(view returns (address[])
[0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45, 0xDef1C0ded9bec7F1a1670819833240f027b25EfF, 0x8648B1E944e1322eC914E6DE015Dc660F627927C]
owner(view returns (address)
0xa3268730d162fa422cd575dfbc35349409e6badb
wrappedNativeToken(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
isAllowedTarget(address _targetview returns (bool)
State-modifying
addTarget(address _target
mintFromNativeToken(ITradeIssuerV3ContractCallInstruction[] _contractCallInstructionsaddress _chamberaddress _issuerWizarduint256 _mintAmountpayable returns (uint256 wrappedNativeTokenUsed)
mintFromToken(ITradeIssuerV3ContractCallInstruction[] _contractCallInstructionsaddress _chamberaddress _issuerWizardaddress _baseTokenuint256 _maxPayAmountuint256 _mintAmountreturns (uint256 baseTokenUsed)
redeemAndMint(address _chamberToRedeemuint256 _redeemAmountaddress _chamberToMintuint256 _mintAmountaddress _issuerWizardITradeIssuerV3ContractCallInstruction[] _contractCallInstructions
redeemToNativeToken(ITradeIssuerV3ContractCallInstruction[] _contractCallInstructionsaddress _chamberaddress _issuerWizarduint256 _minReceiveAmountuint256 _redeemAmountreturns (uint256 wrappedNativeTokenReturned)
redeemToToken(ITradeIssuerV3ContractCallInstruction[] _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
TradeIssuerTokenRedeemedAndMinted(address indexed recipientaddress indexed chamberToRedeemaddress indexed chamberToMintuint256 redeemAmountuint256 mintAmount
Constructor
constructor(address _wrappedNativeTokenaddress _chamberGod
Fallback and receive
receive(
Errors
AddressEmptyCode(address target
AddressInsufficientBalance(address account
CannotAllowTarget(
CannotRemoveTarget(
FailedInnerCall(
InvalidChamber(
InvalidTarget(address target
InvalidWizard(
LowLevelFunctionCallFailed(
OversoldBaseToken(
OwnableInvalidOwner(address owner
OwnableUnauthorizedAccount(address account
RedeemedForLessTokens(
SafeERC20FailedOperation(address token
TargetAlreadyAllowed(
UnderboughtAsset(address assetuint256 buyAmount
UnderboughtConstituent(address assetuint256 buyAmount
ZeroBalanceAsset(
ZeroBaseTokenSent(
ZeroChamberAmount(
ZeroNativeTokenSent(
ZeroRequiredAmount(