USDtbMinting

Verified contract

Active on Ethereum with 35 txns
Deployed by via 0xa185c1d4 at 21272828
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 $499.69
0xf3ec45e2c77fb149c852da1601ad5404d299446a760d44f488ae4d9d5cac7e36
0xada9e0fa647ff1fef143a43430cb8fb5c05ffe089fd9c31787bd7ac16f8a7c28
0x491f611957faf88d4b9204d2d5bf5e4628818f01ea0d8e3dbae24f4c02a05835
0xb168f1808f53f2086ce7619c84f73db0cfdf81904a7589c748108aaa1ed2d3de
0xa060399b72138fae99172208ddd9cad614c12737e002f91e445842c6572a6d2f
0x12b8955dd72a4f70cf1e217d2b995f9283e55d563cd447c7df6ef5fa5b4b0d8c
0xcf7f184560c1af92d0b0bfec6174bc7ec5ecfeae74a8bc244bd12586af1c95b6
0xf142879ab8985e570f9320d5e2c8acf5852f4f41806fd423349a1a07236bfad3
0xe8870a2eadd7797756e104a8632bca79b28f2331b482f634c4300562d32ce344
0x841f6282fc4c24931b7904bda53042f4553f0b75a77999535aa1a5f45616e22f

Functions
Getter at block 21379766
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
getDomainSeparator(view returns (bytes32)
0x7abc298443b45bf7381487eb9981a85d8e48083228bf0e22acbb2edb228c883c
globalConfig(view returns (uint128 globalMaxMintPerBlockuint128 globalMaxRedeemPerBlock)
(globalMaxMintPerBlock=10000000000000000000000000000, globalMaxRedeemPerBlock=10000000000000000000000000000)
owner(view returns (address)
0x228c15a6a1dc1639b6f3741a52b1a11b1c4f643c
stablesDeltaLimit(view returns (uint128)
0
usdtb(view returns (address)
0x956d9fcbb1175ef335e1c1272b91d8e09ef00375
Read-only
delegatedSigner(addressaddressview returns (uint8)
encodeOrder(struct IUSDtbMintingOrder orderpure returns (bytes)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
hashOrder(struct IUSDtbMintingOrder 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 IUSDtbMintingOrder orderstruct IUSDtbMintingSignature signatureview returns (bytes32 taker_order_hash)
verifyRoute(struct IUSDtbMintingRoute routeview returns (bool)
verifyStablesLimit(uint128 collateralAmountuint128 usdtbAmountaddress collateralAssetuint8 orderTypeview returns (bool)
State-modifying
acceptAdmin(
addCustodianAddress(address custodian
addSupportedAsset(address assetstruct IUSDtbMintingTokenConfig _tokenConfig
addWhitelistedBenefactor(address benefactor
confirmDelegatedSigner(address _delegatedBy
disableMintRedeem(
grantRole(bytes32 roleaddress account
mint(struct IUSDtbMintingOrder orderstruct IUSDtbMintingRoute routestruct IUSDtbMintingSignature signature
redeem(struct IUSDtbMintingOrder orderstruct IUSDtbMintingSignature 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
setUSDtbToken(address _usdtb
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
DisableMintRedeem(address indexed sender
GlobalMaxMintPerBlock(address indexed senderuint128 globalMaxMintPerBlock
GlobalMaxRedeemPerBlock(address indexed senderuint128 globalMaxRedeemPerBlock
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 usdtb_amount
Received(address arg0uint256 arg1
Redeem(string indexed order_idaddress indexed benefactoraddress indexed beneficiaryaddress redeemeraddress collateral_assetuint256 collateral_amountuint256 usdtb_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
USDtbSet(address indexed USDtb
Constructor
constructor(address[] _assetsstruct IUSDtbMintingTokenConfig[] _tokenConfigstruct IUSDtbMintingGlobalConfig _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(
InvalidUSDtbAddress(
InvalidZeroAddress(
MaxMintPerBlockExceeded(
MaxRedeemPerBlockExceeded(
NoAssetsProvided(
NotPendingAdmin(
SignatureExpired(
TransferFailed(
UnknownSignatureType(
UnsupportedAsset(