Feature Tip: Add private address tag to any address under My Name Tag !
Source Code
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 45 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Set Redeem Fee | 24012541 | 69 days ago | IN | 0 ETH | 0.00000133 | ||||
| Set Redeem Fee | 24012539 | 69 days ago | IN | 0 ETH | 0.0000014 | ||||
| Approve | 23947020 | 79 days ago | IN | 0 ETH | 0.00000143 | ||||
| Set Minter | 23946968 | 79 days ago | IN | 0 ETH | 0.00000166 | ||||
| Set Redeem Fee | 23941314 | 79 days ago | IN | 0 ETH | 0.0000018 | ||||
| Set Redeem Fee | 23941303 | 79 days ago | IN | 0 ETH | 0.00000171 | ||||
| Set Redeem Fee | 23940315 | 79 days ago | IN | 0 ETH | 0.00000334 | ||||
| Set Redeem Fee | 23940149 | 80 days ago | IN | 0 ETH | 0.00000226 | ||||
| Set Redeem Fee | 23939693 | 80 days ago | IN | 0 ETH | 0.00000106 | ||||
| Set Redeem Fee | 23934421 | 80 days ago | IN | 0 ETH | 0.00000109 | ||||
| Set Redeem Fee | 23934131 | 80 days ago | IN | 0 ETH | 0.00000157 | ||||
| Approve | 23933719 | 80 days ago | IN | 0 ETH | 0.0000088 | ||||
| Set Redeem Fee | 23933540 | 80 days ago | IN | 0 ETH | 0.00000237 | ||||
| Set Redeem Fee | 23932094 | 81 days ago | IN | 0 ETH | 0.00000125 | ||||
| Set Redeem Fee | 23931748 | 81 days ago | IN | 0 ETH | 0.00000136 | ||||
| Set Redeem Fee | 23931017 | 81 days ago | IN | 0 ETH | 0.00000102 | ||||
| Approve | 23927312 | 81 days ago | IN | 0 ETH | 0.000104 | ||||
| Approve | 23927238 | 81 days ago | IN | 0 ETH | 0.00001076 | ||||
| Set Redeem Fee | 23927154 | 81 days ago | IN | 0 ETH | 0.00000924 | ||||
| Approve | 23927126 | 81 days ago | IN | 0 ETH | 0.00000441 | ||||
| Set Minter | 23927109 | 81 days ago | IN | 0 ETH | 0.00001013 | ||||
| Approve | 23927103 | 81 days ago | IN | 0 ETH | 0.00001068 | ||||
| Set Redeem Fee | 23926428 | 81 days ago | IN | 0 ETH | 0.00000568 | ||||
| Set Redeem Fee | 23923644 | 82 days ago | IN | 0 ETH | 0.00000157 | ||||
| Set Redeem Fee | 23923535 | 82 days ago | IN | 0 ETH | 0.00000097 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
zUSD
Compiler Version
v0.8.30+commit.73712a01
Optimization Enabled:
Yes with 9999999 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: Unlicense
pragma solidity =0.8.30;
import "./Transfers.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract zUSD is ERC20, Transfers {
mapping (address => bool) public minters;
mapping (address => bool) public collaterals;
address public gov;
address public feeReceiver;
uint256 public redeemFeeBps = 1000; // 10% default
constructor() ERC20("zUSD", "zUSD") {
gov = msg.sender;
feeReceiver = msg.sender;
_mint(gov, 5000000*(10**18));
}
function setFeeReceiver(address _r) external {
require(msg.sender == gov, "GOV");
feeReceiver = _r;
}
function setMinter(address _m) external {
require(msg.sender == gov, "GOV");
require(_m != gov, "MNT");
minters[_m] = true;
}
function addCollateral(address _c) external {
require(msg.sender == gov, "GOV");
collaterals[_c] = true;
}
function removeCollateral(address _c) external {
require(msg.sender == gov, "GOV");
delete collaterals[_c];
}
function setRedeemFee(uint256 bps) external {
require(msg.sender == gov, "GOV");
require(bps <= 5000, "MAX"); // 50% max
redeemFeeBps = bps;
}
function deposit(address collateral, uint256 amount) external {
require(minters[msg.sender], "MNT");
require(collateral != address(0) && collaterals[collateral], "COL");
_safeTransferFrom(collateral, msg.sender, address(this), amount);
uint8 cd = getDecimals(collateral);
uint256 mintAmount = amount * (10 ** (18 - cd));
_mint(msg.sender, mintAmount);
}
function withdraw(address collateral, uint256 zAmount, address to) external {
require(minters[msg.sender], "MNT");
require(collateral != address(0) && collaterals[collateral], "COL");
_burn(msg.sender, zAmount);
uint8 cd = getDecimals(collateral);
uint256 baseAmount = zAmount / (10 ** (18 - cd));
uint256 fee = (baseAmount * redeemFeeBps) / 10000;
uint256 net = baseAmount - fee;
_safeTransfer(collateral, to, net);
if (fee > 0) _safeTransfer(collateral, feeReceiver, fee);
}
function decimals() public pure override returns (uint8) {
return 18;
}
function getDecimals(address token) internal view returns (uint8) {
(bool success, bytes memory data) = token.staticcall(
abi.encodeWithSignature("decimals()")
);
require(success && data.length >= 32, "FLD");
uint256 dec = abi.decode(data, (uint256));
require(dec <= type(uint8).max, "OVF");
return uint8(dec);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/draft-IERC6093.sol)
pragma solidity >=0.8.4;
/**
* @dev Standard ERC-20 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.
*/
interface IERC20Errors {
/**
* @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param balance Current balance for the interacting account.
* @param needed Minimum amount required to perform a transfer.
*/
error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC20InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC20InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
* @param spender Address that may be allowed to operate on tokens without being their owner.
* @param allowance Amount of tokens a `spender` is allowed to operate with.
* @param needed Minimum amount required to perform a transfer.
*/
error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC20InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `spender` to be approved. Used in approvals.
* @param spender Address that may be allowed to operate on tokens without being their owner.
*/
error ERC20InvalidSpender(address spender);
}
/**
* @dev Standard ERC-721 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.
*/
interface IERC721Errors {
/**
* @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20.
* Used in balance queries.
* @param owner Address of the current owner of a token.
*/
error ERC721InvalidOwner(address owner);
/**
* @dev Indicates a `tokenId` whose `owner` is the zero address.
* @param tokenId Identifier number of a token.
*/
error ERC721NonexistentToken(uint256 tokenId);
/**
* @dev Indicates an error related to the ownership over a particular token. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param tokenId Identifier number of a token.
* @param owner Address of the current owner of a token.
*/
error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC721InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC721InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `operator`’s approval. Used in transfers.
* @param operator Address that may be allowed to operate on tokens without being their owner.
* @param tokenId Identifier number of a token.
*/
error ERC721InsufficientApproval(address operator, uint256 tokenId);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC721InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `operator` to be approved. Used in approvals.
* @param operator Address that may be allowed to operate on tokens without being their owner.
*/
error ERC721InvalidOperator(address operator);
}
/**
* @dev Standard ERC-1155 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens.
*/
interface IERC1155Errors {
/**
* @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param balance Current balance for the interacting account.
* @param needed Minimum amount required to perform a transfer.
* @param tokenId Identifier number of a token.
*/
error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC1155InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC1155InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `operator`’s approval. Used in transfers.
* @param operator Address that may be allowed to operate on tokens without being their owner.
* @param owner Address of the current owner of a token.
*/
error ERC1155MissingApprovalForAll(address operator, address owner);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC1155InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `operator` to be approved. Used in approvals.
* @param operator Address that may be allowed to operate on tokens without being their owner.
*/
error ERC1155InvalidOperator(address operator);
/**
* @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
* Used in batch transfers.
* @param idsLength Length of the array of token identifiers
* @param valuesLength Length of the array of token amounts
*/
error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/ERC20.sol)
pragma solidity ^0.8.20;
import {IERC20} from "./IERC20.sol";
import {IERC20Metadata} from "./extensions/IERC20Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {IERC20Errors} from "../../interfaces/draft-IERC6093.sol";
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
*
* TIP: For a detailed writeup see our guide
* https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* The default value of {decimals} is 18. To change this, you should override
* this function so it returns a different value.
*
* We have followed general OpenZeppelin Contracts guidelines: functions revert
* instead returning `false` on failure. This behavior is nonetheless
* conventional and does not conflict with the expectations of ERC-20
* applications.
*/
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
mapping(address account => uint256) private _balances;
mapping(address account => mapping(address spender => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
/**
* @dev Sets the values for {name} and {symbol}.
*
* Both values are immutable: they can only be set once during construction.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5.05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the default value returned by this function, unless
* it's overridden.
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view virtual returns (uint8) {
return 18;
}
/// @inheritdoc IERC20
function totalSupply() public view virtual returns (uint256) {
return _totalSupply;
}
/// @inheritdoc IERC20
function balanceOf(address account) public view virtual returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - the caller must have a balance of at least `value`.
*/
function transfer(address to, uint256 value) public virtual returns (bool) {
address owner = _msgSender();
_transfer(owner, to, value);
return true;
}
/// @inheritdoc IERC20
function allowance(address owner, address spender) public view virtual returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* NOTE: If `value` is the maximum `uint256`, the allowance is not updated on
* `transferFrom`. This is semantically equivalent to an infinite approval.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 value) public virtual returns (bool) {
address owner = _msgSender();
_approve(owner, spender, value);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Skips emitting an {Approval} event indicating an allowance update. This is not
* required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve].
*
* NOTE: Does not update the allowance if the current allowance
* is the maximum `uint256`.
*
* Requirements:
*
* - `from` and `to` cannot be the zero address.
* - `from` must have a balance of at least `value`.
* - the caller must have allowance for ``from``'s tokens of at least
* `value`.
*/
function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
address spender = _msgSender();
_spendAllowance(from, spender, value);
_transfer(from, to, value);
return true;
}
/**
* @dev Moves a `value` amount of tokens from `from` to `to`.
*
* This internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* NOTE: This function is not virtual, {_update} should be overridden instead.
*/
function _transfer(address from, address to, uint256 value) internal {
if (from == address(0)) {
revert ERC20InvalidSender(address(0));
}
if (to == address(0)) {
revert ERC20InvalidReceiver(address(0));
}
_update(from, to, value);
}
/**
* @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
* (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
* this function.
*
* Emits a {Transfer} event.
*/
function _update(address from, address to, uint256 value) internal virtual {
if (from == address(0)) {
// Overflow check required: The rest of the code assumes that totalSupply never overflows
_totalSupply += value;
} else {
uint256 fromBalance = _balances[from];
if (fromBalance < value) {
revert ERC20InsufficientBalance(from, fromBalance, value);
}
unchecked {
// Overflow not possible: value <= fromBalance <= totalSupply.
_balances[from] = fromBalance - value;
}
}
if (to == address(0)) {
unchecked {
// Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
_totalSupply -= value;
}
} else {
unchecked {
// Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
_balances[to] += value;
}
}
emit Transfer(from, to, value);
}
/**
* @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
* Relies on the `_update` mechanism
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* NOTE: This function is not virtual, {_update} should be overridden instead.
*/
function _mint(address account, uint256 value) internal {
if (account == address(0)) {
revert ERC20InvalidReceiver(address(0));
}
_update(address(0), account, value);
}
/**
* @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
* Relies on the `_update` mechanism.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* NOTE: This function is not virtual, {_update} should be overridden instead
*/
function _burn(address account, uint256 value) internal {
if (account == address(0)) {
revert ERC20InvalidSender(address(0));
}
_update(account, address(0), value);
}
/**
* @dev Sets `value` as the allowance of `spender` over the `owner`'s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*
* Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
*/
function _approve(address owner, address spender, uint256 value) internal {
_approve(owner, spender, value, true);
}
/**
* @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
*
* By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
* `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
* `Approval` event during `transferFrom` operations.
*
* Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
* true using the following override:
*
* ```solidity
* function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
* super._approve(owner, spender, value, true);
* }
* ```
*
* Requirements are the same as {_approve}.
*/
function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
if (owner == address(0)) {
revert ERC20InvalidApprover(address(0));
}
if (spender == address(0)) {
revert ERC20InvalidSpender(address(0));
}
_allowances[owner][spender] = value;
if (emitEvent) {
emit Approval(owner, spender, value);
}
}
/**
* @dev Updates `owner`'s allowance for `spender` based on spent `value`.
*
* Does not update the allowance value in case of infinite allowance.
* Revert if not enough allowance is available.
*
* Does not emit an {Approval} event.
*/
function _spendAllowance(address owner, address spender, uint256 value) internal virtual {
uint256 currentAllowance = allowance(owner, spender);
if (currentAllowance < type(uint256).max) {
if (currentAllowance < value) {
revert ERC20InsufficientAllowance(spender, currentAllowance, value);
}
unchecked {
_approve(owner, spender, currentAllowance - value, false);
}
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/extensions/IERC20Metadata.sol)
pragma solidity >=0.6.2;
import {IERC20} from "../IERC20.sol";
/**
* @dev Interface for the optional metadata functions from the ERC-20 standard.
*/
interface IERC20Metadata is IERC20 {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
function decimals() external view returns (uint8);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/IERC20.sol)
pragma solidity >=0.4.16;
/**
* @dev Interface of the ERC-20 standard as defined in the ERC.
*/
interface IERC20 {
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
/**
* @dev Returns the value of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the value of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves a `value` amount of tokens from the caller's account to `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 value) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets a `value` amount of tokens as the allowance of `spender` over the
* caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 value) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from `from` to `to` using the
* allowance mechanism. `value` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(address from, address to, uint256 value) external returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)
pragma solidity ^0.8.20;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
function _contextSuffixLength() internal view virtual returns (uint256) {
return 0;
}
}pragma solidity =0.8.30;
contract Transfers {
bytes4 private constant SELECTOR = bytes4(keccak256(bytes('transfer(address,uint256)')));
function _safeTransfer(address token, address to, uint value) internal {
(bool success, bytes memory data) = token.call(abi.encodeWithSelector(SELECTOR, to, value));
require(success && (data.length == 0 || abi.decode(data, (bool))), 'Transfers::transfer: TRANSFER_FAILED');
}
function _safeTransferFrom(
address token,
address from,
address to,
uint256 value
) internal {
(bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x23b872dd, from, to, value));
require(
success && (data.length == 0 || abi.decode(data, (bool))),
'Transfers::transferFrom: TRANSFER_FAILED'
);
}
}{
"optimizer": {
"enabled": true,
"runs": 9999999
},
"viaIR": true,
"evmVersion": "paris",
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"_c","type":"address"}],"name":"addCollateral","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"collaterals","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"collateral","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gov","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minters","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"redeemFeeBps","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_c","type":"address"}],"name":"removeCollateral","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_r","type":"address"}],"name":"setFeeReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_m","type":"address"}],"name":"setMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"bps","type":"uint256"}],"name":"setRedeemFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"collateral","type":"address"},{"internalType":"uint256","name":"zAmount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
6080604052346103a1576100116103a6565b6100196103a6565b81516001600160401b0381116102ac57600354600181811c91168015610397575b602082101461028c57601f8111610332575b50602092601f82116001146102cd57928192936000926102c2575b50508160011b916000199060031b1c1916176003555b80516001600160401b0381116102ac57600454600181811c911680156102a2575b602082101461028c57601f8111610227575b50602091601f82116001146101c3579181926000926101b8575b50508160011b916000199060031b1c1916176004555b6103e860095560078054336001600160a01b031991821681179092556008805490911682179055156101a2576002546a0422ca8b0a00a425000000810180911161018c57600255600033815280602052604081206a0422ca8b0a00a4250000008154019055604051906a0422ca8b0a00a42500000082527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60203393a360405161179390816103d78239f35b634e487b7160e01b600052601160045260246000fd5b63ec442f0560e01b600052600060045260246000fd5b0151905038806100ca565b601f198216926004600052806000209160005b85811061020f575083600195106101f6575b505050811b016004556100e0565b015160001960f88460031b161c191690553880806101e8565b919260206001819286850151815501940192016101d6565b60046000527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b601f830160051c81019160208410610282575b601f0160051c01905b81811061027657506100b0565b60008155600101610269565b9091508190610260565b634e487b7160e01b600052602260045260246000fd5b90607f169061009e565b634e487b7160e01b600052604160045260246000fd5b015190503880610067565b601f198216936003600052806000209160005b86811061031a5750836001959610610301575b505050811b0160035561007d565b015160001960f88460031b161c191690553880806102f3565b919260206001819286850151815501940192016102e0565b60036000527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b601f830160051c8101916020841061038d575b601f0160051c01905b818110610381575061004c565b60008155600101610374565b909150819061036b565b90607f169061003a565b600080fd5b60408051919082016001600160401b038111838210176102ac5760405260048252631e9554d160e21b602083015256fe608080604052600436101561001357600080fd5b60003560e01c90816306fdde031461101757508063095ea7b314610f6657806309f6442c14610f2a57806312d43a5114610ed857806318160ddd14610e9c57806323b872dd14610cf8578063313ce56714610cbe57806347e7ef2414610a3a5780635d841af51461097957806369328dec1461072c57806370a08231146106c757806395d89b411461056a578063a9059cbb1461051b578063b3f00674146104c9578063c99d3a0614610435578063dd62ed3e146103a5578063eeb97d3b1461033b578063efdcd974146102b1578063f0d2d5a81461021a578063f46eccc4146101b05763fca3b5aa1461010657600080fd5b346101ab5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5761013d611159565b61017073ffffffffffffffffffffffffffffffffffffffff80600754169261016684331461130e565b169182141561120f565b6000526005602052604060002060017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00825416179055600080f35b600080fd5b346101ab5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5773ffffffffffffffffffffffffffffffffffffffff6101fc611159565b166000526005602052602060ff604060002054166040519015158152f35b346101ab5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5773ffffffffffffffffffffffffffffffffffffffff610266611159565b6102758260075416331461130e565b166000526006602052604060002060017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00825416179055600080f35b346101ab5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5773ffffffffffffffffffffffffffffffffffffffff6102fd611159565b61030c8260075416331461130e565b167fffffffffffffffffffffffff00000000000000000000000000000000000000006008541617600855600080f35b346101ab5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5773ffffffffffffffffffffffffffffffffffffffff610387611159565b166000526006602052602060ff604060002054166040519015158152f35b346101ab5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab576103dc611159565b73ffffffffffffffffffffffffffffffffffffffff6103f961117c565b9116600052600160205273ffffffffffffffffffffffffffffffffffffffff604060002091166000526020526020604060002054604051908152f35b346101ab5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5773ffffffffffffffffffffffffffffffffffffffff610481611159565b6104908260075416331461130e565b16600052600660205260406000207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008154169055600080f35b346101ab5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab57602073ffffffffffffffffffffffffffffffffffffffff60085416604051908152f35b346101ab5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5761055f610555611159565b6024359033611373565b602060405160018152f35b346101ab5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5760405160006004548060011c906001811680156106bd575b6020831081146106905782855290811561064e57506001146105ee575b6105ea836105de8185038261119f565b604051918291826110f1565b0390f35b91905060046000527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b916000905b808210610634575090915081016020016105de6105ce565b91926001816020925483858801015201910190929161061c565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660208086019190915291151560051b840190910191506105de90506105ce565b6024847f4e487b710000000000000000000000000000000000000000000000000000000081526022600452fd5b91607f16916105b1565b346101ab5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5773ffffffffffffffffffffffffffffffffffffffff610713611159565b1660005260006020526020604060002054604051908152f35b346101ab5760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab57610763611159565b6024359060443573ffffffffffffffffffffffffffffffffffffffff811681036101ab573360005260056020526107a160ff6040600020541661120f565b73ffffffffffffffffffffffffffffffffffffffff82168015158061095f575b6107cb9150611274565b3315610930576000923384528360205260408420548181106108fe578190338652856020520360408520558060025403600255836040518281527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60203392a361084461083f61083a856114b5565b6112d9565b6112ea565b9081156108d1570461271061085b600954836112fb565b04918282039182116108a4579061087291846115f2565b8061087b578280f35b61089e9173ffffffffffffffffffffffffffffffffffffffff60085416906115f2565b81808280f35b6024857f4e487b710000000000000000000000000000000000000000000000000000000081526011600452fd5b6024857f4e487b710000000000000000000000000000000000000000000000000000000081526012600452fd5b7fe450d38c00000000000000000000000000000000000000000000000000000000855233600452602452604452606483fd5b7f96c6fd1e00000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b5060005260066020526107cb60ff604060002054166107c1565b346101ab5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab576004356109ce73ffffffffffffffffffffffffffffffffffffffff60075416331461130e565b61138881116109dc57600955005b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f4d415800000000000000000000000000000000000000000000000000000000006044820152fd5b346101ab5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab57610a71611159565b602435336000526005602052610a8e60ff6040600020541661120f565b73ffffffffffffffffffffffffffffffffffffffff821680151580610ca4575b610ab89150611274565b60008060405160208101907f23b872dd00000000000000000000000000000000000000000000000000000000825233602482015230604482015284606482015260648152610b0760848261119f565b519082865af1610b1561143f565b81610c75575b5015610bf157610b3361083f61083a610b39946114b5565b906112fb565b3315610bc257600254818101809111610b93576002556000903382528160205260408220818154019055604051908152817fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60203393a380f35b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7fec442f0500000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f5472616e73666572733a3a7472616e7366657246726f6d3a205452414e53464560448201527f525f4641494c45440000000000000000000000000000000000000000000000006064820152fd5b8051801592508215610c8a575b505083610b1b565b610c9d925060208091830101910161149d565b8380610c82565b506000526006602052610ab860ff60406000205416610aae565b346101ab5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab57602060405160128152f35b346101ab5760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab57610d2f611159565b610d3761117c565b6044359073ffffffffffffffffffffffffffffffffffffffff831692836000526001602052604060002073ffffffffffffffffffffffffffffffffffffffff33166000526020526040600020547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8110610db7575b5061055f9350611373565b838110610e66578415610e37573315610e085761055f946000526001602052604060002073ffffffffffffffffffffffffffffffffffffffff33166000526020528360406000209103905584610dac565b7f94280d6200000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b7fe602df0500000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b83907ffb8f41b2000000000000000000000000000000000000000000000000000000006000523360045260245260445260646000fd5b346101ab5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab576020600254604051908152f35b346101ab5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab57602073ffffffffffffffffffffffffffffffffffffffff60075416604051908152f35b346101ab5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab576020600954604051908152f35b346101ab5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab57610f9d611159565b602435903315610e375773ffffffffffffffffffffffffffffffffffffffff16908115610e0857336000526001602052604060002082600052602052806040600020556040519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560203392a3602060405160018152f35b346101ab5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5760006003548060011c906001811680156110e7575b6020831081146106905782855290811561064e5750600114611087576105ea836105de8185038261119f565b91905060036000527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b916000905b8082106110cd575090915081016020016105de6105ce565b9192600181602092548385880101520191019092916110b5565b91607f169161105b565b9190916020815282519283602083015260005b8481106111435750507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8460006040809697860101520116010190565b8060208092840101516040828601015201611104565b6004359073ffffffffffffffffffffffffffffffffffffffff821682036101ab57565b6024359073ffffffffffffffffffffffffffffffffffffffff821682036101ab57565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff8211176111e057604052565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b1561121657565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f4d4e5400000000000000000000000000000000000000000000000000000000006044820152fd5b1561127b57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f434f4c00000000000000000000000000000000000000000000000000000000006044820152fd5b60ff166012039060ff8211610b9357565b60ff16604d8111610b9357600a0a90565b81810292918115918404141715610b9357565b1561131557565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f474f5600000000000000000000000000000000000000000000000000000000006044820152fd5b73ffffffffffffffffffffffffffffffffffffffff169081156109305773ffffffffffffffffffffffffffffffffffffffff16918215610bc257600082815280602052604081205482811061140c5791604082827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef958760209652828652038282205586815280845220818154019055604051908152a3565b6064937fe450d38c0000000000000000000000000000000000000000000000000000000083949352600452602452604452fd5b3d15611498573d9067ffffffffffffffff82116111e0576040519161148c601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0166020018461119f565b82523d6000602084013e565b606090565b908160209103126101ab575180151581036101ab5790565b6000809160405160208101907f313ce567000000000000000000000000000000000000000000000000000000008252600481526114f360248261119f565b51915afa6114ff61143f565b90806115e6575b15611588576020818051810103126101ab576020015160ff811161152a5760ff1690565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f4f564600000000000000000000000000000000000000000000000000000000006044820152fd5b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f464c4400000000000000000000000000000000000000000000000000000000006044820152fd5b50602081511015611506565b60009192908291826040957fffffffff0000000000000000000000000000000000000000000000000000000060196020895161162e8b8261119f565b828152017f7472616e7366657228616464726573732c75696e743235362900000000000000815220169273ffffffffffffffffffffffffffffffffffffffff8851926020840195865216602483015260448201526044815261169160648261119f565b51925af161169d61143f565b8161172e575b50156116ac5750565b608490517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f5472616e73666572733a3a7472616e736665723a205452414e534645525f464160448201527f494c4544000000000000000000000000000000000000000000000000000000006064820152fd5b8051801592508215611743575b5050386116a3565b611756925060208091830101910161149d565b388061173b56fea264697066735822122019a375ee0c785521b6e6a950bf7f8701d7fed3fe3f13cc85f21f6e973d4814ca64736f6c634300081e0033
Deployed Bytecode
0x608080604052600436101561001357600080fd5b60003560e01c90816306fdde031461101757508063095ea7b314610f6657806309f6442c14610f2a57806312d43a5114610ed857806318160ddd14610e9c57806323b872dd14610cf8578063313ce56714610cbe57806347e7ef2414610a3a5780635d841af51461097957806369328dec1461072c57806370a08231146106c757806395d89b411461056a578063a9059cbb1461051b578063b3f00674146104c9578063c99d3a0614610435578063dd62ed3e146103a5578063eeb97d3b1461033b578063efdcd974146102b1578063f0d2d5a81461021a578063f46eccc4146101b05763fca3b5aa1461010657600080fd5b346101ab5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5761013d611159565b61017073ffffffffffffffffffffffffffffffffffffffff80600754169261016684331461130e565b169182141561120f565b6000526005602052604060002060017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00825416179055600080f35b600080fd5b346101ab5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5773ffffffffffffffffffffffffffffffffffffffff6101fc611159565b166000526005602052602060ff604060002054166040519015158152f35b346101ab5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5773ffffffffffffffffffffffffffffffffffffffff610266611159565b6102758260075416331461130e565b166000526006602052604060002060017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00825416179055600080f35b346101ab5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5773ffffffffffffffffffffffffffffffffffffffff6102fd611159565b61030c8260075416331461130e565b167fffffffffffffffffffffffff00000000000000000000000000000000000000006008541617600855600080f35b346101ab5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5773ffffffffffffffffffffffffffffffffffffffff610387611159565b166000526006602052602060ff604060002054166040519015158152f35b346101ab5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab576103dc611159565b73ffffffffffffffffffffffffffffffffffffffff6103f961117c565b9116600052600160205273ffffffffffffffffffffffffffffffffffffffff604060002091166000526020526020604060002054604051908152f35b346101ab5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5773ffffffffffffffffffffffffffffffffffffffff610481611159565b6104908260075416331461130e565b16600052600660205260406000207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008154169055600080f35b346101ab5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab57602073ffffffffffffffffffffffffffffffffffffffff60085416604051908152f35b346101ab5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5761055f610555611159565b6024359033611373565b602060405160018152f35b346101ab5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5760405160006004548060011c906001811680156106bd575b6020831081146106905782855290811561064e57506001146105ee575b6105ea836105de8185038261119f565b604051918291826110f1565b0390f35b91905060046000527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b916000905b808210610634575090915081016020016105de6105ce565b91926001816020925483858801015201910190929161061c565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660208086019190915291151560051b840190910191506105de90506105ce565b6024847f4e487b710000000000000000000000000000000000000000000000000000000081526022600452fd5b91607f16916105b1565b346101ab5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5773ffffffffffffffffffffffffffffffffffffffff610713611159565b1660005260006020526020604060002054604051908152f35b346101ab5760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab57610763611159565b6024359060443573ffffffffffffffffffffffffffffffffffffffff811681036101ab573360005260056020526107a160ff6040600020541661120f565b73ffffffffffffffffffffffffffffffffffffffff82168015158061095f575b6107cb9150611274565b3315610930576000923384528360205260408420548181106108fe578190338652856020520360408520558060025403600255836040518281527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60203392a361084461083f61083a856114b5565b6112d9565b6112ea565b9081156108d1570461271061085b600954836112fb565b04918282039182116108a4579061087291846115f2565b8061087b578280f35b61089e9173ffffffffffffffffffffffffffffffffffffffff60085416906115f2565b81808280f35b6024857f4e487b710000000000000000000000000000000000000000000000000000000081526011600452fd5b6024857f4e487b710000000000000000000000000000000000000000000000000000000081526012600452fd5b7fe450d38c00000000000000000000000000000000000000000000000000000000855233600452602452604452606483fd5b7f96c6fd1e00000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b5060005260066020526107cb60ff604060002054166107c1565b346101ab5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab576004356109ce73ffffffffffffffffffffffffffffffffffffffff60075416331461130e565b61138881116109dc57600955005b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f4d415800000000000000000000000000000000000000000000000000000000006044820152fd5b346101ab5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab57610a71611159565b602435336000526005602052610a8e60ff6040600020541661120f565b73ffffffffffffffffffffffffffffffffffffffff821680151580610ca4575b610ab89150611274565b60008060405160208101907f23b872dd00000000000000000000000000000000000000000000000000000000825233602482015230604482015284606482015260648152610b0760848261119f565b519082865af1610b1561143f565b81610c75575b5015610bf157610b3361083f61083a610b39946114b5565b906112fb565b3315610bc257600254818101809111610b93576002556000903382528160205260408220818154019055604051908152817fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60203393a380f35b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7fec442f0500000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f5472616e73666572733a3a7472616e7366657246726f6d3a205452414e53464560448201527f525f4641494c45440000000000000000000000000000000000000000000000006064820152fd5b8051801592508215610c8a575b505083610b1b565b610c9d925060208091830101910161149d565b8380610c82565b506000526006602052610ab860ff60406000205416610aae565b346101ab5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab57602060405160128152f35b346101ab5760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab57610d2f611159565b610d3761117c565b6044359073ffffffffffffffffffffffffffffffffffffffff831692836000526001602052604060002073ffffffffffffffffffffffffffffffffffffffff33166000526020526040600020547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8110610db7575b5061055f9350611373565b838110610e66578415610e37573315610e085761055f946000526001602052604060002073ffffffffffffffffffffffffffffffffffffffff33166000526020528360406000209103905584610dac565b7f94280d6200000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b7fe602df0500000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b83907ffb8f41b2000000000000000000000000000000000000000000000000000000006000523360045260245260445260646000fd5b346101ab5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab576020600254604051908152f35b346101ab5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab57602073ffffffffffffffffffffffffffffffffffffffff60075416604051908152f35b346101ab5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab576020600954604051908152f35b346101ab5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab57610f9d611159565b602435903315610e375773ffffffffffffffffffffffffffffffffffffffff16908115610e0857336000526001602052604060002082600052602052806040600020556040519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560203392a3602060405160018152f35b346101ab5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5760006003548060011c906001811680156110e7575b6020831081146106905782855290811561064e5750600114611087576105ea836105de8185038261119f565b91905060036000527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b916000905b8082106110cd575090915081016020016105de6105ce565b9192600181602092548385880101520191019092916110b5565b91607f169161105b565b9190916020815282519283602083015260005b8481106111435750507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8460006040809697860101520116010190565b8060208092840101516040828601015201611104565b6004359073ffffffffffffffffffffffffffffffffffffffff821682036101ab57565b6024359073ffffffffffffffffffffffffffffffffffffffff821682036101ab57565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff8211176111e057604052565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b1561121657565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f4d4e5400000000000000000000000000000000000000000000000000000000006044820152fd5b1561127b57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f434f4c00000000000000000000000000000000000000000000000000000000006044820152fd5b60ff166012039060ff8211610b9357565b60ff16604d8111610b9357600a0a90565b81810292918115918404141715610b9357565b1561131557565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f474f5600000000000000000000000000000000000000000000000000000000006044820152fd5b73ffffffffffffffffffffffffffffffffffffffff169081156109305773ffffffffffffffffffffffffffffffffffffffff16918215610bc257600082815280602052604081205482811061140c5791604082827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef958760209652828652038282205586815280845220818154019055604051908152a3565b6064937fe450d38c0000000000000000000000000000000000000000000000000000000083949352600452602452604452fd5b3d15611498573d9067ffffffffffffffff82116111e0576040519161148c601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0166020018461119f565b82523d6000602084013e565b606090565b908160209103126101ab575180151581036101ab5790565b6000809160405160208101907f313ce567000000000000000000000000000000000000000000000000000000008252600481526114f360248261119f565b51915afa6114ff61143f565b90806115e6575b15611588576020818051810103126101ab576020015160ff811161152a5760ff1690565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f4f564600000000000000000000000000000000000000000000000000000000006044820152fd5b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f464c4400000000000000000000000000000000000000000000000000000000006044820152fd5b50602081511015611506565b60009192908291826040957fffffffff0000000000000000000000000000000000000000000000000000000060196020895161162e8b8261119f565b828152017f7472616e7366657228616464726573732c75696e743235362900000000000000815220169273ffffffffffffffffffffffffffffffffffffffff8851926020840195865216602483015260448201526044815261169160648261119f565b51925af161169d61143f565b8161172e575b50156116ac5750565b608490517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f5472616e73666572733a3a7472616e736665723a205452414e534645525f464160448201527f494c4544000000000000000000000000000000000000000000000000000000006064820152fd5b8051801592508215611743575b5050386116a3565b611756925060208091830101910161149d565b388061173b56fea264697066735822122019a375ee0c785521b6e6a950bf7f8701d7fed3fe3f13cc85f21f6e973d4814ca64736f6c634300081e0033
Loading...
Loading
Loading...
Loading
Net Worth in USD
$1.04
Net Worth in ETH
0.000533
Token Allocations
USDC
100.00%
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 100.00% | $1 | 1.0405 | $1.04 |
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.