Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
Usds
Compiler Version
v0.8.21+commit.d9974bed
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: AGPL-3.0-or-later
/// Usds.sol -- Usds token
// Copyright (C) 2017, 2018, 2019 dbrock, rain, mrchico
// Copyright (C) 2023 Dai Foundation
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
pragma solidity ^0.8.21;
import "@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol";
interface IERC1271 {
function isValidSignature(
bytes32,
bytes memory
) external view returns (bytes4);
}
contract Usds is UUPSUpgradeable {
mapping (address => uint256) public wards;
// --- ERC20 Data ---
string public constant name = "USDS Stablecoin";
string public constant symbol = "USDS";
string public constant version = "1";
uint8 public constant decimals = 18;
uint256 public totalSupply;
mapping (address => uint256) public balanceOf;
mapping (address => mapping (address => uint256)) public allowance;
mapping (address => uint256) public nonces;
// --- Events ---
event Rely(address indexed usr);
event Deny(address indexed usr);
event Approval(address indexed owner, address indexed spender, uint256 value);
event Transfer(address indexed from, address indexed to, uint256 value);
// --- EIP712 niceties ---
bytes32 public constant PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
modifier auth {
require(wards[msg.sender] == 1, "Usds/not-authorized");
_;
}
constructor() {
_disableInitializers(); // Avoid initializing in the context of the implementation
}
// --- Upgradability ---
function initialize() initializer external {
__UUPSUpgradeable_init();
wards[msg.sender] = 1;
emit Rely(msg.sender);
}
function _authorizeUpgrade(address newImplementation) internal override auth {}
function getImplementation() external view returns (address) {
return ERC1967Utils.getImplementation();
}
function _calculateDomainSeparator(uint256 chainId) private view returns (bytes32) {
return keccak256(
abi.encode(
keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"),
keccak256(bytes(name)),
keccak256(bytes(version)),
chainId,
address(this)
)
);
}
function DOMAIN_SEPARATOR() external view returns (bytes32) {
return _calculateDomainSeparator(block.chainid);
}
// --- Administration ---
function rely(address usr) external auth {
wards[usr] = 1;
emit Rely(usr);
}
function deny(address usr) external auth {
wards[usr] = 0;
emit Deny(usr);
}
// --- ERC20 Mutations ---
function transfer(address to, uint256 value) external returns (bool) {
require(to != address(0) && to != address(this), "Usds/invalid-address");
uint256 balance = balanceOf[msg.sender];
require(balance >= value, "Usds/insufficient-balance");
unchecked {
balanceOf[msg.sender] = balance - value;
balanceOf[to] += value; // note: we don't need an overflow check here b/c sum of all balances == totalSupply
}
emit Transfer(msg.sender, to, value);
return true;
}
function transferFrom(address from, address to, uint256 value) external returns (bool) {
require(to != address(0) && to != address(this), "Usds/invalid-address");
uint256 balance = balanceOf[from];
require(balance >= value, "Usds/insufficient-balance");
if (from != msg.sender) {
uint256 allowed = allowance[from][msg.sender];
if (allowed != type(uint256).max) {
require(allowed >= value, "Usds/insufficient-allowance");
unchecked {
allowance[from][msg.sender] = allowed - value;
}
}
}
unchecked {
balanceOf[from] = balance - value;
balanceOf[to] += value; // note: we don't need an overflow check here b/c sum of all balances == totalSupply
}
emit Transfer(from, to, value);
return true;
}
function approve(address spender, uint256 value) external returns (bool) {
allowance[msg.sender][spender] = value;
emit Approval(msg.sender, spender, value);
return true;
}
// --- Mint/Burn ---
function mint(address to, uint256 value) external auth {
require(to != address(0) && to != address(this), "Usds/invalid-address");
unchecked {
balanceOf[to] = balanceOf[to] + value; // note: we don't need an overflow check here b/c balanceOf[to] <= totalSupply and there is an overflow check below
}
totalSupply = totalSupply + value;
emit Transfer(address(0), to, value);
}
function burn(address from, uint256 value) external {
uint256 balance = balanceOf[from];
require(balance >= value, "Usds/insufficient-balance");
if (from != msg.sender) {
uint256 allowed = allowance[from][msg.sender];
if (allowed != type(uint256).max) {
require(allowed >= value, "Usds/insufficient-allowance");
unchecked {
allowance[from][msg.sender] = allowed - value;
}
}
}
unchecked {
balanceOf[from] = balance - value; // note: we don't need overflow checks b/c require(balance >= value) and balance <= totalSupply
totalSupply = totalSupply - value;
}
emit Transfer(from, address(0), value);
}
// --- Approve by signature ---
function _isValidSignature(
address signer,
bytes32 digest,
bytes memory signature
) internal view returns (bool valid) {
if (signature.length == 65) {
bytes32 r;
bytes32 s;
uint8 v;
assembly {
r := mload(add(signature, 0x20))
s := mload(add(signature, 0x40))
v := byte(0, mload(add(signature, 0x60)))
}
if (signer == ecrecover(digest, v, r, s)) {
return true;
}
}
if (signer.code.length > 0) {
(bool success, bytes memory result) = signer.staticcall(
abi.encodeCall(IERC1271.isValidSignature, (digest, signature))
);
valid = (success &&
result.length == 32 &&
abi.decode(result, (bytes4)) == IERC1271.isValidSignature.selector);
}
}
function permit(
address owner,
address spender,
uint256 value,
uint256 deadline,
bytes memory signature
) public {
require(block.timestamp <= deadline, "Usds/permit-expired");
require(owner != address(0), "Usds/invalid-owner");
uint256 nonce;
unchecked { nonce = nonces[owner]++; }
bytes32 digest =
keccak256(abi.encodePacked(
"\x19\x01",
_calculateDomainSeparator(block.chainid),
keccak256(abi.encode(
PERMIT_TYPEHASH,
owner,
spender,
value,
nonce,
deadline
))
));
require(_isValidSignature(owner, digest, signature), "Usds/invalid-permit");
allowance[owner][spender] = value;
emit Approval(owner, spender, value);
}
function permit(
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) external {
permit(owner, spender, value, deadline, abi.encodePacked(r, s, v));
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (proxy/utils/UUPSUpgradeable.sol)
pragma solidity ^0.8.20;
import {IERC1822Proxiable} from "@openzeppelin/contracts/interfaces/draft-IERC1822.sol";
import {ERC1967Utils} from "@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol";
import {Initializable} from "./Initializable.sol";
/**
* @dev An upgradeability mechanism designed for UUPS proxies. The functions included here can perform an upgrade of an
* {ERC1967Proxy}, when this contract is set as the implementation behind such a proxy.
*
* A security mechanism ensures that an upgrade does not turn off upgradeability accidentally, although this risk is
* reinstated if the upgrade retains upgradeability but removes the security mechanism, e.g. by replacing
* `UUPSUpgradeable` with a custom implementation of upgrades.
*
* The {_authorizeUpgrade} function must be overridden to include access restriction to the upgrade mechanism.
*/
abstract contract UUPSUpgradeable is Initializable, IERC1822Proxiable {
/// @custom:oz-upgrades-unsafe-allow state-variable-immutable
address private immutable __self = address(this);
/**
* @dev The version of the upgrade interface of the contract. If this getter is missing, both `upgradeTo(address)`
* and `upgradeToAndCall(address,bytes)` are present, and `upgradeTo` must be used if no function should be called,
* while `upgradeToAndCall` will invoke the `receive` function if the second argument is the empty byte string.
* If the getter returns `"5.0.0"`, only `upgradeToAndCall(address,bytes)` is present, and the second argument must
* be the empty byte string if no function should be called, making it impossible to invoke the `receive` function
* during an upgrade.
*/
string public constant UPGRADE_INTERFACE_VERSION = "5.0.0";
/**
* @dev The call is from an unauthorized context.
*/
error UUPSUnauthorizedCallContext();
/**
* @dev The storage `slot` is unsupported as a UUID.
*/
error UUPSUnsupportedProxiableUUID(bytes32 slot);
/**
* @dev Check that the execution is being performed through a delegatecall call and that the execution context is
* a proxy contract with an implementation (as defined in ERC1967) pointing to self. This should only be the case
* for UUPS and transparent proxies that are using the current contract as their implementation. Execution of a
* function through ERC1167 minimal proxies (clones) would not normally pass this test, but is not guaranteed to
* fail.
*/
modifier onlyProxy() {
_checkProxy();
_;
}
/**
* @dev Check that the execution is not being performed through a delegate call. This allows a function to be
* callable on the implementing contract but not through proxies.
*/
modifier notDelegated() {
_checkNotDelegated();
_;
}
function __UUPSUpgradeable_init() internal onlyInitializing {
}
function __UUPSUpgradeable_init_unchained() internal onlyInitializing {
}
/**
* @dev Implementation of the ERC1822 {proxiableUUID} function. This returns the storage slot used by the
* implementation. It is used to validate the implementation's compatibility when performing an upgrade.
*
* IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks
* bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this
* function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier.
*/
function proxiableUUID() external view virtual notDelegated returns (bytes32) {
return ERC1967Utils.IMPLEMENTATION_SLOT;
}
/**
* @dev Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call
* encoded in `data`.
*
* Calls {_authorizeUpgrade}.
*
* Emits an {Upgraded} event.
*
* @custom:oz-upgrades-unsafe-allow-reachable delegatecall
*/
function upgradeToAndCall(address newImplementation, bytes memory data) public payable virtual onlyProxy {
_authorizeUpgrade(newImplementation);
_upgradeToAndCallUUPS(newImplementation, data);
}
/**
* @dev Reverts if the execution is not performed via delegatecall or the execution
* context is not of a proxy with an ERC1967-compliant implementation pointing to self.
* See {_onlyProxy}.
*/
function _checkProxy() internal view virtual {
if (
address(this) == __self || // Must be called through delegatecall
ERC1967Utils.getImplementation() != __self // Must be called through an active proxy
) {
revert UUPSUnauthorizedCallContext();
}
}
/**
* @dev Reverts if the execution is performed via delegatecall.
* See {notDelegated}.
*/
function _checkNotDelegated() internal view virtual {
if (address(this) != __self) {
// Must not be called through delegatecall
revert UUPSUnauthorizedCallContext();
}
}
/**
* @dev Function that should revert when `msg.sender` is not authorized to upgrade the contract. Called by
* {upgradeToAndCall}.
*
* Normally, this function will use an xref:access.adoc[access control] modifier such as {Ownable-onlyOwner}.
*
* ```solidity
* function _authorizeUpgrade(address) internal onlyOwner {}
* ```
*/
function _authorizeUpgrade(address newImplementation) internal virtual;
/**
* @dev Performs an implementation upgrade with a security check for UUPS proxies, and additional setup call.
*
* As a security check, {proxiableUUID} is invoked in the new implementation, and the return value
* is expected to be the implementation slot in ERC1967.
*
* Emits an {IERC1967-Upgraded} event.
*/
function _upgradeToAndCallUUPS(address newImplementation, bytes memory data) private {
try IERC1822Proxiable(newImplementation).proxiableUUID() returns (bytes32 slot) {
if (slot != ERC1967Utils.IMPLEMENTATION_SLOT) {
revert UUPSUnsupportedProxiableUUID(slot);
}
ERC1967Utils.upgradeToAndCall(newImplementation, data);
} catch {
// The implementation is not UUPS
revert ERC1967Utils.ERC1967InvalidImplementation(newImplementation);
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC1822.sol)
pragma solidity ^0.8.20;
/**
* @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified
* proxy whose upgrades are fully controlled by the current implementation.
*/
interface IERC1822Proxiable {
/**
* @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation
* address.
*
* IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks
* bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this
* function revert if invoked through a proxy.
*/
function proxiableUUID() external view returns (bytes32);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (proxy/ERC1967/ERC1967Utils.sol)
pragma solidity ^0.8.20;
import {IBeacon} from "../beacon/IBeacon.sol";
import {Address} from "../../utils/Address.sol";
import {StorageSlot} from "../../utils/StorageSlot.sol";
/**
* @dev This abstract contract provides getters and event emitting update functions for
* https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.
*/
library ERC1967Utils {
// We re-declare ERC-1967 events here because they can't be used directly from IERC1967.
// This will be fixed in Solidity 0.8.21. At that point we should remove these events.
/**
* @dev Emitted when the implementation is upgraded.
*/
event Upgraded(address indexed implementation);
/**
* @dev Emitted when the admin account has changed.
*/
event AdminChanged(address previousAdmin, address newAdmin);
/**
* @dev Emitted when the beacon is changed.
*/
event BeaconUpgraded(address indexed beacon);
/**
* @dev Storage slot with the address of the current implementation.
* This is the keccak-256 hash of "eip1967.proxy.implementation" subtracted by 1.
*/
// solhint-disable-next-line private-vars-leading-underscore
bytes32 internal constant IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
/**
* @dev The `implementation` of the proxy is invalid.
*/
error ERC1967InvalidImplementation(address implementation);
/**
* @dev The `admin` of the proxy is invalid.
*/
error ERC1967InvalidAdmin(address admin);
/**
* @dev The `beacon` of the proxy is invalid.
*/
error ERC1967InvalidBeacon(address beacon);
/**
* @dev An upgrade function sees `msg.value > 0` that may be lost.
*/
error ERC1967NonPayable();
/**
* @dev Returns the current implementation address.
*/
function getImplementation() internal view returns (address) {
return StorageSlot.getAddressSlot(IMPLEMENTATION_SLOT).value;
}
/**
* @dev Stores a new address in the EIP1967 implementation slot.
*/
function _setImplementation(address newImplementation) private {
if (newImplementation.code.length == 0) {
revert ERC1967InvalidImplementation(newImplementation);
}
StorageSlot.getAddressSlot(IMPLEMENTATION_SLOT).value = newImplementation;
}
/**
* @dev Performs implementation upgrade with additional setup call if data is nonempty.
* This function is payable only if the setup call is performed, otherwise `msg.value` is rejected
* to avoid stuck value in the contract.
*
* Emits an {IERC1967-Upgraded} event.
*/
function upgradeToAndCall(address newImplementation, bytes memory data) internal {
_setImplementation(newImplementation);
emit Upgraded(newImplementation);
if (data.length > 0) {
Address.functionDelegateCall(newImplementation, data);
} else {
_checkNonPayable();
}
}
/**
* @dev Storage slot with the admin of the contract.
* This is the keccak-256 hash of "eip1967.proxy.admin" subtracted by 1.
*/
// solhint-disable-next-line private-vars-leading-underscore
bytes32 internal constant ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;
/**
* @dev Returns the current admin.
*
* TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using
* the https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.
* `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`
*/
function getAdmin() internal view returns (address) {
return StorageSlot.getAddressSlot(ADMIN_SLOT).value;
}
/**
* @dev Stores a new address in the EIP1967 admin slot.
*/
function _setAdmin(address newAdmin) private {
if (newAdmin == address(0)) {
revert ERC1967InvalidAdmin(address(0));
}
StorageSlot.getAddressSlot(ADMIN_SLOT).value = newAdmin;
}
/**
* @dev Changes the admin of the proxy.
*
* Emits an {IERC1967-AdminChanged} event.
*/
function changeAdmin(address newAdmin) internal {
emit AdminChanged(getAdmin(), newAdmin);
_setAdmin(newAdmin);
}
/**
* @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.
* This is the keccak-256 hash of "eip1967.proxy.beacon" subtracted by 1.
*/
// solhint-disable-next-line private-vars-leading-underscore
bytes32 internal constant BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;
/**
* @dev Returns the current beacon.
*/
function getBeacon() internal view returns (address) {
return StorageSlot.getAddressSlot(BEACON_SLOT).value;
}
/**
* @dev Stores a new beacon in the EIP1967 beacon slot.
*/
function _setBeacon(address newBeacon) private {
if (newBeacon.code.length == 0) {
revert ERC1967InvalidBeacon(newBeacon);
}
StorageSlot.getAddressSlot(BEACON_SLOT).value = newBeacon;
address beaconImplementation = IBeacon(newBeacon).implementation();
if (beaconImplementation.code.length == 0) {
revert ERC1967InvalidImplementation(beaconImplementation);
}
}
/**
* @dev Change the beacon and trigger a setup call if data is nonempty.
* This function is payable only if the setup call is performed, otherwise `msg.value` is rejected
* to avoid stuck value in the contract.
*
* Emits an {IERC1967-BeaconUpgraded} event.
*
* CAUTION: Invoking this function has no effect on an instance of {BeaconProxy} since v5, since
* it uses an immutable beacon without looking at the value of the ERC-1967 beacon slot for
* efficiency.
*/
function upgradeBeaconToAndCall(address newBeacon, bytes memory data) internal {
_setBeacon(newBeacon);
emit BeaconUpgraded(newBeacon);
if (data.length > 0) {
Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data);
} else {
_checkNonPayable();
}
}
/**
* @dev Reverts if `msg.value` is not zero. It can be used to avoid `msg.value` stuck in the contract
* if an upgrade doesn't perform an initialization call.
*/
function _checkNonPayable() private {
if (msg.value > 0) {
revert ERC1967NonPayable();
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (proxy/utils/Initializable.sol)
pragma solidity ^0.8.20;
/**
* @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
* behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an
* external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
* function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
*
* The initialization functions use a version number. Once a version number is used, it is consumed and cannot be
* reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in
* case an upgrade adds a module that needs to be initialized.
*
* For example:
*
* [.hljs-theme-light.nopadding]
* ```solidity
* contract MyToken is ERC20Upgradeable {
* function initialize() initializer public {
* __ERC20_init("MyToken", "MTK");
* }
* }
*
* contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {
* function initializeV2() reinitializer(2) public {
* __ERC20Permit_init("MyToken");
* }
* }
* ```
*
* TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
* possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
*
* CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
* that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
*
* [CAUTION]
* ====
* Avoid leaving a contract uninitialized.
*
* An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
* contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke
* the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:
*
* [.hljs-theme-light.nopadding]
* ```
* /// @custom:oz-upgrades-unsafe-allow constructor
* constructor() {
* _disableInitializers();
* }
* ```
* ====
*/
abstract contract Initializable {
/**
* @dev Storage of the initializable contract.
*
* It's implemented on a custom ERC-7201 namespace to reduce the risk of storage collisions
* when using with upgradeable contracts.
*
* @custom:storage-location erc7201:openzeppelin.storage.Initializable
*/
struct InitializableStorage {
/**
* @dev Indicates that the contract has been initialized.
*/
uint64 _initialized;
/**
* @dev Indicates that the contract is in the process of being initialized.
*/
bool _initializing;
}
// keccak256(abi.encode(uint256(keccak256("openzeppelin.storage.Initializable")) - 1)) & ~bytes32(uint256(0xff))
bytes32 private constant INITIALIZABLE_STORAGE = 0xf0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00;
/**
* @dev The contract is already initialized.
*/
error InvalidInitialization();
/**
* @dev The contract is not initializing.
*/
error NotInitializing();
/**
* @dev Triggered when the contract has been initialized or reinitialized.
*/
event Initialized(uint64 version);
/**
* @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,
* `onlyInitializing` functions can be used to initialize parent contracts.
*
* Similar to `reinitializer(1)`, except that in the context of a constructor an `initializer` may be invoked any
* number of times. This behavior in the constructor can be useful during testing and is not expected to be used in
* production.
*
* Emits an {Initialized} event.
*/
modifier initializer() {
// solhint-disable-next-line var-name-mixedcase
InitializableStorage storage $ = _getInitializableStorage();
// Cache values to avoid duplicated sloads
bool isTopLevelCall = !$._initializing;
uint64 initialized = $._initialized;
// Allowed calls:
// - initialSetup: the contract is not in the initializing state and no previous version was
// initialized
// - construction: the contract is initialized at version 1 (no reininitialization) and the
// current contract is just being deployed
bool initialSetup = initialized == 0 && isTopLevelCall;
bool construction = initialized == 1 && address(this).code.length == 0;
if (!initialSetup && !construction) {
revert InvalidInitialization();
}
$._initialized = 1;
if (isTopLevelCall) {
$._initializing = true;
}
_;
if (isTopLevelCall) {
$._initializing = false;
emit Initialized(1);
}
}
/**
* @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the
* contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be
* used to initialize parent contracts.
*
* A reinitializer may be used after the original initialization step. This is essential to configure modules that
* are added through upgrades and that require initialization.
*
* When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`
* cannot be nested. If one is invoked in the context of another, execution will revert.
*
* Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in
* a contract, executing them in the right order is up to the developer or operator.
*
* WARNING: Setting the version to 2**64 - 1 will prevent any future reinitialization.
*
* Emits an {Initialized} event.
*/
modifier reinitializer(uint64 version) {
// solhint-disable-next-line var-name-mixedcase
InitializableStorage storage $ = _getInitializableStorage();
if ($._initializing || $._initialized >= version) {
revert InvalidInitialization();
}
$._initialized = version;
$._initializing = true;
_;
$._initializing = false;
emit Initialized(version);
}
/**
* @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
* {initializer} and {reinitializer} modifiers, directly or indirectly.
*/
modifier onlyInitializing() {
_checkInitializing();
_;
}
/**
* @dev Reverts if the contract is not in an initializing state. See {onlyInitializing}.
*/
function _checkInitializing() internal view virtual {
if (!_isInitializing()) {
revert NotInitializing();
}
}
/**
* @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.
* Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized
* to any version. It is recommended to use this to lock implementation contracts that are designed to be called
* through proxies.
*
* Emits an {Initialized} event the first time it is successfully executed.
*/
function _disableInitializers() internal virtual {
// solhint-disable-next-line var-name-mixedcase
InitializableStorage storage $ = _getInitializableStorage();
if ($._initializing) {
revert InvalidInitialization();
}
if ($._initialized != type(uint64).max) {
$._initialized = type(uint64).max;
emit Initialized(type(uint64).max);
}
}
/**
* @dev Returns the highest version that has been initialized. See {reinitializer}.
*/
function _getInitializedVersion() internal view returns (uint64) {
return _getInitializableStorage()._initialized;
}
/**
* @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}.
*/
function _isInitializing() internal view returns (bool) {
return _getInitializableStorage()._initializing;
}
/**
* @dev Returns a pointer to the storage namespace.
*/
// solhint-disable-next-line var-name-mixedcase
function _getInitializableStorage() private pure returns (InitializableStorage storage $) {
assembly {
$.slot := INITIALIZABLE_STORAGE
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (proxy/beacon/IBeacon.sol)
pragma solidity ^0.8.20;
/**
* @dev This is the interface that {BeaconProxy} expects of its beacon.
*/
interface IBeacon {
/**
* @dev Must return an address that can be used as a delegate call target.
*
* {UpgradeableBeacon} will check that this address is a contract.
*/
function implementation() external view returns (address);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol)
pragma solidity ^0.8.20;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev The ETH balance of the account is not enough to perform the operation.
*/
error AddressInsufficientBalance(address account);
/**
* @dev There's no code at `target` (it is not a contract).
*/
error AddressEmptyCode(address target);
/**
* @dev A call to an address target failed. The target may have reverted.
*/
error FailedInnerCall();
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
if (address(this).balance < amount) {
revert AddressInsufficientBalance(address(this));
}
(bool success, ) = recipient.call{value: amount}("");
if (!success) {
revert FailedInnerCall();
}
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason or custom error, it is bubbled
* up by this function (like regular Solidity function calls). However, if
* the call reverted with no returned reason, this function reverts with a
* {FailedInnerCall} error.
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*/
function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
if (address(this).balance < value) {
revert AddressInsufficientBalance(address(this));
}
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResultFromTarget(target, success, returndata);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResultFromTarget(target, success, returndata);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResultFromTarget(target, success, returndata);
}
/**
* @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target
* was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an
* unsuccessful call.
*/
function verifyCallResultFromTarget(
address target,
bool success,
bytes memory returndata
) internal view returns (bytes memory) {
if (!success) {
_revert(returndata);
} else {
// only check if target is a contract if the call was successful and the return data is empty
// otherwise we already know that it was a contract
if (returndata.length == 0 && target.code.length == 0) {
revert AddressEmptyCode(target);
}
return returndata;
}
}
/**
* @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the
* revert reason or with a default {FailedInnerCall} error.
*/
function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {
if (!success) {
_revert(returndata);
} else {
return returndata;
}
}
/**
* @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}.
*/
function _revert(bytes memory returndata) private pure {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
/// @solidity memory-safe-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert FailedInnerCall();
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/StorageSlot.sol)
// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.
pragma solidity ^0.8.20;
/**
* @dev Library for reading and writing primitive types to specific storage slots.
*
* Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
* This library helps with reading and writing to such slots without the need for inline assembly.
*
* The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
*
* Example usage to set ERC1967 implementation slot:
* ```solidity
* contract ERC1967 {
* bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
*
* function _getImplementation() internal view returns (address) {
* return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
* }
*
* function _setImplementation(address newImplementation) internal {
* require(newImplementation.code.length > 0);
* StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
* }
* }
* ```
*/
library StorageSlot {
struct AddressSlot {
address value;
}
struct BooleanSlot {
bool value;
}
struct Bytes32Slot {
bytes32 value;
}
struct Uint256Slot {
uint256 value;
}
struct StringSlot {
string value;
}
struct BytesSlot {
bytes value;
}
/**
* @dev Returns an `AddressSlot` with member `value` located at `slot`.
*/
function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {
/// @solidity memory-safe-assembly
assembly {
r.slot := slot
}
}
/**
* @dev Returns an `BooleanSlot` with member `value` located at `slot`.
*/
function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {
/// @solidity memory-safe-assembly
assembly {
r.slot := slot
}
}
/**
* @dev Returns an `Bytes32Slot` with member `value` located at `slot`.
*/
function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {
/// @solidity memory-safe-assembly
assembly {
r.slot := slot
}
}
/**
* @dev Returns an `Uint256Slot` with member `value` located at `slot`.
*/
function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {
/// @solidity memory-safe-assembly
assembly {
r.slot := slot
}
}
/**
* @dev Returns an `StringSlot` with member `value` located at `slot`.
*/
function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {
/// @solidity memory-safe-assembly
assembly {
r.slot := slot
}
}
/**
* @dev Returns an `StringSlot` representation of the string storage pointer `store`.
*/
function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {
/// @solidity memory-safe-assembly
assembly {
r.slot := store.slot
}
}
/**
* @dev Returns an `BytesSlot` with member `value` located at `slot`.
*/
function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {
/// @solidity memory-safe-assembly
assembly {
r.slot := slot
}
}
/**
* @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.
*/
function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {
/// @solidity memory-safe-assembly
assembly {
r.slot := store.slot
}
}
}{
"remappings": [
"@openzeppelin/contracts/=lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/",
"@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",
"forge-std/=lib/openzeppelin-foundry-upgrades/lib/forge-std/src/",
"ds-test/=lib/openzeppelin-contracts-upgradeable/lib/forge-std/lib/ds-test/src/",
"dss-interfaces/=lib/token-tests/lib/dss-test/lib/dss-interfaces/src/",
"dss-test/=lib/token-tests/lib/dss-test/src/",
"erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/",
"openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",
"openzeppelin-contracts/=lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/",
"openzeppelin-foundry-upgrades/=lib/openzeppelin-foundry-upgrades/src/",
"solidity-stringutils/=lib/openzeppelin-foundry-upgrades/lib/solidity-stringutils/",
"token-tests/=lib/token-tests/src/"
],
"optimizer": {
"enabled": true,
"runs": 200
},
"metadata": {
"useLiteralContent": false,
"bytecodeHash": "ipfs",
"appendCBOR": true
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"evmVersion": "paris",
"viaIR": false,
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"AddressEmptyCode","type":"error"},{"inputs":[{"internalType":"address","name":"implementation","type":"address"}],"name":"ERC1967InvalidImplementation","type":"error"},{"inputs":[],"name":"ERC1967NonPayable","type":"error"},{"inputs":[],"name":"FailedInnerCall","type":"error"},{"inputs":[],"name":"InvalidInitialization","type":"error"},{"inputs":[],"name":"NotInitializing","type":"error"},{"inputs":[],"name":"UUPSUnauthorizedCallContext","type":"error"},{"inputs":[{"internalType":"bytes32","name":"slot","type":"bytes32"}],"name":"UUPSUnsupportedProxiableUUID","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":"usr","type":"address"}],"name":"Deny","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint64","name":"version","type":"uint64"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"usr","type":"address"}],"name":"Rely","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UPGRADE_INTERFACE_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","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":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"usr","type":"address"}],"name":"deny","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getImplementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"proxiableUUID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"usr","type":"address"}],"name":"rely","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":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"wards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]Contract Creation Code
60a06040523060805234801561001457600080fd5b5061001d610022565b6100d4565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff16156100725760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b03908116146100d15780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b608051611a4b6100fd6000396000818161100a0152818161103301526111a50152611a4b6000f3fe6080604052600436106101665760003560e01c806370a08231116100d15780639fd5a6cf1161008a578063ad3cb1cc11610064578063ad3cb1cc14610483578063bf353dbb146104b4578063d505accf146104e1578063dd62ed3e1461050157600080fd5b80639fd5a6cf14610416578063a9059cbb14610436578063aaf10f421461045657600080fd5b806370a08231146103375780637ecebe00146103645780638129fc1c1461039157806395d89b41146103a65780639c52a7f1146103d65780639dc29fac146103f657600080fd5b80633644e515116101235780633644e5151461028b57806340c10f19146102a05780634f1ef286146102c257806352d1902d146102d557806354fd4d50146102ea57806365fae35e1461031757600080fd5b806306fdde031461016b578063095ea7b3146101bc57806318160ddd146101ec57806323b872dd1461021057806330adf81f14610230578063313ce56714610264575b600080fd5b34801561017757600080fd5b506101a66040518060400160405280600f81526020016e2aa9a2299029ba30b13632b1b7b4b760891b81525081565b6040516101b391906115e9565b60405180910390f35b3480156101c857600080fd5b506101dc6101d7366004611618565b610539565b60405190151581526020016101b3565b3480156101f857600080fd5b5061020260015481565b6040519081526020016101b3565b34801561021c57600080fd5b506101dc61022b366004611642565b6105a6565b34801561023c57600080fd5b506102027f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b34801561027057600080fd5b50610279601281565b60405160ff90911681526020016101b3565b34801561029757600080fd5b50610202610742565b3480156102ac57600080fd5b506102c06102bb366004611618565b610752565b005b6102c06102d0366004611721565b610820565b3480156102e157600080fd5b5061020261083f565b3480156102f657600080fd5b506101a6604051806040016040528060018152602001603160f81b81525081565b34801561032357600080fd5b506102c061033236600461176f565b61085c565b34801561034357600080fd5b5061020261035236600461176f565b60026020526000908152604090205481565b34801561037057600080fd5b5061020261037f36600461176f565b60046020526000908152604090205481565b34801561039d57600080fd5b506102c06108d0565b3480156103b257600080fd5b506101a6604051806040016040528060048152602001635553445360e01b81525081565b3480156103e257600080fd5b506102c06103f136600461176f565b610a17565b34801561040257600080fd5b506102c0610411366004611618565b610a8a565b34801561042257600080fd5b506102c061043136600461178a565b610bc9565b34801561044257600080fd5b506101dc610451366004611618565b610de8565b34801561046257600080fd5b5061046b610eaf565b6040516001600160a01b0390911681526020016101b3565b34801561048f57600080fd5b506101a6604051806040016040528060058152602001640352e302e360dc1b81525081565b3480156104c057600080fd5b506102026104cf36600461176f565b60006020819052908152604090205481565b3480156104ed57600080fd5b506102c06104fc3660046117fc565b610ed0565b34801561050d57600080fd5b5061020261051c36600461186f565b600360209081526000928352604080842090915290825290205481565b3360008181526003602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906105949086815260200190565b60405180910390a35060015b92915050565b60006001600160a01b038316158015906105c957506001600160a01b0383163014155b6105ee5760405162461bcd60e51b81526004016105e5906118a2565b60405180910390fd5b6001600160a01b038416600090815260026020526040902054828110156106275760405162461bcd60e51b81526004016105e5906118d0565b6001600160a01b03851633146106df576001600160a01b038516600090815260036020908152604080832033845290915290205460001981146106dd57838110156106b45760405162461bcd60e51b815260206004820152601b60248201527f557364732f696e73756666696369656e742d616c6c6f77616e6365000000000060448201526064016105e5565b6001600160a01b0386166000908152600360209081526040808320338452909152902084820390555b505b6001600160a01b0380861660008181526002602052604080822087860390559287168082529083902080548701905591516000805160206119f68339815191529061072d9087815260200190565b60405180910390a360019150505b9392505050565b600061074d46610f27565b905090565b336000908152602081905260409020546001146107815760405162461bcd60e51b81526004016105e590611907565b6001600160a01b038216158015906107a257506001600160a01b0382163014155b6107be5760405162461bcd60e51b81526004016105e5906118a2565b6001600160a01b03821660009081526002602052604090208054820190556001546107ea908290611934565b6001556040518181526001600160a01b038316906000906000805160206119f68339815191529060200160405180910390a35050565b610828610fff565b610831826110a6565b61083b82826110d8565b5050565b600061084961119a565b506000805160206119d683398151915290565b3360009081526020819052604090205460011461088b5760405162461bcd60e51b81526004016105e590611907565b6001600160a01b03811660008181526020819052604080822060019055517fdd0e34038ac38b2a1ce960229778ac48a8719bc900b6c4f8d0475c6e8b385a609190a250565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff166000811580156109165750825b905060008267ffffffffffffffff1660011480156109335750303b155b905081158015610941575080155b1561095f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561098957845460ff60401b1916600160401b1785555b6109916111e3565b3360008181526020819052604080822060019055517fdd0e34038ac38b2a1ce960229778ac48a8719bc900b6c4f8d0475c6e8b385a609190a28315610a1057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050565b33600090815260208190526040902054600114610a465760405162461bcd60e51b81526004016105e590611907565b6001600160a01b038116600081815260208190526040808220829055517f184450df2e323acec0ed3b5c7531b81f9b4cdef7914dfd4c0a4317416bb5251b9190a250565b6001600160a01b03821660009081526002602052604090205481811015610ac35760405162461bcd60e51b81526004016105e5906118d0565b6001600160a01b0383163314610b7b576001600160a01b03831660009081526003602090815260408083203384529091529020546000198114610b795782811015610b505760405162461bcd60e51b815260206004820152601b60248201527f557364732f696e73756666696369656e742d616c6c6f77616e6365000000000060448201526064016105e5565b6001600160a01b0384166000908152600360209081526040808320338452909152902083820390555b505b6001600160a01b03831660008181526002602090815260408083208686039055600180548790039055518581529192916000805160206119f6833981519152910160405180910390a3505050565b81421115610c0f5760405162461bcd60e51b8152602060048201526013602482015272155cd91ccbdc195c9b5a5d0b595e1c1a5c9959606a1b60448201526064016105e5565b6001600160a01b038516610c5a5760405162461bcd60e51b81526020600482015260126024820152712ab9b23997b4b73b30b634b216b7bbb732b960711b60448201526064016105e5565b6001600160a01b038516600090815260046020526040812080546001810190915590610c8546610f27565b604080517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c960208201526001600160a01b03808b169282019290925290881660608201526080810187905260a0810184905260c0810186905260e00160405160208183030381529060405280519060200120604051602001610d1e92919061190160f01b81526002810192909252602282015260420190565b604051602081830303815290604052805190602001209050610d418782856111eb565b610d835760405162461bcd60e51b8152602060048201526013602482015272155cd91ccbda5b9d985b1a590b5c195c9b5a5d606a1b60448201526064016105e5565b6001600160a01b038781166000818152600360209081526040808320948b168084529482529182902089905590518881527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b60006001600160a01b03831615801590610e0b57506001600160a01b0383163014155b610e275760405162461bcd60e51b81526004016105e5906118a2565b3360009081526002602052604090205482811015610e575760405162461bcd60e51b81526004016105e5906118d0565b33600081815260026020908152604080832087860390556001600160a01b03881680845292819020805488019055518681529192916000805160206119f6833981519152910160405180910390a35060019392505050565b600061074d6000805160206119d6833981519152546001600160a01b031690565b610f1e87878787868689604051602001610f0a93929190928352602083019190915260f81b6001600160f81b031916604082015260410190565b604051602081830303815290604052610bc9565b50505050505050565b604080518082018252600f81526e2aa9a2299029ba30b13632b1b7b4b760891b6020918201528151808301835260018152603160f81b9082015281517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818301527f2a23c41011e8e539e4f4084ffc24b3915572c705b02e784a519051e327b59f80818401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6606082015260808101939093523060a0808501919091528251808503909101815260c0909301909152815191012090565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148061108657507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661107a6000805160206119d6833981519152546001600160a01b031690565b6001600160a01b031614155b156110a45760405163703e46dd60e11b815260040160405180910390fd5b565b336000908152602081905260409020546001146110d55760405162461bcd60e51b81526004016105e590611907565b50565b816001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015611132575060408051601f3d908101601f1916820190925261112f91810190611955565b60015b61115a57604051634c9c8ce360e01b81526001600160a01b03831660048201526024016105e5565b6000805160206119d6833981519152811461118b57604051632a87526960e21b8152600481018290526024016105e5565b611195838361137b565b505050565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146110a45760405163703e46dd60e11b815260040160405180910390fd5b6110a46113d1565b6000815160410361128857602082810151604080850151606080870151835160008082529681018086528a9052951a928501839052840183905260808401819052919260019060a0016020604051602081039080840390855afa158015611256573d6000803e3d6000fd5b505050602060405103516001600160a01b0316876001600160a01b031603611284576001935050505061073b565b5050505b6001600160a01b0384163b1561073b57600080856001600160a01b031685856040516024016112b892919061196e565b60408051601f198184030181529181526020820180516001600160e01b0316630b135d3f60e11b179052516112ed919061198f565b600060405180830381855afa9150503d8060008114611328576040519150601f19603f3d011682016040523d82523d6000602084013e61132d565b606091505b5091509150818015611340575080516020145b801561137157508051630b135d3f60e11b9061136590830160209081019084016119ab565b6001600160e01b031916145b9695505050505050565b6113848261141a565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a28051156113c957611195828261147f565b61083b6114f5565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166110a457604051631afcd79f60e31b815260040160405180910390fd5b806001600160a01b03163b60000361145057604051634c9c8ce360e01b81526001600160a01b03821660048201526024016105e5565b6000805160206119d683398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b03168460405161149c919061198f565b600060405180830381855af49150503d80600081146114d7576040519150601f19603f3d011682016040523d82523d6000602084013e6114dc565b606091505b50915091506114ec858383611514565b95945050505050565b34156110a45760405163b398979f60e01b815260040160405180910390fd5b6060826115295761152482611570565b61073b565b815115801561154057506001600160a01b0384163b155b1561156957604051639996b31560e01b81526001600160a01b03851660048201526024016105e5565b508061073b565b8051156115805780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b60005b838110156115b457818101518382015260200161159c565b50506000910152565b600081518084526115d5816020860160208601611599565b601f01601f19169290920160200192915050565b60208152600061073b60208301846115bd565b80356001600160a01b038116811461161357600080fd5b919050565b6000806040838503121561162b57600080fd5b611634836115fc565b946020939093013593505050565b60008060006060848603121561165757600080fd5b611660846115fc565b925061166e602085016115fc565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126116a557600080fd5b813567ffffffffffffffff808211156116c0576116c061167e565b604051601f8301601f19908116603f011681019082821181831017156116e8576116e861167e565b8160405283815286602085880101111561170157600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806040838503121561173457600080fd5b61173d836115fc565b9150602083013567ffffffffffffffff81111561175957600080fd5b61176585828601611694565b9150509250929050565b60006020828403121561178157600080fd5b61073b826115fc565b600080600080600060a086880312156117a257600080fd5b6117ab866115fc565b94506117b9602087016115fc565b93506040860135925060608601359150608086013567ffffffffffffffff8111156117e357600080fd5b6117ef88828901611694565b9150509295509295909350565b600080600080600080600060e0888a03121561181757600080fd5b611820886115fc565b965061182e602089016115fc565b95506040880135945060608801359350608088013560ff8116811461185257600080fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561188257600080fd5b61188b836115fc565b9150611899602084016115fc565b90509250929050565b602080825260149082015273557364732f696e76616c69642d6164647265737360601b604082015260600190565b60208082526019908201527f557364732f696e73756666696369656e742d62616c616e636500000000000000604082015260600190565b602080825260139082015272155cd91ccbdb9bdd0b585d5d1a1bdc9a5e9959606a1b604082015260600190565b808201808211156105a057634e487b7160e01b600052601160045260246000fd5b60006020828403121561196757600080fd5b5051919050565b82815260406020820152600061198760408301846115bd565b949350505050565b600082516119a1818460208701611599565b9190910192915050565b6000602082840312156119bd57600080fd5b81516001600160e01b03198116811461073b57600080fdfe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbcddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220aa914f6c092dc852b3765c87c6201a51f3a68da2805480a0a096a03ab18c0cb464736f6c63430008150033
Deployed Bytecode
0x6080604052600436106101665760003560e01c806370a08231116100d15780639fd5a6cf1161008a578063ad3cb1cc11610064578063ad3cb1cc14610483578063bf353dbb146104b4578063d505accf146104e1578063dd62ed3e1461050157600080fd5b80639fd5a6cf14610416578063a9059cbb14610436578063aaf10f421461045657600080fd5b806370a08231146103375780637ecebe00146103645780638129fc1c1461039157806395d89b41146103a65780639c52a7f1146103d65780639dc29fac146103f657600080fd5b80633644e515116101235780633644e5151461028b57806340c10f19146102a05780634f1ef286146102c257806352d1902d146102d557806354fd4d50146102ea57806365fae35e1461031757600080fd5b806306fdde031461016b578063095ea7b3146101bc57806318160ddd146101ec57806323b872dd1461021057806330adf81f14610230578063313ce56714610264575b600080fd5b34801561017757600080fd5b506101a66040518060400160405280600f81526020016e2aa9a2299029ba30b13632b1b7b4b760891b81525081565b6040516101b391906115e9565b60405180910390f35b3480156101c857600080fd5b506101dc6101d7366004611618565b610539565b60405190151581526020016101b3565b3480156101f857600080fd5b5061020260015481565b6040519081526020016101b3565b34801561021c57600080fd5b506101dc61022b366004611642565b6105a6565b34801561023c57600080fd5b506102027f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b34801561027057600080fd5b50610279601281565b60405160ff90911681526020016101b3565b34801561029757600080fd5b50610202610742565b3480156102ac57600080fd5b506102c06102bb366004611618565b610752565b005b6102c06102d0366004611721565b610820565b3480156102e157600080fd5b5061020261083f565b3480156102f657600080fd5b506101a6604051806040016040528060018152602001603160f81b81525081565b34801561032357600080fd5b506102c061033236600461176f565b61085c565b34801561034357600080fd5b5061020261035236600461176f565b60026020526000908152604090205481565b34801561037057600080fd5b5061020261037f36600461176f565b60046020526000908152604090205481565b34801561039d57600080fd5b506102c06108d0565b3480156103b257600080fd5b506101a6604051806040016040528060048152602001635553445360e01b81525081565b3480156103e257600080fd5b506102c06103f136600461176f565b610a17565b34801561040257600080fd5b506102c0610411366004611618565b610a8a565b34801561042257600080fd5b506102c061043136600461178a565b610bc9565b34801561044257600080fd5b506101dc610451366004611618565b610de8565b34801561046257600080fd5b5061046b610eaf565b6040516001600160a01b0390911681526020016101b3565b34801561048f57600080fd5b506101a6604051806040016040528060058152602001640352e302e360dc1b81525081565b3480156104c057600080fd5b506102026104cf36600461176f565b60006020819052908152604090205481565b3480156104ed57600080fd5b506102c06104fc3660046117fc565b610ed0565b34801561050d57600080fd5b5061020261051c36600461186f565b600360209081526000928352604080842090915290825290205481565b3360008181526003602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906105949086815260200190565b60405180910390a35060015b92915050565b60006001600160a01b038316158015906105c957506001600160a01b0383163014155b6105ee5760405162461bcd60e51b81526004016105e5906118a2565b60405180910390fd5b6001600160a01b038416600090815260026020526040902054828110156106275760405162461bcd60e51b81526004016105e5906118d0565b6001600160a01b03851633146106df576001600160a01b038516600090815260036020908152604080832033845290915290205460001981146106dd57838110156106b45760405162461bcd60e51b815260206004820152601b60248201527f557364732f696e73756666696369656e742d616c6c6f77616e6365000000000060448201526064016105e5565b6001600160a01b0386166000908152600360209081526040808320338452909152902084820390555b505b6001600160a01b0380861660008181526002602052604080822087860390559287168082529083902080548701905591516000805160206119f68339815191529061072d9087815260200190565b60405180910390a360019150505b9392505050565b600061074d46610f27565b905090565b336000908152602081905260409020546001146107815760405162461bcd60e51b81526004016105e590611907565b6001600160a01b038216158015906107a257506001600160a01b0382163014155b6107be5760405162461bcd60e51b81526004016105e5906118a2565b6001600160a01b03821660009081526002602052604090208054820190556001546107ea908290611934565b6001556040518181526001600160a01b038316906000906000805160206119f68339815191529060200160405180910390a35050565b610828610fff565b610831826110a6565b61083b82826110d8565b5050565b600061084961119a565b506000805160206119d683398151915290565b3360009081526020819052604090205460011461088b5760405162461bcd60e51b81526004016105e590611907565b6001600160a01b03811660008181526020819052604080822060019055517fdd0e34038ac38b2a1ce960229778ac48a8719bc900b6c4f8d0475c6e8b385a609190a250565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff166000811580156109165750825b905060008267ffffffffffffffff1660011480156109335750303b155b905081158015610941575080155b1561095f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561098957845460ff60401b1916600160401b1785555b6109916111e3565b3360008181526020819052604080822060019055517fdd0e34038ac38b2a1ce960229778ac48a8719bc900b6c4f8d0475c6e8b385a609190a28315610a1057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050565b33600090815260208190526040902054600114610a465760405162461bcd60e51b81526004016105e590611907565b6001600160a01b038116600081815260208190526040808220829055517f184450df2e323acec0ed3b5c7531b81f9b4cdef7914dfd4c0a4317416bb5251b9190a250565b6001600160a01b03821660009081526002602052604090205481811015610ac35760405162461bcd60e51b81526004016105e5906118d0565b6001600160a01b0383163314610b7b576001600160a01b03831660009081526003602090815260408083203384529091529020546000198114610b795782811015610b505760405162461bcd60e51b815260206004820152601b60248201527f557364732f696e73756666696369656e742d616c6c6f77616e6365000000000060448201526064016105e5565b6001600160a01b0384166000908152600360209081526040808320338452909152902083820390555b505b6001600160a01b03831660008181526002602090815260408083208686039055600180548790039055518581529192916000805160206119f6833981519152910160405180910390a3505050565b81421115610c0f5760405162461bcd60e51b8152602060048201526013602482015272155cd91ccbdc195c9b5a5d0b595e1c1a5c9959606a1b60448201526064016105e5565b6001600160a01b038516610c5a5760405162461bcd60e51b81526020600482015260126024820152712ab9b23997b4b73b30b634b216b7bbb732b960711b60448201526064016105e5565b6001600160a01b038516600090815260046020526040812080546001810190915590610c8546610f27565b604080517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c960208201526001600160a01b03808b169282019290925290881660608201526080810187905260a0810184905260c0810186905260e00160405160208183030381529060405280519060200120604051602001610d1e92919061190160f01b81526002810192909252602282015260420190565b604051602081830303815290604052805190602001209050610d418782856111eb565b610d835760405162461bcd60e51b8152602060048201526013602482015272155cd91ccbda5b9d985b1a590b5c195c9b5a5d606a1b60448201526064016105e5565b6001600160a01b038781166000818152600360209081526040808320948b168084529482529182902089905590518881527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b60006001600160a01b03831615801590610e0b57506001600160a01b0383163014155b610e275760405162461bcd60e51b81526004016105e5906118a2565b3360009081526002602052604090205482811015610e575760405162461bcd60e51b81526004016105e5906118d0565b33600081815260026020908152604080832087860390556001600160a01b03881680845292819020805488019055518681529192916000805160206119f6833981519152910160405180910390a35060019392505050565b600061074d6000805160206119d6833981519152546001600160a01b031690565b610f1e87878787868689604051602001610f0a93929190928352602083019190915260f81b6001600160f81b031916604082015260410190565b604051602081830303815290604052610bc9565b50505050505050565b604080518082018252600f81526e2aa9a2299029ba30b13632b1b7b4b760891b6020918201528151808301835260018152603160f81b9082015281517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818301527f2a23c41011e8e539e4f4084ffc24b3915572c705b02e784a519051e327b59f80818401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6606082015260808101939093523060a0808501919091528251808503909101815260c0909301909152815191012090565b306001600160a01b037f0000000000000000000000001923dfee706a8e78157416c29cbccfde7cdf410216148061108657507f0000000000000000000000001923dfee706a8e78157416c29cbccfde7cdf41026001600160a01b031661107a6000805160206119d6833981519152546001600160a01b031690565b6001600160a01b031614155b156110a45760405163703e46dd60e11b815260040160405180910390fd5b565b336000908152602081905260409020546001146110d55760405162461bcd60e51b81526004016105e590611907565b50565b816001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015611132575060408051601f3d908101601f1916820190925261112f91810190611955565b60015b61115a57604051634c9c8ce360e01b81526001600160a01b03831660048201526024016105e5565b6000805160206119d6833981519152811461118b57604051632a87526960e21b8152600481018290526024016105e5565b611195838361137b565b505050565b306001600160a01b037f0000000000000000000000001923dfee706a8e78157416c29cbccfde7cdf410216146110a45760405163703e46dd60e11b815260040160405180910390fd5b6110a46113d1565b6000815160410361128857602082810151604080850151606080870151835160008082529681018086528a9052951a928501839052840183905260808401819052919260019060a0016020604051602081039080840390855afa158015611256573d6000803e3d6000fd5b505050602060405103516001600160a01b0316876001600160a01b031603611284576001935050505061073b565b5050505b6001600160a01b0384163b1561073b57600080856001600160a01b031685856040516024016112b892919061196e565b60408051601f198184030181529181526020820180516001600160e01b0316630b135d3f60e11b179052516112ed919061198f565b600060405180830381855afa9150503d8060008114611328576040519150601f19603f3d011682016040523d82523d6000602084013e61132d565b606091505b5091509150818015611340575080516020145b801561137157508051630b135d3f60e11b9061136590830160209081019084016119ab565b6001600160e01b031916145b9695505050505050565b6113848261141a565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a28051156113c957611195828261147f565b61083b6114f5565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166110a457604051631afcd79f60e31b815260040160405180910390fd5b806001600160a01b03163b60000361145057604051634c9c8ce360e01b81526001600160a01b03821660048201526024016105e5565b6000805160206119d683398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b03168460405161149c919061198f565b600060405180830381855af49150503d80600081146114d7576040519150601f19603f3d011682016040523d82523d6000602084013e6114dc565b606091505b50915091506114ec858383611514565b95945050505050565b34156110a45760405163b398979f60e01b815260040160405180910390fd5b6060826115295761152482611570565b61073b565b815115801561154057506001600160a01b0384163b155b1561156957604051639996b31560e01b81526001600160a01b03851660048201526024016105e5565b508061073b565b8051156115805780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b60005b838110156115b457818101518382015260200161159c565b50506000910152565b600081518084526115d5816020860160208601611599565b601f01601f19169290920160200192915050565b60208152600061073b60208301846115bd565b80356001600160a01b038116811461161357600080fd5b919050565b6000806040838503121561162b57600080fd5b611634836115fc565b946020939093013593505050565b60008060006060848603121561165757600080fd5b611660846115fc565b925061166e602085016115fc565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126116a557600080fd5b813567ffffffffffffffff808211156116c0576116c061167e565b604051601f8301601f19908116603f011681019082821181831017156116e8576116e861167e565b8160405283815286602085880101111561170157600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806040838503121561173457600080fd5b61173d836115fc565b9150602083013567ffffffffffffffff81111561175957600080fd5b61176585828601611694565b9150509250929050565b60006020828403121561178157600080fd5b61073b826115fc565b600080600080600060a086880312156117a257600080fd5b6117ab866115fc565b94506117b9602087016115fc565b93506040860135925060608601359150608086013567ffffffffffffffff8111156117e357600080fd5b6117ef88828901611694565b9150509295509295909350565b600080600080600080600060e0888a03121561181757600080fd5b611820886115fc565b965061182e602089016115fc565b95506040880135945060608801359350608088013560ff8116811461185257600080fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561188257600080fd5b61188b836115fc565b9150611899602084016115fc565b90509250929050565b602080825260149082015273557364732f696e76616c69642d6164647265737360601b604082015260600190565b60208082526019908201527f557364732f696e73756666696369656e742d62616c616e636500000000000000604082015260600190565b602080825260139082015272155cd91ccbdb9bdd0b585d5d1a1bdc9a5e9959606a1b604082015260600190565b808201808211156105a057634e487b7160e01b600052601160045260246000fd5b60006020828403121561196757600080fd5b5051919050565b82815260406020820152600061198760408301846115bd565b949350505050565b600082516119a1818460208701611599565b9190910192915050565b6000602082840312156119bd57600080fd5b81516001600160e01b03198116811461073b57600080fdfe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbcddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220aa914f6c092dc852b3765c87c6201a51f3a68da2805480a0a096a03ab18c0cb464736f6c63430008150033
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 35 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.