EthenaMinting

Verified contract

Active on Ethereum with 3,938 txns
Deployed by via 0x55adc84b at 20142841
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
-
variable spans 1 additional slot
ERC-20
Value $29,471,338.18
ERC-20
Value $2.63
ERC-20
--
ERC-20
--
0x236b980be5459d624aca44f35127b9f4d28a44777903aa0a849d6334b9ce578e
0xea750761d9544560869d7876b1e18b62616e10fc6c684592c84d1cab49e2a62c
0x6ecaab7ce35e838975a1055941c0de6151e6ed11144ddf656df74f5dcc5e4844
0xe47885a8e6aae969664e9c2995312dab3e62caadcd90ca0b7f9a2afb42528cb4
0xacb451742653fe80af49b366b62a08afb4b0ef856dd81c5a99ed9200f7956c91
0xf929b1aa465fb57fa0503a9a4f767fd8cf5313c964270903324bc0e1907a9a5a
0xafd9cb3119dec4b1abf13484295c0e9ed7b46f49fb34602bc6da4174478b276b
0xa0e18c9dbbc87f620392c38f3e3c3c9ff5c23cad6a26a63644f79647bc364dbb
0xd206310145df399bcf16224600dd5bc79627ea46c8886ec3fcd9865ac717a239
0x578271338a2df0d3e2314c897111ee05765f34e28ea8e1a4dae9793c1a44c291

Functions
Getter at block 21243462
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
getDomainSeparator(view returns (bytes32)
0xc4e859a2ad9827930f83695f76c902ef7a7dc112c15b6e056f48dae3abbffc53
globalConfig(view returns (uint128 globalMaxMintPerBlockuint128 globalMaxRedeemPerBlock)
(globalMaxMintPerBlock=2000000000000000000000000, globalMaxRedeemPerBlock=2000000000000000000000000)
owner(view returns (address)
0x3b0aaf6e6fcd4a7ceef8c92c32dfea9e64dc1862
stablesDeltaLimit(view returns (uint128)
0
usde(view returns (address)
0x4c9edd5852cd905f086c759e8383e09bff1e68b3
Read-only
delegatedSigner(addressaddressview returns (uint8)
encodeOrder(struct IEthenaMintingOrder orderpure returns (bytes)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
hashOrder(struct IEthenaMintingOrder orderview returns (bytes32)
isApprovedBeneficiary(address benefactoraddress beneficiaryview returns (bool)
isCustodianAddress(address custodianview returns (bool)
isSupportedAsset(address assetview returns (bool)
isWhitelistedBenefactor(address benefactorview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenConfig(addressview returns (uint8 tokenTypebool isActiveuint128 maxMintPerBlockuint128 maxRedeemPerBlock)
totalPerBlock(uint256view returns (uint128 mintedPerBlockuint128 redeemedPerBlock)
totalPerBlockPerAsset(uint256addressview returns (uint128 mintedPerBlockuint128 redeemedPerBlock)
verifyNonce(address senderuint128 nonceview returns (uint128uint256uint256)
verifyOrder(struct IEthenaMintingOrder orderstruct IEthenaMintingSignature signatureview returns (bytes32 taker_order_hash)
verifyRoute(struct IEthenaMintingRoute routeview returns (bool)
verifyStablesLimit(uint128 collateralAmountuint128 usdeAmountaddress collateralAssetuint8 orderTypeview returns (bool)
State-modifying
acceptAdmin(
addCustodianAddress(address custodian
addSupportedAsset(address assetstruct IEthenaMintingTokenConfig _tokenConfig
addWhitelistedBenefactor(address benefactor
confirmDelegatedSigner(address _delegatedBy
disableMintRedeem(
grantRole(bytes32 roleaddress account
mint(struct IEthenaMintingOrder orderstruct IEthenaMintingRoute routestruct IEthenaMintingSignature signature
mintWETH(struct IEthenaMintingOrder orderstruct IEthenaMintingRoute routestruct IEthenaMintingSignature signature
redeem(struct IEthenaMintingOrder orderstruct IEthenaMintingSignature signature
removeCollateralManagerRole(address collateralManager
removeCustodianAddress(address custodian
removeDelegatedSigner(address _removedSigner
removeMinterRole(address minter
removeRedeemerRole(address redeemer
removeSupportedAsset(address asset
removeWhitelistedBenefactor(address benefactor
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setApprovedBeneficiary(address beneficiarybool status
setDelegatedSigner(address _delegateTo
setGlobalMaxMintPerBlock(uint128 _globalMaxMintPerBlock
setGlobalMaxRedeemPerBlock(uint128 _globalMaxRedeemPerBlock
setMaxMintPerBlock(uint128 _maxMintPerBlockaddress asset
setMaxRedeemPerBlock(uint128 _maxRedeemPerBlockaddress asset
setStablesDeltaLimit(uint128 _stablesDeltaLimit
setTokenType(address assetuint8 tokenType
transferAdmin(address newAdmin
transferToCustody(address walletaddress assetuint128 amount
Events
AdminTransferRequested(address indexed oldAdminaddress indexed newAdmin
AdminTransferred(address indexed oldAdminaddress indexed newAdmin
AssetAdded(address indexed asset
AssetRemoved(address indexed asset
BenefactorAdded(address indexed benefactor
BenefactorRemoved(address indexed benefactor
BeneficiaryAdded(address indexed benefactoraddress indexed beneficiary
BeneficiaryRemoved(address indexed benefactoraddress indexed beneficiary
CustodianAddressAdded(address indexed custodian
CustodianAddressRemoved(address indexed custodian
CustodyTransfer(address indexed walletaddress indexed assetuint256 amount
DelegatedSignerAdded(address indexed signeraddress indexed delegator
DelegatedSignerInitiated(address indexed signeraddress indexed delegator
DelegatedSignerRemoved(address indexed signeraddress indexed delegator
MaxMintPerBlockChanged(uint256 oldMaxMintPerBlockuint256 newMaxMintPerBlockaddress indexed asset
MaxRedeemPerBlockChanged(uint256 oldMaxRedeemPerBlockuint256 newMaxRedeemPerBlockaddress indexed asset
Mint(string indexed order_idaddress indexed benefactoraddress indexed beneficiaryaddress minteraddress collateral_assetuint256 collateral_amountuint256 usde_amount
Received(address arg0uint256 arg1
Redeem(string indexed order_idaddress indexed benefactoraddress indexed beneficiaryaddress redeemeraddress collateral_assetuint256 collateral_amountuint256 usde_amount
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
TokenTypeSet(address indexed tokenuint256 tokenType
USDeSet(address indexed USDe
Constructor
constructor(address _usdeaddress _wethaddress[] _assetsstruct IEthenaMintingTokenConfig[] _tokenConfigstruct IEthenaMintingGlobalConfig _globalConfigaddress[] _custodiansaddress _admin
Fallback and receive
receive(
Errors
BenefactorNotWhitelisted(
BeneficiaryNotApproved(
DelegationNotInitiated(
GlobalMaxMintPerBlockExceeded(
GlobalMaxRedeemPerBlockExceeded(
InvalidAddress(
InvalidAdminChange(
InvalidAmount(
InvalidAssetAddress(
InvalidBenefactorAddress(
InvalidBeneficiaryAddress(
InvalidCustodianAddress(
InvalidEIP1271Signature(
InvalidEIP712Signature(
InvalidNonce(
InvalidOrder(
InvalidRoute(
InvalidStablePrice(
InvalidUSDeAddress(
InvalidZeroAddress(
MaxMintPerBlockExceeded(
MaxRedeemPerBlockExceeded(
NoAssetsProvided(
NotPendingAdmin(
SignatureExpired(
TransferFailed(
UnknownSignatureType(
UnsupportedAsset(