Source Code
Latest 25 from a total of 3,342 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Deploy With Payl... | 7111319 | 554 days ago | IN | 0.00005759 ETH | 0.00002729 | ||||
| Deploy With Payl... | 7094840 | 554 days ago | IN | 0.00005795 ETH | 0.00003822 | ||||
| Deploy With Payl... | 7091497 | 554 days ago | IN | 0.00005855 ETH | 0.00002729 | ||||
| Deploy With Payl... | 7088399 | 554 days ago | IN | 0.00005765 ETH | 0.00002647 | ||||
| Deploy With Payl... | 7088357 | 554 days ago | IN | 0.00005765 ETH | 0.00002647 | ||||
| Deploy With Payl... | 7088332 | 554 days ago | IN | 0.00005765 ETH | 0.00002647 | ||||
| Deploy With Payl... | 7088301 | 554 days ago | IN | 0.00005765 ETH | 0.00002647 | ||||
| Deploy With Payl... | 7088268 | 554 days ago | IN | 0.00005765 ETH | 0.00002645 | ||||
| Deploy With Payl... | 7083384 | 554 days ago | IN | 0.00005795 ETH | 0.00002775 | ||||
| Deploy With Payl... | 7074483 | 555 days ago | IN | 0.00005795 ETH | 0.0000273 | ||||
| Deploy With Payl... | 7069975 | 555 days ago | IN | 0.00005765 ETH | 0.00002727 | ||||
| Deploy With Payl... | 7068853 | 555 days ago | IN | 0.00005765 ETH | 0.00002822 | ||||
| Deploy With Payl... | 7067972 | 555 days ago | IN | 0.00005765 ETH | 0.00002728 | ||||
| Deploy With Payl... | 7067880 | 555 days ago | IN | 0.00005765 ETH | 0.0000273 | ||||
| Deploy With Payl... | 7066840 | 555 days ago | IN | 0.00005736 ETH | 0.00002727 | ||||
| Deploy With Payl... | 7060118 | 555 days ago | IN | 0.00005736 ETH | 0.00002789 | ||||
| Deploy With Payl... | 7055195 | 555 days ago | IN | 0.00005736 ETH | 0.00002727 | ||||
| Deploy With Payl... | 7053784 | 555 days ago | IN | 0.00005736 ETH | 0.0000278 | ||||
| Deploy With Payl... | 7053701 | 555 days ago | IN | 0.00005736 ETH | 0.00002777 | ||||
| Deploy With Payl... | 7053657 | 555 days ago | IN | 0.00005736 ETH | 0.00002777 | ||||
| Deploy With Payl... | 7053608 | 555 days ago | IN | 0.00005736 ETH | 0.00002777 | ||||
| Deploy With Payl... | 7053443 | 555 days ago | IN | 0.00005736 ETH | 0.0000278 | ||||
| Deploy With Payl... | 7042551 | 555 days ago | IN | 0.00005765 ETH | 0.00002819 | ||||
| Deploy With Payl... | 7039078 | 555 days ago | IN | 0.00005797 ETH | 0.00002727 | ||||
| Deploy With Payl... | 7025400 | 556 days ago | IN | 0.00005765 ETH | 0.00002729 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Block | From | To | |||
|---|---|---|---|---|---|---|
| 7111319 | 554 days ago | 0.00000057 ETH | ||||
| 7111319 | 554 days ago | 0.00005702 ETH | ||||
| 7111319 | 554 days ago | 0 ETH | ||||
| 7111319 | 554 days ago | 0 ETH | ||||
| 7111319 | 554 days ago | Contract Creation | 0 ETH | |||
| 7111319 | 554 days ago | 0 ETH | ||||
| 7111319 | 554 days ago | 0 ETH | ||||
| 7111319 | 554 days ago | 0 ETH | ||||
| 7094840 | 554 days ago | 0.00000057 ETH | ||||
| 7094840 | 554 days ago | 0.00005738 ETH | ||||
| 7094840 | 554 days ago | 0 ETH | ||||
| 7094840 | 554 days ago | 0 ETH | ||||
| 7094840 | 554 days ago | Contract Creation | 0 ETH | |||
| 7094840 | 554 days ago | 0 ETH | ||||
| 7094840 | 554 days ago | 0 ETH | ||||
| 7094840 | 554 days ago | 0 ETH | ||||
| 7091497 | 554 days ago | 0.00000057 ETH | ||||
| 7091497 | 554 days ago | 0.00005797 ETH | ||||
| 7091497 | 554 days ago | 0 ETH | ||||
| 7091497 | 554 days ago | 0 ETH | ||||
| 7091497 | 554 days ago | Contract Creation | 0 ETH | |||
| 7091497 | 554 days ago | 0 ETH | ||||
| 7091497 | 554 days ago | 0 ETH | ||||
| 7091497 | 554 days ago | 0 ETH | ||||
| 7088399 | 554 days ago | 0.00000057 ETH |
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:
MicroMinimal
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "../MicroUtilityV4.sol";
contract MicroMinimal is ReentrancyGuard, MicroUtilityV4 {
address public owner;
address public microERC721;
bool private _initialized;
mapping(address => bool) public dropInfos;
error PurchaseWrongPrice(uint256 correctPrice);
error Unauthorized();
event NewCollectionDeployed(
address indexed sender,
address indexed contractAddress
);
function init(bytes memory initPayload) external returns (bool) {
if (_initialized) {
revert Unauthorized();
}
(address _owner, address _manager, address _microERC721) = abi.decode(
initPayload,
(address, address, address)
);
owner = _owner;
microERC721 = _microERC721;
_setManager(_manager);
_initialized = true;
return true;
}
function deployWithPayload(bytes12 saltHash, bytes memory initCode)
external
payable
nonReentrant
{
uint256 protocolFee = getMicroFeeWei(uint256(1));
if (msg.value < protocolFee) {
revert PurchaseWrongPrice(protocolFee);
}
address sender = msg.sender;
bytes32 _salt = keccak256(abi.encodePacked(sender, saltHash));
address proxyAddress = deployMinimal(
microERC721,
abi.encodeWithSignature("init(bytes)", initCode),
_salt
);
_payoutMicroFee(protocolFee);
_payoutRemainder(sender, msg.value - protocolFee);
dropInfos[proxyAddress] = true;
emit NewCollectionDeployed(sender, proxyAddress);
}
function editMicro(address _microERC721) external {
if (msg.sender != owner) {
revert Unauthorized();
}
microERC721 = _microERC721;
}
function editManager(address _manager) external {
if (msg.sender != owner) {
revert Unauthorized();
}
_setManager(_manager);
}
function deployMinimal(
address _logic,
bytes memory _data,
bytes32 salt
) internal returns (address proxy) {
bytes20 targetBytes = bytes20(_logic);
assembly {
let clone := mload(0x40)
mstore(
clone,
0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000
)
mstore(add(clone, 0x14), targetBytes)
mstore(
add(clone, 0x28),
0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000
)
proxy := create2(0, clone, 0x37, salt)
}
if (_data.length > 0) {
(bool success, ) = proxy.call(_data);
require(success);
}
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single `nonReentrant` guard, functions marked as
* `nonReentrant` may not call one another. This can be worked around by making
* those functions `private`, and then adding `external` `nonReentrant` entry
* points to them.
*
* TIP: If you would like to learn more about reentrancy and alternative ways
* to protect against it, check out our blog post
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
*/
abstract contract ReentrancyGuard {
// Booleans are more expensive than uint256 or any type that takes up a full
// word because each write operation emits an extra SLOAD to first read the
// slot's contents, replace the bits taken up by the boolean, and then write
// back. This is the compiler's defense against contract upgrades and
// pointer aliasing, and it cannot be disabled.
// The values being non-zero value makes deployment a bit more expensive,
// but in exchange the refund on every call to nonReentrant will be lower in
// amount. Since refunds are capped to a percentage of the total
// transaction's gas, it is best to keep them low in cases like this one, to
// increase the likelihood of the full refund coming into effect.
uint256 private constant _NOT_ENTERED = 1;
uint256 private constant _ENTERED = 2;
uint256 private _status;
constructor() {
_status = _NOT_ENTERED;
}
/**
* @dev Prevents a contract from calling itself, directly or indirectly.
* Calling a `nonReentrant` function from another `nonReentrant`
* function is not supported. It is possible to prevent this from happening
* by making the `nonReentrant` function external, and make it call a
* `private` function that does the actual work.
*/
modifier nonReentrant() {
// On the first call to nonReentrant, _notEntered will be true
require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
// Any calls to nonReentrant after this point will fail
_status = _ENTERED;
_;
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_status = _NOT_ENTERED;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.
/**
* @dev Wrappers over Solidity's arithmetic operations.
*
* NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
* now has built in overflow checking.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
uint256 c = a + b;
if (c < a) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the substraction of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b > a) return (false, 0);
return (true, a - b);
}
}
/**
* @dev Returns the multiplication of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) return (true, 0);
uint256 c = a * b;
if (c / a != b) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the division of two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a / b);
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a % b);
}
}
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
return a + b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return a - b;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
*
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
return a * b;
}
/**
* @dev Returns the integer division of two unsigned integers, reverting on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator.
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return a / b;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return a % b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {trySub}.
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b <= a, errorMessage);
return a - b;
}
}
/**
* @dev Returns the integer division of two unsigned integers, reverting with custom message on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a / b;
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting with custom message when dividing by zero.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryMod}.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a % b;
}
}
}// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.5.0;
interface IMicroManager {
function microBridge(address _address) external view returns (bool);
function treasuryAddress() external view returns (address);
function microProtocolFee() external view returns (uint256);
function oracleAddress() external view returns (address);
}// SPDX-License-Identifier: MIT
pragma solidity >=0.5.0;
interface IPriceOracle {
function convertUsdToWei(uint256 usdAmount) external view returns (uint256 weiAmount);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import {IPriceOracle} from "./interfaces/IPriceOracle.sol";
import {IMicroManager} from "./interfaces/IMicroManager.sol";
error PaymentFailed();
contract MicroUtilityV4 {
using SafeMath for uint256;
IMicroManager public microManager;
uint256 private constant STATIC_GAS_LIMIT = 210_000;
event FeePayout(
uint256 MicroMintFeeWei,
address MicroFeeRecipient,
bool success
);
/**
* PUBLIC FUNCTIONS
* state changing
*/
function getMicroFeeWei(uint256 quantity) public view returns (uint256) {
if (quantity == 0) {
return 0;
}
return
IPriceOracle(microManager.oracleAddress()).convertUsdToWei(
microManager.microProtocolFee().mul(quantity)
);
}
function _payoutMicroFee(uint256 microProtocolFee) internal {
address treasury = microManager.treasuryAddress();
_payoutRemainder(treasury, microProtocolFee);
emit FeePayout(microProtocolFee, treasury, true);
}
function _setManager(address _manager) internal {
microManager = IMicroManager(_manager);
}
function _payoutRemainder(address recipient, uint256 value) internal {
if (value > 0) {
(bool success, ) = payable(recipient).call{
value: value,
gas: gasleft() > STATIC_GAS_LIMIT ? STATIC_GAS_LIMIT : gasleft()
}("");
if (!success) {
revert PaymentFailed();
}
}
}
}{
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"name":"PaymentFailed","type":"error"},{"inputs":[{"internalType":"uint256","name":"correctPrice","type":"uint256"}],"name":"PurchaseWrongPrice","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"MicroMintFeeWei","type":"uint256"},{"indexed":false,"internalType":"address","name":"MicroFeeRecipient","type":"address"},{"indexed":false,"internalType":"bool","name":"success","type":"bool"}],"name":"FeePayout","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"contractAddress","type":"address"}],"name":"NewCollectionDeployed","type":"event"},{"inputs":[{"internalType":"bytes12","name":"saltHash","type":"bytes12"},{"internalType":"bytes","name":"initCode","type":"bytes"}],"name":"deployWithPayload","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"dropInfos","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_manager","type":"address"}],"name":"editManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_microERC721","type":"address"}],"name":"editMicro","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"getMicroFeeWei","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"initPayload","type":"bytes"}],"name":"init","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"microERC721","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"microManager","outputs":[{"internalType":"contract IMicroManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]Contract Creation Code
608060405234801561001057600080fd5b506001600055610b9f806100256000396000f3fe6080604052600436106100865760003560e01c8063616985ed11610059578063616985ed1461014857806387031fe5146101765780638da5cb5b14610198578063c42640b3146101b8578063ec98a0df146101d857600080fd5b80630e21ea061461008b578063195c2192146100c8578063396434ff146101085780634ddf47d414610128575b600080fd5b34801561009757600080fd5b506001546100ab906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156100d457600080fd5b506100f86100e33660046108a8565b60046020526000908152604090205460ff1681565b60405190151581526020016100bf565b34801561011457600080fd5b506003546100ab906001600160a01b031681565b34801561013457600080fd5b506100f8610143366004610968565b6101eb565b34801561015457600080fd5b506101686101633660046109a5565b61028f565b6040519081526020016100bf565b34801561018257600080fd5b506101966101913660046108a8565b61040c565b005b3480156101a457600080fd5b506002546100ab906001600160a01b031681565b3480156101c457600080fd5b506101966101d33660046108a8565b610442565b6101966101e63660046109be565b61048e565b600354600090600160a01b900460ff1615610218576040516282b42960e81b815260040160405180910390fd5b6000806000848060200190518101906102319190610a1b565b600280546001600160a01b038086166001600160a01b03199283161790925560038054928416929091169190911790559194509250905061027182610637565b50506003805460ff60a01b1916600160a01b17905550600192915050565b6000816000036102a157506000919050565b600160009054906101000a90046001600160a01b03166001600160a01b031663a89ae4ba6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103189190610a68565b6001600160a01b031663f5d781616103a784600160009054906101000a90046001600160a01b03166001600160a01b0316630c1119bb6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561037d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103a19190610a85565b90610659565b6040518263ffffffff1660e01b81526004016103c591815260200190565b602060405180830381865afa1580156103e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104069190610a85565b92915050565b6002546001600160a01b03163314610436576040516282b42960e81b815260040160405180910390fd5b61043f81610637565b50565b6002546001600160a01b0316331461046c576040516282b42960e81b815260040160405180910390fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6002600054036104e55760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b600260009081556104f6600161028f565b90508034101561051c5760405163c5a8df2f60e01b8152600481018290526024016104dc565b6040805133606081901b6bffffffffffffffffffffffff191660208301526001600160a01b031986166034830152916000910160408051601f198184030181529082905280516020909101206003549092506000916105bd916001600160a01b03169061058d908890602401610ace565b60408051601f198184030181529190526020810180516001600160e01b0316631377d1f560e21b1790528461066c565b90506105c884610738565b6105db836105d68634610b17565b6107fe565b6001600160a01b03808216600081815260046020526040808220805460ff191660011790555191928616917f1a14c2d344f3be50bc24035a55504e8a742632b16a41eace87e6c0d2270e74989190a35050600160005550505050565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b60006106658284610b2e565b9392505050565b6000808460601b9050604051733d602d80600a3d3981f3363d3d373d3d3d363d7360601b81528160148201526e5af43d82803e903d91602b57fd5bf360881b6028820152836037826000f5925050600084511115610730576000826001600160a01b0316856040516106de9190610b4d565b6000604051808303816000865af19150503d806000811461071b576040519150601f19603f3d011682016040523d82523d6000602084013e610720565b606091505b505090508061072e57600080fd5b505b509392505050565b6001546040805163c5f956af60e01b815290516000926001600160a01b03169163c5f956af9160048083019260209291908290030181865afa158015610782573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107a69190610a68565b90506107b281836107fe565b604080518381526001600160a01b038316602082015260018183015290517f7d91e6735310f2a10253c2b777a07cdd5bce000456de934af23dfc9e4aea7f879181900360600190a15050565b801561088f576000826001600160a01b031682620334505a11610821575a610826565b620334505b6040519091906000818181858888f193505050503d8060008114610866576040519150601f19603f3d011682016040523d82523d6000602084013e61086b565b606091505b505090508061088d576040516307a4ced160e51b815260040160405180910390fd5b505b5050565b6001600160a01b038116811461043f57600080fd5b6000602082840312156108ba57600080fd5b813561066581610893565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126108ec57600080fd5b813567ffffffffffffffff80821115610907576109076108c5565b604051601f8301601f19908116603f0116810190828211818310171561092f5761092f6108c5565b8160405283815286602085880101111561094857600080fd5b836020870160208301376000602085830101528094505050505092915050565b60006020828403121561097a57600080fd5b813567ffffffffffffffff81111561099157600080fd5b61099d848285016108db565b949350505050565b6000602082840312156109b757600080fd5b5035919050565b600080604083850312156109d157600080fd5b82356001600160a01b0319811681146109e957600080fd5b9150602083013567ffffffffffffffff811115610a0557600080fd5b610a11858286016108db565b9150509250929050565b600080600060608486031215610a3057600080fd5b8351610a3b81610893565b6020850151909350610a4c81610893565b6040850151909250610a5d81610893565b809150509250925092565b600060208284031215610a7a57600080fd5b815161066581610893565b600060208284031215610a9757600080fd5b5051919050565b60005b83811015610ab9578181015183820152602001610aa1565b83811115610ac8576000848401525b50505050565b6020815260008251806020840152610aed816040850160208701610a9e565b601f01601f19169190910160400192915050565b634e487b7160e01b600052601160045260246000fd5b600082821015610b2957610b29610b01565b500390565b6000816000190483118215151615610b4857610b48610b01565b500290565b60008251610b5f818460208701610a9e565b919091019291505056fea2646970667358221220be68c2092ba5556a36eb53381309cf52e2953cc930473f3c96bf817c08eb9f9264736f6c634300080d0033
Deployed Bytecode
0x6080604052600436106100865760003560e01c8063616985ed11610059578063616985ed1461014857806387031fe5146101765780638da5cb5b14610198578063c42640b3146101b8578063ec98a0df146101d857600080fd5b80630e21ea061461008b578063195c2192146100c8578063396434ff146101085780634ddf47d414610128575b600080fd5b34801561009757600080fd5b506001546100ab906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156100d457600080fd5b506100f86100e33660046108a8565b60046020526000908152604090205460ff1681565b60405190151581526020016100bf565b34801561011457600080fd5b506003546100ab906001600160a01b031681565b34801561013457600080fd5b506100f8610143366004610968565b6101eb565b34801561015457600080fd5b506101686101633660046109a5565b61028f565b6040519081526020016100bf565b34801561018257600080fd5b506101966101913660046108a8565b61040c565b005b3480156101a457600080fd5b506002546100ab906001600160a01b031681565b3480156101c457600080fd5b506101966101d33660046108a8565b610442565b6101966101e63660046109be565b61048e565b600354600090600160a01b900460ff1615610218576040516282b42960e81b815260040160405180910390fd5b6000806000848060200190518101906102319190610a1b565b600280546001600160a01b038086166001600160a01b03199283161790925560038054928416929091169190911790559194509250905061027182610637565b50506003805460ff60a01b1916600160a01b17905550600192915050565b6000816000036102a157506000919050565b600160009054906101000a90046001600160a01b03166001600160a01b031663a89ae4ba6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103189190610a68565b6001600160a01b031663f5d781616103a784600160009054906101000a90046001600160a01b03166001600160a01b0316630c1119bb6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561037d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103a19190610a85565b90610659565b6040518263ffffffff1660e01b81526004016103c591815260200190565b602060405180830381865afa1580156103e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104069190610a85565b92915050565b6002546001600160a01b03163314610436576040516282b42960e81b815260040160405180910390fd5b61043f81610637565b50565b6002546001600160a01b0316331461046c576040516282b42960e81b815260040160405180910390fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6002600054036104e55760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b600260009081556104f6600161028f565b90508034101561051c5760405163c5a8df2f60e01b8152600481018290526024016104dc565b6040805133606081901b6bffffffffffffffffffffffff191660208301526001600160a01b031986166034830152916000910160408051601f198184030181529082905280516020909101206003549092506000916105bd916001600160a01b03169061058d908890602401610ace565b60408051601f198184030181529190526020810180516001600160e01b0316631377d1f560e21b1790528461066c565b90506105c884610738565b6105db836105d68634610b17565b6107fe565b6001600160a01b03808216600081815260046020526040808220805460ff191660011790555191928616917f1a14c2d344f3be50bc24035a55504e8a742632b16a41eace87e6c0d2270e74989190a35050600160005550505050565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b60006106658284610b2e565b9392505050565b6000808460601b9050604051733d602d80600a3d3981f3363d3d373d3d3d363d7360601b81528160148201526e5af43d82803e903d91602b57fd5bf360881b6028820152836037826000f5925050600084511115610730576000826001600160a01b0316856040516106de9190610b4d565b6000604051808303816000865af19150503d806000811461071b576040519150601f19603f3d011682016040523d82523d6000602084013e610720565b606091505b505090508061072e57600080fd5b505b509392505050565b6001546040805163c5f956af60e01b815290516000926001600160a01b03169163c5f956af9160048083019260209291908290030181865afa158015610782573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107a69190610a68565b90506107b281836107fe565b604080518381526001600160a01b038316602082015260018183015290517f7d91e6735310f2a10253c2b777a07cdd5bce000456de934af23dfc9e4aea7f879181900360600190a15050565b801561088f576000826001600160a01b031682620334505a11610821575a610826565b620334505b6040519091906000818181858888f193505050503d8060008114610866576040519150601f19603f3d011682016040523d82523d6000602084013e61086b565b606091505b505090508061088d576040516307a4ced160e51b815260040160405180910390fd5b505b5050565b6001600160a01b038116811461043f57600080fd5b6000602082840312156108ba57600080fd5b813561066581610893565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126108ec57600080fd5b813567ffffffffffffffff80821115610907576109076108c5565b604051601f8301601f19908116603f0116810190828211818310171561092f5761092f6108c5565b8160405283815286602085880101111561094857600080fd5b836020870160208301376000602085830101528094505050505092915050565b60006020828403121561097a57600080fd5b813567ffffffffffffffff81111561099157600080fd5b61099d848285016108db565b949350505050565b6000602082840312156109b757600080fd5b5035919050565b600080604083850312156109d157600080fd5b82356001600160a01b0319811681146109e957600080fd5b9150602083013567ffffffffffffffff811115610a0557600080fd5b610a11858286016108db565b9150509250929050565b600080600060608486031215610a3057600080fd5b8351610a3b81610893565b6020850151909350610a4c81610893565b6040850151909250610a5d81610893565b809150509250925092565b600060208284031215610a7a57600080fd5b815161066581610893565b600060208284031215610a9757600080fd5b5051919050565b60005b83811015610ab9578181015183820152602001610aa1565b83811115610ac8576000848401525b50505050565b6020815260008251806020840152610aed816040850160208701610a9e565b601f01601f19169190910160400192915050565b634e487b7160e01b600052601160045260246000fd5b600082821015610b2957610b29610b01565b500390565b6000816000190483118215151615610b4857610b48610b01565b500290565b60008251610b5f818460208701610a9e565b919091019291505056fea2646970667358221220be68c2092ba5556a36eb53381309cf52e2953cc930473f3c96bf817c08eb9f9264736f6c634300080d0033
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$3.92
Net Worth in ETH
Token Allocations
ETH
100.00%
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 100.00% | $2,902.31 | 0.00135058 | $3.92 |
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ 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.