EthenaMinting

Verified contract

Active on Ethereum with 113 txns
Deployed by via 0x3e53ac7a at 20146913
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 $855.1
ERC-20
Value $543.22
0x9cb0430ffa4de1642ce9832def4d420013c65c6f9a3af9d710f78280485f3847
0x7e37f1cdeac2140ad2d6ff798e71a64e37da9d0a22fe7c2a3d580d01a0fd2f61
0x11901bc547c9d10cf37aa8cb120c85d4904f792463c95375ac8b01857e513f2e
0xcfd701e54444d7bfaeb843e87a602210621dc93356d997c74b790a465323cad8
0x6dbf58bc46a9d0ed194ce8911e82bae518d5e560fad213d7f82f7064b909ba40
0x49a97e665865d92bf40eb17321a3893fc5efe295c05cea757abbdb6a278956e6
0x92c95abace3c7f6650fece4f60993e07ab714c3351b7c188ea00121e533b43f3
0x15c0837279b96eae2addf8f2ada3eabd0aaf1a74e71e607753664cec41330fa5
0xf57ed7b533392efb3b1f2c344df0eb6ca85b753882cca821ef5989bcc379bbd6
0xb66459fdd7d290ebe7374dfa847cce9dbf216acb30aea0f854bd7472e692ad70

Functions
Getter at block 21283759
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
getDomainSeparator(view returns (bytes32)
0xbd3e8de5c4f2fc37dca42954fd8f2112ae2eb08c888868629b37cb7e2cf04ac3
globalConfig(view returns (uint128 globalMaxMintPerBlockuint128 globalMaxRedeemPerBlock)
(globalMaxMintPerBlock=2000000000000000000000000, globalMaxRedeemPerBlock=2000000000000000000000000)
owner(view returns (address)
0xd7b51dac85c8545b3f7a464b810716528af16285
stablesDeltaLimit(view returns (uint128)
0
usde(view returns (address)
0x2dfaf238b8255826a160432126e0bc5db20c33e9
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(