Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 5 from a total of 5 transactions
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 = ERC20(collateral).decimals();
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 = ERC20(collateral).decimals();
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;
}
}// 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
6080604052346103a1576100116103a6565b6100196103a6565b81516001600160401b0381116102ac57600354600181811c91168015610397575b602082101461028c57601f8111610332575b50602092601f82116001146102cd57928192936000926102c2575b50508160011b916000199060031b1c1916176003555b80516001600160401b0381116102ac57600454600181811c911680156102a2575b602082101461028c57601f8111610227575b50602091601f82116001146101c3579181926000926101b8575b50508160011b916000199060031b1c1916176004555b6103e860095560078054336001600160a01b031991821681179092556008805490911682179055156101a2576002546a0422ca8b0a00a425000000810180911161018c57600255600033815280602052604081206a0422ca8b0a00a4250000008154019055604051906a0422ca8b0a00a42500000082527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60203393a360405161174390816103d78239f35b634e487b7160e01b600052601160045260246000fd5b63ec442f0560e01b600052600060045260246000fd5b0151905038806100ca565b601f198216926004600052806000209160005b85811061020f575083600195106101f6575b505050811b016004556100e0565b015160001960f88460031b161c191690553880806101e8565b919260206001819286850151815501940192016101d6565b60046000527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b601f830160051c81019160208410610282575b601f0160051c01905b81811061027657506100b0565b60008155600101610269565b9091508190610260565b634e487b7160e01b600052602260045260246000fd5b90607f169061009e565b634e487b7160e01b600052604160045260246000fd5b015190503880610067565b601f198216936003600052806000209160005b86811061031a5750836001959610610301575b505050811b0160035561007d565b015160001960f88460031b161c191690553880806102f3565b919260206001819286850151815501940192016102e0565b60036000527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b601f830160051c8101916020841061038d575b601f0160051c01905b818110610381575061004c565b60008155600101610374565b909150819061036b565b90607f169061003a565b600080fd5b60408051919082016001600160401b038111838210176102ac5760405260048252631e9554d160e21b602083015256fe608080604052600436101561001357600080fd5b60003560e01c90816306fdde03146110eb57508063095ea7b31461103a57806309f6442c14610ffe57806312d43a5114610fac57806318160ddd14610f7057806323b872dd14610dcc578063313ce56714610d9257806347e7ef2414610aab5780635d841af5146109ea57806369328dec1461072c57806370a08231146106c757806395d89b411461056a578063a9059cbb1461051b578063b3f00674146104c9578063c99d3a0614610435578063dd62ed3e146103a5578063eeb97d3b1461033b578063efdcd974146102b1578063f0d2d5a81461021a578063f46eccc4146101b05763fca3b5aa1461010657600080fd5b346101ab5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5761013d61122d565b61017073ffffffffffffffffffffffffffffffffffffffff8060075416926101668433146113fb565b16918214156112e3565b6000526005602052604060002060017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00825416179055600080f35b600080fd5b346101ab5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5773ffffffffffffffffffffffffffffffffffffffff6101fc61122d565b166000526005602052602060ff604060002054166040519015158152f35b346101ab5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5773ffffffffffffffffffffffffffffffffffffffff61026661122d565b610275826007541633146113fb565b166000526006602052604060002060017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00825416179055600080f35b346101ab5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5773ffffffffffffffffffffffffffffffffffffffff6102fd61122d565b61030c826007541633146113fb565b167fffffffffffffffffffffffff00000000000000000000000000000000000000006008541617600855600080f35b346101ab5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5773ffffffffffffffffffffffffffffffffffffffff61038761122d565b166000526006602052602060ff604060002054166040519015158152f35b346101ab5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab576103dc61122d565b73ffffffffffffffffffffffffffffffffffffffff6103f9611250565b9116600052600160205273ffffffffffffffffffffffffffffffffffffffff604060002091166000526020526020604060002054604051908152f35b346101ab5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5773ffffffffffffffffffffffffffffffffffffffff61048161122d565b610490826007541633146113fb565b16600052600660205260406000207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008154169055600080f35b346101ab5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab57602073ffffffffffffffffffffffffffffffffffffffff60085416604051908152f35b346101ab5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5761055f61055561122d565b6024359033611460565b602060405160018152f35b346101ab5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5760405160006004548060011c906001811680156106bd575b6020831081146106905782855290811561064e57506001146105ee575b6105ea836105de81850382611273565b604051918291826111c5565b0390f35b91905060046000527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b916000905b808210610634575090915081016020016105de6105ce565b91926001816020925483858801015201910190929161061c565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660208086019190915291151560051b840190910191506105de90506105ce565b6024847f4e487b710000000000000000000000000000000000000000000000000000000081526022600452fd5b91607f16916105b1565b346101ab5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5773ffffffffffffffffffffffffffffffffffffffff61071361122d565b1660005260006020526020604060002054604051908152f35b346101ab5760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5761076361122d565b6024359060443573ffffffffffffffffffffffffffffffffffffffff811681036101ab573360005260056020526107a160ff604060002054166112e3565b73ffffffffffffffffffffffffffffffffffffffff821692831515806109d2575b6107cb90611348565b33156109a35760009333855284602052604085205482811061096f57600491836020923389528884520360408820558360025403600255866040518581527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef843392a3604051928380927f313ce5670000000000000000000000000000000000000000000000000000000082525afa9081156109645761087b91610876918791610935575b506113c6565b6113d7565b9081156109085704612710610892600954836113e8565b04918282039182116108db57906108a991846115a2565b806108b2578280f35b6108d59173ffffffffffffffffffffffffffffffffffffffff60085416906115a2565b81808280f35b6024857f4e487b710000000000000000000000000000000000000000000000000000000081526011600452fd5b6024857f4e487b710000000000000000000000000000000000000000000000000000000081526012600452fd5b610957915060203d60201161095d575b61094f8183611273565b8101906113ad565b87610870565b503d610945565b6040513d87823e3d90fd5b85836064927fe450d38c00000000000000000000000000000000000000000000000000000000835233600452602452604452fd5b7f96c6fd1e00000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b5060008481526006602052604090205460ff166107c2565b346101ab5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab57600435610a3f73ffffffffffffffffffffffffffffffffffffffff6007541633146113fb565b6113888111610a4d57600955005b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f4d415800000000000000000000000000000000000000000000000000000000006044820152fd5b346101ab5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab57610ae261122d565b602435336000526005602052610aff60ff604060002054166112e3565b60008073ffffffffffffffffffffffffffffffffffffffff84169384151580610d7c575b610b2c90611348565b6040518260208201917f23b872dd00000000000000000000000000000000000000000000000000000000835233602482015230604482015286606482015260648152610b79608482611273565b51925af1610b8561152c565b81610d4d575b5015610cc9576020600492604051938480927f313ce5670000000000000000000000000000000000000000000000000000000082525afa8015610cbd57610876610be091610be694600091610c9e57506113c6565b906113e8565b3315610c6f57600254818101809111610c40576002556000903382528160205260408220818154019055604051908152817fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60203393a380f35b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7fec442f0500000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b610cb7915060203d60201161095d5761094f8183611273565b85610870565b6040513d6000823e3d90fd5b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f5472616e73666572733a3a7472616e7366657246726f6d3a205452414e53464560448201527f525f4641494c45440000000000000000000000000000000000000000000000006064820152fd5b8051801592508215610d62575b505083610b8b565b610d75925060208091830101910161158a565b8380610d5a565b508482526006602052604082205460ff16610b23565b346101ab5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab57602060405160128152f35b346101ab5760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab57610e0361122d565b610e0b611250565b6044359073ffffffffffffffffffffffffffffffffffffffff831692836000526001602052604060002073ffffffffffffffffffffffffffffffffffffffff33166000526020526040600020547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8110610e8b575b5061055f9350611460565b838110610f3a578415610f0b573315610edc5761055f946000526001602052604060002073ffffffffffffffffffffffffffffffffffffffff33166000526020528360406000209103905584610e80565b7f94280d6200000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b7fe602df0500000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b83907ffb8f41b2000000000000000000000000000000000000000000000000000000006000523360045260245260445260646000fd5b346101ab5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab576020600254604051908152f35b346101ab5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab57602073ffffffffffffffffffffffffffffffffffffffff60075416604051908152f35b346101ab5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab576020600954604051908152f35b346101ab5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5761107161122d565b602435903315610f0b5773ffffffffffffffffffffffffffffffffffffffff16908115610edc57336000526001602052604060002082600052602052806040600020556040519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560203392a3602060405160018152f35b346101ab5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5760006003548060011c906001811680156111bb575b6020831081146106905782855290811561064e575060011461115b576105ea836105de81850382611273565b91905060036000527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b916000905b8082106111a1575090915081016020016105de6105ce565b919260018160209254838588010152019101909291611189565b91607f169161112f565b9190916020815282519283602083015260005b8481106112175750507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8460006040809697860101520116010190565b80602080928401015160408286010152016111d8565b6004359073ffffffffffffffffffffffffffffffffffffffff821682036101ab57565b6024359073ffffffffffffffffffffffffffffffffffffffff821682036101ab57565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff8211176112b457604052565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b156112ea57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f4d4e5400000000000000000000000000000000000000000000000000000000006044820152fd5b1561134f57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f434f4c00000000000000000000000000000000000000000000000000000000006044820152fd5b908160209103126101ab575160ff811681036101ab5790565b60ff166012039060ff8211610c4057565b60ff16604d8111610c4057600a0a90565b81810292918115918404141715610c4057565b1561140257565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f474f5600000000000000000000000000000000000000000000000000000000006044820152fd5b73ffffffffffffffffffffffffffffffffffffffff169081156109a35773ffffffffffffffffffffffffffffffffffffffff16918215610c6f5760008281528060205260408120548281106114f95791604082827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef958760209652828652038282205586815280845220818154019055604051908152a3565b6064937fe450d38c0000000000000000000000000000000000000000000000000000000083949352600452602452604452fd5b3d15611585573d9067ffffffffffffffff82116112b45760405191611579601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200184611273565b82523d6000602084013e565b606090565b908160209103126101ab575180151581036101ab5790565b60009192908291826040957fffffffff000000000000000000000000000000000000000000000000000000006019602089516115de8b82611273565b828152017f7472616e7366657228616464726573732c75696e743235362900000000000000815220169273ffffffffffffffffffffffffffffffffffffffff88519260208401958652166024830152604482015260448152611641606482611273565b51925af161164d61152c565b816116de575b501561165c5750565b608490517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f5472616e73666572733a3a7472616e736665723a205452414e534645525f464160448201527f494c4544000000000000000000000000000000000000000000000000000000006064820152fd5b80518015925082156116f3575b505038611653565b611706925060208091830101910161158a565b38806116eb56fea2646970667358221220aabd8c96aebb72566705fb67861b2f6b84cb270e8065a041c9825aafecbff85564736f6c634300081e0033
Deployed Bytecode
0x608080604052600436101561001357600080fd5b60003560e01c90816306fdde03146110eb57508063095ea7b31461103a57806309f6442c14610ffe57806312d43a5114610fac57806318160ddd14610f7057806323b872dd14610dcc578063313ce56714610d9257806347e7ef2414610aab5780635d841af5146109ea57806369328dec1461072c57806370a08231146106c757806395d89b411461056a578063a9059cbb1461051b578063b3f00674146104c9578063c99d3a0614610435578063dd62ed3e146103a5578063eeb97d3b1461033b578063efdcd974146102b1578063f0d2d5a81461021a578063f46eccc4146101b05763fca3b5aa1461010657600080fd5b346101ab5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5761013d61122d565b61017073ffffffffffffffffffffffffffffffffffffffff8060075416926101668433146113fb565b16918214156112e3565b6000526005602052604060002060017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00825416179055600080f35b600080fd5b346101ab5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5773ffffffffffffffffffffffffffffffffffffffff6101fc61122d565b166000526005602052602060ff604060002054166040519015158152f35b346101ab5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5773ffffffffffffffffffffffffffffffffffffffff61026661122d565b610275826007541633146113fb565b166000526006602052604060002060017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00825416179055600080f35b346101ab5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5773ffffffffffffffffffffffffffffffffffffffff6102fd61122d565b61030c826007541633146113fb565b167fffffffffffffffffffffffff00000000000000000000000000000000000000006008541617600855600080f35b346101ab5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5773ffffffffffffffffffffffffffffffffffffffff61038761122d565b166000526006602052602060ff604060002054166040519015158152f35b346101ab5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab576103dc61122d565b73ffffffffffffffffffffffffffffffffffffffff6103f9611250565b9116600052600160205273ffffffffffffffffffffffffffffffffffffffff604060002091166000526020526020604060002054604051908152f35b346101ab5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5773ffffffffffffffffffffffffffffffffffffffff61048161122d565b610490826007541633146113fb565b16600052600660205260406000207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008154169055600080f35b346101ab5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab57602073ffffffffffffffffffffffffffffffffffffffff60085416604051908152f35b346101ab5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5761055f61055561122d565b6024359033611460565b602060405160018152f35b346101ab5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5760405160006004548060011c906001811680156106bd575b6020831081146106905782855290811561064e57506001146105ee575b6105ea836105de81850382611273565b604051918291826111c5565b0390f35b91905060046000527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b916000905b808210610634575090915081016020016105de6105ce565b91926001816020925483858801015201910190929161061c565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660208086019190915291151560051b840190910191506105de90506105ce565b6024847f4e487b710000000000000000000000000000000000000000000000000000000081526022600452fd5b91607f16916105b1565b346101ab5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5773ffffffffffffffffffffffffffffffffffffffff61071361122d565b1660005260006020526020604060002054604051908152f35b346101ab5760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5761076361122d565b6024359060443573ffffffffffffffffffffffffffffffffffffffff811681036101ab573360005260056020526107a160ff604060002054166112e3565b73ffffffffffffffffffffffffffffffffffffffff821692831515806109d2575b6107cb90611348565b33156109a35760009333855284602052604085205482811061096f57600491836020923389528884520360408820558360025403600255866040518581527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef843392a3604051928380927f313ce5670000000000000000000000000000000000000000000000000000000082525afa9081156109645761087b91610876918791610935575b506113c6565b6113d7565b9081156109085704612710610892600954836113e8565b04918282039182116108db57906108a991846115a2565b806108b2578280f35b6108d59173ffffffffffffffffffffffffffffffffffffffff60085416906115a2565b81808280f35b6024857f4e487b710000000000000000000000000000000000000000000000000000000081526011600452fd5b6024857f4e487b710000000000000000000000000000000000000000000000000000000081526012600452fd5b610957915060203d60201161095d575b61094f8183611273565b8101906113ad565b87610870565b503d610945565b6040513d87823e3d90fd5b85836064927fe450d38c00000000000000000000000000000000000000000000000000000000835233600452602452604452fd5b7f96c6fd1e00000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b5060008481526006602052604090205460ff166107c2565b346101ab5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab57600435610a3f73ffffffffffffffffffffffffffffffffffffffff6007541633146113fb565b6113888111610a4d57600955005b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f4d415800000000000000000000000000000000000000000000000000000000006044820152fd5b346101ab5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab57610ae261122d565b602435336000526005602052610aff60ff604060002054166112e3565b60008073ffffffffffffffffffffffffffffffffffffffff84169384151580610d7c575b610b2c90611348565b6040518260208201917f23b872dd00000000000000000000000000000000000000000000000000000000835233602482015230604482015286606482015260648152610b79608482611273565b51925af1610b8561152c565b81610d4d575b5015610cc9576020600492604051938480927f313ce5670000000000000000000000000000000000000000000000000000000082525afa8015610cbd57610876610be091610be694600091610c9e57506113c6565b906113e8565b3315610c6f57600254818101809111610c40576002556000903382528160205260408220818154019055604051908152817fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60203393a380f35b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7fec442f0500000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b610cb7915060203d60201161095d5761094f8183611273565b85610870565b6040513d6000823e3d90fd5b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f5472616e73666572733a3a7472616e7366657246726f6d3a205452414e53464560448201527f525f4641494c45440000000000000000000000000000000000000000000000006064820152fd5b8051801592508215610d62575b505083610b8b565b610d75925060208091830101910161158a565b8380610d5a565b508482526006602052604082205460ff16610b23565b346101ab5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab57602060405160128152f35b346101ab5760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab57610e0361122d565b610e0b611250565b6044359073ffffffffffffffffffffffffffffffffffffffff831692836000526001602052604060002073ffffffffffffffffffffffffffffffffffffffff33166000526020526040600020547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8110610e8b575b5061055f9350611460565b838110610f3a578415610f0b573315610edc5761055f946000526001602052604060002073ffffffffffffffffffffffffffffffffffffffff33166000526020528360406000209103905584610e80565b7f94280d6200000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b7fe602df0500000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b83907ffb8f41b2000000000000000000000000000000000000000000000000000000006000523360045260245260445260646000fd5b346101ab5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab576020600254604051908152f35b346101ab5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab57602073ffffffffffffffffffffffffffffffffffffffff60075416604051908152f35b346101ab5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab576020600954604051908152f35b346101ab5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5761107161122d565b602435903315610f0b5773ffffffffffffffffffffffffffffffffffffffff16908115610edc57336000526001602052604060002082600052602052806040600020556040519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560203392a3602060405160018152f35b346101ab5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ab5760006003548060011c906001811680156111bb575b6020831081146106905782855290811561064e575060011461115b576105ea836105de81850382611273565b91905060036000527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b916000905b8082106111a1575090915081016020016105de6105ce565b919260018160209254838588010152019101909291611189565b91607f169161112f565b9190916020815282519283602083015260005b8481106112175750507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8460006040809697860101520116010190565b80602080928401015160408286010152016111d8565b6004359073ffffffffffffffffffffffffffffffffffffffff821682036101ab57565b6024359073ffffffffffffffffffffffffffffffffffffffff821682036101ab57565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff8211176112b457604052565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b156112ea57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f4d4e5400000000000000000000000000000000000000000000000000000000006044820152fd5b1561134f57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f434f4c00000000000000000000000000000000000000000000000000000000006044820152fd5b908160209103126101ab575160ff811681036101ab5790565b60ff166012039060ff8211610c4057565b60ff16604d8111610c4057600a0a90565b81810292918115918404141715610c4057565b1561140257565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f474f5600000000000000000000000000000000000000000000000000000000006044820152fd5b73ffffffffffffffffffffffffffffffffffffffff169081156109a35773ffffffffffffffffffffffffffffffffffffffff16918215610c6f5760008281528060205260408120548281106114f95791604082827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef958760209652828652038282205586815280845220818154019055604051908152a3565b6064937fe450d38c0000000000000000000000000000000000000000000000000000000083949352600452602452604452fd5b3d15611585573d9067ffffffffffffffff82116112b45760405191611579601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200184611273565b82523d6000602084013e565b606090565b908160209103126101ab575180151581036101ab5790565b60009192908291826040957fffffffff000000000000000000000000000000000000000000000000000000006019602089516115de8b82611273565b828152017f7472616e7366657228616464726573732c75696e743235362900000000000000815220169273ffffffffffffffffffffffffffffffffffffffff88519260208401958652166024830152604482015260448152611641606482611273565b51925af161164d61152c565b816116de575b501561165c5750565b608490517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f5472616e73666572733a3a7472616e736665723a205452414e534645525f464160448201527f494c4544000000000000000000000000000000000000000000000000000000006064820152fd5b80518015925082156116f3575b505038611653565b611706925060208091830101910161158a565b38806116eb56fea2646970667358221220aabd8c96aebb72566705fb67861b2f6b84cb270e8065a041c9825aafecbff85564736f6c634300081e0033
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
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.